CN109920130B - Monitoring method, monitoring device, electronic equipment and computer readable storage medium - Google Patents

Monitoring method, monitoring device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN109920130B
CN109920130B CN201910167023.4A CN201910167023A CN109920130B CN 109920130 B CN109920130 B CN 109920130B CN 201910167023 A CN201910167023 A CN 201910167023A CN 109920130 B CN109920130 B CN 109920130B
Authority
CN
China
Prior art keywords
monitored
equipment
data
monitoring
retail system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910167023.4A
Other languages
Chinese (zh)
Other versions
CN109920130A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910167023.4A priority Critical patent/CN109920130B/en
Publication of CN109920130A publication Critical patent/CN109920130A/en
Application granted granted Critical
Publication of CN109920130B publication Critical patent/CN109920130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a monitoring method, a monitoring device, electronic equipment and a computer readable storage medium. The method comprises the following steps: obtaining monitored data for a monitored device in an unmanned retail system; the monitored data is sent to the monitoring device through a long connection established in advance with the monitoring device in the unmanned retail system. Therefore, in the embodiment of the invention, the transmission of the monitored data of the monitored equipment can be quickly realized through the pre-established long connection, so that the running state of the monitored equipment can be conveniently known, the monitored equipment can be monitored by the monitoring equipment, and workers do not need to log in each equipment in the unmanned retail system one by one to operate and check the equipment but only need to check the equipment.

Description

Monitoring method, monitoring device, electronic equipment and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of unmanned retail, in particular to a monitoring method, a monitoring device, electronic equipment and a computer readable storage medium.
Background
The use of unmanned retail systems is now becoming more common. In general, a large number of devices are deployed in an unmanned retail system, and the abnormal operation of the devices can affect the normal operation of the whole system. Therefore, in the prior art, in the operation process of the unmanned retail system, the operation state of the device needs to be monitored, and a common monitoring method is as follows: the staff logs on each equipment one by one, looks up the operational data of equipment to confirm the running state of equipment, like this, the monitoring mode among the prior art is time-consuming and inefficient.
Disclosure of Invention
The embodiment of the invention provides a monitoring method, a monitoring device, electronic equipment and a computer readable storage medium, and aims to solve the problems that the existing mode for monitoring equipment in an unmanned retail system is time-consuming and low in efficiency.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a monitoring method, where the method includes:
obtaining monitored data for a monitored device in an unmanned retail system;
and sending the monitored data to the monitoring equipment through a long connection established with the monitoring equipment in the unmanned retail system in advance.
In a second aspect, an embodiment of the present invention provides a monitoring method, where the method includes:
receiving monitored data of monitored equipment in the unmanned retail system through a pre-established long connection;
and displaying according to the monitored data, and outputting an alarm signal under the condition that the monitored data meets a preset alarm condition.
In a third aspect, an embodiment of the present invention provides a monitoring apparatus, where the apparatus includes:
a first obtaining module for obtaining monitored data of a monitored device in an unmanned retail system;
and the sending module is used for sending the monitored data to the monitoring equipment through long connection established with the monitoring equipment in the unmanned retail system in advance.
In a fourth aspect, an embodiment of the present invention provides a monitoring apparatus, where the apparatus includes:
the receiving module is used for receiving monitored data of monitored equipment in the unmanned retail system through a pre-established long connection;
and the processing module is used for displaying and processing the monitored data and outputting an alarm signal under the condition that the monitored data meets a preset alarm condition.
In a fifth aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the monitoring method provided in the first aspect.
In a sixth aspect, an embodiment of the present invention provides a monitoring device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the monitoring method provided in the second aspect.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the monitoring method provided in the first aspect, or implements the steps of the monitoring method provided in the second aspect.
In the embodiment of the invention, the unmanned retail system can comprise the monitoring equipment, so that the monitored data of the monitored equipment in the unmanned retail system can be sent to the monitoring equipment through the long connection established in advance; the monitoring equipment can display and process the monitored data and output an alarm signal under the condition that the monitored data meets the preset alarm condition, so that the monitored equipment is monitored. Therefore, in the embodiment of the invention, the transmission of the monitored data of the monitored equipment can be quickly realized through the pre-established long connection, so that the running state of the monitored equipment can be conveniently known, the monitored equipment can be monitored by the monitoring equipment, and workers do not need to log in each equipment in the unmanned retail system one by one to operate and check the equipment but only need to check the equipment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flow chart of a monitoring method according to an embodiment of the present invention;
FIG. 2 is a system architecture diagram of an unattended system in an embodiment of the invention;
FIG. 3 is a flow chart of another monitoring method provided by an embodiment of the invention;
fig. 4 is a block diagram of a monitoring apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of another monitoring apparatus provided in an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a monitoring method according to an embodiment of the present invention is shown. As shown in fig. 1, the method comprises the steps of:
step 101, obtaining monitored data of a monitored device in an unmanned retail system.
In the embodiment of the invention, the unmanned retail system can comprise monitoring equipment, a large number of terminal equipment, a server and the like; wherein, all the devices except the monitoring device can be used as the monitored device. In particular, the monitored devices in the unmanned retail system may include a Central Processing Unit (CPU) machine, a Graphics Processing Unit (GPU) machine, an image capture device (e.g., a device for capturing images of people or a device for capturing images of merchandise), and so on.
Under the condition that the monitored equipment is a CPU machine or a GPU machine, the monitored data of the monitored equipment can comprise CPU operation information, disk space information, process information and the like; under the condition that the monitored equipment is used for collecting human body images, the monitoring data of the monitored equipment can comprise CPU operation information, disk space information, temperature information and the like; in the case where the monitored device is a device for acquiring an image of a commodity, the monitoring data of the monitored device may include temperature information, restart times information, and the like. Here, regardless of the type of the monitored device, the format of the monitored data thereof may be JS Object Notation (JSON), which is an transliterated scripting language.
Step 102, sending the monitored data to the monitoring device through a long connection established in advance with the monitoring device in the unmanned retail system.
Here, the long connection is a concept opposite to the short connection. Specifically, the long connection means that after a connection link is established, the link is not ended when the link is idle, but the connection of the link is maintained all the time; the short connection means that after each communication is finished, the connection is disconnected, and a connection link needs to be reestablished when the communication is carried out next time.
It should be noted that, by means of the long connection established in advance, the monitored data of the monitored device can be transmitted to the monitoring device at fixed time intervals (for example, 5 seconds, 10 seconds, 30 seconds, and the like). Therefore, the monitoring equipment can receive the monitored data of the monitored equipment, can display and process the monitored data according to the received monitored data, judges whether the preset alarm condition is met or not, and outputs an alarm signal under the condition that the preset alarm condition is met.
Specifically, when the monitored data is displayed, the monitoring device may directly display the monitored data through a World Wide Web (Web) page; or, the monitoring device may integrate and analyze the monitored data to obtain an analysis result for representing the software and hardware operating state of the monitored device, and then display the analysis result through a WEB page.
Specifically, when determining whether the monitored data meets the preset alarm condition, the monitoring device may determine based on a preconfigured alarm policy. For example, when the monitored data includes disk space information, and when the disk space information indicates that the remaining disk space of the monitored device is smaller than the preset disk space threshold, the monitoring device may output an alarm signal for indicating that the disk space of the monitored device is insufficient in the form of text, voice, mail, or the like, so that a worker can timely know the condition that the disk space of the monitored device is insufficient, and timely take corresponding processing measures.
It should be noted that, in some cases, all monitored devices in the unmanned retail system may directly obtain their own monitored data and directly send their own monitored data to the monitoring device through a long connection between themselves and the monitoring device, in which case, the device that performs the monitoring method provided by the embodiment of the present invention may be any monitored device in the unmanned retail system. In other cases, a part of monitored devices in the unmanned retail system may have a function of assisting monitoring devices, and a monitored device having the function may obtain monitored data of itself, send the monitored data of itself to a monitoring device through a long connection between itself and the monitoring device, and also obtain monitored data of a monitored device without the function, and send the monitored data of a monitored device without the function to a monitoring device through a long connection between itself and the monitoring device. In this way, in both of the above two parent cases, the embodiment of the present invention may be considered to be applied to the monitored device, and the monitored device may be ensured to execute the monitoring method in the embodiment of the present invention by deploying and running the compiled program on the monitored device.
In the embodiment of the invention, the unmanned retail system can comprise the monitoring equipment, so that the monitored data of the monitored equipment in the unmanned retail system can be sent to the monitoring equipment through the long connection established in advance; the monitoring equipment can display and process the monitored data and output an alarm signal under the condition that the monitored data meets the preset alarm condition, so that the monitored equipment is monitored. Therefore, in the embodiment of the invention, the transmission of the monitored data of the monitored equipment can be quickly realized through the pre-established long connection, so that the running state of the monitored equipment can be conveniently obtained, the monitored equipment is monitored by the monitoring equipment, and a worker does not need to log on each equipment in the unmanned retail system one by one to operate and check the equipment but only needs to check the monitoring equipment, so that compared with the prior art, the monitoring mode in the embodiment of the invention is more convenient and has higher efficiency.
Optionally, before obtaining monitored data for a monitored device in the unmanned retail system, the method further comprises:
acquiring a monitoring item configured by the monitoring equipment corresponding to the monitored equipment;
Wherein the monitored data corresponds to the monitoring item.
Specifically, the staff may log in the monitoring device to perform an operation so as to input, to the monitoring device, a correspondence between the monitored device and the corresponding monitoring item in the unmanned retail system. Specifically, in the correspondence, the monitored device 1 may correspond to the monitoring item 1, the monitoring item 2, and the monitoring item 3, and the monitored device 2 may correspond to the monitoring item 2, the monitoring item 3, and the monitoring item 4. Then, the monitoring device may configure corresponding monitoring items for each monitored device according to the corresponding relationship.
Specifically, the monitoring device may issue the first information to the monitored device 1, and issue the second information to the monitored device 2; the first information is used for indicating that the monitoring item 1, the monitoring item 2 and the monitoring item 3 are monitoring items corresponding to the monitored equipment 1; the second information is used for indicating that the monitoring items 2, 3 and 4 are corresponding monitoring items of the monitored equipment 2.
Then, the monitored data subsequently sent to the monitoring device by the monitored device 1 includes data corresponding to the monitoring item 1, data corresponding to the monitoring item 2, and data corresponding to the monitoring item 3; the monitored data subsequently sent by the monitored device 2 to the monitoring device includes data corresponding to the monitoring item 2, data corresponding to the monitoring item 3, and data corresponding to the monitoring item 4. Here, assuming that the monitoring item 1 is the port a, the data corresponding to the monitoring item 1 may be used to represent the message transceiving condition of the port a, for example, the ratio of receiving and sending messages; assuming that monitoring item 4 is process B, the data corresponding to monitoring item 4 can be used to characterize the process state of process B.
Therefore, in the embodiment, the monitored data of the monitored equipment can be ensured to be the data capable of effectively reflecting the running state of the monitored equipment only by configuring the corresponding monitoring item corresponding to the monitored equipment by the monitoring equipment, and an operator does not need to log in each monitored equipment to manually configure, so that the configuration operation of the monitoring item is very convenient to implement, and the monitoring effect can be effectively ensured.
Optionally, before obtaining monitored data for a monitored device in the unmanned retail system, the method further comprises:
in the case of obtaining an image uploaded by a first monitored device in the unmanned retail system, recording corresponding first log information; the first monitored equipment is equipment for acquiring a human body image;
obtaining monitored data for a monitored device in an unmanned retail system, comprising:
and acquiring the frequency of uploading images by the first monitored equipment according to the first log information.
Here, the image uploaded by the first monitored device may be obtained by a picture receiving server in the unmanned retail system, and the picture receiving server may have a function of assisting the monitoring device.
Specifically, the picture receiving server may record corresponding first log information in its own log information set according to an image uploaded by the first monitored device; the first log information may include a reception time of the image, a storage location of the image, and the like. In this way, after receiving the images uploaded by the first monitored device for a plurality of times, a plurality of pieces of first log information may be recorded in the log information set.
In order to realize the monitoring of the monitoring device on the first monitored device, the image receiving server may calculate the frequency of uploading images by the first monitored device according to the receiving time in the plurality of pieces of first log information in the log information set, and send the monitored data of the first monitored device to the monitoring device; wherein the monitored data of the first monitored device may include the calculated frequency.
Then, the monitoring device may determine the stability of the first monitored device according to the frequency in the monitored data of the first monitored device, and output a corresponding alarm signal when the stability of the first monitored device is abnormal.
Specifically, the image receiving server may transmit the monitored data of the first monitored device to the monitoring device at set time intervals (e.g., every 5 seconds, 10 seconds, 30 seconds, etc.). The monitoring device may output a corresponding alarm signal to prompt that the stability of the first monitored device is abnormal, when the frequencies of the monitored data of the first monitored device received N (N is an integer greater than or equal to 2) times are all lower than the preset frequency.
As can be seen, in this embodiment, based on the image uploading operation of the first monitored device, the image receiving server may provide the frequency of uploading the image by the first monitored device to the monitoring device, so that the monitoring device can determine the stability of the first monitored device accordingly. In addition, the monitoring equipment judges that the stability of the first monitored equipment is abnormal only under the condition that the frequency does not meet the requirement for N times continuously, so that the accuracy of the judgment result can be ensured.
Optionally, before obtaining monitored data for a monitored device in the unmanned retail system, the method further comprises:
under the condition of obtaining operation data uploaded by second monitored equipment in the unmanned retail system, recording corresponding second log information; the second monitored equipment is equipment for acquiring commodity images;
obtaining monitored data for a monitored device in an unmanned retail system, comprising:
and acquiring the operation data of the second monitored equipment according to the second log information.
Here, the operation data uploaded by the second monitored device may be obtained by a picture receiving server in the unmanned retail system, and the picture receiving server may have a function of assisting the monitoring device.
Specifically, the picture receiving server may record corresponding second log information in its own log information set according to the received operation data; the second log information may include a receiving time of the operation data and specific data content in the operation data. In this way, in the case where the operation data is received a plurality of times, a plurality of pieces of second log information may be recorded in the log information set.
In order to realize the monitoring of the monitoring device on the second monitored device, the image receiving server may extract specific data content from a plurality of pieces of second log information in the log information set, restore the specific data content to obtain operating data of the second monitored device, and send the monitored data of the second monitored device to the monitoring device; the monitored data of the second monitored device may include operation data of the second monitored device.
Then, the monitoring device may determine an operation condition (which may include a software/hardware operation condition) of the second monitored device according to operation data in the monitored data of the second monitored device, and alarm when a preset alarm condition is met.
Therefore, in this embodiment, the image receiving server can provide the monitored data of the second monitored device to the monitoring device according to the log information, so that the monitoring device can conveniently monitor the second monitored device.
The following describes a specific implementation process of this embodiment with reference to fig. 2.
As shown in fig. 2, a monitoring device (which may also be referred to as a monitoring server), a first monitored device, an image receiving server (which may also be referred to as a received image server), a second monitored device (which may be specifically a xeye), and a CPU machine and a GPU machine may be included in the unmanned retail system.
Here, each monitored device such as the first monitored device, the image receiving server, the second monitored device, and the like may have a client installed thereon, and a long connection may be established in advance between each client and the monitoring device serving as the server, so as to reduce the time consumption for establishing the connection. The monitoring device can configure monitoring items for each monitored device to indicate port numbers, processes and the like needing to be monitored; the client of each monitored device can obtain the monitoring item in a heartbeat mode.
During actual work, the CPU machine and the GPU machine can send monitored data including CPU running information, disk space information, process information and the like of the CPU machine and the GPU machine to the monitoring equipment through long connection with the monitoring equipment.
The first monitored equipment can send monitored data including CPU operation information, disk space information, temperature information and the like of the first monitored equipment to the monitoring equipment through long connection with the monitoring equipment; the first monitored equipment can also upload the collected images to the image receiving server through the connection between the first monitored equipment and the image receiving server.
The image receiving server can receive the image uploaded by the first monitored equipment and record corresponding first log information according to the image; the image receiving server can also receive running data such as temperature information and restarting frequency information uploaded by the second monitored equipment and images, and record corresponding second log information according to the running data. Then, the image receiving server can analyze and count the log information to obtain a statistical analysis result; the statistical analysis result may include the frequency of uploading images by the first monitored device and the operation data of the second monitored device. The image receiving server can send monitored data including CPU operation information, disk space information, process information and statistical analysis results to the monitoring equipment through long connection with the monitoring equipment.
After receiving the monitored data from each device, the monitoring device can store the data and perform policy judgment according to the data, so as to output an alarm signal under the condition that the preset alarm condition is met, thereby realizing the monitoring of each monitored device.
In conclusion, compared with the prior art, the monitoring mode in the embodiment is more convenient and efficient.
Referring to fig. 3, a flowchart of a monitoring method according to an embodiment of the present invention is shown. As shown in fig. 3, the method comprises the steps of:
step 301, receiving monitored data of a monitored device in an unmanned retail system through a pre-established long connection;
and 302, performing display processing according to the monitored data, and outputting an alarm signal under the condition that the monitored data meets a preset alarm condition.
It should be noted that the device for executing the monitoring method provided by the embodiment of the present invention may be a monitored device in an unmanned retail system.
In the embodiment of the invention, the unmanned retail system can comprise the monitoring equipment, so that the monitored data of the monitored equipment in the unmanned retail system can be sent to the monitoring equipment through the long connection established in advance; the monitoring equipment can display and process the monitored data and output an alarm signal under the condition that the monitored data meets the preset alarm condition, so that the monitored equipment is monitored. Therefore, in the embodiment of the invention, the transmission of the monitored data of the monitored equipment can be quickly realized through the pre-established long connection, so that the running state of the monitored equipment can be conveniently known, the monitored equipment can be monitored by the monitoring equipment, and workers do not need to log in each equipment in the unmanned retail system one by one to operate and check the equipment but only need to check the equipment.
Optionally, before receiving the monitored data of the monitored device in the unmanned retail system through the long connection established in advance, the method further comprises:
configuring a monitoring item corresponding to the monitored equipment;
wherein the monitored data corresponds to the monitoring item.
Optionally, receiving monitored data for a monitored device in an unmanned retail system, comprising:
receiving monitored data of a first monitored device in the unmanned retail system according to a set time interval; the first monitored equipment is used for acquiring a human body image, and monitored data of the first monitored equipment comprises the frequency of image uploading of the first monitored equipment;
under the condition that the monitored data meet the preset alarm condition, outputting an alarm signal, comprising:
under the condition that the frequency in the monitored data of the first monitored equipment received for N times is lower than the preset frequency, outputting an alarm signal for prompting the abnormal stability of the first monitored equipment;
wherein N is an integer greater than or equal to 2.
Optionally, the monitored data of the first monitored device includes the frequency of uploading images of the first monitored device and the operation data of the first monitored device, and the first monitored device is a device for acquiring human body images; wherein the content of the first and second substances,
The operation data of the first monitored equipment is received through a first long connection which is pre-established between the first monitored equipment and the monitoring equipment;
and the frequency is received through a second long connection which is pre-established between the image receiving server and the monitoring equipment, and the image receiving server is a server which is used for receiving the image uploaded by the first monitored equipment in the unmanned retail system.
In this embodiment, as shown in fig. 2, the operation data of the first monitored device may be obtained by the first monitored device itself, so that the operation data may be sent by the first monitored device itself through the first long connection; and the frequency of uploading images by the first monitored equipment is calculated by the image receiving server, so that the frequency can be directly transmitted by the image receiving server through the second long connection. Therefore, the monitoring equipment can quickly acquire the complete monitored data of the first monitored equipment.
In conclusion, compared with the prior art, the monitoring mode in the embodiment is more convenient and efficient.
Referring to fig. 4, a block diagram of a monitoring apparatus 400 according to an embodiment of the present invention is shown. As shown in fig. 4, the monitoring apparatus 400 includes:
A first obtaining module 401, configured to obtain monitored data of a monitored device in an unmanned retail system;
a sending module 402, configured to send the monitored data to the monitoring device through a long connection established in advance with the monitoring device in the unmanned retail system.
Optionally, the monitoring apparatus 400 further comprises:
the second obtaining module is used for obtaining the monitoring items of the monitored equipment corresponding to the monitored equipment configuration before obtaining the monitored data of the monitored equipment in the unmanned retail system;
wherein the monitored data corresponds to the monitoring item.
Optionally, the monitoring apparatus 400 further comprises:
the first recording module is used for recording corresponding first log information under the condition of obtaining an image uploaded by a first monitored device in the unmanned retail system before obtaining monitored data of the monitored device in the unmanned retail system; the first monitored equipment is equipment for acquiring a human body image;
the first obtaining module 401 is specifically configured to:
and acquiring the frequency of uploading images by the first monitored equipment according to the first log information.
Optionally, the monitoring apparatus 400 further comprises:
the second recording module is used for recording corresponding second log information under the condition of obtaining operation data uploaded by second monitored equipment in the unmanned retail system before obtaining monitored data of the monitored equipment in the unmanned retail system; the second monitored equipment is equipment for acquiring commodity images;
A first obtaining module specifically configured to:
and acquiring the operation data of the second monitored equipment according to the second log information.
In the embodiment of the invention, the unmanned retail system can comprise the monitoring equipment, so that the monitored data of the monitored equipment in the unmanned retail system can be sent to the monitoring equipment through the long connection established in advance; the monitoring equipment can display and process the monitored data and output an alarm signal under the condition that the monitored data meets the preset alarm condition, so that the monitored equipment is monitored. Therefore, in the embodiment of the invention, the transmission of the monitored data of the monitored equipment can be quickly realized through the pre-established long connection, so that the running state of the monitored equipment can be conveniently known, the monitored equipment can be monitored by the monitoring equipment, and workers do not need to log in each equipment in the unmanned retail system one by one to operate and check the equipment but only need to check the equipment.
Referring to fig. 5, a block diagram of a monitoring apparatus 500 according to an embodiment of the present invention is shown. As shown in fig. 5, the monitoring apparatus 500 includes:
A receiving module 501, configured to receive monitored data of a monitored device in an unmanned retail system through a long connection established in advance;
the processing module 502 is configured to perform display processing according to the monitored data, and output an alarm signal when the monitored data meets a preset alarm condition.
Optionally, the monitoring apparatus 500 further comprises:
the configuration module is used for configuring monitoring items corresponding to the monitored equipment before receiving the monitored data of the monitored equipment in the unmanned retail system through the pre-established long connection;
wherein the monitored data corresponds to the monitoring item.
Optionally, the receiving module 501 is specifically configured to:
receiving monitored data of a first monitored device in the unmanned retail system according to a set time interval; the first monitored equipment is used for acquiring a human body image, and monitored data of the first monitored equipment comprises the frequency of image uploading of the first monitored equipment;
the processing module 502 is specifically configured to:
under the condition that the frequency in the monitored data of the first monitored equipment received for N times is lower than the preset frequency, outputting an alarm signal for prompting the abnormal stability of the first monitored equipment;
Wherein N is an integer greater than or equal to 2.
Optionally, monitored data of a first monitored device in the unmanned retail system includes a frequency of uploading images by the first monitored device and operation data of the first monitored device, and the first monitored device is a device for acquiring human body images; wherein the content of the first and second substances,
the operation data of the first monitored equipment is received through a first long connection which is pre-established between the first monitored equipment and the monitoring equipment;
and the frequency is received through a second long connection which is pre-established between the image receiving server and the monitoring equipment, and the image receiving server is a server which is used for receiving the image uploaded by the first monitored equipment in the unmanned retail system.
In the embodiment of the invention, the unmanned retail system can comprise the monitoring equipment, so that the monitored data of the monitored equipment in the unmanned retail system can be sent to the monitoring equipment through the long connection established in advance; the monitoring equipment can display and process the monitored data and output an alarm signal under the condition that the monitored data meets the preset alarm condition, so that the monitored equipment is monitored. Therefore, in the embodiment of the invention, the transmission of the monitored data of the monitored equipment can be quickly realized through the pre-established long connection, so that the running state of the monitored equipment can be conveniently known, the monitored equipment can be monitored by the monitoring equipment, and workers do not need to log in each equipment in the unmanned retail system one by one to operate and check the equipment but only need to check the equipment.
Referring to fig. 6, a schematic diagram of an electronic device 600 (e.g., a monitored device in an unmanned retail system) provided by an embodiment of the invention is shown. As shown in fig. 6, the electronic device 600 includes: a processor 601, a memory 603, a user interface 604 and a bus interface.
The processor 601, configured to read the program in the memory 603, executes the following processes:
obtaining monitored data for a monitored device in an unmanned retail system;
the monitored data is sent to the monitoring device through a long connection established in advance with the monitoring device in the unmanned retail system.
In fig. 6, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 601 and various circuits of memory represented by memory 603 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The user interface 604 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 601 is responsible for managing the bus architecture and general processing, and the memory 603 may store data used by the processor 601 in performing operations.
Optionally, the processor 601 is further configured to:
obtaining a monitoring item configured by a monitoring device corresponding to a monitored device before obtaining monitored data of the monitored device in the unmanned retail system;
wherein the monitored data corresponds to the monitoring item.
Optionally, the processor 601 is further configured to:
recording corresponding first log information under the condition of obtaining an image uploaded by a first monitored device in the unmanned retail system before obtaining monitored data of the monitored device in the unmanned retail system; the first monitored equipment is equipment for acquiring a human body image;
the processor 601 is specifically configured to:
and acquiring the frequency of uploading images by the first monitored equipment according to the first log information.
Optionally, the processor 601 is further configured to:
before the monitored data of the monitored equipment in the unmanned retail system is obtained, corresponding second log information is recorded under the condition that operating data uploaded by second monitored equipment in the unmanned retail system is obtained; the second monitored equipment is equipment for acquiring commodity images;
The processor 601 is specifically configured to:
and acquiring the operation data of the second monitored equipment according to the second log information.
In the embodiment of the invention, the unmanned retail system can comprise the monitoring equipment, so that the monitored data of the monitored equipment in the unmanned retail system can be sent to the monitoring equipment through the long connection established in advance; the monitoring equipment can display and process the monitored data and output an alarm signal under the condition that the monitored data meets the preset alarm condition, so that the monitored equipment is monitored. Therefore, in the embodiment of the invention, the transmission of the monitored data of the monitored equipment can be quickly realized through the pre-established long connection, so that the running state of the monitored equipment can be conveniently known, the monitored equipment can be monitored by the monitoring equipment, and workers do not need to log in each equipment in the unmanned retail system one by one to operate and check the equipment but only need to check the equipment.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 601, a memory 603, and a computer program stored in the memory 603 and capable of running on the processor 601, where the computer program, when executed by the processor 601, implements each process of the monitoring method embodiment on the monitored device side, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the monitoring method embodiment at the monitored device side, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Referring to fig. 7, a schematic diagram of an electronic device 700 (e.g., a monitoring device in an unmanned retail system) provided by an embodiment of the invention is shown. As shown in fig. 7, the electronic device 700 includes: a processor 701, a memory 703, a user interface 704, and a bus interface.
The processor 701 is configured to read the program in the memory 703 and execute the following processes:
receiving monitored data of monitored equipment in the unmanned retail system through a pre-established long connection;
and displaying according to the monitored data, and outputting an alarm signal under the condition that the monitored data meets a preset alarm condition.
In fig. 7, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 701, and various circuits, represented by memory 703, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The user interface 704 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 701 is responsible for managing the bus architecture and general processing, and the memory 703 may store data used by the processor 701 in performing operations.
Optionally, the processor 701 is further configured to:
configuring a monitoring item corresponding to a monitored device in the unmanned retail system before receiving monitored data of the monitored device through a long connection established in advance;
wherein the monitored data corresponds to the monitoring item.
Optionally, the processor 701 is specifically configured to:
receiving monitored data of a first monitored device in the unmanned retail system according to a set time interval; the first monitored equipment is used for acquiring a human body image, and monitored data of the first monitored equipment comprises image uploading frequency of the first monitored equipment;
under the condition that the frequency in the monitored data of the first monitored equipment received for N times is lower than the preset frequency, outputting an alarm signal for prompting the abnormal stability of the first monitored equipment;
wherein N is an integer greater than or equal to 2.
Optionally, monitored data of a first monitored device in the unmanned retail system includes a frequency of uploading images by the first monitored device and operation data of the first monitored device, and the first monitored device is a device for acquiring human body images; wherein the content of the first and second substances,
The operation data of the first monitored equipment is received through a first long connection which is pre-established between the first monitored equipment and the monitoring equipment;
and the frequency is received through a second long connection which is pre-established between the image receiving server and the monitoring equipment, and the image receiving server is a server which is used for receiving the image uploaded by the first monitored equipment in the unmanned retail system.
In the embodiment of the invention, the unmanned retail system can comprise the monitoring equipment, so that the monitored data of the monitored equipment in the unmanned retail system can be sent to the monitoring equipment through the long connection established in advance; the monitoring equipment can display and process the monitored data and output an alarm signal under the condition that the monitored data meets the preset alarm condition, so that the monitored equipment is monitored. Therefore, in the embodiment of the invention, the transmission of the monitored data of the monitored equipment can be quickly realized through the pre-established long connection, so that the running state of the monitored equipment can be conveniently known, the monitored equipment can be monitored by the monitoring equipment, and workers do not need to log in each equipment in the unmanned retail system one by one to operate and check the equipment but only need to check the equipment.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 701, a memory 703, and a computer program stored in the memory 703 and capable of running on the processor 701, where the computer program, when executed by the processor 701, implements each process of the monitoring method embodiment on the monitoring device side, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the monitoring method embodiment on the monitoring device side, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A method of monitoring, the method comprising:
obtaining monitored data of monitored equipment in an unmanned retail system, wherein the monitored data is data representing the running state of the monitored equipment, and the monitored data is data in a JS object numbered musical notation format;
sending the monitored data to the monitoring equipment through a long connection which is established with the monitoring equipment in the unmanned retail system in advance, wherein the long connection means that the link is not ended under the condition that the link is idle after a connection link is established, the monitored data is used for the monitoring equipment to display and process according to the monitored data, and an alarm signal is output under the condition that the monitored data meets a preset alarm condition;
prior to obtaining monitored data for a monitored device in an unmanned retail system, the method further comprises:
obtaining a monitoring item configured by the monitoring device corresponding to the monitored device;
wherein the monitored data corresponds to the monitoring item;
prior to obtaining monitored data for a monitored device in an unmanned retail system, the method further comprises:
under the condition of obtaining an image uploaded by a first monitored device in the unmanned retail system, recording corresponding first log information; the first monitored equipment is equipment for acquiring a human body image;
The obtaining monitored data of a monitored device in an unmanned retail system comprises:
and acquiring the frequency of uploading images by the first monitored equipment according to the first log information, wherein the frequency of uploading images by the first monitored equipment is used for outputting an alarm signal for prompting that the stability of the first monitored equipment is abnormal when the frequency of the monitoring equipment in the monitored data of the first monitored equipment received for N times is lower than a preset frequency, wherein N is an integer greater than or equal to 2.
2. The method of claim 1,
prior to obtaining monitored data for a monitored device in an unmanned retail system, the method further comprises:
under the condition of obtaining operation data uploaded by second monitored equipment in the unmanned retail system, recording corresponding second log information; the second monitored equipment is equipment for acquiring commodity images;
the obtaining monitored data of a monitored device in an unmanned retail system comprises:
and acquiring the operating data of the second monitored equipment according to the second log information.
3. A method of monitoring, the method comprising:
Receiving monitored data of monitored equipment in an unmanned retail system through a pre-established long connection, wherein the monitored data is data representing the running state of the monitored equipment, the monitored data is data in a JS object numbered musical notation format, and the long connection means that the link is not ended under the condition that the link is idle after a connection link is established;
performing display processing according to the monitored data, and outputting an alarm signal under the condition that the monitored data meets a preset alarm condition;
before receiving the monitored data of the monitored device in the unmanned retail system through the long connection established in advance, the method further comprises the following steps:
configuring a monitoring item corresponding to the monitored equipment;
wherein the monitored data corresponds to the monitoring item;
the receiving monitored data for a monitored device in an unmanned retail system, comprising:
receiving monitored data of a first monitored device in the unmanned retail system according to a set time interval; the first monitored device is a device for acquiring a human body image, and the monitored data of the first monitored device comprises the frequency of uploading the image by the first monitored device;
Under the condition that the monitored data meet the preset alarm condition, outputting an alarm signal, comprising:
under the condition that the frequency in the monitored data of the first monitored equipment received for N times is lower than the preset frequency, outputting an alarm signal for prompting the abnormal stability of the first monitored equipment;
wherein N is an integer greater than or equal to 2.
4. The method of claim 3, wherein the monitored data of a first monitored device in the unmanned retail system comprises a frequency of uploading images by the first monitored device and operation data of the first monitored device, and the first monitored device is a device for collecting human body images; wherein the content of the first and second substances,
receiving the operation data of the first monitored equipment through a first long connection which is pre-established between the first monitored equipment and the monitoring equipment;
and the frequency of uploading images by the first monitored equipment is received through a second long connection which is pre-established between an image receiving server and the monitoring equipment, and the image receiving server is used for receiving the images uploaded by the first monitored equipment in the unmanned retail system.
5. A monitoring device, the device comprising:
the system comprises a first obtaining module, a first display module and a first display module, wherein the first obtaining module is used for obtaining monitored data of monitored equipment in an unmanned retail system, the monitored data is data representing the running state of the monitored equipment, and the monitored data is data in a JS object numbered notation format;
the sending module is used for sending the monitored data to the monitoring equipment through a long connection which is established with the monitoring equipment in the unmanned retail system in advance, wherein the long connection means that the link is not ended under the condition that the link is idle after a connection link is established, the monitored data is used for the monitoring equipment to display and process the monitored data, and an alarm signal is output under the condition that the monitored data meets a preset alarm condition;
the device further comprises:
a second obtaining module, configured to obtain a monitoring item configured by a monitored device corresponding to the monitored device before obtaining monitored data of the monitored device in the unmanned retail system;
wherein the monitored data corresponds to the monitoring item;
the device further comprises:
the first recording module is used for recording corresponding first log information under the condition of obtaining an image uploaded by a first monitored device in the unmanned retail system before obtaining monitored data of the monitored device in the unmanned retail system; the first monitored equipment is equipment for acquiring a human body image;
The first obtaining module is specifically configured to:
and acquiring the frequency of uploading images by the first monitored equipment according to the first log information, wherein the frequency of uploading images by the first monitored equipment is used for outputting an alarm signal for prompting that the stability of the first monitored equipment is abnormal when the frequency of the monitoring equipment in the monitored data of the first monitored equipment received for N times is lower than a preset frequency, wherein N is an integer greater than or equal to 2.
6. The apparatus of claim 5,
the device further comprises:
the second recording module is used for recording corresponding second log information under the condition of obtaining operation data uploaded by second monitored equipment in the unmanned retail system before obtaining monitored data of the monitored equipment in the unmanned retail system; the second monitored equipment is equipment for acquiring commodity images;
the first obtaining module is specifically configured to:
and acquiring the operating data of the second monitored equipment according to the second log information.
7. A monitoring device, the device comprising:
The receiving module is used for receiving monitored data of monitored equipment in the unmanned retail system through a pre-established long connection, wherein the monitored data is data representing the running state of the monitored equipment, the monitored data is data in a JS object numbered notation format, and the long connection means that the link is not ended under the condition that the link is idle after a connection link is established;
the processing module is used for displaying and processing the monitored data and outputting an alarm signal under the condition that the monitored data meets a preset alarm condition;
the device further comprises:
a configuration module for configuring monitoring items corresponding to monitored devices in an unmanned retail system before receiving monitored data of the monitored devices through a pre-established long connection;
wherein the monitored data corresponds to the monitoring item;
the receiving module is specifically configured to:
receiving monitored data of a first monitored device in the unmanned retail system according to a set time interval; the first monitored device is a device for acquiring a human body image, and the monitored data of the first monitored device comprises the frequency of uploading the image by the first monitored device;
The processing module is specifically configured to:
under the condition that the frequency in the monitored data of the first monitored equipment received for N times is lower than the preset frequency, outputting an alarm signal for prompting the abnormal stability of the first monitored equipment;
wherein N is an integer greater than or equal to 2.
8. The apparatus according to claim 7, wherein the monitored data of the first monitored device in the unmanned retail system includes a frequency of uploading images by the first monitored device and operation data of the first monitored device, and the first monitored device is a device for collecting human body images; wherein the content of the first and second substances,
receiving the operation data of the first monitored equipment through a first long connection which is pre-established between the first monitored equipment and the monitoring equipment;
and the frequency of uploading images by the first monitored equipment is received through a second long connection which is pre-established between an image receiving server and the monitoring equipment, and the image receiving server is used for receiving the images uploaded by the first monitored equipment in the unmanned retail system.
9. An electronic device, characterized in that it comprises a processor, a memory, a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the monitoring method according to any one of claims 1 to 2.
10. An electronic device, characterized in that it comprises a processor, a memory, a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the monitoring method according to any one of claims 3 to 4.
11. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the monitoring method according to one of the claims 1 to 2 or the steps of the monitoring method according to one of the claims 3 to 4.
CN201910167023.4A 2019-03-06 2019-03-06 Monitoring method, monitoring device, electronic equipment and computer readable storage medium Active CN109920130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910167023.4A CN109920130B (en) 2019-03-06 2019-03-06 Monitoring method, monitoring device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910167023.4A CN109920130B (en) 2019-03-06 2019-03-06 Monitoring method, monitoring device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109920130A CN109920130A (en) 2019-06-21
CN109920130B true CN109920130B (en) 2022-08-12

Family

ID=66963488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910167023.4A Active CN109920130B (en) 2019-03-06 2019-03-06 Monitoring method, monitoring device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109920130B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615557A (en) * 2022-03-17 2022-06-10 合肥美的智能科技有限公司 Network-resident method and device for unmanned retail equipment, storage medium and unmanned retail equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696723A (en) * 2018-05-29 2018-10-23 深圳市零度智控科技有限公司 Cloud monitoring method, Cloud Server and computer readable storage medium
CN208027468U (en) * 2018-02-26 2018-10-30 合肥美的智能科技有限公司 Self-service equipment and self-service system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2339172A1 (en) * 1973-08-02 1975-02-13 Pruemm Georg Coin appts. with one or more working ccts. - for control of consumers in connected vending machine
JP2802934B2 (en) * 1989-03-29 1998-09-24 株式会社ソフィア Gaming system
CN101266696B (en) * 2008-04-07 2011-07-13 中兴通讯股份有限公司 An integrated control method and system for monitoring system and door control system
CN101751032B (en) * 2008-12-16 2013-01-16 中兴通讯股份有限公司 Method and system for managing automatic control system and video monitoring system
US9435455B2 (en) * 2011-12-21 2016-09-06 Deka Products Limited Partnership System, method, and apparatus for monitoring, regulating, or controlling fluid flow
CN102567185B (en) * 2011-12-31 2014-11-12 北京新媒传信科技有限公司 Monitoring method of application server
CN105300704A (en) * 2015-09-21 2016-02-03 深圳市家信信息科技开发有限公司 Mobile network-based remote detection method and system for intelligent electric vehicles
CN105118159A (en) * 2015-09-18 2015-12-02 杭州锦业科技有限公司 Automatic selling machine selling system based on embedded and mobile internet
CN106533783A (en) * 2016-12-02 2017-03-22 江西憶源多媒体科技有限公司 Railway intelligent monitoring method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208027468U (en) * 2018-02-26 2018-10-30 合肥美的智能科技有限公司 Self-service equipment and self-service system
CN108696723A (en) * 2018-05-29 2018-10-23 深圳市零度智控科技有限公司 Cloud monitoring method, Cloud Server and computer readable storage medium

Also Published As

Publication number Publication date
CN109920130A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
US9384085B2 (en) Method, device, and system for monitoring quickpath interconnect link
CN111343424B (en) Monitoring system and method for online bid evaluation
EP2626790A1 (en) Fault monitoring device, fault monitoring method and program
CN110347694B (en) Equipment monitoring method, device and system based on Internet of things
WO2021012957A1 (en) Method and device for message aggregation
CN111311892A (en) Bank branch alarm processing method based on Internet of things and branch management center system
CN111130944B (en) System monitoring method and system
CN111400189A (en) Code coverage rate monitoring method and device, electronic equipment and storage medium
CN111157245B (en) Supervision method and system for rail transit running gear bearing
CN109920130B (en) Monitoring method, monitoring device, electronic equipment and computer readable storage medium
CN109408312B (en) Server operating temperature test system and equipment
CN110704148A (en) Method and device for acquiring device page elements, server and storage medium
CN106294364B (en) Method and device for realizing web crawler to capture webpage
CN110198230B (en) Application monitoring method and device, storage medium and electronic device
CN106027306A (en) Resource monitoring method and device
CN114363704B (en) Video playing method, device, equipment and storage medium
CN115543746A (en) Graphics processor monitoring method, system and device and electronic equipment
CN116260747A (en) Monitoring method and device of terminal test equipment and electronic equipment
CN114268799A (en) Streaming media transmission method and device, electronic equipment and medium
CN111294411A (en) Monitoring system
CN112953788A (en) Network state detection method and device, BMC and storage medium
CN110635445A (en) Relay protection remote online monitoring and analyzing system and method
US9942361B2 (en) Reporting page composition data
CN112905430B (en) Log output method and device, storage medium and electronic device
JP3223872B2 (en) Server group display monitoring device

Legal Events

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