CN114356391A - Intelligent system maintenance method and device and computer readable storage medium - Google Patents

Intelligent system maintenance method and device and computer readable storage medium Download PDF

Info

Publication number
CN114356391A
CN114356391A CN202111548047.8A CN202111548047A CN114356391A CN 114356391 A CN114356391 A CN 114356391A CN 202111548047 A CN202111548047 A CN 202111548047A CN 114356391 A CN114356391 A CN 114356391A
Authority
CN
China
Prior art keywords
server
module
version number
intelligent system
service module
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
CN202111548047.8A
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.)
Shenzhen ZNV Technology Co Ltd
Nanjing ZNV Software Co Ltd
Original Assignee
Shenzhen ZNV Technology Co Ltd
Nanjing ZNV Software 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 Shenzhen ZNV Technology Co Ltd, Nanjing ZNV Software Co Ltd filed Critical Shenzhen ZNV Technology Co Ltd
Priority to CN202111548047.8A priority Critical patent/CN114356391A/en
Publication of CN114356391A publication Critical patent/CN114356391A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for maintaining an intelligent system and a computer readable storage medium, wherein the method comprises the following steps: acquiring operation parameters of a service module; determining the module state of the service module according to the operation parameters, generating a detection report according to the module state and sending the detection report to the server; scanning the service module according to the operation parameters to obtain a safety scanning result according to the service condition of the internal port, the service condition of the external port and the system loophole, and performing local maintenance according to the safety scanning result; determining a local version number corresponding to the service module according to the operation parameters, and acquiring a server version number corresponding to the service module, wherein the server version number is stored in the server; and when the version number of the server side is inconsistent with the local version number, sending an upgrading request to the server side. The invention can improve the maintenance efficiency of the intelligent system.

Description

Intelligent system maintenance method and device and computer readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for maintaining an intelligent system, and a computer-readable storage medium.
Background
With the change of hardware technology, for an intelligent system, except for first field installation and deployment, the intelligent system is always in an unattended state in the later period; at present, most maintenance work of an intelligent system is a passive maintenance mode, namely, the maintenance work is initiated actively by the outside, the most common mode in the industry is manual local operation and maintenance, and configuration operation is carried out through various tools on a small program, an APP and a PC.
Disclosure of Invention
The embodiment of the invention provides a method and a device for maintaining an intelligent system and a computer readable storage medium, and aims to solve the technical problem that time and labor are wasted in maintaining the intelligent system.
The embodiment of the invention provides a maintenance method of an intelligent system, which is applied to the intelligent system, the intelligent system is in communication connection with a server, the intelligent system comprises a semantic module, a scheduling module, a daemon module, a command module and a service module, and the maintenance method of the intelligent system comprises the following steps:
acquiring operation parameters of a service module;
determining the module state of the service module according to the operation parameters, generating a detection report according to the module state, and sending the detection report to a server;
scanning the service module according to the operation parameters to obtain a safety scanning result, and performing local maintenance according to the safety scanning result;
determining a local version number corresponding to the service module according to the operation parameters, and acquiring a server version number corresponding to the service module, wherein the server version number is stored in the server;
and when the version number of the server side is inconsistent with the local version number, sending an upgrading request to the server side.
In an embodiment, the step of determining the local version number corresponding to the service module according to the operating parameter and acquiring the server version number corresponding to the service module includes:
determining the local version number according to the operation parameters;
and when the local version number is determined, sending a version number acquisition request to the server, so that the server responds to the version number acquisition request and sends the version number of the server.
In an embodiment, the step of determining the local version number according to the operating parameter includes:
performing text recognition on the operation parameters to obtain a text recognition result;
and determining the local version number in the text recognition result.
In an embodiment, after the step of sending the upgrade request to the server, the method further includes:
and not receiving a response instruction which is sent by the server and allows upgrading within a preset time, and recording.
In an embodiment, after the step of sending an upgrade request to the server when the server version number is inconsistent with the local version number, the method further includes:
and when a response instruction which is sent by the server and allows upgrading is received, downloading a service module upgrading package according to the uniform resource locator carried by the response instruction.
In an embodiment, after the step of determining the module state of the service module according to the operation parameter, and generating a detection report according to the module state and sending the detection report to the server, the method further includes:
and if the detection report is sent to the server side and fails, recording.
In an embodiment, the step of performing local maintenance according to the security scan result includes:
and controlling the opening and closing of the service module according to the security scanning result.
In an embodiment, the step of controlling the service module to be turned on and off according to the security scanning result includes:
determining an abnormal service unit and a normal service unit in the service module according to the security scanning result, wherein the security scanning result corresponding to the abnormal service unit has an abnormal condition, and the abnormal condition comprises that an internal port is abnormal in use and/or an external port is abnormal in use and/or a system bug exists;
and the scheduling module controls or keeps the normal service unit in an open state and closes the abnormal service unit.
An embodiment of the present invention further provides a maintenance device for an intelligent system, where the maintenance device for an intelligent system includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the maintenance method of an intelligent system as described above when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the maintenance method for an intelligent system as described above.
In the technical scheme of the embodiment, the intelligent system acquires the operation parameters of the service module; determining the module state of the service module according to the operation parameters, generating a detection report according to the module state, and sending the detection report to a server; scanning the service module according to the operation parameters to obtain a safety scanning result, and performing local maintenance according to the safety scanning result; determining a local version number corresponding to the service module according to the operation parameters, and acquiring a server version number corresponding to the service module, wherein the server version number is stored in the server; and when the version number of the server side is inconsistent with the local version number, sending an upgrading request to the server side. Because the semantic module, the scheduling module, the daemon module and the command module in the maintenance device of the intelligent system can periodically perform self-checking, version upgrading self-checking and safety scanning on the service module, and have the function of actively reporting to the server, the state of the intelligent system, whether upgrading is needed or not and whether safety problems exist or not do not need to be actively detected by the server, compared with the maintenance mode in the prior art, when the number of the intelligent system is huge, the single-point maintenance is not needed by the server, and the maintenance efficiency of the intelligent system can be greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a hardware architecture diagram of a maintenance apparatus of an intelligent system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram illustrating a first embodiment of a maintenance method for an intelligent system according to the present invention;
FIG. 2A is a reference diagram of a first embodiment of a maintenance method of an intelligent system according to the present invention;
FIG. 2B is a diagram showing a first embodiment of a maintenance method of an intelligent system according to the present invention;
FIG. 2C is a diagram showing a first embodiment of a maintenance method of the intelligent system according to the present invention;
FIG. 2D is a diagram illustrating a first embodiment of a method for maintaining an intelligent system according to the present invention;
FIG. 2E is a diagram illustrating a first embodiment of a method for maintaining an intelligent system according to the present invention;
FIG. 2F is a diagram illustrating a first embodiment of a method for maintaining an intelligent system according to the present invention;
FIG. 3 is a detailed flowchart of step S400 of a second embodiment of a maintenance method for an intelligent system according to the present invention;
FIG. 4 is a schematic flow chart illustrating a maintenance method of an intelligent system according to a third embodiment of the present invention;
fig. 5 is a schematic flow chart of a maintenance method of an intelligent system according to a fourth embodiment of the present invention.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The main solution of the invention is: the intelligent system acquires the operation parameters of the service module; determining the module state of the service module according to the operation parameters, generating a detection report according to the module state, and sending the detection report to a server; scanning the service module according to the operation parameters to obtain a safety scanning result, and performing local maintenance according to the safety scanning result; determining a local version number corresponding to the service module according to the operation parameters, and acquiring a server version number corresponding to the service module, wherein the server version number is stored in the server; and when the version number of the server side is inconsistent with the local version number, sending an upgrading request to the server side.
Because the semantic module, the scheduling module, the daemon module and the command module in the maintenance device of the intelligent system can periodically perform self-checking, version upgrading self-checking and safety scanning on the service module, and have the function of actively reporting to the server, the state of the intelligent system, whether upgrading is needed or not and whether safety problems exist or not do not need to be actively detected by the server, compared with the maintenance mode in the prior art, when the number of the intelligent system is huge, the single-point maintenance is not needed by the server, and the maintenance efficiency of the intelligent system can be greatly improved.
As an implementation, the maintenance device of the intelligent system may be as in fig. 1.
The embodiment scheme of the invention relates to a maintenance device of an intelligent system, which comprises: a processor 101, e.g. a CPU, a memory 102, a communication bus 103. Wherein a communication bus 103 is used for enabling the connection communication between these components.
The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As in fig. 1, a detection program may be included in the memory 103 as a computer-readable storage medium; and the processor 101 may be configured to call the detection program stored in the memory 102 and perform the following operations:
acquiring operation parameters of a service module;
determining the module state of the service module according to the operation parameters, generating a detection report according to the module state, and sending the detection report to a server;
scanning the service module according to the operation parameters to obtain a safety scanning result, and performing local maintenance according to the safety scanning result;
determining a local version number corresponding to the service module according to the operation parameters, and acquiring a server version number corresponding to the service module, wherein the server version number is stored in the server;
and when the version number of the server side is inconsistent with the local version number, sending an upgrading request to the server side.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
determining the local version number according to the operation parameters;
and when the local version number is determined, sending a version number acquisition request to the server, so that the server responds to the version number acquisition request and sends the version number of the server.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
performing text recognition on the operation parameters to obtain a text recognition result;
and determining the local version number in the text recognition result.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
and not receiving a response instruction which is sent by the server and allows upgrading within a preset time, and recording.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
and when a response instruction which is sent by the server and allows upgrading is received, downloading a service module upgrading package according to the uniform resource locator carried by the response instruction.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
and if the detection report is sent to the server side and fails, recording.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
and controlling the opening and closing of the service module according to the security scanning result.
In one embodiment, the processor 101 may be configured to call a detection program stored in the memory 102 and perform the following operations:
determining an abnormal service unit and a normal service unit in the service module according to the security scanning result, wherein the security scanning result corresponding to the abnormal service unit has an abnormal condition, and the abnormal condition comprises that an internal port is abnormal in use and/or an external port is abnormal in use and/or a system bug exists;
and the scheduling module controls or keeps the normal service unit in an open state and closes the abnormal service unit.
In the technical scheme of the embodiment, the intelligent system acquires the operation parameters of the service module; determining the module state of the service module according to the operation parameters, generating a detection report according to the module state, and sending the detection report to a server; scanning the service module according to the operation parameters to obtain a safety scanning result, and performing local maintenance according to the safety scanning result; determining a local version number corresponding to the service module according to the operation parameters, and acquiring a server version number corresponding to the service module, wherein the server version number is stored in the server; and when the version number of the server side is inconsistent with the local version number, sending an upgrading request to the server side. Because the semantic module, the scheduling module, the daemon module and the command module in the maintenance device of the intelligent system can periodically perform self-checking, version upgrading self-checking and safety scanning on the service module, and have the function of actively reporting to the server, the state of the intelligent system, whether upgrading is needed or not and whether safety problems exist or not do not need to be actively detected by the server, compared with the maintenance mode in the prior art, when the number of the intelligent system is huge, the single-point maintenance is not needed by the server, and the maintenance efficiency of the intelligent system can be greatly improved.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 2, fig. 2 is a first embodiment of a maintenance method of an intelligent system of the present invention, the method comprising the steps of:
and step S100, acquiring the operation parameters of the service module.
The method is applied to an intelligent system, the intelligent system is in communication connection with a server, the intelligent system comprises a semantic module, a scheduling module, a daemon module and a command module, and the semantic module periodically acquires the operation parameters of a service module and informs the scheduling module.
And step S200, determining the module state of the service module according to the operation parameters, generating a detection report according to the module state, and sending the detection report to a server.
In this embodiment, the scheduling module starts a daemon module, and the daemon module determines a module state of the service module according to the operation parameter, and generates a detection report according to the module state, and sends the detection report to the server, where the module state includes a processor state, a memory state, a hard disk state, and a network state of the service module. The intelligent system mainly comprises a semantic module, a scheduling module, a guarding module and a command module, wherein the semantic module is mainly responsible for recognizing semantic input and service module instantiation of the system, the scheduling module is mainly responsible for scheduling all modules, the guarding module is mainly responsible for access authentication and health degree check of the system, and the command module is responsible for executing some actions output by the guarding module, including upgrading, restarting and controlling operations of third-party equipment and the like.
Step S300, scanning the service module internal port service condition, external port service condition and system loophole according to the operation parameters to obtain a safety scanning result, and performing local maintenance according to the safety scanning result.
In this embodiment, the daemon module determines the module state of the service module according to the operation parameter, the daemon module sends a command for generating a detection report to the command module, and the command module notifies the scheduling module to generate the detection report corresponding to the module state of the service module and sends the detection report to the server. Specifically, when the current time point reaches the time point set by the self-checking timer, the state of the processor, the state of the memory, the state of the hard disk and the state of the network are periodically detected, so that a corresponding detection report is generated to be sent to the server side, active reporting is realized, active acquisition by the server side is not needed, and when modules with a large number of intelligent systems need to be maintained, the server side does not need to acquire the detection report for a single intelligent system.
Optionally, the module state includes at least one of a processor state, a memory state, a hard disk state, and a network state.
Optionally, performing local maintenance according to the security scanning result includes: and controlling the opening and closing of the service module according to the security scanning result.
Optionally, an abnormal service unit and a normal service unit are determined in the service module according to the security scanning result, where the security scanning result corresponding to the abnormal service unit is abnormal, and the abnormality includes an internal port usage abnormality and/or an external port usage abnormality and/or a system bug; and controlling or keeping the normal service unit in an open state and closing the abnormal service unit. By means of periodic scanning, the internal port, the external port and the system vulnerability of each service module can be known in time, and corresponding strategies are executed, so that the safety of the intelligent system in service can be improved.
Step S400, determining a local version number corresponding to the service module according to the operation parameters, and acquiring a server version number corresponding to the service module, wherein the server version number is stored in the server.
In this embodiment, the daemon module determines a local version number according to the operating parameter and obtains a server version number, the daemon module sends an upgrade request to the command module according to the server version number and the local version number, and the command module notifies the scheduling module to perform upgrade. Specifically, the version number of the service module can be understood as the version number of the original data corresponding to the service module, when the current time reaches the time set by the software version self-checking timer, the semantic module acquires the operating parameters of the service module and notifies the scheduling module, the scheduling module starts the daemon module to acquire the local version number and the version number of the service end, and after comparison, whether the local service module needs to be actively upgraded is determined, and it is easy to understand that the service end does not need to actively inquire whether the intelligent system needs to be upgraded.
And step S500, when the version number of the server is inconsistent with the local version number, sending an upgrade request to the server.
In this embodiment, the daemon module scans the usage of the internal port, the usage of the external port, and the system bug according to the operation parameter to obtain the security scanning result. Specifically, when the current time point reaches the time point set by the security scanning timer, the semantic module acquires the operation parameters of the service module and notifies the scheduling module; the scheduling module starts the daemon module to scan the use condition of the internal port, the use condition of the external port and system bugs to obtain a safety scanning result
Specifically, the system architecture diagram of the intelligent system can refer to fig. 2A, fig. 2A shows a system architecture diagram of the present solution, which is a lightweight solution, wherein the bottom layer is hardware and an operating system, and the specific type selection is performed according to the product definition and the requirement of the intelligent system software, after the intelligent system is started, the system level components are loaded first, which include a scheduling module, a semantic module, a daemon module, and a command module, wherein the scheduling module is equivalent to the "heart" of the system, the semantic module is equivalent to the "brain" of the system, the daemon module is equivalent to the "eye" of the system, the command module is equivalent to the "hand and foot" of the system, the whole system software is activated by the scheduling module, the daemon module periodically monitors whether the system has an unsafe problem and whether an upgrade package needs to be upgraded, and if so, notifies the command module to execute the corresponding operation, issuing an alarm or performing an upgrade action, etc. The system aims to construct an intelligent dynamic ring system in an intelligent system by using a minimum component, and the system is compatible with the diversity of services to the maximum extent and can be used across industries.
Further, the method comprises the following specific implementation steps:
step 1: powering on a system, initializing hardware, and constructing a basic operation environment of the system;
step 2: the method comprises the steps of loading a system level component, starting a scheduling module, wherein the scheduling module is responsible for the operation and the termination of all other components of the system, has the function of a soft watchdog, needs to load other system components after being started, comprises a semantic module, a daemon module and a command module, receives notification messages of the semantic module, is responsible for monitoring the instantiated module components of the semantic module in real time, and processes the messages of the command module at the same time, and comprises the steps of stopping or restarting the execution of a certain component service, releasing a corresponding hardware resource module and the like. The specific process is shown in FIG. 2B.
And step 3: the semantic module needs to have the capability of parsing semantic text, including but not limited to parsing other text formats such as xml, json, ini, shell, etc., the semantic module needs to perform "translation" and "loading" on specific service semantics, and change a static text into a dynamic executable process or thread, which is referred to as an instantiated service component herein, where semantic options refer to the following, and need to be standardized and defined according to specific service applications and text formats, and in addition, the semantic module needs to send various runtime parameters of the service module to the scheduling module, and the scheduling module performs operation monitoring of the service module in a unified manner, and the specific flow refers to fig. 2C, where for the operation parameters of the service module acquired by the semantic module, reference may be made to fig. 2D, it is easy to understand that the version number of the service module 1 may be determined based on fig. 2D, and for the manner of acquiring the version number of the service end, the same is true.
And 4, step 4: the daemon module is mainly responsible for self-diagnosis of the whole system, including but not limited to system self-inspection, system security analysis, system update detection and the like, wherein the self-inspection includes statistics of use conditions of a memory, a disk, a CPU and a network, the system security analysis includes use of a system port and scanning of system bugs, the system update detection is mainly responsible for upgrading module components of the system, the upgrading requires cooperation of a remote upgrading server, the daemon module checks whether a software version number on the upgrading server is higher than a current version number of the system at regular time, V1.00.000 versions are defaulted when the system leaves a factory, if the software version number is higher than the current version number of the system, a command module is notified to upgrade, and a specific flow is shown in FIG. 2E;
and 5: the command module executes the output instruction of the daemon module, wherein the output instruction needs to have the resolving capability of a system self-diagnosis result, the self-diagnosis result is not limited in format and can be in json or binary data format, and the command module and the daemon module only can recognize the self-diagnosis result by mutually appointing internally. And the command module performs corresponding processing according to different received message types, including informing the scheduling module to start and stop the module assembly, generating a detection report and a record, and executing upgrading, wherein for upgrading, an upgrading request is sent to the server, specific upgrading actions including downloading, decompressing and the like are executed after an upgrading response of the upgrading server is received, otherwise, only local record recording is performed, and a specific flow is shown in fig. 2F.
By the scheme, an intelligent moving ring monitoring system can be constructed in an intelligent system, a passive maintenance mode is changed into an active maintenance mode, manual operation of a platform end is put to the moving ring hardware side, more platforms can automatically collect data and perform other analysis work as far as possible, and a traditional manual operation platform inlet is not only made, so that the burden of the platform is reduced, and the labor cost is also saved. For unattended moving-ring products, more intelligent capability is needed to improve the safety of the products, the scheme provides a lightweight solution, the existing embedded equipment hardware is compatible to the maximum extent, and new AI capability is injected into the hardware.
The embodiment is characterized in that some work which needs to be finished manually is issued to the intelligent system, so that the intelligent system has self-diagnosis and self-construction capabilities when leaving a factory, and automatic intelligent maintenance is realized as far as possible, thereby saving manpower and material resources.
Optionally, the daemon module periodically performs semantic recognition on the original data of the local service module, and then determines the local version number according to a semantic recognition result.
In the technical scheme of the embodiment, because the semantic module, the scheduling module, the daemon module and the command module in the maintenance device of the intelligent system can periodically perform self-checking, version upgrading self-checking and security scanning on the service module, and have the function of actively reporting to the server, the state of the intelligent system, whether upgrading is needed and whether security problems exist do not need to be actively detected by the server, and compared with the maintenance mode in the prior art, when the number of the intelligent system is huge, the server is not needed to perform single-point maintenance, and the maintenance efficiency of the intelligent system can be greatly improved.
Referring to fig. 3, fig. 3 is a second embodiment of the maintenance method of the intelligent system of the present invention, and based on the first embodiment, step S400 includes:
step S401, determining the local version number according to the operation parameters.
In this embodiment, the daemon module determines the local version number according to the operating parameters.
Step S402, when the local version number is determined, a version number obtaining request is sent to the server, so that the server responds to the version number obtaining request and sends the version number of the server.
In this embodiment, the daemon module obtains the version number of the server when determining the local version number.
Optionally, the daemon module performs text recognition on the operation parameter to determine a local version number in the operation parameter.
Optionally, the daemon module compares the local version number of the service module with the version number of the server. Specifically, whether the service module of the server side is upgraded or not is determined according to the comparison result. Specifically, when the daemon module determines that the intelligent system needs to be upgraded based on the version number of the server and the local version number, the daemon module sends the upgrade request to the server through the command module. The command module notifies the scheduling module to send an upgrade request to the server, specifically, the server sends a response instruction allowing upgrade when receiving the upgrade request of the intelligent system, so that the command module downloads the service module upgrade package based on the response instruction.
Optionally, when the scheduling module receives a response instruction allowing upgrading sent by the server, the service module upgrade package is downloaded according to a uniform resource locator carried by the response instruction.
Further, when the scheduling module receives a response instruction allowing upgrading sent by the server, the service module upgrading package is downloaded.
Furthermore, the scheduling module upgrades the service module according to the service module upgrade package.
In the technical scheme of the embodiment, because the semantic module, the scheduling module, the daemon module and the command module in the maintenance device of the intelligent system can periodically perform self-checking, version upgrading self-checking and security scanning on the service module, and have the function of actively reporting to the server, the state of the intelligent system, whether upgrading is needed and whether security problems exist do not need to be actively detected by the server, and compared with the maintenance mode in the prior art, when the number of the intelligent system is huge, the server is not needed to perform single-point maintenance, and the maintenance efficiency of the intelligent system can be greatly improved.
Referring to fig. 4, fig. 4 is a third embodiment of the maintenance method of the intelligent system according to the present invention, based on any one of the first to second embodiments, after step S500, the method further includes:
step S600, the response instruction which is sent by the server and allows upgrading is not received within the preset time, and the record is recorded.
In this embodiment, if the scheduling module does not receive the upgrade-allowed response instruction sent by the server within the preset time, the recording is performed.
In the technical solution of this embodiment, if the response instruction allowing the upgrade and sent by the server is not received within the preset time, it means that the upgrade is blocked, and therefore, the record can be recorded locally for later forensics.
Referring to fig. 5, fig. 5 is a fourth embodiment of the maintenance method of the intelligent system according to the present invention, based on any one of the first to third embodiments, after step S200, the method further includes:
step S700, if the detection report is sent to the server side and fails, recording is carried out.
In this embodiment, if the scheduling module fails to send the detection report to the server, a record is made.
In the technical solution of this embodiment, if the detection report fails to be sent, it means that the server cannot know the operating state of the intelligent system based on the detection report, and therefore, the record can be made, which is convenient for subsequent forensics.
In order to achieve the above object, an embodiment of the present invention further provides an intelligent system, where the intelligent system includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the maintenance method of an intelligent system as described above when executing the computer program.
To achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the maintenance method for an intelligent system as described above.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a network configuration product program embodied on one or more computer-usable computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A maintenance method of an intelligent system is characterized in that the method is applied to the intelligent system, the intelligent system is in communication connection with a server, the intelligent system comprises a semantic module, a scheduling module, a daemon module, a command module and a business module, and the maintenance method of the intelligent system comprises the following steps:
acquiring operation parameters of a service module;
determining the module state of the service module according to the operation parameters, generating a detection report according to the module state, and sending the detection report to a server;
scanning the service module according to the operation parameters to obtain a safety scanning result, and performing local maintenance according to the safety scanning result;
determining a local version number corresponding to the service module according to the operation parameters, and acquiring a server version number corresponding to the service module, wherein the server version number is stored in the server;
and when the version number of the server side is inconsistent with the local version number, sending an upgrading request to the server side.
2. The method for maintaining an intelligent system according to claim 1, wherein the step of determining the local version number corresponding to the service module according to the operating parameter and obtaining the server version number corresponding to the service module comprises:
determining the local version number according to the operation parameters;
and when the local version number is determined, sending a version number acquisition request to the server, so that the server responds to the version number acquisition request and sends the version number of the server.
3. The method of maintaining an intelligent system according to claim 2, wherein said step of determining said local version number from said operating parameters comprises:
performing text recognition on the operation parameters to obtain a text recognition result;
and determining the local version number in the text recognition result.
4. The method for maintaining an intelligent system according to claim 1, wherein after the step of sending an upgrade request to the server, the method further comprises:
and not receiving a response instruction which is sent by the server and allows upgrading within a preset time, and recording.
5. The method for maintaining an intelligent system according to claim 1, wherein after the step of sending an upgrade request to the server if the server version number is not consistent with the local version number, the method further comprises:
and when a response instruction which is sent by the server and allows upgrading is received, downloading a service module upgrading package according to the uniform resource locator carried by the response instruction.
6. The method for maintaining an intelligent system according to claim 1, wherein after the steps of determining the module status of the service module according to the operation parameter, and generating a detection report according to the module status, and sending the detection report to the server, the method further comprises:
and if the detection report is sent to the server side and fails, recording.
7. The method for maintaining an intelligent system according to claim 1, wherein the step of performing local maintenance according to the security scan result comprises:
and controlling the opening and closing of the service module according to the security scanning result.
8. The method for maintaining an intelligent system according to claim 7, wherein the step of controlling the service module to be turned on and off according to the security scan result comprises:
determining an abnormal service unit and a normal service unit in the service module according to the security scanning result, wherein the security scanning result corresponding to the abnormal service unit has an abnormal condition, and the abnormal condition comprises that an internal port is abnormal in use and/or an external port is abnormal in use and/or a system bug exists;
and the scheduling module controls or keeps the normal service unit in an open state and closes the abnormal service unit.
9. An apparatus for maintaining an intelligent system, the intelligent system comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps of the intelligent system upgrade method according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the maintenance method of an intelligent system according to any one of claims 1 to 8.
CN202111548047.8A 2021-12-16 2021-12-16 Intelligent system maintenance method and device and computer readable storage medium Pending CN114356391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111548047.8A CN114356391A (en) 2021-12-16 2021-12-16 Intelligent system maintenance method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111548047.8A CN114356391A (en) 2021-12-16 2021-12-16 Intelligent system maintenance method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114356391A true CN114356391A (en) 2022-04-15

Family

ID=81100093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111548047.8A Pending CN114356391A (en) 2021-12-16 2021-12-16 Intelligent system maintenance method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114356391A (en)

Similar Documents

Publication Publication Date Title
US9329983B2 (en) Computer program testing
CN106201672B (en) Timed task setting system and timed task running method thereof
CN113703730A (en) Continuous integration method and device, computer equipment and storage medium
CN110597531B (en) Distributed module upgrading method and device and storage medium
US7987463B2 (en) Device management scheduling method and apparatus thereof
EP2972824B1 (en) Computer system using in-service software upgrade
CN112256294A (en) Deployment method, cloud platform, system and storage medium of terminal application
CN111913851A (en) Process monitoring method, system, terminal and storage medium
CN111679888A (en) Deployment method and device of agent container
CN115941739A (en) Inspection system and inspection method for Internet of things equipment
CN116436794A (en) OPC real-time data integration and control method based on Internet of things model
CN111580948A (en) Task scheduling method and device and computer equipment
CN112379989B (en) Timed task process and queue service process management system and method
CN114356391A (en) Intelligent system maintenance method and device and computer readable storage medium
CN107025126B (en) Resource scheduling method, NFVO and system
KR20060114661A (en) System and method for interacting with user in managing device
CN111176959B (en) Early warning method, system and storage medium of cross-domain application server
CN112181478A (en) Construction result obtaining method and device and storage medium
CN110968297A (en) Data crawling method and device
CN109101513B (en) Method, storage medium, device and system for integrating multiple picture libraries
CN116842075B (en) Cloud server-based data report RPA robot control method and system
CN118445001B (en) Heterogeneous system integration method, device and equipment based on plug-in development framework
CN113382049B (en) Management system and device of modular construction tool MBS
CN113127209B (en) Cloud computing execution scheduling method and device, electronic equipment and storage medium
CN114706662B (en) Method and system for realizing dynamic simulation of business operation and data based on JVM sandbox

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