CN113396394A - Operation device maintenance method and apparatus, storage medium, and program product - Google Patents

Operation device maintenance method and apparatus, storage medium, and program product Download PDF

Info

Publication number
CN113396394A
CN113396394A CN201880100613.9A CN201880100613A CN113396394A CN 113396394 A CN113396394 A CN 113396394A CN 201880100613 A CN201880100613 A CN 201880100613A CN 113396394 A CN113396394 A CN 113396394A
Authority
CN
China
Prior art keywords
abnormal
equipment
computing
data processing
computing power
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
CN201880100613.9A
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.)
Blockchain United Hong Kong Ltd
Original Assignee
Blockchain United Hong Kong 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 Blockchain United Hong Kong Ltd filed Critical Blockchain United Hong Kong Ltd
Publication of CN113396394A publication Critical patent/CN113396394A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Power Sources (AREA)

Abstract

A method and apparatus for maintaining an arithmetic device, a storage medium and a program product, specifically include: and (S102) searching the arithmetic device in the device searching range, detecting whether the searched arithmetic device is abnormally operated or not (S104), and controlling the abnormal arithmetic device to restart if the abnormal arithmetic device with abnormal operation is detected (S106). The technical scheme provided by the method can reduce the cost of human resources and improve the operation stability and safety of the operation equipment.

Description

Operation device maintenance method and apparatus, storage medium, and program product Technical Field
The present application relates to the field of data processing technologies, and for example, to a method and an apparatus for maintaining a computing device, a storage medium, and a program product.
Background
With the development of data technology and the advancement of society, data processing through a computing device to obtain a digital certificate is receiving more attention. Since the computing device operates at a high speed, how to improve the security of the computing device becomes an important research topic in the field.
Currently, exception maintenance for computing devices is typically handled manually by a user. This requires the user to actively pay attention to or discover the operating status of the computing device, and when it discovers that the operating device is abnormal, perform manual restart processing on the computing device, so as to implement maintenance of the computing device.
The existing method for maintaining the operation equipment is realized by depending on manual operation of a user, so that the cost of human resources is wasted, and the problem that the operation equipment is not found out timely due to abnormality exists, so that the operation stability and safety of the operation equipment are low.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for maintaining an operation device, a storage medium and a program product, so as to reduce the cost of human resources and improve the operation stability and the safety of the operation device.
In a first aspect, an embodiment of the present disclosure further provides a method for maintaining an operation device, including:
carrying out arithmetic device search in the device search range;
detecting whether the searched operation equipment is abnormal or not;
and if the abnormal operation equipment with abnormal operation is detected, controlling the abnormal operation equipment to restart.
In one possible design, the performing the computing device search within the device search range includes:
and searching the arithmetic equipment within the equipment searching range according to a preset period or interval.
In another possible design, the detecting whether the searched computing device operates abnormally includes:
acquiring running state information of the computing equipment;
and detecting whether the operation of the operation equipment is abnormal or not according to the operation state information.
In another possible design, the obtaining the operation state information of the computing device includes:
establishing remote access connection with the computing equipment according to the identification information of the computing equipment, wherein the identification information uniquely identifies one computing equipment;
and acquiring the running state information of the computing equipment through the remote access connection.
In another possible design, the identification information includes: an internet protocol, IP, address.
In another possible design, the operating state information includes: the current data processing computing power of the computing device.
In another possible design, the detecting whether the operation device operates abnormally according to the operation state information includes:
if the current data processing computing power is smaller than an abnormal computing power threshold value, determining that the operation of the computing equipment is abnormal; or,
and if the duration of the current data processing computing power smaller than the abnormal computing power threshold reaches a preset duration, determining that the operation of the computing equipment is abnormal.
In another possible design, the method further includes:
and acquiring the abnormal computing power threshold value.
In another possible design, the obtaining the abnormal computation threshold includes:
acquiring standard data processing computing power of the computing equipment;
and acquiring the product of the standard data processing computing power and a preset abnormal proportion to obtain the abnormal computing power threshold.
In another possible design, the standard data processing algorithm includes: factory data processing algorithm or initial data processing algorithm.
In another possible design, the controlling the abnormal operation device to restart includes:
and sending a restart instruction to the abnormal operation equipment so that the abnormal operation equipment is restarted according to the restart instruction.
In another possible design, the sending a restart instruction to the abnormal operation device includes:
establishing remote access connection with the abnormal operation equipment according to the identification information of the abnormal operation equipment;
and sending the restart instruction to the abnormal operation equipment through the remote access connection.
In another possible design, the controlling the abnormal operation device restarting includes:
controlling the abnormal operation equipment to be powered off and restarted; or,
and controlling the abnormal operation equipment to restart under the condition of not powering off.
In a second aspect, an embodiment of the present disclosure further provides an operation device maintenance apparatus, including:
the search module is configured to search the arithmetic device in the device search range;
the detection module is configured to detect whether the searched operation equipment runs abnormally;
and the control module is configured to control the abnormal operation equipment to be restarted if the abnormal operation equipment with abnormal operation is detected.
In one possible design, the search module is configured to:
and searching the arithmetic equipment within the equipment searching range according to a preset period or interval.
In another possible design, the detection module is configured to:
acquiring running state information of the computing equipment;
and detecting whether the operation of the operation equipment is abnormal or not according to the operation state information.
In another possible design, the detection module is specifically configured to:
establishing remote access connection with the computing equipment according to the identification information of the computing equipment, wherein the identification information uniquely identifies one computing equipment;
and acquiring the running state information of the computing equipment through the remote access connection.
In another possible design, the identification information includes: an internet protocol, IP, address.
In another possible design, the operating state information includes: the current data processing computing power of the computing device.
In another possible design, the detection module is specifically configured to:
if the current data processing computing power is smaller than an abnormal computing power threshold value, determining that the operation of the computing equipment is abnormal; or,
and if the duration of the current data processing computing power smaller than the abnormal computing power threshold reaches a preset duration, determining that the operation of the computing equipment is abnormal.
In another possible design, the detection module is further configured to:
and acquiring the abnormal computing power threshold value.
In another possible design, the detection module is specifically configured to:
acquiring standard data processing computing power of the computing equipment;
and acquiring the product of the standard data processing computing power and a preset abnormal proportion to obtain the abnormal computing power threshold.
In another possible design, the standard data processing algorithm includes: factory data processing algorithm or initial data processing algorithm.
In another possible design, the control module is specifically configured to:
and sending a restart instruction to the abnormal operation equipment so that the abnormal operation equipment is restarted according to the restart instruction.
In another possible design, the control module is specifically configured to:
establishing remote access connection with the abnormal operation equipment according to the identification information of the abnormal operation equipment;
and sending the restart instruction to the abnormal operation equipment through the remote access connection.
In another possible design, the control module is specifically configured to:
controlling the abnormal operation equipment to be powered off and restarted; or,
and controlling the abnormal operation equipment to restart under the condition of not powering off.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, including: the device comprises a memory, a transceiver and a processor, wherein the memory, the transceiver and the processor are connected through a bus;
the memory configured to store a computer program;
the transceiver configured to communicate with other devices;
the processor is configured to execute the computer program to implement the method according to any of the first aspect.
In particular, in one possible design, the processor may be configured to:
carrying out arithmetic device search in the device search range;
detecting whether the searched operation equipment is abnormal or not;
and if the abnormal operation equipment with abnormal operation is detected, controlling the abnormal operation equipment to restart.
In one possible design, the processor is specifically configured to:
and searching the arithmetic equipment within the equipment searching range according to a preset period or interval.
In another possible design, the processor is specifically configured to:
acquiring running state information of the computing equipment;
and detecting whether the operation of the operation equipment is abnormal or not according to the operation state information.
In another possible design, the processor is specifically configured to:
establishing remote access connection with the computing equipment according to the identification information of the computing equipment, wherein the identification information uniquely identifies one computing equipment;
and acquiring the running state information of the computing equipment through the remote access connection.
In another possible design, the identification information includes: an internet protocol, IP, address.
In another possible design, the operating state information includes: the current data processing computing power of the computing device.
In another possible design, the processor is specifically configured to:
if the current data processing computing power is smaller than an abnormal computing power threshold value, determining that the operation of the computing equipment is abnormal; or,
and if the duration of the current data processing computing power smaller than the abnormal computing power threshold reaches a preset duration, determining that the operation of the computing equipment is abnormal.
In another possible design, the processor is further configured to:
and acquiring the abnormal computing power threshold value.
In another possible design, the processor is specifically configured to:
acquiring standard data processing computing power of the computing equipment;
and acquiring the product of the standard data processing computing power and a preset abnormal proportion to obtain the abnormal computing power threshold.
In another possible design, the standard data processing algorithm includes: factory data processing algorithm or initial data processing algorithm.
In another possible design, the transceiver is specifically configured to:
and sending a restart instruction to the abnormal operation equipment so that the abnormal operation equipment is restarted according to the restart instruction.
In another possible design, the processor is further specifically configured to establish a remote access connection with the abnormal operation device according to the identification information of the abnormal operation device;
the transceiver is configured to send the restart instruction to the abnormal operation device through the remote access connection.
In another possible design, the processor is specifically configured to:
controlling the abnormal operation equipment to be powered off and restarted; or,
and controlling the abnormal operation equipment to restart under the condition of not powering off.
In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium storing computer-executable instructions configured to execute the foregoing operational device maintenance method.
In a fifth aspect, the disclosed embodiments also provide a computer program product, the computer program product comprising a computer program stored on a computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the above-mentioned computing device maintenance method.
In the technical scheme provided by the embodiment of the disclosure, the operation equipment is searched in the equipment searching range, so that the abnormal operation equipment is determined in the searched operation equipment, and the abnormal operation equipment is controlled to be restarted.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
fig. 1 is a schematic flowchart of a method for maintaining a computing device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another method for maintaining a computing device according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another method for maintaining a computing device according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another method for maintaining a computing device according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of another maintenance method for a computing device according to an embodiment of the present disclosure;
fig. 6 is a schematic flowchart of another method for maintaining a computing device according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of another method for maintaining a computing device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an arithmetic device maintenance apparatus according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The disclosed method for maintaining computing equipment, electronic equipment, computer-readable storage medium and computer program product aim to solve the problems of human resource waste and low equipment operation stability and safety existing in the existing method for maintaining computing equipment, and provide the following solution ideas: and searching in the device searching range, determining abnormal operation devices in the searched operation devices, and executing restart processing aiming at the abnormal operation devices.
The embodiment of the disclosure provides a maintenance method of an arithmetic device.
Fig. 1 shows a schematic flowchart of a method for maintaining a computing device according to an embodiment of the present disclosure, where the method includes the following steps:
and S102, performing arithmetic device search in the device search range.
And S104, detecting whether the searched arithmetic equipment runs abnormally.
And S106, if the abnormal operation equipment with abnormal operation is detected, controlling the abnormal operation equipment to restart.
The arithmetic device according to the embodiment of the present disclosure is a device having arithmetic processing capability. In a specific implementation scenario, the computing device according to the embodiment of the present disclosure may be specifically applied to an application scenario in which data processing is performed to obtain a digital certificate.
The execution device of the maintenance method for the computing device provided by the embodiment of the present disclosure may be a maintenance device corresponding to the computing device, or may be a processor or a processing module in the maintenance device. Among them, one maintenance device may correspond to one or more arithmetic devices, and therefore, the number of arithmetic devices is not particularly limited in the embodiments of the present disclosure.
Hereinafter, the embodiments of the present disclosure specifically describe specific implementations of the foregoing steps.
The device search range according to the embodiment of the present disclosure may specifically be an Internet Protocol (IP) address range of the computing device. In the application scenario of the foregoing data processing of the computing device to obtain the digital certificate, the device search range may be an IP range in which the computing device exists in the network. In the embodiment of the present disclosure, the device search range may be preset in the execution device of the information configuration method. When the computing device is required to be configured, the searching step and the sending step of the configuration information can be automatically executed. Based on this, the IP address of each computing device can be searched within the IP address range.
When the search operation described in S1022 is specifically performed, a continuous search mode may be adopted, that is, the arithmetic device search is continuously and uninterruptedly performed within the device search range. Or, the arithmetic device search can also be carried out in a discontinuous search mode.
In a possible implementation scenario, the step S1022 shown in fig. 2 may specifically be: and carrying out the searching of the arithmetic device within the device searching range according to a preset time interval.
The time interval can be set as required, and the setting mode can be set to be equal time interval, at this time, it is equivalent to realize the search in the mode of the preset period. For example, the search for the arithmetic device within the device search range (preset IP address range) may be executed cyclically at every 15 minutes.
Alternatively, the time intervals may be set to be not exactly equal.
At this time, in one implementation scenario, the time interval may be preset by way of a time duration set. Specifically, the time length set may include at least two values, each value represents a time length that can be used to indicate an intermittent search (in a possible implementation, each value may represent a time length for which a search is continued, and the meaning of the value is indicated as needed), and the same value may exist in the values, but at least two of the values are not equal. In addition, when the time interval is preset in a time length set manner, the search guidance manner of the time length set can be further indicated or set by default. For example, it may be indicated that one of the values in the time length set is sequentially selected from front to back according to the ranking order of the values in the time length set as the interval time length (or the search time length); or, the values in the time length set may be sorted, and one of the values is sequentially selected as the interval time length (or the search time length) according to the sorted order, where the values may be sorted from large to small or from small to large.
In another implementation scenario, the time interval may be preset by way of a time sequence. Specifically, the time sequence includes at least two times, wherein one time is used to indicate that the search is stopped at the time, and the other time is used to indicate that the search is started at the time, in any two adjacent times in the time sequence. The first time in the time sequence is used to indicate whether to stop the search or to start executing the search.
In another implementation scenario, the time interval may be preset by time series + default duration. For example, in a possible manner, each time in the time sequence is used to indicate a time at which the search is stopped, and at this time, a default break duration may be set, and the search is started until the next time in the time sequence is reached. In contrast, each time in the time sequence may be used to indicate the time at which the search is to begin, with a default duration indicating the duration of each search.
In addition, the time interval may also be preset in a manner of time series + time series, and at this time, the corresponding relationship between the time, the time and the meaning thereof needs to be preset. The implementation is the same as above, and is not described in detail.
The embodiment of the present disclosure further provides a search termination condition in step S1022. Specifically, the search termination condition may set, but is not limited to, at least one of the following conditions:
acquiring all operation devices in a device search range;
receiving a search termination instruction;
the total search duration is reached.
The implementation manner of acquiring all the operation devices in the device search range may be: and other computing devices cannot be searched for after the specified duration, wherein the specified duration can be set according to needs.
And according to the mode of the total search time, the execution can be determined according to the search mode. For example, if the continuous uninterrupted search mode is adopted, the time is counted at the time of starting to execute the search, and the search is stopped until the counted time length reaches the total search time length. Or, if the intermittent search mode is adopted, whether the intermittent search duration is counted in the intermittent search mode can be specifically set, and then the search is executed according to the mode.
It should be noted that, the setting manner of the preset termination condition in the embodiment of the present disclosure is not limited, and in the specific implementation, the preset termination condition may include but is not limited to the above several types, and the user-defined preset termination condition may also be set according to the self-requirement, so as to implement control over the search process, and the flexibility is higher.
Through the searching process, the computing equipment can be searched in the set equipment searching range, and further, whether the searched computing equipment operates abnormally needs to be determined.
At this time, referring to the flow shown in fig. 2, S104 may specifically include the following steps:
and S1042, acquiring the searched running state information of the computing equipment.
And S1044, detecting whether the operation equipment is abnormal or not according to the operation state information.
When the operation state information of the computing devices is obtained, considering that the execution device may need to monitor a plurality of computing devices, and data cannot be exchanged between the execution device and the computing devices through the interface (if the interface condition is met, S1042 may also be implemented by the method), the embodiment of the present disclosure provides a solution: and remotely accessing the operation equipment, and acquiring the running state information of the operation equipment through remote access. In this case, the remote access to the computing device, i.e. the remote access connection to the computing device, can be carried out via the identification information of the computing device.
Referring to fig. 3, the step S1042 may be embodied as the following steps:
s10422, establishing remote access connection with the computing device according to the identification information of the computing device, wherein the identification information uniquely identifies one computing device.
The identification information of the computing device related to the embodiment of the present disclosure may include, but is not limited to: an IP address.
And S10424, acquiring the running state information of the computing equipment through remote access connection.
The method reduces the influence of regions on the process of monitoring the operation equipment as much as possible, and has higher flexibility and expandable space.
The operation state information related to the embodiments of the present disclosure may include, but is not limited to: and the current data processing computing power of the computing equipment.
Therefore, after the current data processing computing power of the computing device is obtained, the detection step described in S1044 may be executed, and for this, the embodiment of the present disclosure provides two ways as shown in fig. 4 and fig. 5 to determine whether the computing device is abnormally operated.
Fig. 4 shows a manner for determining whether the operation of the computing device is abnormal, which specifically includes the following steps:
and S1042, acquiring the current data processing computing power of the computing equipment.
And S10442, judging whether the current data processing computing power is smaller than the abnormal computing power threshold value.
If yes, the operation of the computing equipment is determined to be abnormal, and at the moment, S104 is executed.
If not, determining that the operation of the computing device is normal, and executing S1042 at this time.
By the method, the current data processing computing power of the currently acquired computing equipment can be judged in real time, and the detection timeliness is high.
Fig. 5 shows another manner for determining whether the operation of the computing device is abnormal, which includes:
and S1042, acquiring the current data processing computing power of the computing equipment.
S10442, judging whether the current data processing computing power is smaller than the abnormal computing power threshold value; if yes, go to S10444; if not, go to S1042.
And S10444, acquiring the duration that the current data processing computing power is smaller than the abnormal computing power threshold.
In this step, the starting time of the timing may be a time when it is determined that the data processing computational power is smaller than the abnormal computational power threshold for the first time. When the step is executed, the steps S1042 and S10442 are continuously executed, so that, after the timing is started, if the current data processing computing power is greater than or equal to the abnormal computing power threshold, the time when the current data processing computing power is greater than or equal to the abnormal computing power threshold is taken as a timing end point to obtain the duration; on the contrary, if the current data processing computing power obtained in the previous steps is continuously smaller than the abnormal computing power threshold after the timing is started, the current time is taken as a timing end point to obtain the continuous duration.
S10446, judging whether the duration reaches a duration threshold; if yes, executing S104; if not, go to S1042.
The aforementioned time threshold may be preset as needed, for example, may be preset to 15 minutes.
In the implementation manner shown in fig. 5, the condition of abnormal monitoring results caused by abnormal data processing computing power can be avoided to some extent, and the monitoring accuracy can be improved to some extent.
In addition, as shown in fig. 4 and 5, before the step S10442 is performed, the method may include the steps of:
and S1041, acquiring an abnormal computing power threshold value.
It should be noted that, in the embodiment of the present disclosure, the execution order of S1041 and S1042 is not particularly limited, and the manner shown in fig. 4 or fig. 5 is only one possible implementation manner and is not intended to limit the embodiment of the present disclosure. For example, S1041 and S1042 may be executed simultaneously, or S1042 and then S1041 may be executed first.
And the step is realized according to the setting mode of the abnormal computing force threshold. The setting mode of the abnormal computation force threshold value can include but is not limited to: presetting a numerical value, or obtaining the numerical value through a preset algorithm.
If the abnormal computing power threshold is set in a preset mode, the abnormal computing power threshold can be obtained by directly reading preset data when the step is executed. Specifically, the abnormal computation force threshold may be preset to a fixed number when the abnormal computation force threshold is specifically preset.
If the abnormal computing power threshold is preset in an algorithm mode, the step is executed, and the preset algorithm is directly operated.
For convenience of understanding, a preferred implementation manner of S1041 is given in this embodiment of the disclosure, please refer to fig. 6, which specifically includes:
and S10412, acquiring standard data processing computing power of the computing equipment.
S10414, obtaining the product of the standard data processing computing power and the preset abnormal proportion, and obtaining the abnormal computing power threshold.
Wherein the standard data processing algorithm may include: factory data processing algorithm or initial data processing algorithm.
The factory data processing computing power may be a standard computing power value when the computing device is shipped, and at this time, when the computing device is specifically implemented, the factory data processing computing power recorded by the data processing chip of the computing device may be acquired to serve as the standard data processing computing power.
In addition, considering that the factory data processing computing power is a value written in the firmware after factory shipment, and therefore, there may be a certain error with the actual standard computing power of the data processing chip of the computing device, when the step S10412 is executed, chip state information (which may include, but is not limited to, a chip operating frequency, etc.) recorded by the data processing chip of the computing device may be further obtained, and then, a reference data processing computing power is obtained by using the chip state information, so that, if a difference between the factory data processing computing power and the reference data processing computing power is less than 5% (which may be 5% of the factory data processing computing power or 5% of the reference data processing computing power, which is not particularly limited), the factory data processing computing power is obtained as the standard data processing computing power thereof.
The initial data processing computing power is the data processing computing power when the computing device initially starts to run. The initial data processing algorithm may be recorded in the background of the computing device or on a data processing chip of the computing device.
Since the data are recorded in the background of the computing device or on the data processing chip of the computing device, the information can be obtained by establishing communication, where the communication may include but is not limited to: at least one of wired communication and wireless communication.
The abnormal proportion can be set according to needs, and the specific numerical value of the abnormal proportion is not limited in the embodiment of the disclosure. For example, it may be set to 80%. That is, when the current data processing computing power of the computing device is less than 80% of the standard data processing computing power, or the duration of which is less than 80% of the standard data processing computing power reaches the duration threshold, it may be determined that the computing device is operating abnormally.
Through the above process, the abnormal operation device can be determined from the searched operation devices.
Thus, when step S106 is executed on the basis of the determination of the abnormal operation device, the restart process may be executed only for the abnormal operation device, which can avoid the influence of the abnormal operation device restart on the operation device that operates normally. Or, all the monitored computing devices can be controlled to execute restarting, unified operation is adopted, and processing complexity is reduced.
Hereinafter, only the restart control of the abnormal operation device will be described.
The computing device generally has a self-restarting function or authority, and therefore, the method can be realized by sending an instruction to enable the abnormal computing device to perform self-restarting. In this case, the step S106 may specifically be: and sending a restart instruction to the abnormal operation equipment so that the abnormal operation equipment is restarted according to the restart instruction.
In one possible design, S106 may be implemented in the manner shown in fig. 7:
and S1062, establishing remote access connection with the abnormal operation equipment according to the identification information of the abnormal operation equipment.
And S1064, sending a restart instruction to the abnormal operation equipment according to the remote access connection.
The implementation manner shown in fig. 7 adopts a remote access connection manner, so that the influence of regions on the process of monitoring the computing device can be reduced as much as possible, and the method has higher flexibility and expandable space.
Specifically, the method for controlling the restart of the computing device in the embodiment of the present disclosure is not particularly limited, and may be implemented in a cold restart manner, that is, a manner of cutting off a power supply and restarting; alternatively, the method can be implemented in the hot restart mode, that is, the operation device is controlled to execute the restart operation in the background under the condition of no power failure.
In addition, in the embodiment of the present disclosure, after S106 is executed, a prompt signal may be output, so that a user may know the restart processing progress of the abnormal operation device according to the prompt signal. The cue signal related to the embodiments of the present disclosure may include, but is not limited to: at least one of a sound signal, a vibration signal, a flashing signal and a text prompt message. In addition, if the execution device is integrated in the maintenance device, the arbitrary at least one prompt signal may also be output, and if too many computing devices are monitored, the related information that may identify the computing device identity may also be further output, for example, the number of the computing device, the IP address, and the like.
Based on the foregoing method for maintaining computing equipment, an embodiment of the present disclosure further provides an electronic device.
Referring to fig. 8, the electronic device 800 includes: the memory 810, the transceiver 820 and the processor 830, the memory 810, the transceiver 820 and the processor 830 being connected by a bus;
a memory 810 configured to store a computer program;
a transceiver 820 configured to communicate with other devices;
a processor 830 configured to execute the computer program to implement the computing device maintenance method of any of the implementations described above.
In one possible design, processor 830 may be configured to:
carrying out arithmetic device search in the device search range;
detecting whether the searched operation equipment is abnormal or not;
and if the abnormal operation equipment with abnormal operation is detected, controlling the abnormal operation equipment to restart.
In one possible design, processor 830 is specifically configured to:
and searching the arithmetic equipment within the equipment searching range according to a preset period or interval.
In another possible design, the processor 830 is specifically configured to:
acquiring running state information of the computing equipment;
and detecting whether the operation of the operation equipment is abnormal or not according to the operation state information.
In another possible design, the processor 830 is specifically configured to:
establishing remote access connection with the computing equipment according to the identification information of the computing equipment, wherein the identification information uniquely identifies one computing equipment;
and acquiring the running state information of the computing equipment through remote access connection.
Wherein the identification information includes: an internet protocol, IP, address.
The operation state information related to the embodiments of the present disclosure may include, but is not limited to: and the current data processing computing power of the computing equipment.
In another possible design, the processor 830 is specifically configured to:
if the current data processing computing power is smaller than the abnormal computing power threshold value, determining that the operation of the computing equipment is abnormal; or,
and if the duration of the current data processing computing power which is less than the abnormal computing power threshold value reaches the preset duration, determining that the operation of the computing equipment is abnormal.
In another possible design, processor 830 is further configured to:
and acquiring an abnormal computing power threshold value.
In another possible design, the processor 830 is specifically configured to:
acquiring standard data processing computing power of computing equipment;
and acquiring the product of the standard data processing computing power and a preset abnormal proportion to obtain an abnormal computing power threshold value.
Wherein the standard data processing algorithm comprises: factory data processing algorithm or initial data processing algorithm.
In one possible design, transceiver 820 is specifically configured to:
and sending a restart instruction to the abnormal operation equipment so that the abnormal operation equipment is restarted according to the restart instruction.
In a specific implementation scenario, the processor 830 is further specifically configured to establish a remote access connection with the abnormal operation device according to the identification information of the abnormal operation device;
a transceiver 820 configured to send a restart instruction to the abnormal operation device through the remote access connection.
In the embodiment of the present disclosure, the processor 830 is specifically configured to:
controlling the abnormal operation equipment to be powered off and restarted; or,
and controlling the abnormal operation equipment to restart under the condition of not powering off.
In the embodiment of the present disclosure, the logic instructions in the memory 810 may be implemented in the form of software functional units and may be stored in a computer readable storage medium when the logic instructions are sold or used as a stand-alone product.
The memory 810, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 830 executes the functional application and data processing by executing the software program, instructions and modules stored in the memory 810, so as to implement the operation device maintenance method in the above method embodiment.
The memory 810 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, memory 810 may include high speed random access memory, and may also include non-volatile memory.
In the embodiment of the present disclosure, the number of the processors 830 may be one or more, and the processors 830 may also be referred to as processing units, which may implement a certain control function. The processor 830 may be a general-purpose processor, a special-purpose processor, or the like.
In one design, the processor 830 may also store instructions that can be executed by the processor, so that the electronic device 800 performs the operation device maintenance method described in the above method embodiment.
In yet another possible design, electronic device 800 may include circuitry that may perform the functions of transmitting or receiving or communicating in the foregoing method embodiments.
In the embodiment of the present disclosure, the number of the transceivers 820 may be one or more, and the transceivers 820 may be referred to as a transceiver unit, a transceiver circuit, a transceiver, or the like, and are configured to implement the transceiving function of the electronic device 800.
The specific processing manner of each component can be referred to the related description of the previous embodiment.
The processor 930 and the transceiver 920 described in the embodiments of the present disclosure may be implemented on an Integrated Circuit (IC), an analog IC, a Radio Frequency Integrated Circuit (RFIC), a mixed signal IC, an Application Specific Integrated Circuit (ASIC), a Printed Circuit Board (PCB), an electronic device, or the like. The processor and transceiver may also be fabricated using various 1C process technologies, such as Complementary Metal Oxide Semiconductor (CMOS), N-type metal oxide semiconductor (NMOS), P-type metal oxide semiconductor (PMOS), Bipolar Junction Transistor (BJT), Bipolar CMOS (bicmos), silicon germanium (SiGe), gallium arsenide (GaAs), and the like.
Alternatively, electronic device 900 may be a stand-alone device or may be a part of a larger device. For example, the electronic device 900 may be integrated into a computing device.
In addition, the embodiment of the disclosure also provides a maintenance device for the computing equipment. Referring to fig. 9, the computing device maintenance apparatus 900 includes:
a search module 910 configured to perform a computing device search within a device search range;
a detecting module 920 configured to detect whether the searched computing device operates abnormally;
the control module 930 is configured to control the abnormal operation device to restart if the abnormal operation device with abnormal operation is detected.
In one possible design, the search module 910 is configured to:
and searching the arithmetic equipment within the equipment searching range according to a preset period or interval.
In another possible design, the detection module 920 is configured to:
acquiring running state information of the computing equipment;
and detecting whether the operation of the operation equipment is abnormal or not according to the operation state information.
In another possible design, the detection module 920 is specifically configured to:
establishing remote access connection with the computing equipment according to the identification information of the computing equipment, wherein the identification information uniquely identifies one computing equipment;
and acquiring the running state information of the computing equipment through remote access connection.
In another possible design, the identification information includes: an internet protocol, IP, address.
In another possible design, the operating state information includes: and the current data processing computing power of the computing equipment.
In another possible design, the detection module 920 is specifically configured to:
if the current data processing computing power is smaller than the abnormal computing power threshold value, determining that the operation of the computing equipment is abnormal; or,
and if the duration of the current data processing computing power which is less than the abnormal computing power threshold value reaches the preset duration, determining that the operation of the computing equipment is abnormal.
In another possible design, the detection module 920 is further configured to:
and acquiring an abnormal computing power threshold value.
In another possible design, the detection module 920 is specifically configured to:
acquiring standard data processing computing power of computing equipment;
and acquiring the product of the standard data processing computing power and a preset abnormal proportion to obtain an abnormal computing power threshold value.
In another possible design, the standard data processing algorithm includes: factory data processing algorithm or initial data processing algorithm.
In another possible design, the control module 930 is specifically configured to:
and sending a restart instruction to the abnormal operation equipment so that the abnormal operation equipment is restarted according to the restart instruction.
In another possible design, the control module 930 is specifically configured to:
establishing remote access connection with the abnormal operation equipment according to the identification information of the abnormal operation equipment;
and sending a restart instruction to the abnormal operation equipment through the remote access connection.
In another possible design, the control module 930 is specifically configured to:
controlling the abnormal operation equipment to be powered off and restarted; or,
and controlling the abnormal operation equipment to restart under the condition of not powering off.
It should be noted that in the embodiments of the present disclosure, regardless of any aspect, such as a method aspect, an apparatus aspect, and the like, the data processing described in the embodiments of the present disclosure may include at least one of setting, calculating, determining, transmitting, storing, managing, and the like based on or on data.
As an embodiment, the data processing may be data processing relating to a digital voucher by a data processing apparatus, the digital voucher being obtainable by the data processing, and the data processing apparatus may be a digital voucher processing apparatus.
When the digital voucher is associated with or embodied in digital currency, the digital voucher processing means may be a digital currency data processing machine and the digital currency may be cryptocurrency, such as bitcoin.
In addition, the embodiment of the disclosure also provides a computer-readable storage medium, which stores computer-executable instructions configured to execute the above-mentioned operation device maintenance method.
The disclosed embodiments also provide a computer program product comprising a computer program stored on a computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the above-mentioned operation device maintenance method.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
When used in the embodiments of the present disclosure, although the terms "first", "second", etc. may be used in the embodiments of the present disclosure to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, unless the meaning of the description changes, so long as all occurrences of the "first element" are renamed consistently and all occurrences of the "second element" are renamed consistently. The first and second elements are both elements, but may not be the same element.
The words used in the embodiments of the present disclosure are used only for the purpose of describing the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in embodiments of the present disclosure is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this disclosure in embodiments of the present disclosure, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The various aspects, implementations, or features of the described embodiments can be used alone or in any combination. Aspects of the described embodiments may be implemented by software, hardware, or a combination of software and hardware. The described embodiments may also be embodied by a computer-readable medium having computer-readable code stored thereon, the computer-readable code comprising instructions executable by at least one computing device. The computer readable medium can be associated with any data storage device that can store data which can be read by a computer system. Exemplary computer readable media can include read-only memory, random-access memory, CD-ROMs, HDDs, DVDs, magnetic tape, and optical data storage devices, among others. The computer readable medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.
The above description of the technology may refer to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration embodiments in which the described embodiments may be practiced. These embodiments, while described in sufficient detail to enable those skilled in the art to practice them, are non-limiting; other embodiments may be utilized and changes may be made without departing from the scope of the described embodiments. For example, the order of operations described in a flowchart is non-limiting, and thus the order of two or more operations illustrated in and described in accordance with the flowchart may be altered in accordance with several embodiments. As another example, in several embodiments, one or more operations illustrated in and described with respect to the flowcharts may be optional or may be eliminated. Additionally, certain steps or functions may be added to the disclosed embodiments, or two or more steps may be permuted in order. All such variations are considered to be encompassed by the disclosed embodiments and the claims.
Additionally, terminology is used in the foregoing description of the technology to provide a thorough understanding of the described embodiments. However, no unnecessary detail is required to implement the described embodiments. Accordingly, the foregoing description of the embodiments has been presented for purposes of illustration and description. The embodiments presented in the foregoing description and the examples disclosed in accordance with these embodiments are provided solely to add context and aid in the understanding of the described embodiments. The above description is not intended to be exhaustive or to limit the described embodiments to the precise form disclosed. Many modifications, alternative uses, and variations are possible in light of the above teaching. In some instances, well known process steps have not been described in detail in order to avoid unnecessarily obscuring the described embodiments.

Claims (29)

  1. A method for maintaining a computing device, comprising:
    carrying out arithmetic device search in the device search range;
    detecting whether the searched operation equipment is abnormal or not;
    and if the abnormal operation equipment with abnormal operation is detected, controlling the abnormal operation equipment to restart.
  2. The method of claim 1, wherein performing an arithmetic device search within a device search range comprises:
    and searching the arithmetic equipment within the equipment searching range according to a preset period or interval.
  3. The method of claim 1, wherein the detecting whether the searched computing device is abnormally operated comprises:
    acquiring running state information of the computing equipment;
    and detecting whether the operation of the operation equipment is abnormal or not according to the operation state information.
  4. The method of claim 3, wherein the obtaining the operating state information of the computing device comprises:
    establishing remote access connection with the computing equipment according to the identification information of the computing equipment, wherein the identification information uniquely identifies one computing equipment;
    and acquiring the running state information of the computing equipment through the remote access connection.
  5. The method of claim 4, wherein the identification information comprises: an internet protocol, IP, address.
  6. The method of claim 3 or 4, wherein the operational state information comprises: the current data processing computing power of the computing device.
  7. The method according to claim 6, wherein the detecting whether the computing device operates abnormally according to the operating state information includes:
    if the current data processing computing power is smaller than an abnormal computing power threshold value, determining that the operation of the computing equipment is abnormal; or,
    and if the duration of the current data processing computing power smaller than the abnormal computing power threshold reaches a preset duration, determining that the operation of the computing equipment is abnormal.
  8. The method of claim 7, further comprising:
    and acquiring the abnormal computing power threshold value.
  9. The method of claim 8, wherein said obtaining the anomalous force threshold comprises:
    acquiring standard data processing computing power of the computing equipment;
    and acquiring the product of the standard data processing computing power and a preset abnormal proportion to obtain the abnormal computing power threshold.
  10. The method of claim 9, wherein the standard data processing algorithm comprises: factory data processing algorithm or initial data processing algorithm.
  11. The method of claim 1, wherein said controlling said abnormal computing device to restart comprises:
    and sending a restart instruction to the abnormal operation equipment so that the abnormal operation equipment is restarted according to the restart instruction.
  12. The method of claim 11, wherein sending a restart instruction to the abnormal operation device comprises:
    establishing remote access connection with the abnormal operation equipment according to the identification information of the abnormal operation equipment;
    and sending the restart instruction to the abnormal operation equipment through the remote access connection.
  13. The method according to claim 1 or 11, wherein the controlling an abnormal operation device to restart comprises:
    controlling the abnormal operation equipment to be powered off and restarted; or,
    and controlling the abnormal operation equipment to restart under the condition of not powering off.
  14. An arithmetic device maintenance apparatus, comprising:
    the search module is configured to search the arithmetic device in the device search range;
    the detection module is configured to detect whether the searched operation equipment runs abnormally;
    and the control module is configured to control the abnormal operation equipment to be restarted if the abnormal operation equipment with abnormal operation is detected.
  15. The apparatus of claim 14, wherein the search module is configured to:
    and searching the arithmetic equipment within the equipment searching range according to a preset period or interval.
  16. The apparatus of claim 14, wherein the detection module is configured to:
    acquiring running state information of the computing equipment;
    and detecting whether the operation of the operation equipment is abnormal or not according to the operation state information.
  17. The apparatus according to claim 16, wherein the detection module is specifically configured to:
    establishing remote access connection with the computing equipment according to the identification information of the computing equipment, wherein the identification information uniquely identifies one computing equipment;
    and acquiring the running state information of the computing equipment through the remote access connection.
  18. The apparatus of claim 17, wherein the identification information comprises: an internet protocol, IP, address.
  19. The apparatus of claim 17 or 18, wherein the operating state information comprises: the current data processing computing power of the computing device.
  20. The apparatus of claim 19, wherein the detection module is specifically configured to:
    if the current data processing computing power is smaller than an abnormal computing power threshold value, determining that the operation of the computing equipment is abnormal; or,
    and if the duration of the current data processing computing power smaller than the abnormal computing power threshold reaches a preset duration, determining that the operation of the computing equipment is abnormal.
  21. The apparatus of claim 20, wherein the detection module is further configured to:
    and acquiring the abnormal computing power threshold value.
  22. The apparatus of claim 21, wherein the detection module is specifically configured to:
    acquiring standard data processing computing power of the computing equipment;
    and acquiring the product of the standard data processing computing power and a preset abnormal proportion to obtain the abnormal computing power threshold.
  23. The apparatus of claim 22, wherein the standard data processing algorithm comprises: factory data processing algorithm or initial data processing algorithm.
  24. The apparatus of claim 14, wherein the control module is specifically configured to:
    and sending a restart instruction to the abnormal operation equipment so that the abnormal operation equipment is restarted according to the restart instruction.
  25. The apparatus of claim 24, wherein the control module is specifically configured to:
    establishing remote access connection with the abnormal operation equipment according to the identification information of the abnormal operation equipment;
    and sending the restart instruction to the abnormal operation equipment through the remote access connection.
  26. The apparatus according to claim 14 or 25, wherein the control module is specifically configured to:
    controlling the abnormal operation equipment to be powered off and restarted; or,
    and controlling the abnormal operation equipment to restart under the condition of not powering off.
  27. An electronic device, comprising: the device comprises a memory, a transceiver and a processor, wherein the memory, the transceiver and the processor are connected through a bus;
    the memory configured to store a computer program;
    the transceiver configured to communicate with other devices;
    the processor configured to execute the computer program to implement the method of any one of claims 1-13.
  28. A computer-readable storage medium having stored thereon computer-executable instructions configured to perform the method of any one of claims 1-13.
  29. A computer program product, characterized in that the computer program product comprises a computer program stored on a computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to carry out the method of any one of claims 1-13.
CN201880100613.9A 2018-11-27 2018-11-27 Operation device maintenance method and apparatus, storage medium, and program product Pending CN113396394A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/117661 WO2020107211A1 (en) 2018-11-27 2018-11-27 Computing device maintenance method and apparatus, and storage medium and program product

Publications (1)

Publication Number Publication Date
CN113396394A true CN113396394A (en) 2021-09-14

Family

ID=70852215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880100613.9A Pending CN113396394A (en) 2018-11-27 2018-11-27 Operation device maintenance method and apparatus, storage medium, and program product

Country Status (2)

Country Link
CN (1) CN113396394A (en)
WO (1) WO2020107211A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020107666A1 (en) * 2001-02-06 2002-08-08 Shimadzu Corporation Maintenance system for analyzing instrument
CN105071969A (en) * 2015-08-19 2015-11-18 焦点科技股份有限公司 JMX (Java Management Extensions)-based customization real-time monitoring and automatic exception handling system and method
CN105302768A (en) * 2015-10-16 2016-02-03 浙江宇视科技有限公司 Slave CPU exception processing method and apparatus
CN107329773A (en) * 2017-05-22 2017-11-07 捷开通讯(深圳)有限公司 A kind of electronic equipment restart after processing method, electronic equipment and storage device
CN108052412A (en) * 2017-12-28 2018-05-18 努比亚技术有限公司 Restart Fault Locating Method, mobile terminal and computer readable storage medium
CN108282697A (en) * 2018-02-06 2018-07-13 深圳创维-Rgb电子有限公司 A kind of smart television starts method, apparatus, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853196A (en) * 2010-04-21 2010-10-06 中兴通讯股份有限公司 Method and device recording exceptional data
CN102346214A (en) * 2011-08-18 2012-02-08 华为终端有限公司 Method and device for monitoring abnormal power consumption of terminal equipment
CN107943603B (en) * 2016-10-13 2022-07-15 迈普通信技术股份有限公司 Running state detection method, detection circuit and electronic equipment
CN107148042A (en) * 2017-06-22 2017-09-08 上海斐讯数据通信技术有限公司 The method for detecting abnormality and system of a kind of AP equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020107666A1 (en) * 2001-02-06 2002-08-08 Shimadzu Corporation Maintenance system for analyzing instrument
CN105071969A (en) * 2015-08-19 2015-11-18 焦点科技股份有限公司 JMX (Java Management Extensions)-based customization real-time monitoring and automatic exception handling system and method
CN105302768A (en) * 2015-10-16 2016-02-03 浙江宇视科技有限公司 Slave CPU exception processing method and apparatus
CN107329773A (en) * 2017-05-22 2017-11-07 捷开通讯(深圳)有限公司 A kind of electronic equipment restart after processing method, electronic equipment and storage device
CN108052412A (en) * 2017-12-28 2018-05-18 努比亚技术有限公司 Restart Fault Locating Method, mobile terminal and computer readable storage medium
CN108282697A (en) * 2018-02-06 2018-07-13 深圳创维-Rgb电子有限公司 A kind of smart television starts method, apparatus, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2020107211A1 (en) 2020-06-04

Similar Documents

Publication Publication Date Title
CA3076589C (en) Contraband detection through smart power components
US11501649B2 (en) Drone control method and device and drone
US10554522B2 (en) Master device, slave device, error monitoring system, and control method and control program of master device
CN113396561A (en) Operation device maintenance method and apparatus, storage medium, and program product
CN113454605A (en) Operation device maintenance method and apparatus, storage medium, and program product
CN107483262A (en) Fault handling method and equipment
EP3046349B1 (en) Method and device for sending a message
US11983539B2 (en) Method for computing device maintenance, apparatus, storage medium and program product
US11079817B2 (en) Electronic device and method of starting the same
CN113396394A (en) Operation device maintenance method and apparatus, storage medium, and program product
CN107920348B (en) Device network state information
WO2015021827A1 (en) Method,device and system for offline reconnection of a web application
CN113396397A (en) Operation device maintenance method and apparatus, storage medium, and program product
CN107179911B (en) Method and equipment for restarting management engine
CN110797841A (en) Power supply management device, electronic apparatus, and management device control method
US11533228B2 (en) Method for information configuration, apparatus, electronic device, storage medium and program product
CN107943259B (en) Power failure reset method and device based on VxWorks system
CN112363966B (en) Serial port conversion circuit, base station, circuit conversion method, and computer storage medium
CN109391544B (en) Automatic restarting method and circuit for dead halt of 2G/3G/4G router
CN116232617A (en) Network anomaly monitoring method, device, equipment and storage medium
JP2015199380A (en) Communication system, electronic control device
EP3477469A1 (en) Method and apparatus for application to receive information
CN113824752B (en) Parameter processing method, electrical equipment and server
CN107484150B (en) EV-DO network connection method, device and terminal
US20160065502A1 (en) Network device, communication method, and recording medium

Legal Events

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