CN110830579B - Equipment state display method, system, device and computer storage medium - Google Patents

Equipment state display method, system, device and computer storage medium Download PDF

Info

Publication number
CN110830579B
CN110830579B CN201911100933.7A CN201911100933A CN110830579B CN 110830579 B CN110830579 B CN 110830579B CN 201911100933 A CN201911100933 A CN 201911100933A CN 110830579 B CN110830579 B CN 110830579B
Authority
CN
China
Prior art keywords
state information
control instruction
sub
control
controlled
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.)
Active
Application number
CN201911100933.7A
Other languages
Chinese (zh)
Other versions
CN110830579A (en
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.)
Shanghai Mxchip Information Technology Co Ltd
Original Assignee
Shanghai Mxchip Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Mxchip Information Technology Co Ltd filed Critical Shanghai Mxchip Information Technology Co Ltd
Priority to CN201911100933.7A priority Critical patent/CN110830579B/en
Publication of CN110830579A publication Critical patent/CN110830579A/en
Application granted granted Critical
Publication of CN110830579B publication Critical patent/CN110830579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a method, a system and a device for displaying equipment states and a computer storage medium, which are applied to a control end and used for acquiring a control instruction for controlling a controlled end; determining and displaying target state information of the controlled terminal based on the control instruction; and sending a control instruction to the controlled end. According to the equipment state display method, after the control end obtains the control instruction for controlling the controlled end, the control end does not directly send the control instruction to the controlled end, the target state information of the controlled end is determined and displayed based on the control instruction, and then the control instruction is sent to the controlled end, so that the control end can display the corresponding equipment state without waiting for the controlled end to respond to the control instruction, the time for the control end to wait for the controlled end to respond to the control instruction is shortened, and the display delay of the equipment state is reduced. The device state display system, the device and the computer readable storage medium provided by the application also solve the corresponding technical problems.

Description

Equipment state display method, system, device and computer storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, a system, an apparatus, and a computer storage medium for displaying a device status.
Background
Currently, in the application process of a device, in order to facilitate a user to manage the device, a client for controlling the device may be developed, where the client for controlling the device is referred to as a control end, and a device controlled by the control end is referred to as a controlled end, and the control end, in the process of controlling the controlled end, sends a control instruction to the controlled end, and then waits for the controlled end to respond to the control instruction and return a response success, and then displays the device state of the controlled end according to the control instruction, so that there is a delay in the process of displaying the device state of the controlled end by the control end, and user experience is affected.
In summary, how to reduce the display delay of the device status is a problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide an equipment state display method which can solve the technical problem of reducing the display delay of the equipment state to a certain extent. The application also provides a device state display system, a device and a computer readable storage medium.
In order to achieve the above purpose, the present application provides the following technical solutions:
a device state display method is applied to a control end and comprises the following steps:
acquiring a control instruction for controlling a controlled end;
determining and displaying target state information of the controlled terminal based on the control instruction;
and sending the control instruction to the controlled end.
Preferably, after determining and displaying the target state information of the controlled end based on the control instruction, the method further includes:
receiving first state information of the controlled terminal transmitted by the controlled terminal;
analyzing sub-state information which describes the same attribute as the target state information from the first state information;
judging whether the sub-state information is consistent with the corresponding target state information;
if the sub-state information is inconsistent with the corresponding target state information, judging whether the timestamp of the sub-state information is later than the timestamp of the corresponding target state information;
if the timestamp of the sub-state information is later than the timestamp of the corresponding target state information, updating and displaying the sub-state information;
displaying other state information except the sub-state information in the first state information;
and the time stamps of the first state information and the target state information are the time stamps determined according to a preset rule.
Preferably, the determining whether the timestamp of the sub-status information is later than the timestamp of the corresponding target status information further includes:
if the timestamp of the sub-state information is equal to the timestamp of the corresponding target state information, judging whether the instruction sequence number of the sub-state information is larger than the instruction sequence number of the control instruction;
if the instruction serial number of the sub-state information is larger than the instruction serial number of the control instruction, updating and displaying the sub-state information;
if the instruction serial number of the sub-state information is smaller than the instruction serial number of the control instruction, continuing to display the target state information;
wherein the size of the instruction sequence number is positively correlated with the generation time of the instruction.
Preferably, the preset rule includes a time stamp of the state information, which is a generation time of the state information.
Preferably, the control end and the controlled end perform information interaction through a cloud end;
the preset rule comprises that the receiving time of the cloud receiving state information is used as the timestamp of the state information.
Preferably, the determining and displaying the target state information of the controlled terminal based on the control instruction includes:
sending the control instruction to the cloud end;
and receiving and displaying the target state information returned by the cloud.
Preferably, after sending the control command to the controlled end, the method further includes:
judging whether a response result sent by the controlled terminal is received within a preset time length, if not, returning to the step of sending the control instruction to the controlled terminal;
and the response result is data information generated after the controlled terminal responds to the control instruction.
Preferably, after the determining whether the response result sent by the controlled end is received within the preset time period, the method further includes:
and if the response result sent by the controlled terminal is received within a preset time length, updating the displayed target state information based on the response result.
Preferably, after the response result sent by the controlled end is not received within the preset time period, before the step of returning and executing the control instruction to the controlled end, the method further includes:
accumulating the real-time sending times of the control instruction;
judging whether the real-time sending times are larger than preset sending times or not;
if the real-time sending times are less than or equal to the preset sending times, returning to the step of sending the control instruction to the controlled end;
and if the real-time sending times are greater than the preset sending times, eliminating the displayed target state information.
Preferably, before determining and displaying the target state information of the controlled end based on the control instruction, the method further includes:
and backing up the state information displayed by the control terminal.
A device state display system is applied to a control end and comprises:
the first acquisition module is used for acquiring a control instruction for controlling the controlled end;
the first determining module is used for determining and displaying target state information of the controlled end based on the control instruction;
and the first sending module is used for sending the control instruction to the controlled end.
An equipment state display device is applied to a control end and comprises:
a memory for storing a computer program;
a processor for implementing the steps of the device status display method as described above when executing the computer program.
A computer-readable storage medium for a control terminal, the computer-readable storage medium storing a computer program, which when executed by a processor implements the steps of the device status display method as described above.
The device state display method is applied to a control end and used for obtaining a control instruction for controlling a controlled end; determining and displaying target state information of the controlled terminal based on the control instruction; and sending a control instruction to the controlled end. According to the equipment state display method, after the control end acquires the control instruction for controlling the controlled end, the control instruction is not directly sent to the controlled end, the target state information of the controlled end is determined and displayed on the basis of the control instruction, and then the control instruction is sent to the controlled end, so that the control end can display the corresponding equipment state without waiting for the controlled end to respond to the control instruction, the time for the control end to wait for the controlled end to respond to the control instruction is shortened, and the display delay of the equipment state is reduced. The device state display system, the device and the computer readable storage medium provided by the application also solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a first flowchart of a device status display method according to an embodiment of the present disclosure;
fig. 2 is a second flowchart of a device status display method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus status display system according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus state display device according to an embodiment of the present disclosure;
fig. 5 is another schematic structural diagram of an apparatus state display device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
Referring to fig. 1, fig. 1 is a first flowchart of an apparatus status display method according to an embodiment of the present disclosure.
The device state display method provided by the embodiment of the application is applied to a control end and can comprise the following steps:
step S101: and acquiring a control instruction for controlling the controlled end.
In practical application, the specific content of the control instruction obtained by the control end can be determined according to the type of the controlled end, for example, when the controlled end is a switch, the control instruction can be that the control switch is turned off; the data type of the control instruction can also be determined according to actual needs, for example, the data type of the control instruction can be an MQTT (message queue telemetry transmission) type; the mode of the control end for acquiring the control instruction can also be determined according to actual needs, for example, the control end can receive the control instruction through a network, acquire the control instruction through an input interface of the control end, and the like; in addition, the types of the control end and the controlled end can also be determined according to actual needs.
Step S102: and determining and displaying target state information of the controlled terminal based on the control instruction.
In practical application, because the control instruction is an instruction for controlling the controlled end to execute corresponding operation, the controlled end only needs to respond to the control instruction and operate the controlled end according to the control instruction after receiving the control instruction, that is, the control instruction determines the state of the controlled end, and therefore, after the control end acquires the control instruction, the control end can directly determine and display target state information of the controlled end based on the control instruction. Still taking the controlled terminal as an example of the switch, if the control information is that the control switch is turned off, the state of the controlled terminal after responding to the control instruction is determined as the off state, and therefore, the control terminal can directly determine the state information of the switch as off and display according to the control instruction.
Step S103: and sending a control instruction to the controlled end.
In practical application, after determining and displaying the target state information of the controlled end, the control end can send the control instruction to the controlled end, so that the controlled end can adjust the state of the controlled end according to the control instruction.
The device state display method is applied to a control end and used for obtaining a control instruction for controlling a controlled end; determining and displaying target state information of the controlled terminal based on the control instruction; and sending a control instruction to the controlled end. According to the equipment state display method, after the control end obtains the control instruction for controlling the controlled end, the control end does not directly send the control instruction to the controlled end, the target state information of the controlled end is determined and displayed based on the control instruction, and then the control instruction is sent to the controlled end, so that the control end can display the corresponding equipment state without waiting for the controlled end to respond to the control instruction, the time for the control end to wait for the controlled end to respond to the control instruction is shortened, and the display delay of the equipment state is reduced.
Referring to fig. 2, fig. 2 is a second flowchart of an apparatus status display method according to an embodiment of the present disclosure.
The device state display method provided by the embodiment of the application is applied to a control end and can comprise the following steps:
step S201: and acquiring a control instruction for controlling the controlled end.
Step S202: and determining and displaying target state information of the controlled terminal based on the control instruction.
Step S203: and sending a control instruction to the controlled end.
Step S204: and receiving the first state information of the controlled terminal transmitted by the controlled terminal.
Step S205: in the first state information, sub-state information describing the same attribute as the target state information is analyzed.
In practical application, the control end displays the state information of the controlled end in advance, and the updating of the device information of the controlled end is influenced not only by the control instruction transmitted by the controlled end, but also by other control instructions except the control instruction transmitted by the control end. Because the first state information and the target state information may have state information describing the same attribute, and may also have state information describing different attributes, it is a problem to be solved if the control end displays the state information of the attribute according to the target state information or according to the first state information.
It should be noted that the triggering condition for the controlled end to transmit the first state information may be determined according to actual needs, for example, the controlled end may transmit the first state information at right time according to a time interval; the first state information can also be transmitted after each response of the control command; or the first state information can be transmitted after the state information of the controlled terminal is changed.
Step S206: judging whether the sub-state information is consistent with the corresponding target state information; if the sub-status information is not consistent with the corresponding target status information, step S207 is executed.
Step S207: judging whether the timestamp of the sub-state information is later than the timestamp of the corresponding target state information; if the timestamp of the sub-status information is later than the timestamp of the corresponding target status information, step S208 is performed.
Step S208: the display sub-state information is updated, and step S209 is performed.
In practical application, after the control end analyzes the sub-state information in the first state information, it may be determined whether the sub-state information is consistent with the corresponding target state information, if so, the target state information may be continuously displayed, if not, it may be determined whether the timestamp of the sub-state information is later than the timestamp of the corresponding target state information, and if the timestamp of the sub-state information is later than the timestamp of the corresponding target state information, it may be necessary to change the corresponding state information in the displayed target state information into the displayed sub-state information, so as to ensure that the state information displayed by the control end is definitely the latest state information of the controlled end.
In practical application, in the process of determining whether the timestamp of the sub-state information is later than the timestamp of the corresponding target state information, a situation that the timestamp of the sub-state information is equal to the timestamp of the corresponding target state information may occur, at this time, it cannot be determined that the state information is the latest only according to the timestamp, in order to solve the problem, which state information is the latest may be determined according to the morning and evening of the control instruction, and specifically, when the timestamp of the sub-state information is equal to the timestamp of the corresponding target state information, it may be determined whether the instruction sequence number of the sub-state information is greater than the instruction sequence number of the control instruction; if the instruction serial number of the sub-state information is larger than the instruction serial number of the control instruction, updating and displaying the sub-state information; if the instruction serial number of the sub-state information is smaller than the instruction serial number of the control instruction, continuing to display the target state information; wherein, the size of the instruction sequence number is positively correlated with the generation time of the instruction. Note that, the size of the instruction sequence number is in positive correlation with the generation time of the instruction, which means that the later the generation time of the instruction is, the larger the instruction sequence number is, in a specific application scenario, the instruction sequence number may be sequentially increased, and the like.
Step S209: displaying other state information except the sub-state information in the first state information; and the time stamps of the first state information and the target state information are the time stamps determined according to a preset rule.
In practical application, the control end can directly display other state information except the sub-state information in the first state information. It should be noted that, in the present application, the timestamps of the first status information and the target status information are both timestamps determined according to a preset rule, so that the timestamps of the first status information and the target status information are both timestamps determined according to the same rule.
In the method for displaying the device status provided by the embodiment of the application, in order to ensure the accuracy of the timestamp of the status information, the preset rule may be that the generation time of the status information is used as the timestamp of the status information. That is, the timestamp of the state information is the generation time of the state information, so that the generation time of the target state information can be the time for determining the target state information for the control end, and it should be noted that, in practical application, when the processing rate of the control end is high, the time at which the control end receives the control instruction can be the timestamp of the target state information, and the like. In addition, since the timestamp of the target state information is generated by the control end according to its own time, and the first state information is generated by the controlled end according to its own time, there is a possibility that the timestamps of the first state information and the target state information are not generated at the same time scale, and at this time, when the early-late determination of the timestamp is performed, it is necessary to convert the two timestamps to the time at the same time scale and perform the early-late determination again.
In the device state display method provided by the embodiment of the application, under the condition that the control end and the controlled end perform information interaction through the cloud end, the preset rule can be a timestamp taking the receiving moment of the cloud end receiving the state information as the state information. The receiving time of the cloud receiving state information is used as the timestamp of the state information, so that the target state information and the timestamp of the first state information are always in the same time scale, and the early and late judgment can be directly carried out on the target state information and the timestamp of the first state information.
In the device state display method provided by the embodiment of the application, when the control end determines and displays the target state information of the controlled end based on the control instruction under the condition that the control end and the controlled end perform information interaction through the cloud end, the control end can send the control instruction to the cloud end; and receiving and displaying target state information returned by the cloud. The target state information of the controlled terminal can be determined by the cloud terminal based on the control instruction, and then the control terminal displays the target state information. It should be noted that, in practical application, when the controlled end is offline, the cloud end may further store the control instruction, and after the controlled end is online, the cloud end sends the control instruction to the controlled end, so as to implement synchronization between the controlled end and the control end.
In the method for displaying the device status provided by the embodiment of the application, in order to ensure that the controlled end can receive the control instruction, after the control end sends the control instruction to the controlled end, whether a response result sent by the controlled end is received within a preset time duration can be judged, and if not, the step of sending the control instruction to the controlled end is executed; and the response result is data information generated after the controlled end responds to the control instruction. The specific value of the preset duration can be determined according to actual needs.
Specifically, after the control end judges whether the response result sent by the controlled end is received within the preset time length, if the response result sent by the controlled end is received within the preset time length, the displayed target state information is updated based on the response result. In practical application, after the control end receives the response result sent by the controlled end, in order to further ensure that the state information displayed by the control end is the latest state information of the controlled end, the control end may update the target state information displayed by the control end based on the response result, for example, when the response result indicates that part of the control instructions fails to respond, the control end needs to change the target state information corresponding to the control instructions that fail to respond, so that the changed target state information conforms to the real situation of the controlled end.
Specifically, in order to ensure that the state information displayed by the control end is the real state information of the controlled end, the control end can also accumulate the real-time sending times of the control instruction after not receiving the response result sent by the controlled end within the preset time length and before returning to the step of sending the control instruction to the controlled end; judging whether the real-time sending times are larger than the preset sending times or not; if the real-time sending times are less than or equal to the preset sending times, returning to the step of executing the sending control instruction to the controlled end; and if the real-time sending times are greater than the preset sending times, eliminating the displayed target state information. That is, when the control end sends a control instruction to the controlled end for many times, and the controlled end cannot normally receive and respond, the control end can eliminate the displayed target state information to inform the user that the control instruction is not successfully issued.
In the device status display method provided by the embodiment of the application, the control terminal can also backup the status information displayed by the control terminal before determining and displaying the target status information of the controlled terminal based on the control instruction. The control end can adjust the self-displayed state information according to the backup state information, for example, after the displayed target state information is eliminated, the control end can directly display the backup state information and the like.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an apparatus status display system according to an embodiment of the present disclosure.
The device state display system provided by the embodiment of the application is applied to a control end and can comprise:
a first obtaining module 101, configured to obtain a control instruction for controlling a controlled end;
the first determining module 102 is configured to determine and display target state information of a controlled end based on a control instruction;
and the first sending module 103 is used for sending a control instruction to the controlled terminal.
The device status display system provided by the embodiment of the application is applied to a control end, and may further include:
the first receiving module is used for receiving the first state information of the controlled end transmitted by the controlled end after the first determining module determines and displays the target state information of the controlled end based on the control instruction;
the first analysis module is used for analyzing the sub-state information which describes the same attribute with the target state information in the first state information;
the first judgment module is used for judging whether the sub-state information is consistent with the corresponding target state information; if the sub-state information is inconsistent with the corresponding target state information, judging whether the timestamp of the sub-state information is later than the timestamp of the corresponding target state information; if the timestamp of the sub-state information is later than the timestamp of the corresponding target state information, updating and displaying the sub-state information;
the first display module is used for displaying other state information except the sub-state information in the first state information; and the time stamps of the first state information and the target state information are the time stamps determined according to a preset rule.
The device status display system provided by the embodiment of the application is applied to a control end, and may further include:
the second judgment module is used for judging whether the instruction sequence number of the sub-state information is greater than the instruction sequence number of the control instruction or not after the first judgment module judges that the timestamp of the sub-state information is equal to the timestamp of the corresponding target state information; if the instruction serial number of the sub-state information is larger than the instruction serial number of the control instruction, updating and displaying the sub-state information; if the instruction serial number of the sub-state information is smaller than the instruction serial number of the control instruction, continuing to display the target state information; wherein, the size of the instruction sequence number is positively correlated with the generation time of the instruction.
The device state display system provided by the embodiment of the application is applied to a control end, and the preset rule can comprise a timestamp taking the generation moment of the state information as the state information.
The equipment state display system provided by the embodiment of the application is applied to a control end, and the control end and a controlled end carry out information interaction through a cloud end; the preset rule may include a time stamp with the state information as a reception time at which the cloud receives the state information.
The device status display system provided by the embodiment of the application is applied to a control end, and the first determining module may further include:
the first sending unit is used for sending a control instruction to the cloud end;
and the first receiving unit is used for receiving and displaying the target state information returned by the cloud.
The device status display system provided by the embodiment of the application is applied to a control end, and may further include:
the third judging module is used for judging whether a response result sent by the controlled end is received within a preset time length after the first sending module sends the control instruction to the controlled end, and if not, returning to the step of sending the control instruction to the controlled end; and the response result is data information generated after the controlled end responds to the control instruction.
The device status display system provided by the embodiment of the application is applied to a control end, and may further include:
and the first updating module is used for updating the displayed target state information based on the response result if the response result sent by the controlled end is received in the preset time length after the third judging module judges whether the response result sent by the controlled end is received in the preset time length.
The device status display system provided by the embodiment of the application is applied to a control end, and may further include:
the first accumulation unit is used for accumulating the real-time sending times of the control instruction after the third judgment module does not receive the response result sent by the controlled end within the preset time length and before the step of sending the control instruction to the controlled end is executed;
the first judgment unit is used for judging whether the real-time sending times are larger than the preset sending times; if the real-time sending times are less than or equal to the preset sending times, returning to the step of executing the sending control instruction to the controlled end; and if the real-time sending times are greater than the preset sending times, eliminating the displayed target state information.
The device status display system provided by the embodiment of the application is applied to a control end, and may further include:
and the first backup module is used for backing up the state information displayed by the control terminal before the first determining module determines the target state information of the controlled terminal based on the control instruction and displays the target state information.
The application also provides an equipment state display device and a computer readable storage medium, which have the corresponding effects of the equipment state display method provided by the embodiment of the application. Referring to fig. 4, fig. 4 is a schematic structural diagram of an apparatus state display device according to an embodiment of the present disclosure.
The device state display apparatus provided in the embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the steps of the device state display method described in any of the above embodiments when executing the computer program.
Referring to fig. 5, another device status display apparatus provided in the embodiment of the present application may further include: an input port 203 connected to the processor 202, for transmitting externally input commands to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing result of the processor 202 to the outside; and the communication module 205 is connected with the processor 202 and is used for realizing the communication between the device state display device and the outside. The display unit 204 may be a display panel, a laser scanning display, or the like; the communication method adopted by the communication module 205 includes, but is not limited to, mobile high definition link technology (HML), Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), and wireless connection: wireless fidelity technology (WiFi), bluetooth communication technology, bluetooth low energy communication technology, ieee802.11s based communication technology.
The computer-readable storage medium provided in the embodiments of the present application stores a computer program, and the computer program, when executed by a processor, implements the steps of the device status display method described in any of the above embodiments.
The computer-readable storage media to which this application relates include Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
For a description of a relevant part in an apparatus state display system, an apparatus, and a computer readable storage medium provided in the embodiments of the present application, please refer to a detailed description of a corresponding part in an apparatus state display method provided in the embodiments of the present application, which is not described herein again. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
It is further 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 a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. The equipment state display method is applied to a control end and comprises the following steps:
acquiring a control instruction for controlling a controlled end;
determining and displaying target state information of the controlled terminal based on the control instruction;
sending the control instruction to the controlled end;
after determining and displaying the target state information of the controlled terminal based on the control instruction, the method further includes:
receiving first state information of the controlled terminal transmitted by the controlled terminal;
analyzing sub-state information which describes the same attribute as the target state information from the first state information;
judging whether the sub-state information is consistent with the corresponding target state information;
if the sub-state information is inconsistent with the corresponding target state information, judging whether the timestamp of the sub-state information is later than the timestamp of the corresponding target state information;
if the timestamp of the sub-state information is later than the timestamp of the corresponding target state information, updating and displaying the sub-state information;
displaying other state information except the sub-state information in the first state information;
and the time stamps of the first state information and the target state information are the time stamps determined according to a preset rule.
2. The method of claim 1, wherein determining whether the timestamp of the sub-state information is later than the timestamp of the corresponding target state information further comprises:
if the timestamp of the sub-state information is equal to the timestamp of the corresponding target state information, judging whether the instruction sequence number of the sub-state information is larger than the instruction sequence number of the control instruction;
if the instruction serial number of the sub-state information is larger than the instruction serial number of the control instruction, updating and displaying the sub-state information;
if the instruction serial number of the sub-state information is smaller than the instruction serial number of the control instruction, continuing to display the target state information;
wherein the later the generation time of the instruction, the larger the instruction sequence number.
3. The method according to claim 2, wherein the preset rule includes a generation time of the state information as a time stamp of the state information.
4. The method according to claim 2, wherein the control end and the controlled end perform information interaction through a cloud end;
the preset rule comprises that the receiving time of the cloud receiving state information is used as the timestamp of the state information.
5. The method according to claim 4, wherein the determining and displaying target state information of the controlled terminal based on the control instruction comprises:
sending the control instruction to the cloud end;
and receiving and displaying the target state information returned by the cloud.
6. The method according to claim 1, wherein after sending the control command to the controlled terminal, the method further comprises:
judging whether a response result sent by the controlled terminal is received within a preset time length, if not, returning to the step of sending the control instruction to the controlled terminal;
and the response result is data information generated after the controlled terminal responds to the control instruction.
7. The method according to claim 6, wherein after determining whether the response result sent by the controlled end is received within a preset time period, the method further comprises:
and if the response result sent by the controlled terminal is received within a preset time length, updating the displayed target state information based on the response result.
8. The method according to claim 6, wherein after the response result sent by the controlled terminal is not received within the preset time period, and before the step of returning to execute the step of sending the control instruction to the controlled terminal, further comprising:
accumulating the real-time sending times of the control instruction;
judging whether the real-time sending times are larger than preset sending times or not;
if the real-time sending times are less than or equal to the preset sending times, returning to the step of sending the control instruction to the controlled end;
and if the real-time sending times are greater than the preset sending times, eliminating the displayed target state information.
9. The method of claim 1, wherein before determining and displaying the target status information of the controlled terminal based on the control command, the method further comprises:
and backing up the state information displayed by the control terminal.
10. An equipment state display system is applied to a control end and comprises:
the first acquisition module is used for acquiring a control instruction for controlling the controlled end;
the first determining module is used for determining and displaying target state information of the controlled end based on the control instruction;
the first sending module is used for sending the control instruction to the controlled end;
wherein, still include:
the first receiving module is used for receiving the first state information of the controlled terminal transmitted by the controlled terminal after the first determining module determines and displays the target state information of the controlled terminal based on the control instruction;
the first analysis module is used for analyzing the sub-state information which describes the same attribute with the target state information in the first state information;
the first judgment module is used for judging whether the sub-state information is consistent with the corresponding target state information; if the sub-state information is inconsistent with the corresponding target state information, judging whether the timestamp of the sub-state information is later than the timestamp of the corresponding target state information; if the timestamp of the sub-state information is later than the timestamp of the corresponding target state information, updating and displaying the sub-state information;
the first display module is used for displaying other state information except the sub-state information in the first state information;
and the time stamps of the first state information and the target state information are the time stamps determined according to a preset rule.
11. The equipment state display device is applied to a control end and comprises:
a memory for storing a computer program;
a processor for implementing the steps of the device status display method according to any one of claims 1 to 9 when executing the computer program.
12. A computer-readable storage medium, which is applied to a control terminal, and in which a computer program is stored, and when the computer program is executed by a processor, the steps of the device status display method according to any one of claims 1 to 9 are implemented.
CN201911100933.7A 2019-11-12 2019-11-12 Equipment state display method, system, device and computer storage medium Active CN110830579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911100933.7A CN110830579B (en) 2019-11-12 2019-11-12 Equipment state display method, system, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911100933.7A CN110830579B (en) 2019-11-12 2019-11-12 Equipment state display method, system, device and computer storage medium

Publications (2)

Publication Number Publication Date
CN110830579A CN110830579A (en) 2020-02-21
CN110830579B true CN110830579B (en) 2022-08-09

Family

ID=69554307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911100933.7A Active CN110830579B (en) 2019-11-12 2019-11-12 Equipment state display method, system, device and computer storage medium

Country Status (1)

Country Link
CN (1) CN110830579B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099968A (en) * 2020-08-26 2020-12-18 珠海格力电器股份有限公司 Equipment control method, device, system, storage medium and electronic device
CN114337896B (en) * 2021-12-30 2024-04-23 上海庆科信息技术有限公司 Equipment state processing method and device, storage medium and electronic device
CN114679347A (en) * 2022-03-28 2022-06-28 杭州萤石软件有限公司 Equipment state display method, system and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847438A (en) * 2016-05-26 2016-08-10 重庆大学 Event trigger based multi-agent consistency control method
EP3145158A1 (en) * 2015-09-15 2017-03-22 Panasonic Intellectual Property Management Co., Ltd. Method for controlling information terminal, and application system
CN107395335A (en) * 2017-07-26 2017-11-24 广州小鹏汽车科技有限公司 UI state synchronization methods and equipment when a kind of terminal room mutually controls
CN107404568A (en) * 2017-06-07 2017-11-28 努比亚技术有限公司 A kind of controlling switch management method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3145158A1 (en) * 2015-09-15 2017-03-22 Panasonic Intellectual Property Management Co., Ltd. Method for controlling information terminal, and application system
CN105847438A (en) * 2016-05-26 2016-08-10 重庆大学 Event trigger based multi-agent consistency control method
CN107404568A (en) * 2017-06-07 2017-11-28 努比亚技术有限公司 A kind of controlling switch management method and mobile terminal
CN107395335A (en) * 2017-07-26 2017-11-24 广州小鹏汽车科技有限公司 UI state synchronization methods and equipment when a kind of terminal room mutually controls

Also Published As

Publication number Publication date
CN110830579A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN110830579B (en) Equipment state display method, system, device and computer storage medium
JP2018536571A (en) Ground station, unmanned aerial vehicle, and communication system and method between ground station and unmanned aerial vehicle
US8601166B2 (en) Information processing system and information processing method for generating distribution and synchronization rules in a client/server environment based on operation environment data
CN112165413B (en) Equipment state reporting method and device and electronic device
CN108306796B (en) Intelligent home system, and information processing method and device of intelligent home equipment
CN107947906B (en) Slave device
CN110912805B (en) Message reading state synchronization method, terminal, server and system
JP4146502B1 (en) Emulation device and emulation program
CN109995595B (en) RGW quota determining method, system, equipment and computer medium
CN106302093B (en) Communication method, system and server
CN109413180B (en) Data acquisition method, system and equipment and storage medium
EP4092990A2 (en) Data processing method and apparatus
CN112261512B (en) Master station remote control method, device, storage medium and equipment of unbalanced polling protocol
CN113626402A (en) Log data acquisition method and device, electronic equipment and storage medium
CN114422572A (en) Cloud mobile phone control method and device, electronic equipment and storage medium
CN112416641A (en) Controlled end node restart detection method in master-slave architecture and master control end node
CN108965378B (en) IO mode identification method, system, equipment and computer storage medium
CN113225698A (en) State information notification method, related device, system and medium
CN115208794B (en) Timer adjustment method, device, equipment and medium of Profibus-DP protocol
CN103514126A (en) Method, system and device for receiving data
EP2843899B1 (en) Method of receiving or transmitting a packet, terminal thereof, and system thereof
CN114337896B (en) Equipment state processing method and device, storage medium and electronic device
CN112311898B (en) Data processing method and device, server and computer readable storage medium
CN112152938B (en) Method for determining round trip delay in cloud virtual environment
WO2021259168A1 (en) Network mode control method and apparatus for mobile terminal, and computer device

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
GR01 Patent grant
GR01 Patent grant