CN114386029A - System exception scanning method and device, electronic equipment and medium - Google Patents

System exception scanning method and device, electronic equipment and medium Download PDF

Info

Publication number
CN114386029A
CN114386029A CN202210027472.0A CN202210027472A CN114386029A CN 114386029 A CN114386029 A CN 114386029A CN 202210027472 A CN202210027472 A CN 202210027472A CN 114386029 A CN114386029 A CN 114386029A
Authority
CN
China
Prior art keywords
script
project
information
timing
iteration
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
CN202210027472.0A
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202210027472.0A priority Critical patent/CN114386029A/en
Publication of CN114386029A publication Critical patent/CN114386029A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/554Detecting local intrusion or implementing counter-measures involving event detection and direct action
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to the technical field of safety detection, and discloses a system abnormity scanning method, which comprises the following steps: acquiring configuration environment information of an iteration project, and configuring the operating environment of the iteration project through the configuration environment information; acquiring an associated script of an iterative project; constructing a timing polling script through a running environment, an associated script and a preset timing task; performing exception scanning on the iteration project according to the timing polling script; and if the iteration project is abnormal, constructing a project failure notice based on a preset message notice template and sending the project failure notice to a notice receiving end. The invention also provides a system abnormity scanning device, equipment and a storage medium. The invention also relates to blockchain techniques, the association script being storable in a blockchain node. The invention can improve the scanning efficiency of the system.

Description

System exception scanning method and device, electronic equipment and medium
Technical Field
The present invention relates to the field of security detection technologies, and in particular, to a method and an apparatus for scanning system anomalies, an electronic device, and a computer-readable storage medium.
Background
For a project which needs to be iterated quickly, since the iterative deployment of the project every time may cause an abnormality of a system of the final iterative project due to a slight change, the system of the iterative project needs to be scanned globally at regular time, so that errors can be corrected timely, and the stability of the system is maintained.
The existing system scanning tools usually carry out system timing scanning through the timing scanning tools carried by the computer, the scanning method is single, the mobility is poor, the system scanning requirements under complex conditions cannot be met comprehensively, and the efficiency is low.
Disclosure of Invention
The invention provides a system abnormity scanning method, a system abnormity scanning device, electronic equipment and a computer readable storage medium, and mainly aims to improve the system scanning efficiency.
In order to achieve the above object, the present invention provides a system anomaly scanning method, which includes:
acquiring configuration environment information of an iteration project, and configuring the operating environment of the iteration project through the configuration environment information;
acquiring an associated script of the iterative project;
constructing a timing polling script through the running environment, the associated script and a preset timing task;
performing exception scanning on the iteration project according to the timing polling script;
and if the iteration project is abnormal, constructing a project failure notice based on a preset message notice template and sending the project failure notice to a notice receiving end.
Optionally, the configuring, by the configuration environment information, the execution environment of the iterative project includes:
acquiring database information, domain name information and URL (uniform resource locator) address information in the configuration environment information;
and constructing the operating environment of the iterative project through the database information, the domain name information and the URL address information.
Optionally, the obtaining an association script of the iterative item includes:
acquiring a preset script library and a script information table;
and extracting the service code of the iterative project, and searching the script corresponding to the service code in the script information table to obtain the associated script.
Optionally, the searching for the script corresponding to the service code in the script information table to obtain an associated script includes:
collecting scripts related to the service codes in the script information table to obtain a target script set;
calculating the similarity between the iteration item and each target script in the target script set;
and determining the target script with the highest similarity to the iteration project as the associated script.
Optionally, the constructing a timed polling script through the operating environment, the association script, and a preset timed task includes:
taking the associated script as a script template, and configuring an operating environment for the script template in the script frame to obtain an initial polling script;
and setting a timing task for the initial polling script based on the timing task to obtain a timing polling script.
Optionally, before performing exception scanning on the iterative item according to the timed polling script, the method further includes:
acquiring first check information of a timing system in the iteration project based on a system interface of the iteration project;
acquiring a calling request of the timing system from a user, wherein the calling request is used for scanning the timing system of the iterative project;
generating second check information according to the safety check mode corresponding to the timing system and the call request;
judging whether the first check information and the second check information are the same;
if the first check information is the same as the second check information, allowing a system interface of the iterative project to call the timing polling script;
and if the first check information is different from the second check information, not allowing the system interface of the iterative project to call the timing polling script.
Optionally, before the construction of the item failure notification based on the preset message notification template is sent to the notification receiving end, the method further includes:
acquiring a preset message notification template;
scanning abnormal information obtained by performing abnormal scanning on the timing system of the iterative project by the timing polling script is obtained;
and standardizing the abnormal scanning information by using at least one attribute identifier included in the message notification template to obtain a project failure notification.
In order to solve the above problem, the present invention further provides a system abnormality scanning apparatus, including:
the environment configuration module is used for acquiring configuration environment information of an iteration project and configuring the operating environment of the iteration project through the configuration environment information;
the script obtaining module is used for obtaining the associated script of the iteration project;
the script building module is used for building a timing polling script through the running environment, the associated script and a preset timing task;
the system scanning module is used for carrying out exception scanning on the iteration project according to the timing polling script;
and the notification sending module is used for constructing a project failure notification based on a preset message notification template and sending the project failure notification to a notification receiving end if the iteration project is abnormal.
In order to solve the above problem, the present invention also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the system exception scanning method as described above.
In order to solve the above problem, the present invention further provides a computer-readable storage medium including a storage data area and a storage program area, the storage data area storing created data, the storage program area storing a computer program; wherein the computer program when executed by a processor implements a system exception scanning method as described above.
In the embodiment of the invention, the configuration environment information of the iterative project is acquired, the operating environment is configured through the configuration environment information, then the associated script associated with the iterative project is acquired and used for constructing the script of timing scanning, the timing polling script is constructed according to the operating environment, the associated script and the preset timing task, the iterative project is scanned according to the timing polling script, whether the iterative project is abnormal or not is judged, if the iterative project is abnormal, the template is notified based on the preset message to construct the project failure notification and the notification is sent to the notification receiving end, if the iterative project is not abnormal, the project is successfully notified and sent to the notification receiving end according to the message notification template, the scanning range and time which are caused by scanning by a system scanning tool carried by a computer are prevented from being flexibly controlled, and the system scanning efficiency of the iterative project is improved.
Drawings
Fig. 1 is a schematic flowchart of a system exception scanning method according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a system anomaly scanning device according to an embodiment of the present invention;
fig. 3 is a schematic internal structural diagram of an electronic device for implementing a system exception scanning method according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a system exception scanning method. The execution subject of the system exception scanning method includes, but is not limited to, at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiments of the present application. The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like. In other words, the system exception scanning method may be executed by software or hardware installed in the terminal device or the server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Fig. 1 is a schematic flow chart of a system exception scanning method according to an embodiment of the present invention. In this embodiment, the system anomaly scanning method includes:
and S1, acquiring configuration environment information of the iteration project, and configuring the operation environment of the iteration project through the configuration environment information.
In the embodiment of the invention, the iteration project is a software project which needs to be continuously updated and iterated, and the functions of the software project are continuously perfected through the update iteration of the software project. For example, in a software project providing navigation service for a user, the position information of the user needs to be continuously updated, the precision of the position information of the user is gradually improved, a route is continuously planned for the user based on the updating of the position information of the user, and the accurate and real-time navigation service is provided for the user.
In the embodiment of the invention, the configuration environment information comprises information such as a database, a domain name, a URL (uniform resource locator) address and the like.
Further, the database is a database applied to the iterative project. For example, if the iterative item is an item providing a navigation service, the database is a location information database, and the location information database includes geographical location information of each street and street distance information.
And the domain name is network registration address information of the iterative project.
The URL (uniform resource locator) address is a Uniform Resource Locator (URL) used to completely describe an identification method of addresses of web pages and other resources on the Internet, for example, if the iterative item is an item providing navigation, the URL address is a network address used to open the item on the web page. Further, the URL address includes domain name information and protocol information of a web address.
In this embodiment of the present invention, the configuring, by the configuration environment information, the execution environment of the iterative project includes:
acquiring database information, domain name information and URL (uniform resource locator) address information in the configuration environment information;
and constructing the operating environment of the iterative project through the database information, the domain name information and the URL address information.
In the embodiment of the present invention, the operating environment may also be referred to as an operating platform of the iterative project, and provides technical support for the operation of the iterative project, such as interface call, database provision, and the like.
And S2, acquiring the associated script of the iteration project.
In the embodiment of the present invention, the associated script is a script related to the iterative project.
Further, the association script is a script for timing polling, and in this embodiment, after the association script is acquired, data corresponding to the iteration item is added to the association script, so that the association script is applicable to the iteration item.
Specifically, the script is an executable file written according to a certain format using a specific descriptive language, wherein the descriptive language may be java, python, etc., and wherein the script is usually saved in the form of text (ASCII) and is interpreted or compiled only when called, for controlling the software application.
In this embodiment of the present invention, the acquiring the associated script of the iterative project includes:
acquiring a preset script library and a script information table;
and extracting the service code of the iterative project, and searching the script corresponding to the service code in the script information table to obtain the associated script.
In the embodiment of the invention, the script library stores the associated scripts corresponding to various services, and the script information table stores the service codes of various iteration items and the associated scripts corresponding to the service codes.
Further, the step of searching the script corresponding to the service code in the script information table to obtain an associated script includes:
collecting scripts related to the service codes in the script information table to obtain a target script set;
calculating the similarity between the iteration item and each target script in the target script set;
and determining the target script with the highest similarity to the iteration project as the associated script.
S3, constructing a timing polling script through the running environment, the associated script and a preset timing task.
In the embodiment of the invention, the timing task comprises the time interval of abnormal scanning of the service system, namely how much time is scanned once, and how much time is used for iterating the project.
In the embodiment of the invention, the timed polling script is constructed by inputting the running environment, the associated script and the timed task into a preset script framework.
Specifically, the constructing a timed polling script through the operating environment, the associated script and a preset timed task includes:
taking the associated script as a script template, and configuring an operating environment for the script template in the script frame to obtain an initial polling script;
and setting a timing task for the initial polling script based on the timing task to obtain a timing polling script.
In the embodiment of the invention, the timed polling script is provided with polling parameters including polling time, polling task name and error reporting running times.
In the embodiment of the present invention, the script framework is a Quartz framework, that is, the timed polling script is constructed under the Quartz framework, wherein the Quartz framework includes a task (JOB), a task Trigger (Trigger), and a task Scheduler (Scheduler).
And S4, performing exception scanning on the iteration item according to the timed polling script.
In this embodiment of the present invention, before performing exception scanning on the iterative item according to the timed polling script, the method further includes:
acquiring first check information of a timing system in the iteration project based on a system interface of the iteration project;
acquiring a calling request of the timing system from a user, wherein the calling request is used for scanning the timing system of the iterative project;
generating second check information according to the safety check mode corresponding to the timing system and the call request;
judging whether the first check information and the second check information are the same;
if the first check information is the same as the second check information, allowing a system interface of the iterative project to call the timing polling script;
and if the first check information is different from the second check information, not allowing the system interface of the iterative project to call the timing polling script.
In the embodiment of the invention, the first check information obtained by the iterative item is compared with the second check information obtained by the user calling request, so that whether the service called by the user calling request is the service of the iterative item is verified, and the spurious phenomenon is avoided.
In the embodiment of the present invention, the timing system of the iterative project sets how often the iterative project is updated, for example, for a project maintained by a computer system, the timing system sets to perform computer system maintenance once in 24 hours, and for a project of a positioning system, the timing system sets to perform position update once in 10 seconds.
And S5, judging whether the iteration item is abnormal or not.
In the embodiment of the invention, the iteration item is scanned abnormally through the timed polling script, whether the iteration item is abnormal or not is judged, and different notification messages are sent under the condition that the iteration item is abnormal or not.
And S6, if the iteration item is abnormal, constructing an item failure notice based on a preset message notice template and sending the item failure notice to a notice receiving end.
In this embodiment of the present invention, before the notification of the failure to construct the project is sent to the notification receiving end, the method further includes:
acquiring a preset message notification template;
scanning abnormal information obtained by performing abnormal scanning on the timing system of the iterative project by the timing polling script is obtained;
and standardizing the abnormal scanning information by using at least one attribute identifier included in the message notification template to obtain a project failure notification.
Specifically, the attribute identifier is used to indicate the attribute content included in the polling failure notification, and the scanning exception information is standardized so that the exception scanning information conforms to the format of the message notification template.
For example, the polling failure notification includes a system name of the timing system, a timing time of the timing system, a role of the timing system, and the like.
In the embodiment of the present invention, the message notification template is a template for determining the polling failure notification, and the information format of the item failure notification is determined by constructing the item failure notification according to the message notification template.
In the embodiment of the invention, the item failure notification has multiple situations, such as mail template title standardization, notification information content standardization and notification information style standardization.
In the embodiment of the invention, the project failure notification can be sent in various modes such as mails, short messages and the like, and the specific sending mode is selected by technical personnel.
In the embodiment of the present invention, the notification receiving end may be a technician of a polling task.
And S7, if the iteration project is not abnormal, constructing a project success notice based on the message notice template and sending the project success notice to a notice receiving end.
In the embodiment of the present invention, as in the case where the iterative project is abnormal, before the notification of the success of the construction project is sent to the notification receiving end, the method also includes notifying the template of the success of the construction project according to a preset message, and therefore details are not described herein.
Further, if the iteration item has no abnormality, the timing system of the iteration item passes the test, and the working state of the iteration item is a stable state.
In the embodiment of the invention, the configuration environment information of the iterative project is acquired, the operating environment is configured through the configuration environment information, then the associated script associated with the iterative project is acquired and used for constructing the script of timing scanning, the timing polling script is constructed according to the operating environment, the associated script and the preset timing task, the iterative project is scanned according to the timing polling script, whether the iterative project is abnormal or not is judged, if the iterative project is abnormal, the template is notified based on the preset message to construct the project failure notification and the notification is sent to the notification receiving end, if the iterative project is not abnormal, the project is successfully notified and sent to the notification receiving end according to the message notification template, the scanning range and time which are caused by scanning by a system scanning tool carried by a computer are prevented from being flexibly controlled, and the system scanning efficiency of the iterative project is improved.
Fig. 2 is a schematic block diagram of an anomaly scanning apparatus of the system of the present invention.
The system abnormality scanning apparatus 100 of the present invention may be installed in an electronic device. According to the implemented functions, the system exception scanning apparatus may include an environment configuration module 101, a script acquisition module 102, a script construction module 103, a system scanning module 104, and a notification transmission module 105. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the environment configuration module 101 is configured to obtain configuration environment information of an iteration project, and configure an operating environment of the iteration project through the configuration environment information;
a script obtaining module 102, configured to obtain a script associated with the iteration item;
the script building module 103 is configured to build a timing polling script through the running environment, the associated script and a preset timing task;
the system scanning module 104 is configured to perform exception scanning on the iteration item according to the timed polling script;
a notification sending module 105, configured to, if the iteration item is abnormal, send a notification of item construction failure to a notification receiving end based on a preset message notification template.
In detail, when the modules in the system anomaly scanning apparatus 100 according to the embodiment of the present invention are used, the same technical means as the system anomaly scanning method described in fig. 1 above are adopted, and the same technical effects can be produced, which is not described herein again.
Fig. 3 is a schematic structural diagram of an electronic device implementing the system exception scanning method according to the present invention.
The electronic device may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may further include a computer program, such as a system exception scanning program, stored in the memory 11 and executable on the processor 10.
In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same function or different functions, and includes one or more Central Processing Units (CPUs), a microprocessor, a digital Processing chip, a graphics processor, a combination of various control chips, and the like. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device by running or executing programs or modules (e.g., executing a system exception scanning program, etc.) stored in the memory 11 and calling data stored in the memory 11.
The memory 11 includes at least one type of readable storage medium including flash memory, removable hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, for example a removable hard disk of the electronic device. The memory 11 may also be an external storage device of the electronic device in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used not only to store application software installed in the electronic device and various types of data, such as codes of a system abnormality scanning program, etc., but also to temporarily store data that has been output or is to be output.
The communication bus 12 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
The communication interface 13 is used for communication between the electronic device and other devices, and includes a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are typically used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
Fig. 3 shows only an electronic device having components, and those skilled in the art will appreciate that the structure shown in fig. 3 does not constitute a limitation of the electronic device, and may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management and the like are realized through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The system exception scanning program stored in the memory 11 of the electronic device is a combination of a plurality of computer programs, which when run in the processor 10, may implement:
acquiring configuration environment information of an iteration project, and configuring the operating environment of the iteration project through the configuration environment information;
acquiring an associated script of the iterative project;
constructing a timing polling script through the running environment, the associated script and a preset timing task;
performing exception scanning on the iteration project according to the timing polling script;
and if the iteration project is abnormal, constructing a project failure notice based on a preset message notice template and sending the project failure notice to a notice receiving end.
Specifically, the processor 10 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 for a specific implementation method of the computer program, which is not described herein again.
Further, the electronic device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a non-volatile computer-readable storage medium. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
acquiring configuration environment information of an iteration project, and configuring the operating environment of the iteration project through the configuration environment information;
acquiring an associated script of the iterative project;
constructing a timing polling script through the running environment, the associated script and a preset timing task;
performing exception scanning on the iteration project according to the timing polling script;
and if the iteration project is abnormal, constructing a project failure notice based on a preset message notice template and sending the project failure notice to a notice receiving end.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A system exception scanning method is applied to a client and comprises the following steps:
acquiring configuration environment information of an iteration project, and configuring the operating environment of the iteration project through the configuration environment information;
acquiring an associated script of the iterative project;
constructing a timing polling script through the running environment, the associated script and a preset timing task;
performing exception scanning on the iteration project according to the timing polling script;
and if the iteration project is abnormal, constructing a project failure notice based on a preset message notice template and sending the project failure notice to a notice receiving end.
2. The system exception scanning method of claim 1, wherein said configuring the execution environment of said iterative project by said configuration environment information comprises:
acquiring database information, domain name information and URL (uniform resource locator) address information in the configuration environment information;
and constructing the operating environment of the iterative project through the database information, the domain name information and the URL address information.
3. The system exception scanning method of claim 1, wherein said obtaining an associated script for said iterative term comprises:
acquiring a preset script library and a script information table;
and extracting the service code of the iterative project, and searching the script corresponding to the service code in the script information table to obtain the associated script.
4. The system exception scanning method of claim 3, wherein said looking up a script corresponding to said service code in said script information table to obtain an associated script, including;
collecting scripts related to the service codes in the script information table to obtain a target script set;
calculating the similarity between the iteration item and each target script in the target script set;
and determining the target script with the highest similarity to the iteration project as the associated script.
5. The system exception scanning method according to any one of claims 1 to 4, wherein the constructing a timed polling script through the runtime environment, the associated script and a preset timed task comprises:
taking the associated script as a script template, and configuring an operating environment for the script template in the script frame to obtain an initial polling script;
and setting a timing task for the initial polling script based on the timing task to obtain a timing polling script.
6. The system exception scanning method of any one of claims 1 to 4, wherein prior to exception scanning of the iterative item according to the timed polling script, the method further comprises:
acquiring first check information of a timing system in the iteration project based on a system interface of the iteration project;
acquiring a calling request of the timing system from a user, wherein the calling request is used for scanning the timing system of the iterative project;
generating second check information according to the safety check mode corresponding to the timing system and the call request;
judging whether the first check information and the second check information are the same;
if the first check information is the same as the second check information, allowing a system interface of the iterative project to call the timing polling script;
and if the first check information is different from the second check information, not allowing the system interface of the iterative project to call the timing polling script.
7. The system exception scanning method according to any one of claims 1 to 4, wherein before the item failure notification is sent to the notification receiving end based on the preset message notification template, the method further comprises:
acquiring a preset message notification template;
scanning abnormal information obtained by performing abnormal scanning on the timing system of the iterative project by the timing polling script is obtained;
and standardizing the abnormal scanning information by using at least one attribute identifier included in the message notification template to obtain a project failure notification.
8. An apparatus for system anomaly scanning, the apparatus comprising:
the environment configuration module is used for acquiring configuration environment information of an iteration project and configuring the operating environment of the iteration project through the configuration environment information;
the script obtaining module is used for obtaining the associated script of the iteration project;
the script building module is used for building a timing polling script through the running environment, the associated script and a preset timing task;
the system scanning module is used for carrying out exception scanning on the iteration project according to the timing polling script;
and the notification sending module is used for constructing a project failure notification based on a preset message notification template and sending the project failure notification to a notification receiving end if the iteration project is abnormal.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the system exception scanning method of any one of claims 1 to 7.
10. A computer-readable storage medium comprising a storage data area storing created data and a storage program area storing a computer program; wherein the computer program, when executed by a processor, implements the system anomaly scanning method of any one of claims 1 to 7.
CN202210027472.0A 2022-01-11 2022-01-11 System exception scanning method and device, electronic equipment and medium Pending CN114386029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210027472.0A CN114386029A (en) 2022-01-11 2022-01-11 System exception scanning method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210027472.0A CN114386029A (en) 2022-01-11 2022-01-11 System exception scanning method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN114386029A true CN114386029A (en) 2022-04-22

Family

ID=81202035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210027472.0A Pending CN114386029A (en) 2022-01-11 2022-01-11 System exception scanning method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN114386029A (en)

Similar Documents

Publication Publication Date Title
CN112115145A (en) Data acquisition method and device, electronic equipment and storage medium
CN113342472A (en) Micro-service cluster creating method and device, electronic equipment and readable storage medium
CN112506779A (en) Software interface testing method and device, electronic equipment and storage medium
CN111625252A (en) Cluster upgrading maintenance method and device, electronic equipment and storage medium
CN112527664A (en) Method and device for generating test case, electronic equipment and storage medium
CN111538573A (en) Asynchronous task processing method and device and computer readable storage medium
CN112256783A (en) Data export method and device, electronic equipment and storage medium
CN113051171A (en) Interface test method, device, equipment and storage medium
CN115081016A (en) Log desensitization method and device, electronic equipment and storage medium
CN113986924A (en) Intelligent data filling method, device, equipment and storage medium
CN113542387A (en) System publishing method, device, electronic equipment and storage medium
CN113434542A (en) Data relation identification method and device, electronic equipment and storage medium
CN112541688A (en) Service data checking method and device, electronic equipment and computer storage medium
CN112579452A (en) Software automation test method, device, equipment and storage medium
CN115145870A (en) Method and device for positioning reason of failed task, electronic equipment and storage medium
CN114510400A (en) Task execution method and device, electronic equipment and storage medium
CN114386029A (en) System exception scanning method and device, electronic equipment and medium
CN115687384A (en) UUID (user identifier) identification generation method, device, equipment and storage medium
CN114942855A (en) Interface calling method and device, electronic equipment and storage medium
CN114691782A (en) Database table increment synchronization method and device and storage medium
CN113469649A (en) Project progress analysis method and device, electronic equipment and storage medium
CN114185588A (en) Incremental package generation method, device, equipment and storage medium
CN114820132A (en) Order distribution method and device, electronic equipment and storage medium
CN114547011A (en) Data extraction method and device, electronic equipment and storage medium
CN112667244A (en) Data verification method and device, electronic equipment and computer readable storage medium

Legal Events

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