CN114679347A - Equipment state display method, system and device and electronic equipment - Google Patents

Equipment state display method, system and device and electronic equipment Download PDF

Info

Publication number
CN114679347A
CN114679347A CN202210312711.7A CN202210312711A CN114679347A CN 114679347 A CN114679347 A CN 114679347A CN 202210312711 A CN202210312711 A CN 202210312711A CN 114679347 A CN114679347 A CN 114679347A
Authority
CN
China
Prior art keywords
state
control instruction
target
current
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210312711.7A
Other languages
Chinese (zh)
Inventor
贺静海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Ezviz Software Co Ltd
Original Assignee
Hangzhou Ezviz Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Ezviz Software Co Ltd filed Critical Hangzhou Ezviz Software Co Ltd
Priority to CN202210312711.7A priority Critical patent/CN114679347A/en
Publication of CN114679347A publication Critical patent/CN114679347A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Abstract

The embodiment of the invention provides a method, a system and a device for displaying equipment states and electronic equipment, and relates to the technical field of equipment control. The method comprises the following steps: acquiring a current control instruction for target equipment; further, whether a new control instruction for the target equipment is acquired within a preset time length is determined, and a push message about the state of the target equipment received within the preset time length is ignored; if a new control instruction for the target equipment is acquired within the preset time length, determining the new control instruction as the current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within the preset time length; otherwise, when the preset duration is over, determining the current latest state of the target equipment, and displaying the current latest state. Compared with the prior art, the method and the device for displaying the state of the equipment can improve the accuracy of displaying the state of the equipment.

Description

Equipment state display method, system and device and electronic equipment
Technical Field
The present invention relates to the field of device control technologies, and in particular, to a method, a system, and an apparatus for displaying a device status, and an electronic device.
Background
The intelligent screen, also called intelligent central control, is an intelligent device which is composed of an intelligent system and a display screen and integrates multiple functions of control, display and the like.
In recent years, smart screens are widely applied to the field of equipment control, for example, smart screens are applied to smart home systems to realize various operations such as information acquisition, centralized control, remote control and linkage control of smart home equipment.
In the related art, the smart screen may locally control the device, displaying the latest status of the device. Meanwhile, the smart screen is often in communication with a server and performs multi-terminal control of the device together with other control devices. After other control devices execute control operation on the device, the intelligent screen receives an update instruction which is pushed by the server and is about to change the state of the device, executes the update instruction and updates the displayed state of the device.
However, in the related art, when the device state is displayed on the smart screen, the device state displayed on the smart screen deviates from the actual state of the device, and therefore, the accuracy of the device state display is reduced, and the user experience is affected.
For example, in the process that the intelligent screen and other control devices perform multi-terminal control on the device together, due to network delay, a control instruction of the other control devices to the device is earlier than an update instruction which is pushed by the server to the intelligent screen and relates to device state change, so that when the intelligent screen executes a device control task and the update instruction pushed by the server, the problems of jump of a display interface of the intelligent screen, device state display errors and the like may occur; when continuous control tasks are executed on the device on the intelligent screen, due to factors such as the execution mode of the control tasks, network delay and the like, problems such as wrong execution sequence of the control tasks, delayed update of the device state and the like may occur, and further, inaccurate display of the device state is caused.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a system and a device for displaying equipment states and electronic equipment, so as to improve the accuracy of equipment state display. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an apparatus status display method, where the method includes:
acquiring a current control instruction for target equipment;
determining whether a new control instruction for the target equipment is acquired within a preset time length, and ignoring push messages about the state of the target equipment received within the preset time length;
if so, determining the new control instruction as the current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within a preset time length;
if not, when the preset duration is over, determining the current latest state of the target equipment, and displaying the current latest state.
Optionally, in a specific implementation manner, the obtaining of the current control instruction for the target device includes:
generating a current control instruction for a target device and a state updating instruction for the target device based on the detected control operation for the target device; wherein the status update instruction is configured to indicate: updating the displayed state of the target device to the state indicated by the control operation;
prior to said displaying said current latest state, said method further comprising:
responding to the state updating instruction.
Optionally, in a specific implementation manner, the method further includes:
judging whether a preset instruction queue aiming at the target equipment is not empty or not;
if so, emptying the instruction queue and adding the current control instruction into the instruction queue;
otherwise, adding the current control instruction into the instruction queue.
Optionally, in a specific implementation manner, after adding the current control instruction to the instruction queue, the method further includes:
sending the current control instruction to the target equipment to enable the target equipment to adjust the state of the target equipment to the state indicated by the current control instruction;
alternatively, the first and second liquid crystal display panels may be,
and sending the current control instruction to a preset server to enable the server to send the current control instruction to the target device, so that the target device adjusts the state of the target device to the state indicated by the current control instruction.
Optionally, in a specific implementation manner, the determining a current latest state of the target device includes:
sending a state acquisition request to the target equipment, and acquiring the current latest state in response information fed back by the target equipment;
alternatively, the first and second electrodes may be,
sending a push message acquisition request to a preset server, and acquiring the current latest state in response information fed back by the server; wherein the current latest state is a state reported to the server by the target device last time.
In a second aspect, an embodiment of the present invention provides an apparatus status display system, where the system includes: a display device and a server;
the display device is used for acquiring a current control instruction for the target device; determining whether a new control instruction for the target equipment is acquired within a preset time length, and ignoring push messages about the state of the target equipment received within the preset time length; if so, determining the new control instruction as the current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within a preset time length; if not, when the preset duration is over, determining the current latest state of the target equipment, and displaying the current latest state;
the server is used for sending a push message about the state of the target equipment to the display equipment.
Optionally, in a specific implementation manner, the display device is specifically configured to generate a current control instruction for the target device and a state update instruction for the target device based on the detected control operation for the target device; wherein the status update instruction is configured to indicate: updating the displayed state of the target device to the state indicated by the control operation;
the display device is further configured to respond to the status update instruction before displaying the current latest status.
Optionally, in a specific implementation manner, the display device is further configured to:
judging whether a preset instruction queue aiming at the target equipment is not empty or not; if so, emptying the instruction queue and adding the current control instruction into the instruction queue; otherwise, adding the current control instruction into the instruction queue.
Optionally, in a specific implementation manner, the display device is further configured to:
and after adding the current control instruction into the instruction queue, sending the current control instruction to the target equipment so that the target equipment adjusts the state of the target equipment to the state indicated by the current control instruction.
Optionally, in a specific implementation manner, the display device is further configured to send the current control instruction to the server after adding the current control instruction to the instruction queue;
the server is further configured to receive a current control instruction sent by the display device, and send the current control instruction to the target device, so that the target device adjusts a state of the target device to a state indicated by the current control instruction.
Optionally, in a specific implementation manner, the display device is specifically configured to:
and sending a state acquisition request to the target equipment, and acquiring the current latest state in the response information fed back by the target equipment.
Optionally, in a specific implementation manner, the display device is specifically configured to send a push message acquisition request to the server, and acquire a current latest state in response information fed back by the server; the current latest state is the state reported to the server by the target equipment last time;
the server is further configured to receive a push message acquisition request sent by the display device, and feed back response information including the current latest state to the display device.
In a third aspect, an embodiment of the present invention provides an apparatus for displaying a device status, where the apparatus includes:
the processor is used for acquiring a current control instruction aiming at the target equipment; determining whether a new control instruction for the target equipment is acquired within a preset time length, and ignoring push messages about the state of the target equipment received within the preset time length; if so, determining the new control instruction as the current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within a preset time length; if not, determining the current latest state of the target equipment when the preset duration is over;
and the display module is used for displaying the current latest state.
Optionally, in a specific implementation manner, the processor is specifically configured to generate a current control instruction for a target device and a state update instruction for the target device based on a detected control operation for the target device; wherein the status update instruction is configured to indicate: updating the displayed state of the target device to the state indicated by the control operation;
the processor is further configured to respond to the state update instruction before displaying the current latest state.
Optionally, in a specific implementation manner, the processor is further configured to:
judging whether a preset instruction queue aiming at the target equipment is not empty or not;
if so, emptying the instruction queue and adding the current control instruction into the instruction queue;
otherwise, adding the current control instruction into the instruction queue.
Optionally, in a specific implementation manner, the processor is further configured to:
after the current control instruction is added into the instruction queue, sending the current control instruction to the target device, so that the target device adjusts the state of the target device to the state indicated by the current control instruction;
alternatively, the first and second electrodes may be,
after the current control instruction is added into the instruction queue, the current control instruction is sent to a preset server, so that the server sends the current control instruction to the target device, and the target device adjusts the state of the target device to the state indicated by the current control instruction.
Optionally, in a specific implementation manner, the processor is specifically configured to:
sending a state acquisition request to the target equipment, and acquiring the current latest state in response information fed back by the target equipment;
alternatively, the first and second electrodes may be,
sending a push message acquisition request to a preset server, and acquiring the current latest state in response information fed back by the server; and the current latest state is the state reported to the server by the target equipment last time.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of any one of the method embodiments when executing the program stored in the memory.
In a fifth aspect, embodiments of the present invention provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of any of the above-described method embodiments.
The embodiment of the invention has the following beneficial effects:
as can be seen from the above, with the scheme provided by the embodiment of the present invention, when the state of the device is displayed, the current control instruction for the target device may be obtained first; further, whether a new control instruction for the target equipment is acquired within a preset time length is determined, and a push message about the state of the target equipment received within the preset time length is ignored; if a new control instruction for the target equipment is acquired within the preset time length, determining the new control instruction as the current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within the preset time length; otherwise, when the preset duration is over, determining the current latest state of the target equipment, and displaying the current latest state.
Based on this, by applying the scheme provided by the embodiment of the invention, firstly, aiming at the target equipment, the preset time length is set according to the factors influencing the target equipment to execute the control instruction timeliness; furthermore, a preset duration from the time when the current control instruction is received may be used as a control period for the target device, and during this control period, the received push message regarding the state of the target device may be ignored. Therefore, the push message does not need to be responded when the current control instruction is executed, and the displayed state of the target equipment is determined based on the real current latest state of the target equipment, so that the problems of jumping, equipment state display errors and the like of a display interface can be avoided; meanwhile, when a new control instruction is received within the preset time length, the new control instruction is used as a new current control instruction, timing is restarted, and the current latest state of the equipment is determined and displayed after the restarted preset time length, so that the problems of target equipment state update lag and the like caused by factors such as network delay and the like can be avoided, the displayed state of the target equipment is the latest state of the target equipment, and the equipment state display accuracy can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an apparatus status display method according to an embodiment of the present invention;
fig. 2 is another schematic flow chart of a device status display method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of an apparatus status display method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus status display device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus status display system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the related art, the smart screen may locally control the device, displaying the latest status of the device. Meanwhile, the smart screen is often in communication with a server and performs multi-terminal control of the device together with other control devices. After other control devices execute control operation on the device, the intelligent screen receives an update instruction which is pushed by the server and is about to change the state of the device, executes the update instruction and updates the displayed state of the device.
However, in the related art, when the device state is displayed on the smart screen, the device state displayed on the smart screen deviates from the actual state of the device, and therefore, the accuracy of the device state display is reduced, and the user experience is affected.
In order to solve the above technical problem, an embodiment of the present invention provides an apparatus status display method.
The method can be suitable for various application scenes with equipment state display requirements, for example, the method can be used for displaying the on-off states of various intelligent household equipment in an intelligent household system; the operation states of various production equipments and the like are displayed in the factory.
In addition, the method can be applied to various electronic equipment with control systems and display interfaces, such as mobile phones, notebook computers, desktop computers, intelligent screens and the like. The electronic equipment serving as an execution main body of the method and the target equipment to which the state displayed by the electronic equipment belongs can be in the same space, and local control and state display of the target equipment are realized; the electronic device and the target device can also be in different spaces to realize remote control and state display of the target device.
Meanwhile, the electronic equipment can independently execute the method to control and display the state of the target equipment; the electronic device and the other devices communicate with each other through the server, and can receive push information about the state of the target device sent by the server and update the device state of the target device displayed by the electronic device according to the push information.
Based on this, the embodiment of the present invention does not limit the application scenario and the execution subject of the method.
The equipment state display method provided by the embodiment of the invention can comprise the following steps:
acquiring a current control instruction for target equipment;
determining whether a new control instruction for the target equipment is acquired within a preset time length, and ignoring push messages received within the preset time length and related to the state of the target equipment;
if so, determining the new control instruction as the current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within a preset time length;
if not, when the preset duration is over, determining the current latest state of the target equipment, and displaying the current latest state.
As can be seen from the above, with the solution provided by the embodiment of the present invention, when the state of the device is displayed, the current control instruction for the target device may be obtained first; further, whether a new control instruction for the target equipment is acquired within a preset time length is determined, and a push message about the state of the target equipment received within the preset time length is ignored; if a new control instruction for the target equipment is acquired within the preset time length, determining the new control instruction as the current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within the preset time length; otherwise, when the preset duration is over, determining the current latest state of the target equipment, and displaying the current latest state.
Based on this, by applying the scheme provided by the embodiment of the invention, firstly, aiming at the target equipment, the preset time length is set according to the factors influencing the target equipment to execute the control instruction timeliness; furthermore, a preset duration from the time when the current control instruction is received may be used as a control period for the target device, and during this control period, the received push message regarding the state of the target device may be ignored. Therefore, the push message does not need to be responded when the current control instruction is executed, and the displayed state of the target equipment is determined based on the real current latest state of the target equipment, so that the problems of jumping, equipment state display errors and the like of a display interface can be avoided; meanwhile, when a new control instruction is received within the preset time length, the new control instruction is used as a new current control instruction, timing is restarted, and the current latest state of the equipment is determined and displayed after the restarted preset time length, so that the problems of target equipment state update lag and the like caused by factors such as network delay and the like can be avoided, the displayed state of the target equipment is the latest state of the target equipment, and the equipment state display accuracy can be improved.
Hereinafter, a device status display method provided in an embodiment of the present application is specifically described with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a device status display method according to an embodiment of the present invention, and as shown in fig. 1, the method may include the following steps S101 to S104.
S101: acquiring a current control instruction for target equipment;
the electronic device may obtain a control instruction of a user for a target device, and use the control instruction as a current control instruction of the target device.
The target device is a device to be controlled indicated in a current control instruction of the device by the user, and the state of the device may be displayed by an electronic device, for example, in an intelligent home system, a smart screen may display the state of an air conditioner, a refrigerator, a television, and the like, and when the current control instruction is executed by the user on the air conditioner, the air conditioner is the device to be controlled by the current control instruction, that is, the target device to execute the current control instruction.
For example, taking an intelligent screen as an example, when the state of the target device is displayed by using the intelligent screen, a current control instruction of the target device by the user may be first obtained, where the current control instruction is used to instruct the target device to execute the current control instruction so as to change the current state of the target device. For example, the smart screen is applied to an intelligent home system, and can display states of various devices such as an air conditioner, a refrigerator and a television, and when a user sends a control instruction for adjusting the temperature of the air conditioner to 25 ℃ from 20 ℃ which is the current temperature, the smart screen can determine that the air conditioner is a target device and acquire the current control instruction of the user for the air conditioner.
S102: determining whether a new control instruction for the target equipment is acquired within a preset time length, and ignoring push messages received within the preset time length and related to the state of the target equipment; if yes, the following step S103 is executed; if not, the following step S104 is executed;
s103: determining a new control instruction as a current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within a preset time length;
s104: and when the preset duration is over, determining the current latest state of the target equipment, and displaying the current latest state.
Due to factors such as the network state and the speed of executing the control instruction by the device, which affect the timeliness of executing the control instruction by the target device, a period of time is required from the time when the current control instruction for the target device is acquired by the electronic device to the time when the device state of the target device is changed to the state indicated by the current control instruction. Based on the above, a preset time length can be set according to factors influencing the time efficiency of the target device for executing the control instruction, the preset time length is waited after the electronic device obtains the current control instruction for the target device, and then the current latest state of the target device is determined.
The preset time duration may be set according to a network delay condition currently used by the target device, may also be set according to a speed at which the target device executes the control instruction, and may also be set according to both the network delay condition currently used by the target device and the speed at which the target device executes the control instruction.
Moreover, for different types of target devices, the preset durations may be the same or different, that is, the preset duration of each device may be set according to the specific situation of the device. For example, the control command execution time of the lighting device may be set to be 5 seconds as the control command execution time of the lighting device is shorter, and the control command execution time of the window covering device may be set to be 15 seconds as the control command execution time of the window covering device is longer.
For each target device, the preset time length corresponding to the target device can be dynamically adjusted according to the change of a specific use condition, and illustratively, when the network environment is good, the preset time length of an air conditioner is set to be 7 seconds; when the network environment is poor, it is reasonable to adjust the preset time of the air conditioner to 12 seconds.
In the process of executing the current control command by the target device, the electronic device may receive a push message regarding a state of the target device, and due to network delay and other factors, a push time of the push message may be later than an execution time of the control command that causes a change in the state of the target device included in the push message, so that if the electronic device updates the displayed state of the target device according to the push message, a jump may occur in the displayed device state of the target device, and thus, a deviation may occur between the displayed device state of the target device and an actual state of the target device. Therefore, in order to ensure accurate display of the device state, after the current control instruction for the target device is obtained, the electronic device may ignore the push message within a preset time period.
That is, ignoring push messages received within a preset time period regarding the status of the target device means: within a preset time length after the current control instruction for the target device is obtained, the electronic device may receive a push message about the state of the target device, but does not process the push message. For example, within the preset time length, after receiving a push message about the state of the target device, deleting the push message; or, the push message is stored in the push message record table, but the push message is not processed, that is, the displayed state of the target device is not updated according to the push message.
Optionally, the push message regarding the status of the target device may be from the target device, and after the target device changes its device status, the target device may send a push message including the current latest status of the target device to each of its own control devices.
Alternatively, the push message for the target device may originate from a server in communication with the electronic device.
Under the condition that the target equipment is controlled by multiple terminals, the target equipment can report the current latest state of the target equipment to the server after responding to the control instruction sent by each control terminal equipment, so that the server can issue a push message containing the current latest state of the target equipment to each control terminal equipment.
Illustratively, when the smart screen and other devices perform multi-terminal control on the target device, and when the other devices control the target device so that the state of the target device changes, the target device reports the changed current latest state to the server after the state changes, and then the server issues a push message containing the current latest state of the target device to the smart screen and the other devices, so that the smart screen and the other devices can update the displayed state of the target device to the current latest state contained in the push message according to the push message. After the smart screen obtains the current control instruction for the target device, within a preset time length, if a push message about the current latest state of the target device is received from the server, the smart screen may not process the push message.
Meanwhile, after receiving the current control instruction for the target device, the electronic device may receive a new control instruction for the target device within a preset time period of waiting for the target device to complete the current control instruction, and then, after receiving the new control instruction, the target device may execute the new control instruction accordingly, so that the state of the target device may be updated to the state indicated by the new control instruction, and therefore, the electronic device may not continue to wait for the preset time period any longer, but use the new control instruction as the new current control instruction, and restart timing. That is, after the new control instruction is used as a new current control instruction, the waiting for the preset time duration is restarted, and when the time duration after the new control instruction is used as a new current control instruction reaches the preset time duration, the latest current state of the target device is determined, and the displayed device state of the target device is updated according to the latest current state.
And if no new control instruction aiming at the target equipment is received within the preset time length, after waiting for the preset time length, determining the current latest state of the target equipment, and displaying the current latest state on the electronic equipment.
Wherein the determined current latest state of the target device is: the last updated state of the target device.
In order to facilitate understanding of the above method, the following description will be made in detail with reference to examples.
For example, in the related art, both the smart screen and the mobile phone may control an air conditioner, and the current temperature of the air conditioner is 20 ℃. When a user sends a control instruction for adjusting the temperature to 22 ℃ to the air conditioner through the mobile phone, the air conditioner executes the control instruction, adjusts the temperature to 22 ℃, and sends the current temperature of the air conditioner to the server. Due to network delay and other conditions, the process that the server receives the current temperature sent by the air conditioner and sends the current temperature to the intelligent screen as a push message lags behind the process that the air conditioner executes the control command sent by the mobile phone.
Thus, after the air conditioner executes the control command of the mobile phone, the current temperature of the air conditioner is 22 ℃. At this moment, the user uses the wisdom screen to send the current control command with temperature regulation for 25 degrees centigrade to the air conditioner, and the air conditioner carries out above-mentioned current control command, and with temperature regulation for 25 degrees centigrade, like this, the current temperature of air conditioner is 25 degrees centigrade, shows on the wisdom screen that the air conditioner temperature is 25 degrees centigrade. Due to the fact that the server sends the push message to the smart screen in a lagging mode, the smart screen receives the push message which is sent by the server and has the current temperature of the air conditioner of 22 degrees centigrade, the displayed temperature of the air conditioner is updated to be 22 degrees centigrade from 25 degrees centigrade based on the push message, and therefore the current temperature of the air conditioner displayed by the smart screen is not matched with the actual current temperature of the air conditioner.
Accordingly, in the embodiment of the present invention, the smart screen is used as an execution subject, so that the user controls the air conditioner through the smart screen, sends the current control instruction for adjusting the temperature to 25 degrees celsius to the smart screen, and sets the preset time duration to 10 seconds. After the smart screen acquires the current control instruction for the air conditioner, a push message about the state of the air conditioner sent by the server is received within 10 seconds but is not processed.
Within the waiting 10 seconds, the smart screen determines whether a new control command for the air conditioner is received.
If the intelligent screen does not receive a new control instruction aiming at the air conditioner within the waiting 10 seconds, checking the current latest state of the air conditioner after waiting 10 seconds, and if the current latest state of the air conditioner is 25 ℃, displaying that the temperature of the air conditioner is 25 ℃ by the intelligent screen.
If the user sends a control instruction for adjusting the temperature of the air conditioner to 28 ℃ to the smart screen again within the waiting 10 seconds, the new control instruction is taken as the current control instruction, timing is restarted, the smart screen waits for 10 seconds again, whether the new control instruction for the air conditioner is received is determined again within the waiting 10 seconds, if the new control instruction is not received within the waiting 10 seconds, the current latest state of the air conditioner is checked after the waiting 10 seconds, and if the current latest state of the air conditioner is 28 ℃, the smart screen displays that the temperature of the air conditioner is 28 ℃.
Thus, compared with the related art, the intelligent screen does not need to process the push message about the state of the air conditioner issued by the server when the current control instruction is executed, and the displayed state of the target device is determined based on the real current latest state of the target device, so that the problems of possible jump of a display interface, display error of the state of the device and the like can be avoided. Meanwhile, in the preset time length, when the smart screen receives a new control instruction, the new control instruction is used as a new current control instruction, timing is restarted, and the current latest state of the equipment is determined and displayed after the re-timed preset time length, so that the problems of target equipment state update lag and the like caused by factors such as network delay and the like can be avoided, the displayed state of the target equipment is the latest state of the target equipment, and further, the equipment state display accuracy can be improved.
That is to say, with the scheme provided by the embodiment of the present invention, first, for the target device, a preset time duration is set according to a factor that affects the target device to execute the control instruction timeliness; furthermore, a preset duration from the time when the current control instruction is received may be used as a control period for the target device, and during this control period, the received push message regarding the state of the target device may be ignored. Therefore, the push message does not need to be responded when the current control instruction is executed, and the displayed state of the target equipment is determined based on the real current latest state of the target equipment, so that the problems of jumping, equipment state display errors and the like of a display interface can be avoided; meanwhile, when a new control instruction is received within the preset time length, the new control instruction is used as a new current control instruction, timing is restarted, and the current latest state of the equipment is determined and displayed after the restarted preset time length, so that the problems of target equipment state update lag and the like caused by factors such as network delay and the like can be avoided, the displayed state of the target equipment is the latest state of the target equipment, and the equipment state display accuracy can be improved.
Optionally, in a specific implementation manner, as shown in fig. 2, the step S101 of acquiring the current control instruction for the target device may include step S1011:
s1011: generating a current control instruction for the target device and a state updating instruction for the target device based on the detected control operation for the target device;
wherein the status update instruction is used to indicate: updating the displayed state of the target device to a state indicated by the control operation;
correspondingly, in this specific implementation manner, the method for displaying the device status according to the embodiment of the present invention may further include step S105:
s105: in response to the status update instruction.
In this specific implementation manner, after detecting a control operation of a user on a target device, the electronic device generates a current control instruction for the target device and a status update instruction for the target device. The current control instruction is used for indicating the state updating of the target equipment, and the state updating instruction is used for indicating the state updating of the displayed target state to the state indicated by the control operation.
After the state update instruction is generated, the state indicated by the control operation may be determined based on the state update instruction, and the electronic device may respond to the state update instruction. That is to say, the state update instruction may carry a state indicated by the control operation, so that after the state update instruction is generated, the electronic device may acquire the state indicated by the control operation carried by the state update instruction, and update the displayed state of the target device to the state indicated by the control operation.
For example, the smart screen detects a click operation of a user on a button indicating temperature increase, and when the temperature increases to 23 degrees celsius after the click, a control operation of adjusting the temperature of the air conditioner to 23 degrees celsius and a state update instruction of adjusting the displayed state of the air conditioner to 23 degrees celsius may be generated, so that the smart screen may update the displayed temperature of the air conditioner to 23 degrees celsius and control the air conditioner to increase the temperature thereof to 23 degrees celsius.
Therefore, the electronic equipment can update the equipment state displayed by the equipment in time according to the operation of the user by responding to the state updating instruction, so that when the continuous multiple control operation of the user on the target equipment is detected, the displayed state of the target equipment can be updated in time continuously and repeatedly according to the operation of the user, the conditions of display lag and display deviation of the displayed state of the target equipment are avoided, and the user experience is improved.
Illustratively, the current temperature of the air conditioner is 20 degrees celsius, and the user clicks a button indicating the temperature increase on the smart screen several times in succession, thereby performing the adjustment of the temperature of the air conditioner to 21 degrees celsius, 22 degrees celsius, 23 degrees celsius, and 24 degrees celsius in order. After the intelligent screen detects the multiple clicking operations of the user, a current control instruction for adjusting the air conditioner temperature according to the operations is generated for each operation, and a state updating instruction for updating the displayed air conditioner temperature according to the control operations is generated. Further, for each operation, the smart screen responds to the state update instruction generated for the operation, and thus, the smart screen sequentially updates the displayed air conditioner temperature to 21 degrees celsius, 22 degrees celsius, 23 degrees celsius, and 24 degrees celsius.
Therefore, when the continuous control operation of the user for the target equipment is detected, the state of the target equipment displayed by the equipment can be updated continuously and repeatedly in time according to the operation of the user, the conditions of display lag and display deviation of the displayed state of the target equipment are avoided, and the user experience is improved.
That is to say, this specific implementation manner can solve the problem that the state of the target device displayed on the smart screen can be updated only after the continuous multiple operations are completed when the user performs the continuous multiple control operations on the target device in the related art.
In addition, the specific implementation manner can also solve the problem that when a user sends a plurality of continuous control instructions for the target device in the related art, if each control instruction is executed in a synchronous manner, the displayed state of the target device can be updated only after the last control instruction is executed, so that the displayed state of the target device is updated slowly; and if each control instruction is executed in an asynchronous manner, due to network delay and other reasons, the execution sequence of each control instruction may be wrong, so that the actual state of the target device and the displayed state are deviated, and the displayed state of the target device is inconsistent with the control instruction which is actually sent by the user and aims at the target device.
Optionally, in a specific implementation manner, as shown in fig. 3, the method for displaying the device status according to the embodiment of the present invention may further include the following step S106:
s106: judging whether a preset instruction queue aiming at the target equipment is not empty; if yes, go to step S107; otherwise, go to step S108;
s107: emptying the instruction queue and adding the current control instruction into the instruction queue;
s108: and adding the current control instruction into an instruction queue.
Aiming at each device controlled by the electronic device, an instruction queue aiming at the device exists in the electronic device, wherein the instruction queue aiming at the device is used for storing control instructions to be executed aiming at the device, and the control instructions aiming at the device are sequentially arranged from front to back according to the sequence of instruction generation and adding into the instruction queue.
After the current control instruction for the target device is acquired, whether the instruction queue for the target device is not empty is determined, that is, after the current control instruction for the target device is acquired, whether other control instructions exist in the instruction queue for the target device is determined, wherein the other control instructions are control instructions to be executed, which are generated before the current control instruction and are added into the instruction queue.
If the instruction queue for the target device is not empty, the instruction queue is emptied, and the current control instruction is added to the instruction queue, that is, before the current control instruction is added to the instruction queue for the target device, if other control instructions exist in the instruction queue, the existing other control instructions are deleted, it is ensured that no other control instruction exists in the instruction queue, and the current control instruction is added to the instruction queue.
And if the instruction queue for the target equipment is empty, adding the current control instruction into the instruction queue and waiting for execution.
Therefore, when a plurality of continuous control instructions which are sent by a user and aim at the target equipment are obtained, the control instructions with intermediate transition can not be executed, and the last control instruction is directly used as the current control instruction and sent to the target equipment, so that the network resources and the computing resources of the target equipment are saved.
For example, taking the smart screen as an example, the target device is an air conditioner, the current temperature of the air conditioner is 20 degrees celsius, and the command queue for the air conditioner is empty. Further, the user continuously sends three control instructions of adjusting and controlling the air conditioner temperature to 21 degrees celsius, the air conditioner temperature to 22 degrees celsius, and the air conditioner temperature to 23 degrees celsius to the smart screen.
Aiming at a control instruction for regulating and controlling the temperature of the air conditioner to be 21 ℃, the intelligent screen determines that an instruction queue aiming at the air conditioner is empty, and therefore the control instruction is added into the instruction queue; aiming at a control instruction for regulating and controlling the temperature of the air conditioner to be 22 ℃, the intelligent screen determines that a control instruction for regulating and controlling the temperature of the air conditioner to be 21 ℃ exists in the instruction queue, namely the instruction queue is not empty, so that the intelligent screen can empty the instruction queue and add the control instruction for regulating and controlling the temperature of the air conditioner to be 22 ℃ into the instruction queue; aiming at the control instruction for adjusting the air conditioner temperature to 23 ℃, the intelligent screen determines that the control instruction for adjusting and controlling the air conditioner temperature to 22 ℃ exists in the instruction queue, namely the instruction queue is not empty, so that the intelligent screen can empty the instruction queue and add the control instruction for adjusting and controlling the air conditioner temperature to 23 ℃ into the instruction queue. At this time, since the control command for controlling the air conditioner temperature to be 23 degrees celsius is the last control command, the smart screen may use the control command as the current control command. Therefore, when a plurality of continuous control instructions which are sent by a user and aim at the target equipment are obtained, the control instructions with intermediate transition can not be executed, and the last control instruction is directly used as the current control instruction and sent to the target equipment, so that network resources and computing resources of the target equipment can be saved.
Optionally, in a specific implementation manner, after adding the current control instruction into the instruction queue, the device control method provided in the embodiment of the present invention may further include the following step 11:
step 11: and sending the current control instruction to the target equipment so that the target equipment adjusts the state of the target equipment to the state indicated by the current control instruction.
In this specific implementation manner, after the current control instruction is added to the instruction queue, the current control instruction is sent to the target device, so that the target device receives the current control instruction, adjusts the state of the target device according to the current control instruction, and adjusts the state of the target device to the state indicated by the current control instruction.
Optionally, in a specific implementation manner, after adding the current control instruction into the instruction queue, the apparatus control method provided in the embodiment of the present invention may further include the following step 21:
step 21: and sending a current control instruction to a preset server to enable the server to send the current control instruction to the target equipment, so that the target equipment adjusts the state of the target equipment to the state indicated by the current control instruction.
In this specific implementation manner, the electronic device may communicate with a preset server, and after adding a current control instruction to an instruction queue for a target device, send the current control instruction to the server, so that the server sends the current control instruction to the target device, and thus, after receiving the current control instruction, the target device may adjust its own state according to the current control instruction, and adjust its own state to a state indicated by the current control instruction.
Optionally, in a specific implementation manner, in the step S104, determining a current latest state of the target device, and displaying the current latest state may include the following steps 31 to 32:
step 31: sending a state acquisition request to target equipment;
step 32: and acquiring the current latest state in the response information fed back by the target equipment.
In this specific implementation manner, when the preset duration is over, the electronic device sends a status acquisition request to the target device, where the status acquisition request is used to request to acquire a current latest status of the target device.
Furthermore, the target device can determine the current latest state of the target device and send the current latest state of the target device to the electronic device after receiving the state acquisition request, so that the electronic device can receive the current latest state sent by the target device and display the current latest state of the target device.
Optionally, in a specific implementation manner, in the step S104, determining a current latest state of the target device, and displaying the current latest state may include the following steps 41 to 42:
step 41: sending a push message acquisition request to a preset server;
step 42: acquiring the current latest state in response information fed back by the server; the current latest state is the state reported to the server by the target device last time.
In this specific implementation manner, at the end of the preset duration, the electronic device may send a push message acquisition request to a preset server, where the push message acquisition request is used to request to acquire a push message about a current latest state of the target device.
Further, the server receives the push message acquisition request, and may use a state that the target device has reported to the server last time as a current latest state of the target device, so as to issue a push message including the current latest state of the target device to the electronic device. In this way, the electronic device can receive the push message sent by the server about the current latest state of the target device and display the current latest state of the target device.
Based on the same inventive concept, the embodiment of the present invention further provides an apparatus status display device, corresponding to the apparatus status display method provided by the embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an apparatus status display device according to an embodiment of the present invention. As shown in fig. 4, the apparatus includes:
a processor 410 for obtaining current control instructions for a target device; determining whether a new control instruction for the target equipment is acquired within a preset time length, and ignoring push messages about the state of the target equipment received within the preset time length; if so, determining the new control instruction as the current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within a preset time length; if not, determining the current latest state of the target equipment when the preset duration is over;
a display module 420, configured to display the current latest status.
As can be seen from the above, according to the scheme provided by the embodiment of the present invention, first, for a target device, a preset time length is set according to a factor that affects the target device to execute a control instruction; furthermore, a preset duration from the time when the current control instruction is received may be used as a control period for the target device, and during this control period, the received push message regarding the state of the target device may be ignored. Therefore, the push message does not need to be responded when the current control instruction is executed, and the displayed state of the target equipment is determined based on the real current latest state of the target equipment, so that the problems of jumping, equipment state display errors and the like of a display interface can be avoided; meanwhile, when a new control instruction is received within the preset time length, the new control instruction is used as a new current control instruction, timing is restarted, and the current latest state of the equipment is determined and displayed after the restarted preset time length, so that the problems of target equipment state update lag and the like caused by factors such as network delay and the like can be avoided, the displayed state of the target equipment is the latest state of the target equipment, and the equipment state display accuracy can be improved.
Optionally, in a specific implementation manner, the processor 410 is specifically configured to:
generating a current control instruction for a target device and a state updating instruction for the target device based on the detected control operation for the target device; wherein the status update instruction is configured to indicate: updating the displayed state of the target device to the state indicated by the control operation;
the processor 410 is further configured to respond to the status update instruction before displaying the current latest status.
Optionally, in a specific implementation manner, the processor 410 is further configured to:
judging whether a preset instruction queue aiming at the target equipment is not empty or not;
if yes, clearing the instruction queue, and adding the current control instruction into the instruction queue;
otherwise, adding the current control instruction into the instruction queue.
Optionally, in a specific implementation manner, the processor 410 is further configured to:
after the current control instruction is added into the instruction queue, sending the current control instruction to the target device, so that the target device adjusts the state of the target device to the state indicated by the current control instruction;
alternatively, the first and second electrodes may be,
after the current control instruction is added into the instruction queue, the current control instruction is sent to a preset server, so that the server sends the current control instruction to the target device, and the target device adjusts the state of the target device to the state indicated by the current control instruction.
Optionally, in a specific implementation manner, the processor 410 is specifically configured to:
sending a state acquisition request to the target equipment, and acquiring the current latest state in response information fed back by the target equipment;
alternatively, the first and second electrodes may be,
sending a push message acquisition request to a preset server, and acquiring the current latest state in response information fed back by the server; and the current latest state is the state reported to the server by the target equipment last time.
Based on the same inventive concept, the embodiment of the present invention further provides an apparatus status display system, corresponding to the apparatus status display method provided by the embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an apparatus state display system according to an embodiment of the present invention, and as shown in fig. 5, the apparatus state display system includes: display device 510 and server 520; also, the device status display system including the display device 510 and the server 520 may communicate with the target device 530, that is, the device status display system may include both the display device 510 and the server 520 that may perform data transmission with the target device 530.
The display device 510 is configured to obtain a current control instruction for the target device 530; determining whether a new control instruction for the target device 530 is acquired within a preset time period, and ignoring push messages received within the preset time period about the state of the target device 530; if so, determining the new control instruction as the current control instruction, and returning to the step of determining whether to acquire the new control instruction for the target device 530 within a preset time period; if not, when the preset time length is over, determining the current latest state of the target device 530, and displaying the current latest state;
the server 520 is configured to send a push message regarding the status of the target device 530 to the display device 510.
As can be seen from the above, according to the scheme provided by the embodiment of the present invention, first, for a target device, a preset time length is set according to a factor that affects the target device to execute a control instruction; furthermore, a preset duration from the time when the current control instruction is received may be used as a control period for the target device, and during this control period, the received push message regarding the state of the target device may be ignored. Therefore, the push message does not need to be responded when the current control instruction is executed, and the displayed state of the target equipment is determined based on the real current latest state of the target equipment, so that the problems of jumping, equipment state display errors and the like of a display interface can be avoided; meanwhile, when a new control instruction is received within the preset time length, the new control instruction is used as a new current control instruction, timing is restarted, and the current latest state of the equipment is determined and displayed after the restarted preset time length, so that the problems of target equipment state update lag and the like caused by factors such as network delay and the like can be avoided, the displayed state of the target equipment is the latest state of the target equipment, and the equipment state display accuracy can be improved.
Optionally, in a specific implementation manner, the display device 510 is specifically configured to generate a current control instruction for the target device 530 and a status update instruction for the target device 530 based on the detected control operation for the target device 530; wherein the status update instruction is configured to indicate: updating the displayed state of the target device 530 to the state indicated by the control operation;
the display device 510 is further configured to respond to the status update instruction before displaying the current latest status.
Optionally, in a specific implementation manner, the display device 510 is further configured to:
determining whether a preset instruction queue for the target device 530 is not empty; if so, emptying the instruction queue and adding the current control instruction into the instruction queue; otherwise, adding the current control instruction into the instruction queue.
Optionally, in a specific implementation manner, the display device 510 is further configured to:
after the current control instruction is added to the instruction queue, the current control instruction is sent to the target device 530, so that the target device 530 adjusts its own state to the state indicated by the current control instruction.
Optionally, in a specific implementation manner, the display device 510 is further configured to send the current control instruction to the server 520 after adding the current control instruction into the instruction queue;
the server 520 is further configured to receive a current control instruction sent by the display device 510, and send the current control instruction to the target device 530, so that the target device 530 adjusts its state to the state indicated by the current control instruction.
Optionally, in a specific implementation manner, the display device 510 is specifically configured to:
and sending a state acquisition request to the target device 530, and acquiring the current latest state in the response information fed back by the target device 530.
Optionally, in a specific implementation manner, the display device 510 is specifically configured to: sending a push message acquisition request to the server 520, and acquiring a current latest state in response information fed back by the server 520; wherein the current latest status is a status that the target device 530 last reported to the server 520;
the server 520 is further configured to receive a push message obtaining request sent by the display device 510, and feed back response information to the display device 510.
Corresponding to the various method embodiments provided by the embodiments of the present invention described above, the embodiments of the present invention further provide an electronic device, as shown in fig. 6, including a processor 601, a communication interface 602, a memory 603, and a communication bus 604, where the processor 601, the communication interface 602, and the memory 603 complete communications with each other through the communication bus 604,
a memory 603 for storing a computer program;
the processor 601 is configured to implement the steps of any one of the method embodiments provided by the embodiments of the present invention when executing the program stored in the memory 603.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In a further embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, which, when being executed by a processor, implements the steps of any one of the method embodiments provided in the above-mentioned embodiments of the present invention.
In a further embodiment provided by the present invention, there is also provided a computer program product comprising instructions which, when run on a computer, cause the computer to carry out the steps of any of the method embodiments provided by the embodiments of the present invention described above.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may 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)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, system embodiments, apparatus embodiments, electronic device embodiments, computer-readable storage medium embodiments, and computer program product embodiments are substantially similar to method embodiments and therefore are described with relative ease, as related to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for displaying device status, the method comprising:
acquiring a current control instruction for target equipment;
determining whether a new control instruction for the target equipment is acquired within a preset time length, and ignoring push messages received within the preset time length and related to the state of the target equipment;
if so, determining the new control instruction as the current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within a preset time length;
if not, when the preset duration is over, determining the current latest state of the target equipment, and displaying the current latest state.
2. The method of claim 1, wherein obtaining current control instructions for a target device comprises:
generating a current control instruction for a target device and a state updating instruction for the target device based on the detected control operation for the target device; wherein the status update instruction is configured to indicate: updating the displayed state of the target device to the state indicated by the control operation;
prior to said displaying said current latest state, said method further comprising:
responding to the state updating instruction.
3. The method of claim 1, further comprising:
judging whether a preset instruction queue aiming at the target equipment is not empty or not;
if so, emptying the instruction queue and adding the current control instruction into the instruction queue;
otherwise, adding the current control instruction into the instruction queue.
4. The method of claim 3, wherein after said adding the current control instruction to the instruction queue, the method further comprises:
sending the current control instruction to the target equipment to enable the target equipment to adjust the state of the target equipment to the state indicated by the current control instruction;
alternatively, the first and second electrodes may be,
and sending the current control instruction to a preset server to enable the server to send the current control instruction to the target device, so that the target device adjusts the state of the target device to the state indicated by the current control instruction.
5. The method of any of claims 1-4, wherein the determining the current up-to-date state of the target device comprises:
sending a state acquisition request to the target equipment, and acquiring the current latest state in response information fed back by the target equipment;
alternatively, the first and second liquid crystal display panels may be,
sending a push message acquisition request to a preset server, and acquiring the current latest state in response information fed back by the server; and the current latest state is the state reported to the server by the target equipment last time.
6. A device status display system, the system comprising: a display device and a server;
the display device is used for acquiring a current control instruction for the target device; determining whether a new control instruction for the target equipment is acquired within a preset time length, and ignoring push messages received within the preset time length and related to the state of the target equipment; if so, determining the new control instruction as the current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within a preset time length; if not, when the preset duration is over, determining the current latest state of the target equipment, and displaying the current latest state;
the server is used for sending a push message about the state of the target equipment to the display equipment.
7. The system of claim 6,
the display device is specifically configured to generate a current control instruction for a target device and a status update instruction for the target device based on a detected control operation for the target device; wherein the status update instruction is configured to indicate: updating the displayed state of the target device to the state indicated by the control operation;
the display device is further configured to respond to the status update instruction before displaying the current latest status.
8. An apparatus for displaying a status of a device, the apparatus comprising:
the processor is used for acquiring a current control instruction aiming at the target equipment; determining whether a new control instruction for the target equipment is acquired within a preset time length, and ignoring push messages received within the preset time length and related to the state of the target equipment; if so, determining the new control instruction as the current control instruction, and returning to the step of determining whether the new control instruction for the target equipment is acquired within a preset time length; if not, determining the current latest state of the target equipment when the preset duration is over;
and the display module is used for displaying the current latest state.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
CN202210312711.7A 2022-03-28 2022-03-28 Equipment state display method, system and device and electronic equipment Pending CN114679347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210312711.7A CN114679347A (en) 2022-03-28 2022-03-28 Equipment state display method, system and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210312711.7A CN114679347A (en) 2022-03-28 2022-03-28 Equipment state display method, system and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114679347A true CN114679347A (en) 2022-06-28

Family

ID=82075436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210312711.7A Pending CN114679347A (en) 2022-03-28 2022-03-28 Equipment state display method, system and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114679347A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108828966A (en) * 2018-06-15 2018-11-16 青岛海信智慧家居系统股份有限公司 A kind of method and device that intelligent domestic devices in system information is shown
CN110830579A (en) * 2019-11-12 2020-02-21 上海庆科信息技术有限公司 Equipment state display method, system, device and computer storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108828966A (en) * 2018-06-15 2018-11-16 青岛海信智慧家居系统股份有限公司 A kind of method and device that intelligent domestic devices in system information is shown
CN110830579A (en) * 2019-11-12 2020-02-21 上海庆科信息技术有限公司 Equipment state display method, system, device and computer storage medium

Similar Documents

Publication Publication Date Title
US20240012562A1 (en) Control method applied to screen projection scenario and related device
CN106302055B (en) Synchronous updating method and system for intelligent equipment state
US9678622B2 (en) Terminal for supporting icon operation and icon operation method
CN102255887B (en) Method and system for providing online services corresponding to multiple mobile devices
EP4246258A1 (en) Scene establishment method and apparatus, and computer device and computer-readable storage medium
US10609534B2 (en) Feed service engine
EP4339753A1 (en) Table processing method and apparatus, electronic device, medium, and program product
CN114679481A (en) Robot control method and device, storage medium and robot cluster
CN114679347A (en) Equipment state display method, system and device and electronic equipment
CN113194450A (en) Bluetooth device management method and device
CN113721936B (en) Application management method, intelligent terminal, device and storage medium
US20200112849A1 (en) Nomination of a primary cell phone from a pool of cell phones
CN115543423A (en) Method, device and equipment for generating benchmarks and storage medium
CN109462638B (en) Equipment state management method and system
CN114268935A (en) Device connection method, terminal and storage medium
WO2021134252A1 (en) Inter-device communication method and apparatus, and storage medium
CN113422791A (en) Cloud service configuration method and device, electronic equipment and computer-readable storage medium
CN114401300B (en) Cloud application control method, device, equipment, medium and program product
CN103941961A (en) Prompting method, device and facility for application updating
EP4044555A1 (en) Method for transmitting cross-resource event notification, electronic device, system and computer-readable storage medium
CN114327331B (en) Information display method, information display device, electronic equipment and computer readable storage medium
CN117041325A (en) Website access method, device, equipment and storage medium
CN116028751A (en) Browser message interaction method, device, equipment and storage medium
CN113765971A (en) Method, device, equipment and computer readable medium for controlling interface
CN116700974A (en) Multi-process task processing method and device, electronic equipment and storage medium

Legal Events

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