CN116260747A - Monitoring method and device of terminal test equipment and electronic equipment - Google Patents

Monitoring method and device of terminal test equipment and electronic equipment Download PDF

Info

Publication number
CN116260747A
CN116260747A CN202111501226.6A CN202111501226A CN116260747A CN 116260747 A CN116260747 A CN 116260747A CN 202111501226 A CN202111501226 A CN 202111501226A CN 116260747 A CN116260747 A CN 116260747A
Authority
CN
China
Prior art keywords
monitoring
terminal test
test equipment
heartbeat
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111501226.6A
Other languages
Chinese (zh)
Inventor
王洋
黄冶
李由
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network 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 Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202111501226.6A priority Critical patent/CN116260747A/en
Publication of CN116260747A publication Critical patent/CN116260747A/en
Pending legal-status Critical Current

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/10Active monitoring, e.g. heartbeat, ping or trace-route
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure provides a method and a device for monitoring terminal test equipment and electronic equipment, wherein the method for monitoring the terminal test equipment comprises the following steps: detecting the remote network availability of the terminal test equipment and the remote control terminal; performing first heartbeat monitoring on a hardware physical link of the terminal test equipment through a monitoring system; performing first alarm and/or restarting on the terminal test equipment through the MCU central control system according to first feedback information of first heartbeat monitoring; performing second heartbeat monitoring on the process link of the terminal test equipment through the monitoring system; and carrying out a second alarm and/or restarting on the terminal test equipment through the MCU central control system according to the second feedback information of the second heartbeat monitoring. By the monitoring method, various systems such as a real-time network, application running and the like and performance logs can be provided for remote testing and walking of the remote terminal testing equipment, and problems can be rapidly solved by timely processing the problems when the remote terminal testing equipment has the problems.

Description

Monitoring method and device of terminal test equipment and electronic equipment
Technical Field
The disclosure relates to the field of monitoring, and in particular relates to a method and a device for monitoring terminal test equipment and electronic equipment.
Background
In general, when a problem occurs in a terminal such as a mobile phone, a problem test is required, and if the terminal test device and the terminal such as the mobile phone are not in a same area, the test is inconvenient. The general remote terminal test equipment generally has no real-time performance when testing the terminal, and problems occur in the terminal test equipment, such as downtime, network connection and the like, and the terminal test equipment cannot solve the problems by itself.
In the international product testing process, because the overseas use environment is greatly different from domestic, factors such as network system, network quality, operators, machine types, regions and the like need to be considered, and the overseas user experience is difficult to cover by domestic testing. The test flow of the APP product on the terminal equipment generally comprises the following steps: manual testing, automated testing, performance testing, on-line business walkthrough, etc. If related tests are involved in a professional application, it is often necessary for the related personnel to conduct business journeys to field tests or to employ the related technicians locally to conduct the tests in order to ensure the validity of the tests. The labor costs of both of these test parties are typically high and the real-time nature of problem discovery and localization is also poor.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In order to solve the above technical problems and improve the testing accuracy and effectiveness of the remote terminal testing device, the embodiments of the present disclosure provide the following technical solutions.
In a first aspect, an embodiment of the present disclosure provides a method for monitoring a terminal test device, where the terminal test device uses an MCU as a monitoring core, and monitors the terminal test device through a monitoring system, and the monitoring method includes:
detecting the remote network availability of the terminal test equipment and a remote control terminal;
performing first heartbeat monitoring on a hardware physical link of the terminal test equipment through the monitoring system;
performing a first alarm and/or restarting on the terminal test equipment through the MCU central control system according to the first feedback information of the first heartbeat monitoring;
performing second heartbeat monitoring on the process link of the terminal test equipment through the monitoring system;
And carrying out second alarm and/or restarting on the terminal test equipment through the MCU central control system according to the second feedback information of the second heartbeat monitoring.
Further, the detecting the remote network availability of the terminal test device and the remote control terminal includes:
detecting availability of the remote network of the terminal test device by a ping command;
and restarting the remote network of the terminal test equipment if the remote network is unavailable.
Further, the performing, by the monitoring system, first heartbeat monitoring on the hardware physical link of the terminal test device includes:
performing network heartbeat monitoring on interfaces between a network module and other modules in the hardware physical link; and
and carrying out serial port heartbeat communication among all modules in the hardware physical link.
Further, the performing, by the MCU central control system, a first alarm and/or restarting of the terminal test device according to the first feedback information of the first heartbeat monitoring includes:
if the first feedback information is not received within the first fixed time or is empty, a first alarm signal is sent;
and restarting the remote terminal test equipment when the time of the first alarm signal reaches a first time threshold.
Further, the performing, by the monitoring system, second heartbeat monitoring on the process link of the terminal test device includes:
and sending a second heartbeat to each service process, and replying the second feedback information by the service process according to the second heartbeat.
Further, the performing, by the MCU central control system, a second alarm and/or restarting of the terminal test device according to the second feedback information of the second heartbeat monitoring includes:
sending heartbeats to each service process at a second fixed time interval through socket interface instructions;
if the second feedback information is not received within the second fixed time or is empty, a second alarm signal is sent;
and restarting the terminal test equipment when the time of the second alarm signal reaches a second time threshold.
Further, the method further comprises:
periodically collecting risk parameters on the terminal test equipment;
extracting each risk value in the risk parameters;
judging whether each risk value exceeds a corresponding risk threshold value;
any risk value exceeds the corresponding risk threshold value, and an alarm signal is sent out or restarting is carried out.
Further, the risk parameters are the CPU occupancy rate, the memory occupancy rate, the CPU running temperature, the program running card time, the program running response time and/or the network connection timeout time of the remote terminal.
Further, the method further comprises:
the method for monitoring the interaction experience of the remote terminal specifically comprises the following steps:
synchronously displaying the display interface of the remote terminal;
task scheduling is carried out on the application of the remote terminal;
and collecting, monitoring and reporting the logs of the modules and the terminals in the system of the remote terminal.
In a second aspect, an embodiment of the present disclosure provides a monitoring apparatus for a terminal test device, where the terminal test device uses an MCU central control system as a monitoring core, and monitors the terminal test device through a monitoring system, where the monitoring apparatus includes:
the detection module is used for detecting the remote network availability of the terminal test equipment and the remote control terminal;
the first monitoring module is used for carrying out first heartbeat monitoring on the hardware physical link of the terminal test equipment through the monitoring system;
the first processing module is used for carrying out first alarm and/or restarting on the terminal test equipment through the MCU central control system according to the first feedback information of the first heartbeat monitoring;
The second monitoring module is used for carrying out second heartbeat monitoring on the process link of the terminal test equipment through the monitoring system;
and the second processing module is used for carrying out second alarm and/or restarting on the terminal test equipment through the MCU central control system according to the second feedback information of the second heartbeat monitoring.
Further, the device further comprises:
the collecting module is used for periodically collecting risk parameters on the terminal test equipment;
the extraction module is used for extracting each risk value in the risk parameters;
the judging module is used for judging whether each risk value exceeds a corresponding risk threshold value;
and the alarm processing module is used for sending out an alarm signal or performing system processing when any risk value exceeds a corresponding risk threshold value, and the system processing comprises sending out an alarm signal and/or restarting the system.
Further, the device further comprises:
and the experience monitoring module is used for carrying out interactive experience monitoring on the remote terminal.
Further, the device further comprises:
the synchronous module is used for synchronously displaying the display interface of the remote terminal;
the task scheduling module is used for performing task scheduling on the application of the remote terminal;
And the remote monitoring module is used for collecting, monitoring and reporting the module in the system of the remote terminal and the log of the terminal.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
a memory for storing computer readable instructions; and
a processor configured to execute the computer readable instructions to cause the electronic device to implement the method according to any one of the first aspect above.
In a fourth aspect, embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer-readable instructions which, when executed by a computer, cause the computer to implement the method of any one of the first aspects.
The embodiment of the disclosure discloses a monitoring method of terminal test equipment, wherein the terminal test equipment uses an MCU central control system as a monitoring core, the terminal test equipment is monitored through the monitoring system, and the monitoring method comprises the following steps: detecting the remote network availability of the terminal test equipment and a remote control terminal; performing first heartbeat monitoring on a hardware physical link of the terminal test equipment through the monitoring system; performing a first alarm and/or restarting on the terminal test equipment through the MCU central control system according to the first feedback information of the first heartbeat monitoring; performing second heartbeat monitoring on the process link of the terminal test equipment through the monitoring system; and carrying out second alarm and/or restarting on the terminal test equipment through the MCU central control system according to the second feedback information of the second heartbeat monitoring. . By the monitoring method, various systems such as a real-time network, application running and the like and performance logs can be provided for remote testing and walking of the remote terminal testing equipment, products and solutions with low cost, high availability, high stability and strong instantaneity are provided, and problems are rapidly solved by timely processing when the remote terminal testing equipment has problems.
The foregoing description is only an overview of the disclosed technology, and may be implemented in accordance with the disclosure of the present disclosure, so that the above-mentioned and other objects, features and advantages of the present disclosure can be more clearly understood, and the following detailed description of the preferred embodiments is given with reference to the accompanying drawings.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flow chart of a method for monitoring a terminal test device according to an embodiment of the disclosure;
fig. 2 is a schematic diagram of a terminal upper edge service system in a terminal test device according to an embodiment of the disclosure;
fig. 3 is a schematic diagram of a hardware system and a service monitoring system of a terminal test device according to an embodiment of the disclosure;
fig. 4 is a schematic diagram of a monitoring device of a terminal test apparatus according to another embodiment of the disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to another embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
Fig. 1 is a flowchart of an embodiment of a method for monitoring a terminal test device according to an embodiment of the present disclosure, where the method for monitoring a terminal test device may be performed by a monitoring apparatus of a terminal test device, and the monitoring apparatus of the terminal test device may be implemented as software, or may be implemented as a combination of software and hardware, and the monitoring apparatus of the terminal test device may be integrally provided in a certain device in the monitoring apparatus of the terminal test device, such as a terminal device. As shown in fig. 1, the method comprises the steps of:
step S101: and detecting the remote network availability of the terminal test equipment and a remote control end (hereinafter referred to as a control end).
In step S101, the test data and the monitoring video are transmitted through the network, so that the availability test can be carried out in the real use environment of the user, the authenticity of the test data can be improved, and the time and space constraints are reduced. Remote network availability testing enables distributed data storage collection by developing host and test machines into server and client forms. The remote network availability test is required to be arranged at the terminal test equipment according to the format of the remote control end, complete data is collected, the data is fed back to the remote control end, and the simultaneous test of multiple terminals can be realized. The remote network test has two modes of synchronous and asynchronous. The synchronous mode means that the tested terminal and the monitor are respectively located in different regions, but are consistent in time, namely the monitoring is performed in real time. And asynchronous means that the tested terminals and the monitors are dispersed in both region and time, i.e. the monitoring is not performed in real time.
In the embodiment of the disclosure, a synchronous remote network test is adopted, the availability of the external network is detected through a remote ping command, and if the external network is unavailable, the network service of OpenWRT is restarted. Specifically, the DNS server 8.8.8.8 of PING Baidu is used to determine whether the network is connected, and if the network cannot be connected n (for example, 5 times) with a certain time (for example, 10 seconds) in between, the network is determined to be a network failure, and after the failure is determined, the OpenWRT router can be restarted, and then the network service is attempted to be restarted, so that the recovery can be achieved. Meanwhile, a log file can be added to record the time and the times of fault and restarting, the capacity of the solid state disk of the OpenWRT router is very small, usually only 2M is needed, and the log file cannot be large, so that a few unnecessary operation records are annotated. The running time interval of the test script is not too short, otherwise, the network service is restarted continuously under the condition of no network connection, the network service cannot be logged in to be modified and set, for example, the setting is set for 5 minutes, the running of the test script is almost stopped, and the set duration can be modified according to the requirement. The test script can automatically run to find multiple faults and automatically restart the network service of the terminal test equipment, and is more convenient than manual processing.
Step S102: and performing first heartbeat monitoring on the hardware physical link of the terminal test equipment.
In step S102, in order to ensure the accessibility of each hardware unit in the system, performing a first heartbeat monitoring on a hardware physical link of the terminal test device, including: performing network heartbeat monitoring on interfaces between a network module and other modules in the hardware physical link; and carrying out serial port heartbeat communication among all modules in the hardware physical link. In the embodiment of the disclosure, a Socket interface is used as a main communication means, the Socket interface defaults to be a long link, and in order to know whether the link between the Client and the Server is normal, the Client Socket and the Server used in the embodiment both have a heartbeat thread, and the thread is mainly used for detecting whether the link between the Client and the Server is normal, and whether the link between the Client and the Server is normal is mainly ensured by using a ping heartbeat monitoring flow.
Specifically, the MCU central control system of the embodiment performs network ping and ping heartbeat monitoring on the remote terminal through an RJ45 interface between a network (WIFI) module group in the system and the industrial personal computer, where the ping and ping heartbeat monitoring is timer monitoring, and any value within 0-255 can be set on parameters. Meanwhile, serial port ping heartbeat communication is carried out between the WIFI module group and the MCU and between the MCU and the industrial personal computer through the UART.
The heartbeat monitoring in this embodiment is used for communication monitoring of the terminal test device, where the heartbeat packet is a data communication structure between the terminal test device and the remote control end for notifying the other party of survival.
The periodic heartbeat packet is sent to the control end mainly for the following reasons:
and notifying the control end of the survival state of the remote terminal test equipment, and once the control end monitors that the heartbeat packet sent by the remote terminal test equipment is not received for a certain period of time, releasing all resources, such as Socket connection, which are distributed to the terminal end. The IP mapping table of the remote network is regularly refreshed in order to prevent the salt network router from removing the mapping table, resulting in an interruption of the connection of the remote terminal test equipment and the control terminal.
A simple implementation is to send heartbeat packets to the control end periodically, but this implementation poses a problem as to how well the cycle time interval is appropriate? Because of the implementation of different network topologies, the remote network can be distributed to different network routes, different network nodes have different strategies to process the mapping table, once the remote network finds that a mapping table corresponding to an IP has no uplink or downlink data within a certain period of time, the remote network can remove the IP mapping table, so that the connection is interrupted, and the pushed message cannot be timely received for the remote terminal test equipment of instant messaging.
A further problem is that the shorter periodic transmission of heartbeat packets results in a drain on the power and traffic of the remote terminal test equipment, particularly the mobile equipment. Based on the above consideration, we will design an intelligent heartbeat, which can automatically adjust the period of sending the heartbeat according to different network conditions, so as to solve the above-mentioned problems.
The design of the intelligent heartbeat has a necessary requirement for the control end that the control end must support a special heartbeat packet to obtain a receipt, and the special heartbeat packet is slightly different from the normal heartbeat in that the normal heartbeat packet is sent to the control end, so that the control end can dispense with the receipt. Thus, we can dynamically add and subtract the cycle of the heartbeat packet until the ideal heartbeat cycle is reached.
The basic algorithm for ping heartbeat monitoring is as follows:
1. the ping-ping heartbeat thread is successfully started after connection, the initial value of the heartbeat period is the heartbeat period adjusted last time, and if the initial value is the first time, the heartbeat period is set as a default period;
2. sending ping-pang data packets to a server, wherein the fact that the client sends heartbeat ping- > the server- > waits for receipt- > receives pang receipt is a successful ping-pang;
3. if ping-ping does not return within the specified time, sending out continuously for several times- >;
3.1 repeating step 2 for several times if it is received;
3.11 success- > increase heartbeat packet cycle- > go to step 2;
3.12 failure- > go to 3.2;
3.2 if the failure occurs, reducing the heartbeat packet cycle- > go to the step 2;
4. stopping ping-pong until a suitable heartbeat packet is found = last successful heartbeat cycle;
5. starting the ping heartbeat package thread means that the server can not give a receipt, and reduces the pressure of the server.
Step S103: and carrying out first alarm and/or restarting on the terminal test equipment through the MCU central control system according to the first feedback information of the first heartbeat monitoring.
In step S103, after the first heartbeat monitoring, the terminal test device needs to be processed according to the feedback information of the first heartbeat, that is, a first system process is performed on the terminal test device according to the first feedback information of the first heartbeat monitoring, where the first system process includes a first alarm and/or restart, and the step includes: if the first feedback information is not received within the first fixed time or is empty, a first alarm signal is sent; and restarting the remote terminal when the time of the first alarm signal reaches a first time threshold. And network ping and ping heartbeat monitoring is carried out between network (WIFI) module groups and the industrial personal computers in the system through RJ45 interfaces. Meanwhile, serial port ping heartbeat communication is carried out between the WIFI module group and the MCU and between the MCU and the industrial personal computer through the UART. If the control end does not receive the heartbeat signal sent back by the remote terminal test equipment within a first fixed time (e.g., 2 seconds, 5 seconds, 10 seconds, etc.), a first alarm signal, such as a respiratory light (e.g., red light) is sent out to flash quickly, and if the duration of the first alarm signal reaches a first time threshold (e.g., 60 seconds, 100 seconds, 120 seconds, 200 seconds, 300 seconds, etc.), the system is restarted, where the first time threshold is an integer multiple of the first fixed time.
Step S104: and performing second heartbeat monitoring on the process link of the terminal test equipment through the monitoring system.
In step S104, in this embodiment, in addition to performing the first heartbeat monitoring on the hardware link of the remote terminal test device, the heartbeat monitoring needs to be performed on the process link of the remote terminal test device, so as to ensure the availability of the service process, that is, performing the second heartbeat monitoring on the process link of the remote terminal test device. The second heartbeat monitoring for the process link of the remote terminal test equipment comprises the following steps: and sending a second heartbeat to each service process, and replying the second feedback information by the service process according to the second heartbeat.
Specifically, the process link monitoring of the remote terminal test equipment includes: the industrial personal computer of the control end sends heartbeat at a second fixed time interval through the socket interface, the service process of the remote terminal test equipment replies the heartbeat to the industrial personal computer through the socket interface, and if the control end does not receive feedback of the service process in the second fixed time interval or the feedback signal is null, a second alarm signal is sent.
In this embodiment, heartbeat monitoring is performed on a plurality of application processes of the remote terminal by the industrial personal computer of the control end, and if the control end does not receive feedback of the application process of the terminal test device in a second fixed time interval or the feedback signal is null, a second alarm signal is sent.
Socket interfaces define a number of functions or routines based on the API (Application Programming Interface ) of the TCP/IP network through which the present embodiment enqueues the application process on the remote terminal test equipment for heartbeat monitoring.
At the control end and the remote terminal test equipment, the principle of realizing heartbeat monitoring by Socket is as follows:
the control end monitors the appointed port by using the ServerSocket interface, the port can be appointed at will (because the port below 1024 belongs to reserved port generally, and the port above 1024 can not be used at will in some operating systems, the port above 1024 is recommended to be used), the heartbeat packet is sent through the appointed port, the remote terminal waits for replying the feedback information of the heartbeat packet, and after confirming that the terminal test equipment is connected, the session is generated; after the session is completed, the connection is closed.
The remote terminal test equipment uses a Socket interface to send out a heartbeat packet to feed back a certain port of a certain control end on the network, determines a connection request through heartbeat feedback information, and opens a session once the connection is successful; after the session is completed, the Socket is closed. The terminal test equipment does not need to designate an open port, typically temporarily and dynamically allocating more than one 1024 ports.
Step S105: and carrying out second alarm and/or restarting on the terminal test equipment through the MCU central control system according to the second feedback information of the second heartbeat monitoring.
In step S105, after the first heartbeat monitoring, the terminal test device needs to be processed according to the feedback information of the first heartbeat, that is, a second system process is performed on the terminal test device according to the second feedback information of the second heartbeat monitoring, where the second system process includes a second alarm and/or restart, and the step includes: sending heartbeats to each service process at a second fixed time interval through socket interface instructions; if the second feedback information is not received within the second fixed time or is empty, a second alarm signal is sent; and restarting the remote terminal test equipment when the time of the second alarm signal reaches a second time threshold.
The industrial personal computer of the control end sends heartbeat at a second fixed time interval through the socket interface, the service process of the remote terminal test equipment replies the heartbeat to the industrial personal computer through the socket interface, and if the control end does not receive feedback of the service process in the second fixed time interval or the feedback signal is null, a second alarm signal is sent. Specifically, if the control end does not receive feedback of the service process in the second fixed time interval or the feedback signal is null, a second alarm signal is sent. Here, a second fixed time, for example, 5 seconds, 10 seconds, 15 seconds, 20 seconds, 30 seconds, etc., for example, 15 seconds, i.e. no feedback of the service progress is received within 15 seconds, and a second alarm signal, for example, an IPC lamp (yellow lamp) is emitted after 15 seconds or 30 seconds. The time of the second alarm signal reaches a second time threshold, which may be, for example, 100 seconds, 150 seconds, 200 seconds, 300 seconds, etc., where the second time threshold is an integer multiple of a second fixed time. Taking 300 seconds as an example, after 300 seconds, the system is restarted. In addition, the process of monitoring the progress, the processing process and the abnormal information can be written into the system log before the system is restarted.
According to an embodiment of the present disclosure, the remote terminal testing method further includes: and periodically collecting risk parameters on the terminal test equipment, extracting each risk value in the risk parameters, judging whether each risk value exceeds a corresponding risk threshold, and if any risk value exceeds the corresponding risk threshold, sending out an alarm signal or carrying out system processing. The risk parameters are CPU occupancy rate, memory occupancy rate, CPU operation temperature, program operation card-on time, program operation response time and/or network connection timeout time of the remote terminal.
According to an embodiment of the present disclosure, the method for monitoring a terminal test device further includes: and carrying out interactive experience monitoring on the remote terminal. The interactive experience monitoring includes: and synchronously displaying a display interface of the remote terminal, performing task scheduling on the application of the remote terminal, and collecting, monitoring and reporting the logs of the modules in the system of the remote terminal and the terminal. The interactive experience monitoring includes, but is not limited to, network agent monitoring, task scheduling monitoring, device agent monitoring, and/or application performance management system monitoring, and may also include, for example, opening of various application programs, virtual connection display, allocation of system resources, alarm information, and so on.
As shown in fig. 2, a schematic diagram of an end-edge service system of a terminal test device according to an embodiment of the present disclosure is shown, where the end-edge service system is responsible for a service system for experience test, and as shown in the figure, the end-edge service system includes a network proxy, a test task schedule, a device proxy, and an APM system. The network agent, the test task scheduling, the equipment agent and the APM system are used for network connection of the terminal test equipment and monitoring and control operation of the terminal test equipment. The network agent mainly completes a network dedicated line of the central machine room and the edge node: the method comprises content encryption, port forward and reverse proxy, congestion control and the like; the test task scheduling is mainly responsible for issuing real tasks of users and coordinating equipment resources for running the tasks; the device agent is an interaction bridge with the device and is responsible for converting the operation of the device by a user into a task instruction to be executed on the device, so that certain functional operation of the device is completed: such as installing/uninstalling APP, operating a mobile phone interface, screen capturing and the like; the APM system is responsible for collecting, monitoring and reporting logs of other modules and equipment in the system on the opposite end; timely finding service system problems
Fig. 3 is a schematic diagram of a hardware system and a service monitoring system of a terminal test device according to an embodiment of the disclosure. The hardware system of the terminal test equipment comprises a Router (Router), a Wifi module, an industrial personal computer and an MCU central control unit, wherein the MCU central control unit in the service terminal test hardware system is connected with the terminal equipment through a UART interface, the terminal equipment end is provided with monitoring equipment, the monitoring equipment is used for monitoring service availability of the terminal test equipment, the monitoring equipment can be monitored and connected with a remote terminal through a certain interface, the interface can be a USB interface, an HDMI interface, a Type-C interface and the like, and wireless connection such as Bluetooth, wifi and the like can also be used. The remote terminal device may be a mobile phone (phone), a notebook computer, a desktop computer, a Pad, a palm precious, a PSP, etc., or may be other intelligent devices, such as a robot, a vending machine, a ticket vending machine, an automobile, etc.
The MCU central control unit adopts a front-back architecture. The main function is an infinite loop, each task function is sequentially called in the loop to complete the processing of corresponding tasks and events, the task functions belong to a background structure, only one task function belongs to a process at the same time, namely, the process is blocked by one function, other functions cannot obtain asynchronous events for processing a body system by running an interrupt service routine, the asynchronous events are behaviors which cannot be described or predicted by a sequential structure in the main loop, such as a serial port receiving data is random and unplanned, therefore, interrupt processing is used, the response of the events belongs to a foreground structure. Interrupt + main loop = front-back architecture while using some global variables, which can be used by the individual functions to complete the communication between the functions. In summary, the overall framework is built from individual interface functions, several global variables and interrupt handling functions. In real-time, the event is processed by polling. The serial port interrupt is only used for receiving the enqueue of the data queue FIFO, the data processing is completed in a certain task function of the main cycle, the task level response delay is less than 10ms, the occupied resources are small, and in the interrupt processing of the Timer every 1ms, only the global variable is added by one.
In the embodiment of the disclosure, the monitoring of the terminal test equipment comprises system side availability monitoring and service side availability monitoring.
The system side availability monitoring comprises network module monitoring, hardware physical link monitoring and process link monitoring, and specifically comprises the following steps:
(1) And (3) monitoring a network module: and detecting the availability of the external network through the ping command, and restarting the network service of the OpenWRT if the availability is unavailable.
(2) Hardware physical link monitoring: and ensuring the accessibility of each hardware unit in the system: and (3) carrying out ping pong heartbeat monitoring between the WIFI module group and the industrial personal computer through RJ45 interfaces, and simultaneously carrying out serial port ping communication between the WIFI module group and the MCU and between the MCU and the industrial personal computer through the UART, if the heartbeat sent by the TCP Server is not received within 10 seconds, a breathing lamp (red lamp) quickly flashes, and after 300 seconds, the system is restarted.
(3) Process link monitoring: the availability of the service process is guaranteed, the industrial personal computer sends heartbeats at fixed time intervals through the socket, the service process replies the heartbeats to the industrial personal computer through the socket interface, no feedback of the service process is received within 15 seconds, an IPC lamp (yellow lamp) flashes slowly after 30 seconds, and the system is restarted after more than 300 seconds
Service side availability monitoring, including equipment availability monitoring and App monitoring, is specifically as follows:
(1) Device availability monitoring: the method mainly comprises the connection monitoring of equipment on a system, namely the equipment can be directly connected with the system through debugging tools such as an adb debugging bridge and the like. And periodically collecting the CPU/memory/temperature and the like of the corresponding equipment, and alarming the equipment exceeding the risk threshold value on the cloud.
(2) App monitoring: the method mainly monitors certain specific applications, and when the specific applications are in an unavailable state, the application is activated, so that the continuous operation of the application is ensured. Active dial testing is carried out on certain network requests in an App, so that the success rate and the availability of application network access are ensured
Referring specifically to fig. 3, an exemplary service availability monitoring for a terminal test device is shown: device connection monitoring, device CPU/memory/temperature performance acquisition, app availability monitoring, app network link monitoring, and the like. Wherein device connection monitoring requires restarting the device itself or a network port application if there is a network disconnection, a delay reaching a certain time, etc. If the CPU occupation of the equipment is too high, the memory occupation is too high or the temperature is too high, the system is blocked, an alarm signal is sent to the cloud end, and the remote control end is informed. If the usability of the App on the terminal test equipment is problematic, the App on the equipment needs to be activated by an activating program. If the App network link has a problem, link repair is needed through network dial testing.
The hardware system and the service monitoring system of the terminal test equipment are mainly responsible for monitoring and operation and maintenance of hardware, software and various modules in the terminal test equipment, and ensure that the terminal test equipment can automatically monitor and process when faults occur, thereby ensuring that the system, the equipment and the application can continuously and stably operate.
Fig. 4 is a schematic diagram of a remote terminal testing apparatus according to another embodiment of the disclosure. As shown in fig. 4, the apparatus 400 includes: a detection module 401, a first monitoring module 402, a first processing module 403, a second monitoring module 404 and a second processing module 405. Wherein:
the detection module 401 is configured to detect remote network availability of the terminal test device and a remote control terminal. The network is used for transmitting the test data and the monitoring video, so that the availability test can be carried out in a laboratory in the real use environment of a user, the authenticity of the test data can be improved, and the time and space constraints are reduced. Remote network availability testing enables distributed data storage collection by developing host and test machines into server and client forms. The remote network availability test is only required to be arranged at the client according to the format of the remote control end, complete data is collected, and the simultaneous test of multiple terminals can be realized.
The first monitoring module 402 is configured to perform a first heartbeat monitoring on a hardware physical link of the terminal test device through the monitoring system. The first heartbeat monitoring specifically includes: performing network heartbeat monitoring on interfaces between a network module and other modules in a hardware physical link of the terminal test equipment; and carrying out serial port heartbeat communication among all modules in the hardware physical link. In the embodiment of the disclosure, a Socket interface is used as a main communication means, the Socket interface defaults to be a long link, and in order to know whether the link between the Client and the Server is normal, the Client Socket and the Server used in the embodiment both have a heartbeat thread, and the thread is mainly used for detecting whether the link between the Client and the Server is normal, and whether the link between the Client and the Server is normal is mainly ensured by using a ping heartbeat monitoring flow. .
The first processing module 403 is configured to perform a first system process on the terminal test device according to the first feedback information of the first heartbeat monitoring, where the first system process includes a first alarm and/or restart. After the first heartbeat monitoring, the terminal needs to be processed according to the feedback information of the first heartbeat, namely, the terminal test equipment is processed in a first system according to the first feedback information of the first heartbeat monitoring, which comprises the following steps: if the first feedback information is not received within the first fixed time or is empty, a first alarm signal is sent; and restarting the terminal test equipment when the time of the first alarm signal reaches a first time threshold. And network ping and ping heartbeat monitoring is carried out between network (WIFI) module groups and the industrial personal computers in the system through RJ45 interfaces. Meanwhile, serial port ping heartbeat communication is carried out between the WIFI module group and the MCU and between the MCU and the industrial personal computer through the UART. If the control end does not receive the heartbeat signal sent back by the terminal test equipment within the first fixed time, a first alarm signal, such as a breathing lamp (for example, a red lamp) is sent to flash quickly, and if the duration of the first alarm signal reaches a first time threshold, the system is restarted, wherein the first time threshold is an integral multiple of the first fixed time.
The second monitoring module 404 is configured to perform, by using the monitoring system, second heartbeat monitoring on the process link of the terminal test device, and specifically includes: and sending a second heartbeat to each service process, and replying the second feedback information by the service process according to the second heartbeat. Specifically, the process link monitoring of the terminal test equipment includes: the industrial personal computer of the control end sends heartbeat at a second fixed time interval through the socket interface, the service process of the terminal test equipment replies the heartbeat to the industrial personal computer through the socket interface, and if the control end does not receive feedback of the service process in the second fixed time interval or the feedback signal is null, a second alarm signal is sent. The remote terminal process link is provided with a plurality of application programs running, the industrial personal computer of the control terminal monitors heartbeat of the plurality of application program processes of the terminal test equipment, and if the control terminal does not receive feedback of the application program processes of the terminal test equipment in a second fixed time interval or the feedback signal is null, a second alarm signal is sent.
The second processing module 405 is configured to perform a second system processing on the terminal test device according to the second feedback information of the second heartbeat monitoring, where the second system processing includes a second alarm and/or restart. After the first heartbeat is monitored, processing the terminal test equipment according to the feedback information of the first heartbeat, namely, performing second system processing on the terminal test equipment according to the second feedback information of the second heartbeat monitoring, including: sending heartbeats to each service process at a second fixed time interval through socket interface instructions; if the second feedback information is not received within the second fixed time or is empty, a second alarm signal is sent; and restarting the terminal test equipment when the time of the second alarm signal reaches a second time threshold.
The industrial personal computer of the control end sends heartbeat at a second fixed time interval through the socket interface, the service process of the terminal test equipment replies the heartbeat to the industrial personal computer through the socket interface, and if the control end does not receive feedback of the service process in the second fixed time interval or the feedback signal is null, a second alarm signal is sent. Specifically, if the control end does not receive feedback of the service process within the second fixed time interval or the feedback signal is null, a second alarm signal, for example, an IPC lamp (yellow lamp) flashes slowly, is sent out. And restarting the system when the time of the second alarm signal reaches a second time threshold. In addition, the process of monitoring the progress, the processing process and the abnormal information can be written into the system log before the system is restarted.
According to an embodiment of the present disclosure, the remote terminal test apparatus further includes:
and the experience monitoring module is used for carrying out interactive experience monitoring on the remote terminal. The interactive experience monitoring includes: and synchronously displaying a display interface of the remote terminal, performing task scheduling on the application of the remote terminal, and collecting, monitoring and reporting the logs of the modules in the system of the remote terminal and the terminal. The interactive experience monitoring includes, but is not limited to, network agent monitoring, task scheduling monitoring, device agent monitoring, and/or application performance management system monitoring, and may also include, for example, opening of various application programs, virtual connection display, allocation of system resources, alarm information, and so on.
According to an embodiment of the present disclosure, the remote terminal test apparatus further includes:
the synchronous module is used for synchronously displaying the display interface of the remote terminal;
the task scheduling module is used for performing task scheduling on the application of the remote terminal;
and the remote monitoring module is used for collecting, monitoring and reporting the module in the system of the remote terminal and the log of the terminal.
The apparatus shown in fig. 4 may perform the method of the embodiment shown in fig. 1, and reference is made to the relevant description of the embodiment shown in fig. 1 for parts of this embodiment not described in detail. The implementation process and the technical effect of this technical solution refer to the description in the embodiment shown in fig. 1, and are not repeated here.
Referring now to fig. 5, a schematic diagram of an electronic device 500 suitable for use in implementing another embodiment of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic device 500 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a communication line 504. An input/output (I/O) interface 505 is also connected to the communication line 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 508 including, for example, magnetic tape, hard disk, etc.; and communication means 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device 500 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or from the storage means 508, or from the ROM 502. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 501.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperTextTransfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: the test method in the above embodiment is performed.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any one of the test methods of the first aspect.
According to one or more embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, characterized in that the non-transitory computer-readable storage medium stores computer instructions for causing a computer to perform any one of the test methods of the foregoing first aspect.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).

Claims (11)

1. The monitoring method of the terminal test equipment is characterized in that the terminal test equipment takes an MCU central control system as a monitoring core, and monitors the terminal test equipment through the monitoring system, and the monitoring method comprises the following steps:
detecting the remote network availability of the terminal test equipment and a remote control terminal;
performing first heartbeat monitoring on a hardware physical link of the terminal test equipment through the monitoring system;
performing a first alarm and/or restarting on the terminal test equipment through the MCU central control system according to the first feedback information of the first heartbeat monitoring;
performing second heartbeat monitoring on the process link of the terminal test equipment through the monitoring system;
and carrying out second alarm and/or restarting on the terminal test equipment through the MCU central control system according to the second feedback information of the second heartbeat monitoring.
2. The method according to claim 1, wherein said detecting the remote network availability of the terminal test device and the remote control terminal comprises:
detecting availability of the remote network of the terminal test device by a ping command;
and restarting the remote network of the terminal test equipment if the remote network is unavailable.
3. The method according to claim 1, wherein the performing, by the monitoring system, first heartbeat monitoring on the hardware physical link of the terminal test device includes:
performing network heartbeat monitoring on interfaces between a network module and other modules in the hardware physical link; and
and carrying out serial port heartbeat communication among all modules in the hardware physical link.
4. The monitoring method according to claim 1, wherein the first feedback information according to the first heartbeat monitoring performs a first alarm and/or restart on the terminal test device through the MCU, including:
if the first feedback information is not received within the first fixed time or is empty, a first alarm signal is sent;
and restarting the remote terminal test equipment when the time of the first alarm signal reaches a first time threshold.
5. The method according to claim 1, wherein the performing, by the monitoring system, second heartbeat monitoring on the process link of the terminal test device includes:
and sending a second heartbeat to each service process, and replying the second feedback information by the service process according to the second heartbeat.
6. The method according to claim 5, wherein the performing, by the MCU central control system, the second alarm and/or restart of the terminal test device according to the second feedback information of the second heartbeat monitoring includes:
sending heartbeats to each service process at a second fixed time interval through socket interface instructions;
if the second feedback information is not received within the second fixed time or is empty, a second alarm signal is sent;
and restarting the terminal test equipment when the time of the second alarm signal reaches a second time threshold.
7. The method of monitoring according to claim 1, wherein the method further comprises:
periodically collecting risk parameters on the terminal test equipment;
extracting each risk value in the risk parameters;
judging whether each risk value exceeds a corresponding risk threshold value;
any risk value exceeds the corresponding risk threshold value, and an alarm signal is sent out or restarting is carried out.
8. The monitoring method according to claim 7, wherein the risk parameter is a CPU occupancy rate, a memory occupancy rate, a CPU operating temperature, a program operating click-through time, a program operating response time, and/or a network connection timeout time of the remote terminal.
9. The method of monitoring according to claim 1, wherein the method further comprises:
the method for monitoring the interaction experience of the remote terminal specifically comprises the following steps:
synchronously displaying the display interface of the remote terminal;
task scheduling is carried out on the application of the remote terminal;
and collecting, monitoring and reporting the logs of the modules and the terminals in the system of the remote terminal.
10. The utility model provides a monitoring devices of terminal test equipment, its characterized in that, terminal test equipment uses MCU central control system as the control core, monitors through monitored control system terminal test equipment, monitoring devices includes:
the detection module is used for detecting the remote network availability of the terminal test equipment and the remote control terminal;
the first monitoring module is used for carrying out first heartbeat monitoring on the hardware physical link of the terminal test equipment through the monitoring system;
the first processing module is used for carrying out first alarm and/or restarting on the terminal test equipment through the MCU central control system according to the first feedback information of the first heartbeat monitoring;
the second monitoring module is used for carrying out second heartbeat monitoring on the process link of the terminal test equipment through the monitoring system;
And the second processing module is used for carrying out second alarm and/or restarting on the terminal test equipment through the MCU central control system according to the second feedback information of the second heartbeat monitoring.
11. An electronic device, comprising:
a memory for storing computer readable instructions; and
a processor for executing the computer readable instructions to cause the electronic device to implement the method according to any one of claims 1-9.
CN202111501226.6A 2021-12-09 2021-12-09 Monitoring method and device of terminal test equipment and electronic equipment Pending CN116260747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111501226.6A CN116260747A (en) 2021-12-09 2021-12-09 Monitoring method and device of terminal test equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111501226.6A CN116260747A (en) 2021-12-09 2021-12-09 Monitoring method and device of terminal test equipment and electronic equipment

Publications (1)

Publication Number Publication Date
CN116260747A true CN116260747A (en) 2023-06-13

Family

ID=86679767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111501226.6A Pending CN116260747A (en) 2021-12-09 2021-12-09 Monitoring method and device of terminal test equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN116260747A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116849724A (en) * 2023-06-19 2023-10-10 北京纳通医用机器人科技有限公司 Communication method, device, equipment and storage medium based on surgical robot

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116849724A (en) * 2023-06-19 2023-10-10 北京纳通医用机器人科技有限公司 Communication method, device, equipment and storage medium based on surgical robot
CN116849724B (en) * 2023-06-19 2024-05-14 北京纳通医用机器人科技有限公司 Communication method, device, equipment and storage medium based on surgical robot

Similar Documents

Publication Publication Date Title
CN111694674B (en) Message distribution processing method, device, equipment and storage medium
CN103201724B (en) Providing application high availability in highly-available virtual machine environments
CN109660426B (en) Monitoring method and system, computer readable medium and electronic device
CN108449239B (en) Heartbeat packet detection method, device, equipment and storage medium
EP3368997A1 (en) Network aware distributed business transaction anomaly detection
JP7234402B2 (en) Secondary link monitoring method for vehicle communication, vehicle communication terminal, electronic device and computer program
CN108430116A (en) Suspension reconnection method, medium, device and computing device
US20150067146A1 (en) Custom correlation of a distributed business transaction
CN105468513B (en) Test method, device and system based on mobile terminal
US20180324031A1 (en) Diagnostic traffic generation for automatic testing and troubleshooting
CN112333044B (en) Shunting equipment performance test method, device and system, electronic equipment and medium
US9935853B2 (en) Application centric network experience monitoring
CN112583898A (en) Business process arranging method and device and readable medium
JP7132297B2 (en) Method and apparatus for monitoring global failure of virtual gateway cluster
CN114625597A (en) Monitoring operation and maintenance system, method and device, electronic equipment and storage medium
WO2017074471A1 (en) Tracking contention in a distributed business transaction
CN115328741A (en) Exception handling method, device, equipment and storage medium
CN109788251B (en) Video processing method, device and storage medium
CN116260747A (en) Monitoring method and device of terminal test equipment and electronic equipment
CN112235300A (en) Cloud virtual network vulnerability detection method, system and device and electronic equipment
WO2017131777A1 (en) Application aware cluster monitoring
CN108289165B (en) Method and device for realizing camera control based on mobile phone and terminal equipment
CN114338477B (en) Communication link monitoring method, device, equipment and storage medium
CN110569238A (en) data management method, system, storage medium and server based on big data
CN110245120A (en) The daily record data processing method of streaming computing system and streaming computing system

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