CN114915567A - State monitoring system, and state information updating method and device - Google Patents

State monitoring system, and state information updating method and device Download PDF

Info

Publication number
CN114915567A
CN114915567A CN202210583685.1A CN202210583685A CN114915567A CN 114915567 A CN114915567 A CN 114915567A CN 202210583685 A CN202210583685 A CN 202210583685A CN 114915567 A CN114915567 A CN 114915567A
Authority
CN
China
Prior art keywords
target
state information
client
equipment
server
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.)
Granted
Application number
CN202210583685.1A
Other languages
Chinese (zh)
Other versions
CN114915567B (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.)
BOE Technology Group Co Ltd
Beijing Zhongxiangying Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Beijing Zhongxiangying 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 BOE Technology Group Co Ltd, Beijing Zhongxiangying Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202210583685.1A priority Critical patent/CN114915567B/en
Publication of CN114915567A publication Critical patent/CN114915567A/en
Priority to PCT/CN2023/091889 priority patent/WO2023226703A1/en
Application granted granted Critical
Publication of CN114915567B publication Critical patent/CN114915567B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • General Factory Administration (AREA)

Abstract

A state monitoring system, a state information updating method and a state information updating device are provided. The method comprises the following steps: responding to a state monitoring request initiated by a client for a target device, returning current state information of the target device to the client, so that the current state information is displayed in a target monitoring interface by the client; and under the condition that a state change message for the target equipment is received, sending the changed state information, contained in the state change message, of the target equipment after the change to the client, so that the client updates the target monitoring interface according to the changed state information. The method can realize automatic monitoring of the equipment state and automatic updating of the state information, thereby reducing the interference of personnel to the production environment, improving the cleanliness of the production environment and ensuring the product quality.

Description

State monitoring system, and state information updating method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a status monitoring system, and a method and an apparatus for updating status information.
Background
In a production environment such as a factory workshop and a flow line, workers need to know whether and what status information (including whether operation is performed or not, specific parameters, and the like) of each production equipment is changed so as to perform production.
In the related art, it is common to observe the records by workers to the production environment to know the above-mentioned status information and its alteration. This mode not only consumes the manpower, can introduce impurity to the production process moreover, influences the cleanliness factor of production environment, and then influences product quality.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a status monitoring system, a status information updating method and a status information updating device, so as to implement automatic monitoring of status information of a production device, thereby solving the deficiencies in the related art.
According to a first aspect of the embodiments of the present disclosure, a method for updating status information is provided, including:
responding to a state monitoring request initiated by a client for a target device, returning current state information of the target device to the client, so that the current state information is displayed in a target monitoring interface by the client;
and under the condition that a state change message for the target equipment is received, sending the changed state information, contained in the state change message, of the target equipment after the change to the client, so that the client updates the target monitoring interface according to the changed state information.
Optionally, the method further includes: and inquiring a target layout file corresponding to the target equipment according to the identification information contained in the state monitoring request, and returning the target layout file to the client so that the client displays the current state information according to the equipment layout indicated by the target layout file.
Optionally, the method further includes: determining a target element corresponding to the target device in the target layout file, and replacing an element identifier of the target element recorded in the target layout file with a device identifier of the target device;
the returning the target layout file to the client includes: and returning the replaced target layout file to the client.
Optionally, the status monitoring request includes identity information of a user who logs in the client, and the returning of the current status information of the target device to the client includes:
and returning the current state information of the target equipment to the client under the condition that the identity information indicates that the user has the monitoring authority aiming at the target equipment.
Optionally, the current state information of the target device is obtained by the following method:
and reading the current state information of the target device from a database associated with a manufacturing execution system, wherein the manufacturing execution system is used for responding to the change of the state information of the target device, initiating the state change message and updating the state information of the target device recorded in the database.
Optionally, when receiving a state change message for the target device, sending, to the client, changed state information after the change of the target device included in the state change message includes:
writing changed state information contained in the state change message into a cache under the condition that the state change message aiming at the target equipment is received;
sending the changed state information in the cache to the client according to a fixed period; or, the changed state information recorded in the cache is returned to the client in response to an update query request initiated by the client.
Optionally, the writing the changed state information included in the state change message into a cache includes:
writing the changed state information at a blank address of the cache under the condition that the state information of the target device is not written in the cache;
and if the state information of the target device is written in the cache, using the changed state information to overwrite the written state information.
Optionally, the writing the changed state information included in the state change message into a cache includes:
and writing the changed state information into a cache according to a preset format.
According to a second aspect of the embodiments of the present disclosure, another method for updating status information is provided, including:
responding to a state monitoring operation carried out by a user aiming at target equipment, initiating a state monitoring request aiming at the target equipment to a server, and displaying current state information of the target equipment returned by the server responding to the request in a target monitoring interface;
and under the condition of receiving the changed state information of the target equipment sent by the server, updating the target monitoring interface according to the changed state information.
Optionally, the status monitoring request contains identification information of the device,
the method further comprises the following steps: receiving a target layout file corresponding to the target equipment inquired by the server according to the identification information;
the displaying the current state information in the target monitoring interface comprises: and displaying the current state information in a target monitoring interface according to the equipment layout indicated by the target layout file.
Optionally, the device layout indicated by the target layout file includes at least one of:
the device level to which the target device belongs, the installation position of the target device, and the connection mode between the target device and other devices.
Optionally, the method further includes:
in response to the index viewing operation implemented by the user, counting the operation index of the target equipment according to the equipment state of the target equipment; or obtaining the running index of the target equipment obtained according to the equipment state statistics of the target equipment from the server;
and displaying the operation index in a switched interface corresponding to the index viewing operation.
Optionally, the method further includes:
and responding to the state refreshing operation carried out by the user aiming at the target equipment, and initiating an updating query request aiming at the target equipment to the server so as to enable the server to respond to the request and return the changed state information.
Optionally, the method further includes:
responding to a first switching operation implemented by the user, and determining a switched interface corresponding to the operation, wherein the switched interface comprises a centralized monitoring interface or a monitoring interface of any equipment, the centralized monitoring interface is used for intensively displaying state information of each equipment in an equipment set corresponding to the operation, and the monitoring interface of any equipment is used for displaying the state information of the equipment;
and initiating an update query request aiming at the switched equipment corresponding to the switched interface to the server, and displaying changed state information of the switched equipment returned by the server in response to the request in the switched interface.
Optionally, the method further includes:
responding to a second switching operation implemented by the user, and switching the target monitoring interface into a parameter configuration interface;
and correspondingly configuring display parameters in response to the parameter configuration operation implemented by the user in the parameter configuration interface, wherein the configured display parameters are used for displaying the state information of the corresponding equipment in the target monitoring interface and/or the monitoring interfaces of other equipment.
According to a third aspect of the embodiments of the present disclosure, a status monitoring system is provided, which includes a client and a server, wherein,
the client is used for initiating a state monitoring request aiming at the target equipment to the server and displaying the current state information of the target equipment returned by the server in response to the request in a target monitoring interface; under the condition that changed state information sent by the server and after the target equipment is changed is received, updating the target monitoring interface according to the changed state information;
the server is used for responding to the state monitoring request and returning the current state information to the client; and sending the changed state information contained in the state change message to the client when receiving the state change message aiming at the target equipment.
Optionally, a manufacturing execution system and a database are included, wherein,
the database is used for storing the state information of the target device, the state information is triggered and stored in the database by the manufacturing execution system in response to the change of the state information of the target device, and the manufacturing execution system also sends the state change message to the server in response to the change of the state information of the target device.
Optionally, the system also comprises a cache,
the cache is used for storing changed state information after the target device is changed, and the changed state information is written into the cache by the server in response to the state change message.
According to a fourth aspect of the embodiments of the present disclosure, an apparatus for updating status information is provided, the apparatus including one or more processors configured to:
responding to a state monitoring request initiated by a client aiming at target equipment, returning current state information of the target equipment to the client so that the client displays the current state information in a target monitoring interface;
and under the condition that a state change message for the target equipment is received, sending the changed state information, contained in the state change message, of the target equipment after the change to the client, so that the client updates the target monitoring interface according to the changed state information.
According to a fifth aspect of the embodiments of the present disclosure, another status information updating apparatus is provided, the apparatus including one or more processors configured to:
responding to a state monitoring operation carried out by a user aiming at target equipment, initiating a state monitoring request aiming at the target equipment to a server, and displaying current state information of the target equipment returned by the server responding to the request in a target monitoring interface;
and under the condition of receiving the changed state information of the target equipment sent by the server, updating the target monitoring interface according to the changed state information.
According to a sixth aspect of the embodiments of the present disclosure, an electronic device is provided, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the method of the first or second aspect.
According to a seventh aspect of embodiments of the present disclosure, a non-transitory computer-readable storage medium is proposed, on which a computer program is stored, which when executed by a processor implements the steps of the method of the first or second aspect.
According to the embodiment of the disclosure, the client may initiate a status monitoring request for the device to the server in response to a status monitoring operation performed by a user for the target device. The server side can respond to the request and return the current state information of the equipment to the client side, so that the client side can display the current state information in the target monitoring interface. Further, when receiving a state change message for the target device, the server may send changed state information, included in the message, of the target device to the client, so that the client updates the target monitoring interface according to the changed state information.
Therefore, the current state information displayed in the target monitoring interface by the client is used for representing the state of the target equipment before the change, and the target monitoring interface updated according to the state information after the change is used for representing the new state of the equipment after the change. Through the scheme, a user can know whether the target equipment is changed and what kind of change occurs through the target monitoring interface without going to the production environment on-site checking, so that the labor cost is saved, the interference of personnel to the production environment is effectively avoided, the adverse effect on the cleanliness of the production environment is avoided, and the product quality is ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without any creative effort.
Fig. 1 is a schematic diagram illustrating an architecture of a condition monitoring system according to an embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a method for updating status information according to an embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating another status information updating method according to an embodiment of the present disclosure.
FIG. 4 is a schematic diagram illustrating an object monitoring interface according to an embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of a node device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The state information updating system of the present disclosure includes a client and a server, wherein,
the client is used for initiating a state monitoring request aiming at the target equipment to the server and displaying the current state information of the target equipment returned by the server in response to the request in a target monitoring interface; under the condition that changed state information sent by the server and after the target equipment is changed is received, updating the target monitoring interface according to the changed state information;
the server is used for responding to the state monitoring request and returning the current state information to the client; and sending the changed state information contained in the state change message to the client when receiving the state change message aiming at the target equipment.
In one embodiment, the system further comprises a database, wherein,
the database is used for storing the state information of the target device, the state information is triggered and stored in the database by the manufacturing execution system in response to the change of the state information of the target device, and the manufacturing execution system also sends the state change message to the server in response to the change of the state information of the target device.
In one embodiment, the system further comprises a cache,
the cache is used for storing changed state information after the target device is changed, and the changed state information is written into the cache by the server in response to the state change message.
Fig. 1 is a schematic diagram illustrating an architecture of a condition monitoring system according to an embodiment of the present disclosure. The components of the condition monitoring system are described below with reference to fig. 1. As shown in fig. 1, the server 10 and the client 11, the DataBase (DB) 12 and the cache 13 connected thereto constitute a status monitoring system according to the present disclosure.
The server 10 may be a server of an FMB (Factory Monitoring Board) platform, the client 11 may be operated in a terminal device used by a user such as a field worker, an operation and maintenance person or a manager, and the user may log in the FMB platform through the client to monitor a device state of a target device on a production field. The server 10 may include a plurality of functional modules, such as a message receiving module 101, a message reading module 102, a timed task module 103, and an information query module 104, and specific functions of each module may be referred to in the following embodiments, which are not described herein again. The terminal device may be a mobile phone, a tablet device, a notebook computer, a Personal Digital Assistants (PDAs), a wearable device (such as smart glasses, a smart watch, and the like), a VR (Virtual Reality) device, an AR (Augmented Reality) device, and the like, which is not limited by the present disclosure. The application program of the client can be pre-installed on the terminal equipment, so that the client can be started and run on the terminal equipment; of course, an online "client" such as HTML5 technology may also be used, which is obtained and run without installing a corresponding application on the terminal device.
The server 10 is further connected with a Manufacturing Execution System (MES) 14 as a production information management System facing the Manufacturing enterprise workshop Execution layer through a message queue 15, and the System is connected with production equipment 16 in the production environment. The system may be composed of multiple execution units, such as MES x and MES y as shown in the figure, where the multiple execution units may respectively correspond to different equipment objects, different production lines, or different workshops in the production environment, for example, MES x and MES y may respectively correspond to a workshop 1 and a workshop 2, or may also respectively correspond to a production line 1 and a production line 2 in a certain workshop, and details are not repeated. The target device in the present disclosure may be any production device to which the manufacturing execution system 14 is connected. The message queue 15 for connecting the manufacturing execution system and the service end 10 may be a message middleware TIB Rendezvous, or Kafka, RabbitMQ, ActiveMQ, or the like, which is not limited by the embodiment of the disclosure.
The manufacturing execution system 14 may also be coupled to a database 12, which may be a local storage space or an external storage space of the manufacturing execution system 14, for storing production data, real equipment status, etc. generated by the manufacturing execution system 14 during operation. In fact, the device information of any one device stored in the database 12 can be divided into two categories: the device information comprises device basic information and device state information, wherein the device basic information can comprise a device name, a device identifier, interface information, an installation position, a function, a brand, a size and the like; the device status information may include whether the device is working (on or off), temperature, pressure, rotation speed, valve opening size, and the like, which is not described in detail.
The cache 13 is configured to store a state change message of any device received by the server 10 or modified state information of the device extracted according to the state change message. Specifically, the cache may be a Remote Dictionary Server (Redis), which is an efficient storage system based on a memory and can enable the cache 13 to have higher data caching efficiency.
The operation of the condition monitoring system will be briefly described below. The manufacturing execution system 14 may be connected to not only the production equipment 16, but also detection equipment cooperating with each production equipment, such as actuators, such as an electronic switch and an electromagnetic valve, and sensors, such as a thermometer, a pressure gauge, and a flow meter, so that the manufacturing execution system 14 may sense the equipment status of each production equipment in real time through the detection equipment. Under the condition that a change (such as a device start or a device shutdown, a switch opening or closing, a temperature increase or decrease, a flow increase or decrease, or the like) of a device state of a target device (which may be any production device) is sensed, the manufacturing execution system 14 may update the device state information of the target device recorded in the database 12 according to the change, so that the device state information of the target device is stored in the database 12 in real time — because the manufacturing execution system 14 updates the device state information stored in the database 12 in time, the device state information of the target device read from the database 12 at any time can be used to represent a real device state of the target device at the time.
Based on this, in the case of receiving a status monitoring request initiated by the client 11 for the target device, the server 10 may read device status information of the target device at the current time from the database 12, and return the device status information as current status information of the target device to the client 11 for being displayed in the target monitoring interface. As can be seen, the current state information described in the embodiment of the present disclosure is the device state information of the target device read from the database 12 by the server 10 in response to the state monitoring request initiated by the client 11. In addition, in the case of receiving the status monitoring request, the server 10 may determine that the client 11 has a status monitoring requirement for the target device, and at this time, the server 10 may register a message obtaining service for the target device with the message queue 15, so as to obtain a status change message for the target device from the message queue 15; of course, the server 10 may not register the service, but check the messages in the message queue 15 to obtain the status change message for the target device.
After returning the current state information to the client 11, if a state change message for the target device is received again, the server 10 may directly send the changed state information included in the message to the client 11; or, the message or the changed state information may be stored in the cache 13, and sent to the client 11 according to a fixed period or returned to the client 11 in response to an update query request initiated by the client 11, so that the client 11 updates the target monitoring interface by using the changed state information. The receiving process of the state change message may be executed by the message receiving module 101, and the reading and sending process of the changed state information may be executed by the message reading module 102. The timed task module 103 may be configured to manage execution frequencies of various timed tasks in the state monitoring system, where the timed task may include a message reading task executed by the message reading module 102 and an information query task executed by the task querying module 104. The message reading task is to read the stored state change message or the changed state information from the cache 13 according to the fixed period, and the information querying task is to read whether the basic information such as the target layout file of the target device from the database 12 according to the fixed period changes, and the related processing of the target layout file may refer to the description of the subsequent embodiments, which is not repeated here. Wherein, the fixed period of the message reading task should be less than the fixed period of the information query task.
As can be seen from the above description of the state monitoring system, the current state information displayed in the target monitoring interface by the client is used to represent the state of the target device before the change, and the updated target monitoring interface according to the changed state information is used to represent the new state of the device after the change. Through the scheme, a user can know whether the target equipment is changed and what kind of change occurs through the target monitoring interface without going to the production environment on-site checking, so that the labor cost is saved, the interference of personnel to the production environment is effectively avoided, the adverse effect on the cleanliness of the production environment is avoided, and the product quality is ensured.
The following describes in detail a scheme for updating status information implemented based on the foregoing status monitoring system with reference to fig. 2 to 4 and corresponding embodiments thereof, respectively.
Fig. 2 is a flowchart illustrating a method for updating status information according to an embodiment of the present disclosure. As shown in fig. 2, the method is applied to a server of a condition monitoring system, and the method may include the following steps 202 and 204.
Step 202, in response to a status monitoring request initiated by a client for a target device, returning current status information of the target device to the client, so that the client displays the current status information in a target monitoring interface.
Before logging in the client, the user needs to register a user account of the user at the server. In order to realize effective control of the production process, the server can create (i.e., register) different types of user accounts for different users according to the roles played by the users in the production process, and respectively allocate corresponding account permissions to various accounts. For example, the user account registered in the server may include at least one of: an administrator account, an operation and maintenance account, a general account, a plan account, etc. The operation and maintenance personnel corresponding to the operation and maintenance account can have the authorities of equipment monitoring, machine management, group management, billboard directory query and the like; a common production worker corresponding to the common account can have the authority of equipment monitoring, bulletin board directory query, fault reporting and the like of equipment corresponding to a working post of the worker; production planning personnel corresponding to the planning account can have the scheduling planning authority; and the administrator user corresponding to the administrator account can have all operation authorities for the state monitoring system, such as system setting authority, group management authority, state dictionary query authority, physical position management authority and the like. Of course, the specific permissions of different accounts may be reasonably set according to actual production scenarios, which is not limited in the embodiment of the present disclosure. Based on this, the server may maintain a user authority list, where the list is used to record the authority owned by the user corresponding to each user account that has completed registration.
After the user logs in the user account in the client, the client may determine the target device according to default settings, for example, determining the device monitored by the user last time as the target device or determining the device which has recently changed as the target device; alternatively, the user may designate a certain device to the client through a device selection operation, and the client may determine the device as the target device in response to the operation. It can be understood that the target device determined in the above manner is the monitoring object of the client at the current time, so that the client may initiate a state monitoring request for the target device to the server.
For a server, a status monitoring request sent by any client received by the server may include identity information of a user who logs in the client, such as a user account, an account nickname, and the like that the client logs in. The server may determine, according to the identity information, whether the user account corresponding to the user has the monitoring right for the target device, for example, the right owned by the user account is queried in the user right list. Furthermore, under the condition that the identity information indicates that the user does not have the monitoring authority for the target device, the server side can refuse to return the current state information of the target device to the server side, so that the user is prevented from monitoring the target device in an overrun mode. In addition, the server may also discard the status monitoring request, or return a reminding message to the client, so that the client can remind the user, or send an alarm message, or even temporarily freeze some rights of the user, and the like, which is not described again. By the method, the server side can only return the current state information of the equipment to the client side used by the user with the monitoring authority aiming at the target equipment, so that the monitoring authority of the equipment is effectively controlled, and potential safety hazards possibly brought by overrun monitoring are avoided.
As described above, the manufacturing execution system in the status monitoring system may update the status information of the target device recorded in the database associated with the manufacturing execution system itself in response to the status information of the target device being changed, so that the database always records the latest status information of the target device. Based on this, under the condition that the state monitoring request initiated by the client is received or the user is determined to have the monitoring authority for the target device, the server can read the state information of the target device from the database, and return the information to the client as the current state information of the target device, so that the client displays the information in the target monitoring interface.
Any production equipment in the production environment is usually connected to other equipment according to a certain layout mode (i.e. equipment layout), and the equipment layout is usually recorded in a layout file corresponding to the production equipment. For example, the target layout file corresponding to the target device may be used to indicate a device layout of the target device, such as a device hierarchy to which the target device belongs, an installation location of the target device, a connection manner between the target device and another device, and the like. The layout file of each device may be stored locally at the server or in the database, and specifically, the corresponding layout file may be stored as an index according to the identification information (e.g., device ID) of the device, so as to query the layout file of the device according to the identification information of the device.
Based on this, in order to improve the readability of the current state information, the server may return the target layout file corresponding to the target device to the client, so that the client can display the current state information in the target monitoring interface according to the device layout of the target device indicated by the target layout file. For example, the server may query a target layout file corresponding to the target device according to the identification information included in the status monitoring request, and return the target layout file to the client, so that the client displays the current status information according to the device layout indicated by the target layout file. Wherein the target layout file can be returned to the client in association with the current state information. Correspondingly, under the condition that the client receives the target layout file and the current state information, the client can determine the equipment layout of the target equipment indicated by the client through analyzing the target layout file, and display the current state information in the target monitoring interface according to the equipment layout. Specifically, the client may determine the shape information, size, orientation, and the like of the target device by analyzing the target layout file, so as to draw a device graph representing the target device in the target monitoring interface according to the external information, and then display the current state information of the target device at a corresponding position of the device graph.
As can be seen, the target layout file may be regarded as a "drawing" of the target device. The target layout file of the target device of the present disclosure may be a Graphics file (hereinafter referred to as SVG file) in SVG (Scalable Vector Graphics) format. The SVG file is a graphic file based on XML (Extensible Markup Language), and can be clearly and undistorted displayed on a screen with any resolution, so that the client can display clear and undistorted device graphics by using the SCG file as a target layout file of the target device, thereby ensuring the display accuracy of the current state information.
It can be understood that the device layout of the target device may be changed, and to ensure the accuracy of displaying the current state information, the server may periodically check whether the target layout file is changed, and send the changed target layout file to the client under the changed condition, so that the server can display the current state information according to the changed target layout file in time. For example, the timed task module 103 shown in fig. 1 may configure the information query module 104 to execute the information query task according to a fixed period, such as checking whether the target layout file stored in the database 12 is changed according to the period. Of course, considering that the device layout of the target device is not frequently changed in the production process, the fixed period may be set to be appropriately longer, such as 12 hours, 1 day, 1 month, 1 week, and the like, and the embodiment of the disclosure does not limit this.
The target layout file obtained by the server may include at least one layout file, any layout file may include at least one file element, and any file element may correspond to multiple real devices in the production environment, that is, the file element may be reused by multiple real devices. The file element may be a basic unit or a combination of multiple basic units that constitute the layout file, and any file element may correspond to a certain device or a certain functional module in the device. For example, device 1 and device 2 are two devices of the same model deployed in different workshops, and the device layouts are the same and the device identifications are different — obviously, device 1 and device 2 correspond to the same file element S in the same layout file. In the case that the target device is the device 1, which is determined in the foregoing manner, if the client displays the element identifier of the file element S in the target monitoring interface, the user may not be able to distinguish whether the identifier is used to represent the device 1 or the device 2 in the production environment, and thus cannot determine whether the current state information of the device 1 or the current state information of the device 2 is correspondingly displayed in the target monitoring interface.
In order to avoid confusion of display and understanding, after the server side obtains the target layout file, the server side can determine the target elements corresponding to the target equipment in the file, replace the element identifiers of the target elements recorded in the target layout file with the equipment identifiers of the target equipment, and then return the replaced target layout file to the client side. It can be understood that, in the case of obtaining the replaced target layout file, the client may draw an equipment graph of the target equipment in the target monitoring interface according to the external information obtained by parsing the file, and then display the equipment identifier of the target equipment and the current state information of the target equipment at a corresponding position of the equipment graph. If the device identifier (instead of the element identifier of the file element S) of the device 1 can be displayed on the device graph, the user can visually check the current state information of the target device, so that the understanding barrier is avoided, and the smooth operation of the production process and the state monitoring is favorably ensured.
And 204, under the condition that a state change message for the target equipment is received, sending changed state information, contained in the state change message, of the target equipment after the change to the client, so that the client updates the target monitoring interface according to the changed state information.
After the current state information is returned to the client for display, the server may receive a state change message for the target device sent by the manufacturing execution system, where the message includes changed state information of the target device after the change. Then, the server may send the message to the client, so that the client updates the target monitoring interface according to the message, that is, the changed state information is displayed in the target monitoring interface. In a case that the current state information is displayed by the server according to the device layout indicated by the target layout file, the changed state information may also be displayed by the server according to the device layout, and thus, the target layout file of the target device may be used to display the device information (the current state information and the changed state information) of the target device.
The server side can send the changed state information to the client side in various modes. In an embodiment, in order to improve the real-time performance of the device information displayed by the client as much as possible, the server may extract the changed state information from the received state change message and directly send the information to the client, so that the client can display the changed state information to the user as soon as possible, and errors possibly caused by display delay are avoided.
In another embodiment, since the target device may be changed several times in a short time and the user does not need to check the changed state information after each change, the server may write the changed state information in the state change message into the cache and read the changed state information from the cache at an appropriate time to send the changed state information to the client. For example, when a status change message for the target device is received, the server may write the changed status information included in the message to the cache. The server side can write the changed state information into the cache according to a preset format. For example, for a target device including 10 state parameters, the server may sequentially write the four state parameters into the cache according to a preset sequence at a storage address corresponding to the target device under the condition that the changed state information includes 1 st to 4 th state parameters. For example, the changed state information may be written in a key _ value key value pair, such as { key ═ device ID; value is temperature 1/pressure 1/temperature 2/flow 1/rotation speed 1/pressure 2/rotation speed 3, and will not be described in detail.
In addition, under the condition that the state information of the target device is not written in the cache, the server side can write the changed state information in a blank address of the cache; and under the condition that the state information of the target equipment is written in the cache, the server side can use the changed state information to cover the written state information, so that the occupation of the cache space by the changed state information and the data volume required to be sent to the client side are reduced.
After that, the server may send the changed state information stored in the cache to the client according to a fixed period. For example, in any cycle, if the server receives the first data change message for the target device, the state information after the change contained in the message may be written into the cache; if a second status change message for the same target device is received in the period, the changed status information (contained in the first status change message) written in the cache may be overwritten by the changed status information in the second status change message. The fixed period may be set according to an actual situation, for example, may be 1s, 50ms, 2s, 10s, and the like, and the fixed period may be smaller than a check period of whether the server updates the target layout file.
By the method, the server can use the changed state information of the next state change message to cover the changed state information of the previous state change message, the changed state information of any equipment is ensured to occupy a fixed storage space in the cache, and the cache space can be effectively controlled even if the state change messages are increased rapidly. Of course, at the end of the current period, the server may send the changed state information (the state information changed the last time from the current time) recorded in each cache to the client for display, and trigger the process of starting the state change message reception of the next period and writing the changed state information into the cache.
Or, the server may also write the changed state information into the cache in the data overlay manner, and return the changed state information recorded in the cache to the client in response to an update query request initiated by the client. By the method, the server returns the changed state information to the client only when the client needs the changed state information, so that the data volume of the changed state information sent to the client by the server is further reduced. Through the data coverage mode, the number of the changed state information needing to be displayed by the client can be reduced, namely the workload of the client for updating the target monitoring interface is reduced, the client is helped to avoid the faults of delay or blockage and the like, and therefore the user experience of checking the changed state information by the user is guaranteed.
In addition, after reading the changed state information of any device written in the cache, the server may delete the data from the cache, or set a failure flag for the data, so as to recycle the corresponding storage space, thereby implementing efficient utilization of the cache.
Fig. 3 is a flowchart illustrating another status information updating method according to an embodiment of the present disclosure. As shown in fig. 3, the method is applied to a client of a condition monitoring system, and the method may include steps 302 and 304 described below.
Step 302, in response to a status monitoring operation performed by a user for a target device, initiating a status monitoring request for the target device to a server, and displaying current status information of the target device returned by the server in response to the request in a target monitoring interface.
As described above, the status monitoring request sent by the client to the server may include the identification information of the device, so that the server may query the target layout file corresponding to the target device according to the identification information and return the file to the client. At this time, the client may display the current state information in the target monitoring interface according to the device layout indicated by the target layout file. For example, the client may parse the target layout file to obtain external information, draw a device graph of the target device in the target monitoring interface according to the information, and then pertinently display the current state information at a corresponding position of the graph.
Wherein the device layout indicated by the target layout file may include at least one of: the device level to which the target device belongs, the installation position of the target device, and the connection mode between the target device and other devices.
As shown in fig. 4, function options such as "device monitoring", "device management", "device grouping", "statistics management", and "system management" are displayed in a menu bar 401 at the top of the interface, and when "device monitoring" is triggered, a tree structure frame 402, a graphic display frame 403, and an information display frame 404 may be displayed below.
In the tree structure frame 402 on the lower left side, options of different levels such as "type", "factory", and "group" are included, and when the "type" option is triggered, equipment types such as "vacuum pump", "cutter", and "granulator" are further displayed according to the equipment types, and a cyclone "CLT 4" is displayed according to the equipment identification. The status indicator 4021 may be displayed in front of the CLT4, so as to visually indicate the current status of the device, such as the current status being in an operating state or a shutdown state, and the size, shape, color, and other display parameters of the status indicator 4021 may be set by default or by user, so that the user can understand what they refer to.
The device graphics of the currently selected target device CLT4 can be displayed in the graphic display box 403 in the middle of the lower part, and the shape, color, texture, line and other target display parameters of the graphics can be used for representing the state information of the CLT 4. The information display frame 404 on the lower right side may display device information of the target device CLT4, such as the aforementioned device basic information, status information after aggregation, and the like, which is not described again.
Step 304, in the case of receiving the changed state information of the target device sent by the server, updating the target monitoring interface according to the changed state information.
It can be understood that the process of updating the target monitoring interface by the client according to the changed state information is a process of updating the current state information displayed in the target monitoring interface to the newly received changed state information. For example, in the scenario shown in fig. 1, when the client receives the changed state information sent by the server, the client may update the target display parameters such as the shape, color, texture, and line of the device graphic shown in the graphic display box 403 according to the information, and/or may also update the state information shown in the information display box 404, and the specific update manner of the target monitoring interface is not limited in the embodiment of the present disclosure.
Through the embodiment, the client can respond to the state monitoring operation carried out by the user for the target equipment, and initiate the state monitoring request for the equipment to the server. The server side can respond to the request and return the current state information of the equipment to the client side, so that the client side can display the current state information in the target monitoring interface. Further, when receiving a state change message for the target device, the server may send changed state information, included in the message, of the target device to the client, so that the client updates the target monitoring interface according to the changed state information.
Therefore, the current state information displayed in the target monitoring interface by the client is used for representing the state of the target equipment before the change, and the target monitoring interface updated according to the state information after the change is used for representing the new state of the equipment after the change. Through the scheme, a user can know whether the target equipment is changed and what kind of change occurs through the target monitoring interface without going to the production environment on-site checking, so that the labor cost is saved, the interference of personnel to the production environment is effectively avoided, the adverse effect on the cleanliness of the production environment is avoided, and the product quality is ensured.
Actually, the user may also perform corresponding management operations on the target monitoring interface, which is described below with reference to fig. 4.
In an embodiment, when the current status information or the changed status information is displayed in the target monitoring interface, the user may perform a status refreshing operation in the interface, for example, may click a shortcut key or perform the status refreshing operation in a right-click menu in the graphic display frame 403 shown in fig. 1. Thus, the client may initiate an update query request for the target device CLT4 to the server in response to this operation, so that the server returns the latest changed state information in response to this request. As can be seen from the foregoing embodiments, the changed state information returned by the server may be the changed state information of the target device read from the cache. Correspondingly, the client can further update the target monitoring interface after receiving the changed state information so as to display the information in the interface.
Of course, in the case of receiving the update query request initiated by the client, the server may check whether the changed state information of the target device is already stored in the cache: if the information is not stored, the information indicates that the target equipment is not changed in a period of time from the time of the last change to the current time, and at this time, empty information or other preset special information can be returned naturally without returning changed state information to the server; if the information is stored, the target device is indicated to be changed at least once in the period of time, and the changed state information stored at the moment is changed state information after the last change, and at the moment, the information can be read from the cache and sent to the client.
In an embodiment, in addition to viewing the status information of the target device in the target monitoring interface, the user may also view the status information of other devices. For example, the user may perform a first switching operation in the target monitoring interface (e.g., triggering the "device group" function option in the menu bar 401 shown in fig. 4), and the client may determine its corresponding switched interface in response to the operation. The switched interface may be a centralized monitoring interface, the interface is used for centrally displaying status information of each device in the device set corresponding to the operation, and the switched device corresponding to the interface is each device in the device set. The device set may be a "type", "factory", "group", or other form of device set, and this is not limited by the embodiments of the present disclosure. Or, the interface after switching may also be a monitoring interface of any device, where the interface may be used to display status information of any device, and the device after switching corresponding to the interface is the any device.
Further, the client may initiate an update query request for the switched device corresponding to the switched interface to the server, and display, in the switched interface, changed state information of the switched device returned by the server in response to the request. It can be understood that, in the case that the switched interface is a centralized monitoring interface, the user can perform batch and centralized monitoring on each device in the device set, thereby improving the monitoring efficiency; and under the condition that the interface after switching is the monitoring interface of any equipment, the user can monitor the state of the equipment in a targeted manner.
In one embodiment, to manage the presentation of the status information, the user may configure the corresponding display parameters. For example, the user may implement a real-time second switching operation to switch the target monitoring interface to a parameter configuration interface. As shown in fig. 4, the user may trigger a "system management" function option in the menu bar 401, so that the control client jumps from the target monitoring interface shown in fig. 4 to a parameter configuration interface (not shown). Furthermore, the user can implement a parameter configuration operation in the parameter configuration interface, and the client can perform corresponding configuration on the display parameters in response to the operation. The parameter configuration operation is to change the display parameters of the shape, color, texture, lines and the like of a certain state, for example, the downtime state is changed from black to gray, and the rotating part is changed from a circle to a sector, and the like. The configured display parameters may be used to display status information of the corresponding device in the target monitoring interface and/or the monitoring interfaces of other devices.
It should be noted that, if the user performing the parameter configuration operation is an administrator user, the client may send the configured display parameter to the server, and send the configured display parameter to the client of another user (such as an ordinary user) corresponding to the user by the server. Therefore, the client sides of other users can display the equipment information in the target monitoring interface according to the configured display parameters. By the mode, the administrator user can realize the uniform configuration and change of the display parameters, and the configuration efficiency is improved. And under the condition that the user implementing the parameter configuration operation is a common user, the client can store the configured display parameters locally, and then the device information can be displayed in the target monitoring interface according to the configured display parameters. Through the mode, a common user can configure the display parameters in a user-defined mode, so that the display effect of the equipment information accords with the viewing habit of the user.
In an embodiment, a user may view the operational metrics of the target device. For example, the user may perform a metric viewing operation in the target monitoring interface, such as triggering a "statistics management" function option in menu bar 401 shown in FIG. 1. The client can respond to the operation and count the operation index of the equipment according to the equipment state of the target equipment; or obtaining the operation index of the target equipment from the server, wherein the operation index is obtained by the server according to the equipment state statistics of the target equipment. Furthermore, the client can display the operation index in a switched interface corresponding to the index viewing operation. The switched interface may be the target monitoring interface, or may also be an index statistical page skipped from the target monitoring interface, or the like; the statistical index may be an activation rate (i.e., a proportion of time occupied by the equipment to create value in the time that can be provided), a state percentage statistic, an equipment history, a product history, and the like within a preset time period, which is not limited in the embodiment of the present disclosure. Through the method, the client can show the statistical indexes of the target equipment to the user, so that the overall working condition of the target equipment can be conveniently, conveniently and quickly obtained.
Corresponding to the foregoing embodiment of the method for updating state information, the present disclosure also provides an embodiment of an apparatus for updating state information.
The embodiment of the present disclosure provides an apparatus for updating status information, where the apparatus includes one or more processors configured to:
responding to a state monitoring request initiated by a client for a target device, returning current state information of the target device to the client, so that the current state information is displayed in a target monitoring interface by the client;
and under the condition that a state change message for the target equipment is received, sending the changed state information, contained in the state change message, of the target equipment after the change to the client, so that the client updates the target monitoring interface according to the changed state information.
In one embodiment, the processor is further configured to:
and inquiring a target layout file corresponding to the target equipment according to the identification information contained in the state monitoring request, and returning the target layout file to the client so that the client displays the current state information according to the equipment layout indicated by the target layout file.
In one embodiment, the processor is further configured to:
determining a target element corresponding to the target device in the target layout file, and replacing an element identifier of the target element recorded in the target layout file with a device identifier of the target device;
and returning the replaced target layout file to the client.
In one embodiment, the status monitoring request includes identity information of a user logged in to the client, and the processor is further configured to:
and returning the current state information of the target equipment to the client under the condition that the identity information indicates that the user has the monitoring authority aiming at the target equipment.
In one embodiment, the processor is further configured to:
and reading the current state information of the target device from a database associated with a manufacturing execution system, wherein the manufacturing execution system is used for responding to the change of the state information of the target device, initiating the state change message and updating the state information of the target device recorded in the database.
In one embodiment, the processor is further configured to:
writing changed state information contained in the state change message into a cache under the condition that the state change message aiming at the target equipment is received;
sending the changed state information in the cache to the client according to a fixed period; or, the changed state information recorded in the cache is returned to the client in response to an update query request initiated by the client.
In one embodiment, the processor is further configured to:
writing the changed state information at a blank address of the cache under the condition that the state information of the target device is not written in the cache;
and if the state information of the target device is written in the cache, using the changed state information to overwrite the written state information.
In one embodiment, the processor is further configured to:
and writing the changed state information into a cache according to a preset format.
Another apparatus for updating state information is provided in an embodiment of the present disclosure, where the apparatus includes one or more processors configured to:
responding to a state monitoring operation carried out by a user aiming at target equipment, initiating a state monitoring request aiming at the target equipment to a server, and displaying current state information of the target equipment returned by the server responding to the request in a target monitoring interface;
and under the condition that the changed state information of the target equipment sent by the server is received, updating the target monitoring interface according to the changed state information.
In one embodiment, the status monitoring request includes identification information of the device, the processor is further configured to:
receiving a target layout file corresponding to the target equipment inquired by the server according to the identification information;
and displaying the current state information in a target monitoring interface according to the equipment layout indicated by the target layout file.
In one embodiment, the device layout indicated by the target layout file includes at least one of:
the device level to which the target device belongs, the installation position of the target device, and the connection mode between the target device and other devices.
In one embodiment, the processor is further configured to:
in response to the index viewing operation implemented by the user, counting the operation index of the target equipment according to the equipment state of the target equipment; or obtaining the running index of the target equipment obtained according to the equipment state statistics of the target equipment from the server;
and displaying the operation index in a switched interface corresponding to the index viewing operation.
In one embodiment, the processor is further configured to:
and responding to the state refreshing operation carried out by the user aiming at the target equipment, and initiating an updating inquiry request aiming at the target equipment to the server so that the server returns the changed state information in response to the request.
In one embodiment, the processor is further configured to:
responding to a first switching operation implemented by the user, and determining a switched interface corresponding to the operation, wherein the switched interface comprises a centralized monitoring interface or a monitoring interface of any equipment, the centralized monitoring interface is used for intensively displaying state information of each equipment in an equipment set corresponding to the operation, and the monitoring interface of any equipment is used for displaying the state information of the equipment;
and initiating an update query request aiming at the switched equipment corresponding to the switched interface to the server, and displaying changed state information of the switched equipment returned by the server in response to the request in the switched interface.
In one embodiment, the processor is further configured to:
responding to a second switching operation implemented by the user, and switching the target monitoring interface into a parameter configuration interface;
and correspondingly configuring display parameters in response to the parameter configuration operation implemented by the user in the parameter configuration interface, wherein the configured display parameters are used for displaying the state information of the corresponding equipment in the target monitoring interface and/or the monitoring interfaces of other equipment.
An embodiment of the present disclosure also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the method for updating state information according to any of the above embodiments.
Embodiments of the present disclosure also provide a non-transitory computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the method for updating status information according to any one of the above embodiments.
With regard to the apparatus in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments of the related method, and will not be described in detail here.
Fig. 5 is a schematic block diagram illustrating an apparatus 500 for data validation or determination of driving mode in accordance with an embodiment of the present disclosure. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the above-described method for updating state information. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 514 includes one or more sensors for providing various aspects of state assessment for the apparatus 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 6G NR, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described status information updating method.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method of updating status information is also provided. For example, the non-transitory computer-readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
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. 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 method and apparatus provided by the embodiments of the present disclosure are described in detail above, and the principles and embodiments of the present disclosure are explained herein by applying specific examples, and the above description of the embodiments is only used to help understanding the method and core ideas of the present disclosure; meanwhile, for a person skilled in the art, based on the idea of the present disclosure, there may be variations in the specific embodiments and the application scope, and in summary, the present disclosure should not be construed as a limitation to the present disclosure.

Claims (22)

1. A method for updating state information comprises the following steps:
responding to a state monitoring request initiated by a client for a target device, returning current state information of the target device to the client, so that the current state information is displayed in a target monitoring interface by the client;
and under the condition that a state change message for the target equipment is received, sending the changed state information, contained in the state change message, of the target equipment after the change to the client, so that the client updates the target monitoring interface according to the changed state information.
2. The method of claim 1, further comprising:
and inquiring a target layout file corresponding to the target equipment according to the identification information contained in the state monitoring request, and returning the target layout file to the client so that the client displays the current state information according to the equipment layout indicated by the target layout file.
3. The method of claim 2, wherein the first and second light sources are selected from the group consisting of,
further comprising: determining a target element corresponding to the target device in the target layout file, and replacing an element identifier of the target element recorded in the target layout file with a device identifier of the target device;
the returning the target layout file to the client includes: and returning the replaced target layout file to the client.
4. The method according to claim 1, wherein the status monitoring request includes identity information of a user who logs in the client, and the returning current status information of the target device to the client comprises:
and returning the current state information of the target equipment to the client under the condition that the identity information shows that the user has the monitoring authority aiming at the target equipment.
5. The method of claim 1, obtaining current state information of the target device by:
and reading the current state information of the target device from a database associated with a manufacturing execution system, wherein the manufacturing execution system is used for responding to the change of the state information of the target device, initiating the state change message and updating the state information of the target device recorded in the database.
6. The method according to claim 1, wherein the sending, to the client, changed state information, which is included in the state change message and is changed by the target device, when the state change message for the target device is received, includes:
writing changed state information contained in a state change message into a cache when the state change message for the target device is received;
sending the changed state information in the cache to the client according to a fixed period; or, the changed state information recorded in the cache is returned to the client in response to an update query request initiated by the client.
7. The method of claim 6, wherein writing the changed state information contained in the state change message to a cache comprises:
writing the changed state information at a blank address of the cache under the condition that the state information of the target device is not written in the cache;
and if the state information of the target device is written in the cache, using the changed state information to overwrite the written state information.
8. The method of claim 6, wherein writing the changed state information contained in the state change message to a cache comprises:
and writing the changed state information into a cache according to a preset format.
9. A method for updating state information comprises the following steps:
responding to a state monitoring operation carried out by a user aiming at target equipment, initiating a state monitoring request aiming at the target equipment to a server, and displaying current state information of the target equipment returned by the server responding to the request in a target monitoring interface;
and under the condition of receiving the changed state information of the target equipment sent by the server, updating the target monitoring interface according to the changed state information.
10. The method of claim 9, the status monitoring request containing identification information of the device,
the method further comprises the following steps: receiving a target layout file corresponding to the target equipment inquired by the server according to the identification information;
the displaying the current state information in the target monitoring interface comprises: and displaying the current state information in a target monitoring interface according to the equipment layout indicated by the target layout file.
11. The method of claim 10, the target layout file indicating a layout of devices including at least one of:
the device level to which the target device belongs, the installation position of the target device, and the connection mode between the target device and other devices.
12. The method of claim 9, further comprising:
in response to the index viewing operation implemented by the user, counting the operation index of the target equipment according to the equipment state of the target equipment; or obtaining the running index of the target equipment obtained according to the equipment state statistics of the target equipment from the server;
and displaying the operation index in a switched interface corresponding to the index viewing operation.
13. The method of claim 9, further comprising:
and responding to the state refreshing operation carried out by the user aiming at the target equipment, and initiating an updating inquiry request aiming at the target equipment to the server so that the server returns the changed state information in response to the request.
14. The method of claim 9, further comprising:
responding to a first switching operation implemented by the user, and determining a switched interface corresponding to the operation, wherein the switched interface comprises a centralized monitoring interface or a monitoring interface of any equipment, the centralized monitoring interface is used for intensively displaying state information of each equipment in an equipment set corresponding to the operation, and the monitoring interface of any equipment is used for displaying the state information of the equipment;
and initiating an update query request aiming at the switched equipment corresponding to the switched interface to the server, and displaying changed state information of the switched equipment returned by the server in response to the request in the switched interface.
15. The method of claim 9, further comprising:
responding to a second switching operation implemented by the user, and switching the target monitoring interface into a parameter configuration interface;
and correspondingly configuring display parameters in response to the parameter configuration operation implemented by the user in the parameter configuration interface, wherein the configured display parameters are used for displaying the state information of the corresponding equipment in the target monitoring interface and/or the monitoring interfaces of other equipment.
16. A state monitoring system comprises a client and a server, wherein,
the client is used for initiating a state monitoring request aiming at the target equipment to the server and displaying the current state information of the target equipment returned by the server in response to the request in a target monitoring interface; under the condition that changed state information sent by the server and after the target equipment is changed is received, updating the target monitoring interface according to the changed state information;
the server is used for responding to the state monitoring request and returning the current state information to the client; and sending the changed state information contained in the state change message to the client when receiving the state change message aiming at the target equipment.
17. The system of claim 16, further comprising a database, wherein,
the database is used for storing the state information of the target device, the state information is triggered and stored in the database by the manufacturing execution system in response to the change of the state information of the target device, and the manufacturing execution system also sends the state change message to the server in response to the change of the state information of the target device.
18. The system of claim 16, further comprising a cache,
the cache is used for storing changed state information after the target device is changed, and the changed state information is written into the cache by the server in response to the state change message.
19. An apparatus for updating state information, the apparatus comprising one or more processors configured to:
responding to a state monitoring request initiated by a client for a target device, returning current state information of the target device to the client, so that the current state information is displayed in a target monitoring interface by the client;
and under the condition that a state change message for the target equipment is received, sending the changed state information, contained in the state change message, of the target equipment after the change to the client, so that the client updates the target monitoring interface according to the changed state information.
20. An apparatus for updating state information, the apparatus comprising one or more processors configured to:
responding to a state monitoring operation carried out by a user aiming at target equipment, initiating a state monitoring request aiming at the target equipment to a server, and displaying current state information of the target equipment returned by the server responding to the request in a target monitoring interface;
and under the condition that the changed state information of the target equipment sent by the server is received, updating the target monitoring interface according to the changed state information.
21. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any one of claims 1 to 15.
22. A non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the method of any one of claims 1 to 15.
CN202210583685.1A 2022-05-25 2022-05-25 State monitoring system, state information updating method and device Active CN114915567B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210583685.1A CN114915567B (en) 2022-05-25 2022-05-25 State monitoring system, state information updating method and device
PCT/CN2023/091889 WO2023226703A1 (en) 2022-05-25 2023-04-28 State monitoring system, and state information update method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210583685.1A CN114915567B (en) 2022-05-25 2022-05-25 State monitoring system, state information updating method and device

Publications (2)

Publication Number Publication Date
CN114915567A true CN114915567A (en) 2022-08-16
CN114915567B CN114915567B (en) 2024-05-10

Family

ID=82768779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210583685.1A Active CN114915567B (en) 2022-05-25 2022-05-25 State monitoring system, state information updating method and device

Country Status (2)

Country Link
CN (1) CN114915567B (en)
WO (1) WO2023226703A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115063123A (en) * 2022-08-17 2022-09-16 歌尔股份有限公司 Intelligent manufacturing method and system and electronic equipment
CN116071028A (en) * 2023-03-07 2023-05-05 徐工汉云技术股份有限公司 Equipment monitoring flow chart generation method and device, electronic equipment and storage medium
WO2023226703A1 (en) * 2022-05-25 2023-11-30 京东方科技集团股份有限公司 State monitoring system, and state information update method and apparatus

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468778A (en) * 2014-12-08 2015-03-25 广东工业大学 Cloud manufacturing execution system and method based on cloud services
CN105867931A (en) * 2016-04-07 2016-08-17 北京橙鑫数据科技有限公司 Method and device of changing information display interface
JP2018055329A (en) * 2016-09-28 2018-04-05 アズビル株式会社 Manufacturing management system
CN107888458A (en) * 2017-12-11 2018-04-06 北京小米移动软件有限公司 Smart machine condition processing method and device
CN108093206A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and system
CN108363435A (en) * 2017-12-28 2018-08-03 杭州电子科技大学 A kind of pig house environment remote monitoring system and method
CN109213564A (en) * 2018-10-22 2019-01-15 珠海格力电器股份有限公司 Intelligent housing interface method of adjustment, device, intelligent terminal and medium
CN111478965A (en) * 2020-04-07 2020-07-31 四川虹美智能科技有限公司 Method, device and system for processing device shadow
CN112600920A (en) * 2020-12-14 2021-04-02 广州新科佳都科技有限公司 Cloud platform based wire network comprehensive monitoring method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915567B (en) * 2022-05-25 2024-05-10 京东方科技集团股份有限公司 State monitoring system, state information updating method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468778A (en) * 2014-12-08 2015-03-25 广东工业大学 Cloud manufacturing execution system and method based on cloud services
CN105867931A (en) * 2016-04-07 2016-08-17 北京橙鑫数据科技有限公司 Method and device of changing information display interface
JP2018055329A (en) * 2016-09-28 2018-04-05 アズビル株式会社 Manufacturing management system
CN108093206A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and system
CN107888458A (en) * 2017-12-11 2018-04-06 北京小米移动软件有限公司 Smart machine condition processing method and device
CN108363435A (en) * 2017-12-28 2018-08-03 杭州电子科技大学 A kind of pig house environment remote monitoring system and method
CN109213564A (en) * 2018-10-22 2019-01-15 珠海格力电器股份有限公司 Intelligent housing interface method of adjustment, device, intelligent terminal and medium
CN111478965A (en) * 2020-04-07 2020-07-31 四川虹美智能科技有限公司 Method, device and system for processing device shadow
CN112600920A (en) * 2020-12-14 2021-04-02 广州新科佳都科技有限公司 Cloud platform based wire network comprehensive monitoring method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226703A1 (en) * 2022-05-25 2023-11-30 京东方科技集团股份有限公司 State monitoring system, and state information update method and apparatus
CN115063123A (en) * 2022-08-17 2022-09-16 歌尔股份有限公司 Intelligent manufacturing method and system and electronic equipment
CN116071028A (en) * 2023-03-07 2023-05-05 徐工汉云技术股份有限公司 Equipment monitoring flow chart generation method and device, electronic equipment and storage medium
CN116071028B (en) * 2023-03-07 2023-06-02 徐工汉云技术股份有限公司 Equipment monitoring flow chart generation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114915567B (en) 2024-05-10
WO2023226703A1 (en) 2023-11-30

Similar Documents

Publication Publication Date Title
CN114915567B (en) State monitoring system, state information updating method and device
CN111917918B (en) Augmented reality-based event reminder management method and device and storage medium
CN110109598A (en) A kind of animation interaction implementation method, device and electronic equipment
CN111800454A (en) Visual data display system and visual page screen projection method
CN112528185A (en) Comment information display method and device, server and terminal
CN115129573A (en) Program operation monitoring method and device, electronic equipment and storage medium
CN113938451B (en) Service reminding method, device, system, electronic equipment and storage medium
CN106528284B (en) application program configuration method and device and terminal equipment
CN114237784A (en) User interface generation method and device, electronic equipment and storage medium
CN112153218B (en) Page display method and device, wearable device and storage medium
US20210132855A1 (en) Method and device for detecting slow node and computer-readable storage medium
CN108012258B (en) Data traffic management method and device for virtual SIM card, terminal and server
CN115509872A (en) Client behavior data acquisition method and device
CN115604132A (en) Remote control method and device for server, electronic equipment and readable storage medium
CN111988669B (en) Video interaction data processing method and device, electronic equipment and storage medium
CN115421625A (en) Data processing method, device, equipment, storage medium and product
CN113420205A (en) Method and device for determining sharing source account, terminal equipment and server
CN112862349A (en) Data processing method, device and equipment based on ABS (anti-lock braking system) service data
CN113055707A (en) Video display method and device
CN111526084A (en) Information processing method, device, equipment and storage medium
CN113626504B (en) Message aggregation method and device
CN114401412B (en) Live broadcast forecast processing method and device, electronic equipment and storage medium
US11474813B2 (en) System for managing subscriber and project updates using a networked project communication system
CN112784136B (en) Data query method and device and electronic equipment
CN113986648A (en) Method and device for executing application program, 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
GR01 Patent grant
GR01 Patent grant