CN113419916B - Wind control inspection program uninterrupted operation method, device, equipment and storage medium - Google Patents

Wind control inspection program uninterrupted operation method, device, equipment and storage medium Download PDF

Info

Publication number
CN113419916B
CN113419916B CN202110573270.1A CN202110573270A CN113419916B CN 113419916 B CN113419916 B CN 113419916B CN 202110573270 A CN202110573270 A CN 202110573270A CN 113419916 B CN113419916 B CN 113419916B
Authority
CN
China
Prior art keywords
program
wind control
log table
current date
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110573270.1A
Other languages
Chinese (zh)
Other versions
CN113419916A (en
Inventor
赵恩杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN202110573270.1A priority Critical patent/CN113419916B/en
Publication of CN113419916A publication Critical patent/CN113419916A/en
Application granted granted Critical
Publication of CN113419916B publication Critical patent/CN113419916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to the technical field of risk assessment, and discloses a method for continuously operating a wind control inspection program, which comprises the following steps: detecting a log table of a current date, operating a wind control checking program when a checking field in the log table is empty, and enabling the checking field in the log table to be non-empty; detecting whether the wind control checking program is executed completely; when the execution of the wind control checking program is finished, judging whether a log table of the current date exists or not; when a log table of the current date exists, setting a check field in the log table of the current date to be null, and returning to the step of detecting the log table of the current date; and when the log table of the current date does not exist, creating the log table of the current date, setting a check field in the log table to be null, and returning to the step of detecting the log table of the current date. The invention also provides a risk assessment device, electronic equipment and a computer readable storage medium. The invention can solve the problem of low efficiency in the field of wind control inspection.

Description

Wind control inspection program uninterrupted operation method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of risk assessment, in particular to a method and a device for uninterrupted operation of a wind control inspection program, electronic equipment and a computer readable storage medium.
Background
In both the traditional financial field and the internet financial field, risk control is increasingly important, and attention needs to be paid to wind control inspection in order to avoid leaks and prevent major loss.
Currently, a wind control checking program is operated by querying a current day log table, and when finding that a checking field in the current day log table is empty, the wind control checking program automatically operates, and when the wind control checking program operates, the checking field is set to be non-empty. The operation mode enables the wind control checking program to operate only once a day. In some cases, for example, when a performance test of the wind control inspection is performed, a plurality of times of wind control inspection programs need to be run to collect necessary data, at this time, the running of the wind control inspection programs needs to be manually monitored, and after the wind control inspection programs are run once, the inspection fields in the daily log table are manually set to be empty, and then the next wind control inspection program can be run.
Disclosure of Invention
The invention provides a method and a device for uninterrupted operation of a wind control inspection program, electronic equipment and a computer readable storage medium, and aims to solve the problem that manpower and material resources are consumed due to the fact that the wind control inspection program needs to be triggered manually.
In order to achieve the above object, the invention provides a method for continuously operating a wind control inspection program, comprising:
a program triggering step: when a log table of the current date is detected and a check field in the log table is set to be null, operating a wind control check program and setting the check field in the log table to be non-null;
program monitoring step: detecting whether the wind control checking program is executed completely;
a date monitoring step: when the execution of the wind control checking program is finished, judging whether a log table of the current date exists or not;
the first program cycle step: when a log table of the current date exists, setting an inspection field in the log table of the current date to be null, and returning to the program triggering step;
the second program circulation step: and when the log table of the current date does not exist, creating the log table of the current date, setting a check field in the log table to be null, and returning to the program triggering step.
Optionally, the program monitoring step includes:
acquiring the total number of operating nodes of the wind control checking program, and monitoring the number of the operated nodes;
and when the number of the operated nodes is the same as the total number of the operated nodes, judging that the execution of the wind control checking program is finished.
Optionally, the obtaining the total number of the operating nodes of the wind control checking program includes:
acquiring the total account number to be checked by the wind control checking program;
setting an operation node in each account according to the total account number;
and counting the number of the operating nodes to obtain the total number of the operating nodes.
Optionally, when the number of the operated nodes is the same as the number of the total operated nodes, determining that the execution of the wind control inspection program is completed includes:
the total number of the operating nodes is differenced with the number of the operated nodes to obtain a difference value;
judging whether the difference value is equal to zero or not;
if the difference is not equal to zero, returning to the program monitoring step;
and if the difference value is equal to zero, determining that the execution of the wind control checking program is finished.
Optionally, the monitoring the number of operated nodes includes:
taking a starting operation node and a current operation node, and tracing to the starting operation node from the current operation node to obtain a node path;
and calculating to obtain the number of the operated nodes according to the node path.
Optionally, the date monitoring step includes:
recording the operation starting time of the wind control checking program and the operation time of each node;
calculating the total running time of the wind control checking program according to the running time of each node;
judging the current date according to the operation starting time and the total operation time of the wind control checking program;
and judging whether a log table of the current date exists or not according to the current date.
Optionally, the date monitoring step includes:
judging whether the operation ending time of the wind control checking program spans the date corresponding to the operation starting time or not according to the operation starting time and the total operation time;
if the operation ending time spans the date corresponding to the operation starting time, a log table of the current date does not exist;
if the run end time does not span a date in the run start time, there is a log table of the current date.
In order to solve the above problem, the present invention further provides a device for continuously operating a wind control inspection program, the device comprising:
the program triggering module is used for running a wind control checking program when a log table of the current date is detected and a checking field in the log table is set to be null, and setting the checking field in the log table to be non-null;
the program monitoring module is used for detecting whether the execution of the wind control checking program is finished;
the date monitoring module is used for judging whether a log list of the current date exists or not when the execution of the wind control checking program is finished;
the first program circulation module is used for setting a check field in the log table of the current date to be null and triggering the program triggering module when the log table of the current date exists;
and the second program circulating module is used for creating the log table of the current date when the log table of the current date does not exist, setting the check field in the log table to be null and triggering the program triggering module.
In order to solve the above problem, the present invention also provides an electronic device, including:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores computer program instructions executable by the at least one processor to enable the at least one processor to perform the method of uninterrupted wind control inspection procedure 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; and when being executed by a processor, the computer program realizes the uninterrupted operation method of the wind control checking program.
According to the method, the device, the electronic equipment and the computer readable storage medium for the uninterrupted running of the wind control inspection program, provided by the embodiment of the invention, when the execution of the wind control inspection program is finished, the inspection field in the log table of the current date is set to be empty, so that the wind control inspection program can automatically and repeatedly run, and the problems that the wind control inspection program needs to be triggered manually and manpower and material resources are consumed are solved.
Drawings
Fig. 1 is a schematic flow chart illustrating uninterrupted operation of a wind control inspection program according to an embodiment of the present invention;
fig. 2 is a schematic block diagram illustrating uninterrupted operation of a wind control inspection program according to an embodiment of the present invention;
fig. 3 is a schematic internal structural diagram of an electronic device in which a wind control inspection program provided in an embodiment of the present invention continuously operates;
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 do not limit the invention.
The embodiment of the application provides a method for continuously operating a wind control inspection program. The execution subject of the method for the uninterrupted running of the wind control inspection program includes, but is not limited to, at least one of electronic devices, such as a server and a terminal, which can be configured to execute the method provided by the embodiments of the present application. In other words, the wind control checking program 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 illustrating uninterrupted operation of a wind control inspection program according to an embodiment of the present invention. In this embodiment, the method for uninterrupted operation of the wind control inspection program includes:
s1, when the log table of the current date is detected and the check field in the log table is empty, running a wind control check program and setting the check field in the log table to be non-empty;
in the embodiment of the invention, the wind control inspection program is an inspection program constructed according to a risk control principle and is stored in a pre-constructed database. And when the wind control checking program runs, the wind control checking result of each checking node can be obtained. For example: and when the situation that the position of the account in the financial management system is illegal occurs, the wind control inspection program can generate an alarm signal and send the alarm signal to the user.
Further, the log table is a data table for triggering the operation of the wind control checking program and recording the operation condition of the wind control checking program. When the check field in the log table is empty, the wind control check program is triggered, and when the check field in the log table is not empty, the wind control check program is not triggered.
S2, detecting whether the wind control checking program is executed;
in one embodiment of the present invention, the S2 includes:
acquiring the total number of operating nodes of the wind control inspection program, and monitoring the number of the operated nodes;
and when the number of the operated nodes is the same as the total number of the operated nodes, judging that the execution of the wind control checking program is finished.
In detail, the total number of running nodes may refer to a total number of accounts in the financial management system, which the wind control inspection program needs to inspect.
In an embodiment of the present invention, the obtaining of the total number of operating nodes of the wind control inspection program includes:
acquiring the total account number to be checked by the wind control checking program;
setting an operation node in each account according to the total account number;
and counting the number of the operating nodes to obtain the total number of the operating nodes.
For example: the wind control inspection program needs to monitor a financial management system, and can monitor an account of the financial management system. The accounts are classified into a primary account and a secondary account, and if 1 primary account and 3 secondary accounts exist, the total number of the operating nodes is 4.
Further, in the embodiment of the present invention, the number of running nodes is continuously monitored to determine whether the execution of the wind control checking program is completed.
In one embodiment of the invention, a node path is obtained by extracting a node starting to run and a node currently running, tracing to the node starting to run from the node currently running, and calculating the number of the run nodes according to the node path.
And the node path is a path formed according to the sequence of the wind control checking program checking nodes. For example: the wind control inspection program needs to carry out wind control supervision on a financial management system, risk inspection needs to be carried out according to the sequence of paths from a primary account to a secondary account, and the node path is formed from the primary account to the secondary account. The embodiment of the invention obtains the number of the operated nodes by calculating all the nodes on the node path.
Further, in the embodiment of the present invention, when the number of the operated nodes is the same as the total number of the operated nodes, it is determined that the execution of the wind control inspection program is completed.
The embodiment of the invention judges whether the number of the operated nodes is the same as the total number of the operated nodes by the following method:
the total number of the operating nodes is differenced with the number of the operated nodes to obtain a difference value;
judging whether the difference value is equal to zero or not;
if the difference value is not equal to zero, continuing to execute the step S2, and detecting whether the wind control checking program is executed completely;
and if the difference value is equal to zero, determining that the execution of the wind control checking program is finished.
S3, when the execution of the wind control checking program is finished, judging whether a log table of the current date exists or not;
in the embodiment of the present invention, the current date refers to a date of a current running time point of the wind control inspection program.
In one embodiment of the present invention, the S3 includes:
recording the operation starting time of the wind control checking program and the operation time of each node;
calculating the total running time of the wind control checking program according to the running time of each node;
judging the current date according to the operation starting time and the total operation time of the wind control checking program;
and judging whether a log table of the current date exists or not according to the current date.
In detail, the embodiment of the present invention records the time for triggering the wind control checking program, and obtains the operation start time; when the node starts to operate, recording the operation starting time of the node; when the node operation is finished, recording the node operation finishing time; and calculating the node running time according to the node running starting time and the node running ending time.
In the embodiment of the invention, when the wind control checking program is triggered, the circuit board where the wind control checking program is located is started, an operation starting signal is generated, and the signal occurrence time of the operation starting signal is recorded in the log table to obtain the operation starting time.
Further, in the embodiment of the present invention, the determining whether the log table of the current date exists according to the current date includes:
judging whether the operation ending time of the wind control checking program spans the date corresponding to the operation starting time or not according to the operation starting time and the total operation time;
if the operation ending time spans the date corresponding to the operation starting time, a log table of the current date does not exist;
if the run end time does not span a date in the run start time, there is a log table of the current date.
In detail, in the embodiment of the present invention, an operation end time is determined according to the operation start time and the total operation time; judging whether the operation is on the same date or not according to the operation ending time and the operation starting time; if the current operation is judged to be on the same date according to the operation ending time and the operation starting time, the operation ending time does not span the date in the operation starting time; and if the operation is judged not to be on the same date according to the operation ending time and the operation starting time, the operation ending time spans the date in the operation starting time.
S4, when the log table of the current date exists, setting the check field in the log table of the current date to be null, and returning to the S1;
in the embodiment of the invention, when the wind control inspection program is monitored to be executed completely, the inspection field in the log table of the current date is set to be empty so as to trigger the wind control inspection program to be operated again, so that the wind control inspection program realizes the effect of uninterrupted operation.
And S5, when the log table of the current date does not exist, creating the log table of the current date, setting the check field in the log table to be empty, and returning to the S1.
In the embodiment of the present invention, when the operation of the wind control inspection program is finished, the wind control inspection program may already be the next day, and if the time when the wind control inspection program starts to operate is 2021 year, 3 months, 30 days, 23, the wind control inspection program operates for one time for 3 hours, the time when the operation is finished is 2021 year, 3 months, 31 early 2 am, and at this time, a log table of the day does not exist, the embodiment of the present invention automatically creates the log table of the current date, and sets an inspection field in the log table of the current date to be empty, thereby triggering the wind control inspection program to operate again, so that the wind control inspection program realizes an effect of uninterrupted operation.
According to the embodiment of the invention, when the execution of the wind control inspection program is monitored to be finished, the inspection field in the log table of the current date is set to be empty, so that the wind control inspection program can automatically and repeatedly run, and the problem that the wind control inspection program needs to be manually triggered is solved.
Fig. 2 is a schematic block diagram of a device for continuously operating a wind control inspection program according to the present invention.
The apparatus 100 for uninterrupted operation of a wind control inspection program according to the present invention may be installed in an electronic device. According to the realized functions, the device for continuously running the wind control checking program can comprise a program triggering module 101, a program monitoring module 102, a date monitoring module 103, a first program circulation module 104 and a second program circulation 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 can perform a fixed function, and are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the program triggering module 101 is configured to, when a log table of a current date is detected and a check field in the log table is set to be empty, run a wind control check program and set the check field in the log table to be non-empty.
In the embodiment of the invention, the wind control inspection program is an inspection program constructed according to a risk control principle and is stored in a pre-constructed database. And when the wind control checking program runs, the wind control checking result of each checking node can be obtained. For example: and when the situation that the position of the account in the financial management system is illegal occurs, the wind control inspection program can generate an alarm signal and send the alarm signal to the user.
Further, the log table is a data table for triggering the operation of the wind control inspection program and recording the operation condition of the wind control inspection program. When the check field in the log table is empty, the wind control check program is triggered, and when the check field in the log table is not empty, the wind control check program is not triggered.
The program monitoring module 102 is configured to detect whether the execution of the wind control checking program is completed;
in one embodiment of the present invention, the program monitoring module 102 is specifically configured to:
acquiring the total number of operating nodes of the wind control checking program, and monitoring the number of the operated nodes;
and when the number of the operated nodes is the same as the total number of the operated nodes, judging that the execution of the wind control checking program is finished.
In detail, the total number of running nodes may refer to a total number of accounts in the financial management system, which the wind control inspection program needs to inspect.
In the embodiment of the present invention, the obtaining of the total number of the operating nodes of the wind control inspection program includes:
acquiring the total account number to be checked by the wind control checking program;
setting an operation node in each account according to the total account number;
and counting the number of the operating nodes to obtain the total number of the operating nodes.
For example: the wind control inspection program needs to monitor a financial management system, and can monitor an account of the financial management system. The accounts are classified into a primary account and a secondary account, and if 1 primary account and 3 secondary accounts exist, the total number of the operating nodes is 4.
Further, in the embodiment of the present invention, the number of running nodes is continuously monitored to determine whether the execution of the wind control checking program is completed.
In one embodiment of the invention, a node path is obtained by extracting a node which starts to operate and a node which currently operates, tracing the node which starts to operate from the node which currently operates, and the number of the operated nodes is calculated according to the node path.
And the node path is a path formed according to the sequence of the wind control checking program checking nodes. For example: the wind control checking program needs to carry out wind control supervision on the financial management system, risk checking needs to be carried out according to the path sequence from the primary account to the secondary account, and the node path is formed from the primary account to the secondary account. The embodiment of the invention obtains the number of the operated nodes by calculating all the nodes on the node path.
Further, in the embodiment of the present invention, when the number of the operated nodes is the same as the total number of the operated nodes, it is determined that the execution of the wind control inspection program is completed.
The embodiment of the invention judges whether the number of the operated nodes is the same as the total number of the operated nodes by the following method:
the total number of the operating nodes is differenced with the number of the operated nodes to obtain a difference value;
judging whether the difference value is equal to zero or not;
if the difference value is not equal to zero, continuing to execute the wind control checking program to detect whether the execution of the wind control checking program is finished;
and if the difference is equal to zero, determining that the execution of the wind control checking program is finished.
The date monitoring module 103 is configured to determine whether a log table of a current date exists when the wind control checking program is executed;
in the embodiment of the present invention, the current date refers to a date of a current running time point of the wind control inspection program.
In the embodiment of the present invention, the date monitoring module 103 is specifically configured to:
recording the operation starting time of the wind control checking program and the operation time of each node;
calculating the total running time of the wind control checking program according to the running time of each node;
judging the current date according to the operation starting time and the total operation time of the wind control inspection program;
and judging whether a log table of the current date exists or not according to the current date.
In detail, the embodiment of the present invention records the time for triggering the wind control checking program, and obtains the operation start time; when the node starts to operate, recording the operation starting time of the node; when the node operation is finished, recording the node operation finishing time; and calculating the node running time according to the node running starting time and the node running ending time.
In the embodiment of the invention, when the wind control inspection program is triggered, the circuit board where the wind control inspection program is located is started, an operation starting signal is generated, and the signal generation time of the operation starting signal is recorded in the log table to obtain the operation starting time.
Further, in the embodiment of the present invention, the determining whether the log table of the current date exists according to the current date includes:
judging whether the operation ending time of the wind control checking program spans the date corresponding to the operation starting time or not according to the operation starting time and the total operation time;
if the operation ending time spans the date corresponding to the operation starting time, a log table of the current date does not exist;
if the run end time does not span a date in the run start time, there is a log table of the current date.
In detail, in the embodiment of the present invention, an operation end time is determined according to the operation start time and the total operation time; judging whether the operation is on the same date or not according to the operation ending time and the operation starting time; if the current operation is judged to be on the same date according to the operation ending time and the operation starting time, the operation ending time does not span the date in the operation starting time; and if the operation is judged not to be on the same date according to the operation ending time and the operation starting time, the operation ending time spans the date in the operation starting time.
The first program loop module 104 is configured to, when a log table of a current date exists, set a check field in the log table of the current date to be null, and return to the program triggering step;
in the embodiment of the invention, when the wind control inspection program is monitored to be executed completely, the inspection field in the log table of the current date is set to be empty so as to trigger the wind control inspection program to be operated again, so that the wind control inspection program realizes the effect of uninterrupted operation.
The second program loop module 105 is configured to, when there is no log table of the current date, create a log table of the current date, set a check field in the log table to be null, and return to the program triggering step.
In the embodiment of the present invention, when the operation of the wind control inspection program is finished, the time may be the next day, and if the time when the wind control inspection program starts to operate is 2021 year 3 month 30 day 23, the wind control inspection program operates for 3 hours once, the time when the operation is finished is 2021 year 3 month 31 early morning at 2 o' clock, and at this time, a log table of the day does not exist, the embodiment of the present invention automatically creates a log table of the current date, and sets an inspection field in the log table of the current date to be empty, thereby triggering the operation of the wind control inspection program again, so that the wind control inspection program realizes an effect of uninterrupted operation.
According to the embodiment of the invention, when the execution of the wind control inspection program is monitored to be finished, the inspection field in the log table of the current date is set to be empty, so that the wind control inspection program can automatically and repeatedly run, and the problem that the wind control inspection program needs to be manually triggered is solved.
Fig. 3 is a schematic structural diagram of an electronic device that realizes uninterrupted operation of a wind control inspection program according to the present invention.
The electronic device may comprise a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further comprise a computer program, such as a wind control check 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 1 by running or executing programs or modules (e.g., executing a risk assessment 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, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, 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 program for ranking criticizing data, 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 commonly 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.
Further, the electronic device may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used to establish a communication connection between the electronic device and other electronic devices.
Optionally, the electronic device may further comprise a user interface, which may be a Display (Display), an input unit (such as a 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.
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 stored wind control checking program of the memory 11 in the electronic device is a combination of a plurality of computer programs, which when run in the processor 10, may implement:
a program triggering step: when a log table of the current date is detected and a check field in the log table is set to be null, operating a wind control check program and setting the check field in the log table to be non-null;
program monitoring step: detecting whether the execution of the wind control checking program is finished;
and a date monitoring step: when the execution of the wind control checking program is finished, judging whether a log table of the current date exists or not;
the first program loop step: when a log table of the current date exists, setting a check field in the log table of the current date to be null, and returning to the program triggering step;
the second program circulation step: and when the log table of the current date does not exist, creating the log table of the current date, setting a check field in the log table to be null, and returning to the program triggering step.
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 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).
Further, the computer usable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
The present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor of an electronic device, implements:
a program triggering step: when a log table of the current date is detected and a check field in the log table is set to be null, operating a wind control check program and setting the check field in the log table to be non-null;
program monitoring step: detecting whether the execution of the wind control checking program is finished;
a date monitoring step: when the execution of the wind control checking program is finished, judging whether a log table of the current date exists or not;
the first program cycle step: when a log table of the current date exists, setting an inspection field in the log table of the current date to be null, and returning to the program triggering step;
the second program circulation step: and when the log table of the current date does not exist, creating the log table of the current date, setting a check field in the log table to be null, and returning to the program triggering step.
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 to any claim should 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.
Furthermore, it will be obvious that the term "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 method for uninterrupted operation of a wind control inspection program is characterized by comprising the following steps:
a program triggering step: when a log table of the current date is detected and a check field in the log table is set to be null, operating a wind control check program and setting the check field in the log table to be non-null;
program monitoring step: detecting whether the wind control checking program is executed completely;
a date monitoring step: when the execution of the wind control checking program is finished, judging whether a log table of the current date exists or not;
the first program cycle step: when a log table of the current date exists, setting a check field in the log table of the current date to be null, and returning to the program triggering step;
the second program loop step: and when the log table of the current date does not exist, creating the log table of the current date, setting the check field in the log table to be null, and returning to the program triggering step.
2. The method for the uninterrupted operation of the wind control inspection program according to claim 1, wherein the program monitoring step comprises:
acquiring the total number of operating nodes of the wind control checking program, and monitoring the number of the operated nodes;
and when the number of the operated nodes is the same as the total number of the operated nodes, judging that the execution of the wind control checking program is finished.
3. The method for uninterrupted operation of a wind control inspection program according to claim 2, wherein the obtaining of the total number of operation nodes of the wind control inspection program comprises:
acquiring the total account number to be checked by the wind control checking program; setting an operation node in each account according to the total account number;
and counting the number of the operating nodes to obtain the total number of the operating nodes.
4. The method for uninterrupted operation of a wind control inspection program according to claim 2, wherein the determining that the execution of the wind control inspection program is completed when the number of the operated nodes is the same as the total number of the operated nodes comprises:
the total number of the operating nodes is differenced with the number of the operated nodes to obtain a difference value;
judging whether the difference value is equal to zero or not;
if the difference is not equal to zero, returning to the program monitoring step;
and if the difference is equal to zero, determining that the execution of the wind control checking program is finished.
5. The method for the wind control inspection program to run continuously according to claim 2, wherein the monitoring the number of the running nodes comprises:
extracting a running starting node and a current running node, and tracing to the running starting node from the current running node to obtain a node path;
and calculating to obtain the number of the operated nodes according to the node path.
6. The method for the wind-controlled inspection program to run continuously as claimed in claim 1, wherein the date monitoring step comprises:
recording the operation starting time of the wind control checking program and the operation time of each node;
calculating the total running time of the wind control checking program according to the running time of each node;
judging the current date according to the operation starting time and the total operation time of the wind control inspection program;
and judging whether a log table of the current date exists or not according to the current date.
7. The method for the wind-controlled inspection program to run continuously according to claim 6, wherein the determining whether there is a log table of the current date according to the current date comprises:
judging whether the operation ending time of the wind control checking program spans the date corresponding to the operation starting time or not according to the operation starting time and the total operation time;
if the operation ending time spans the date corresponding to the operation starting time, a log table of the current date does not exist;
if the run end time does not span a date in the run start time, there is a log table of the current date.
8. A device for the uninterrupted operation of a wind-controlled inspection program, the device comprising:
the program triggering module is used for running a wind control checking program when a log table of the current date is detected and a checking field in the log table is set to be null, and setting the checking field in the log table to be non-null;
the program monitoring module is used for detecting whether the execution of the wind control checking program is finished;
the date monitoring module is used for judging whether a log list of the current date exists or not when the execution of the wind control checking program is finished;
the first program circulating module is used for setting a check field in the log table of the current date to be null and triggering the program triggering module when the log table of the current date exists;
and the second program circulation module is used for creating the log table of the current date when the log table of the current date does not exist, setting the check field in the log table to be null and triggering the program triggering module.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores computer program instructions executable by the at least one processor to enable the at least one processor to perform the method of uninterrupted operation of a wind-controlled inspection program according to any 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; characterized in that the computer program, when executed by a processor, implements a method for uninterrupted operation of a wind control check program according to any of claims 1 to 7.
CN202110573270.1A 2021-05-25 2021-05-25 Wind control inspection program uninterrupted operation method, device, equipment and storage medium Active CN113419916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110573270.1A CN113419916B (en) 2021-05-25 2021-05-25 Wind control inspection program uninterrupted operation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110573270.1A CN113419916B (en) 2021-05-25 2021-05-25 Wind control inspection program uninterrupted operation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113419916A CN113419916A (en) 2021-09-21
CN113419916B true CN113419916B (en) 2022-09-30

Family

ID=77712858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110573270.1A Active CN113419916B (en) 2021-05-25 2021-05-25 Wind control inspection program uninterrupted operation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113419916B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045885A (en) * 2019-11-11 2020-04-21 网联清算有限公司 Database log file processing method and device and computer equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130067578A1 (en) * 2011-09-08 2013-03-14 Mcafee, Inc. Malware Risk Scanner
CN104503829A (en) * 2014-12-23 2015-04-08 北京极科极客科技有限公司 Method for detecting and maintaining management process
CN106156627B (en) * 2015-04-15 2019-12-03 中芯国际集成电路制造(上海)有限公司 The treating method and apparatus of automatic information system loophole risk
CN106528203B (en) * 2016-10-10 2019-10-18 上海无线电设备研究所 A kind of automated procedures programming method of multi-DSP chip
CN107861857B (en) * 2017-11-09 2021-04-13 上海触乐信息科技有限公司 Screen virtual shade control method and device in terminal equipment and terminal equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045885A (en) * 2019-11-11 2020-04-21 网联清算有限公司 Database log file processing method and device and computer equipment

Also Published As

Publication number Publication date
CN113419916A (en) 2021-09-21

Similar Documents

Publication Publication Date Title
CN111694844A (en) Enterprise operation data analysis method and device based on configuration algorithm and electronic equipment
CN113504935A (en) Software development quality evaluation method and device, electronic equipment and readable storage medium
CN113468049A (en) Test method, device, equipment and medium based on configurable interface
CN112949278A (en) Data checking method and device, electronic equipment and readable storage medium
CN113240351A (en) Business data consistency checking method and device, electronic equipment and medium
CN113392090A (en) Data verification method, device, equipment and medium based on database migration
CN113434542A (en) Data relation identification method and device, electronic equipment and storage medium
CN113419916B (en) Wind control inspection program uninterrupted operation method, device, equipment and storage medium
CN113434397B (en) Task system testing method and device, electronic equipment and storage medium
CN114116488A (en) Method, device and equipment for acquiring test coverage rate information and storage medium
CN113469649A (en) Project progress analysis method and device, electronic equipment and storage medium
CN114510400A (en) Task execution method and device, electronic equipment and storage medium
CN114626948A (en) Block chain transaction accounting method and device, electronic equipment and storage medium
CN114185588A (en) Incremental package generation method, device, equipment and storage medium
CN113051171A (en) Interface test method, device, equipment and storage medium
CN112667244A (en) Data verification method and device, electronic equipment and computer readable storage medium
CN112686759A (en) Account checking monitoring method, device, equipment and medium
CN113360398B (en) Hybrid application program testing method, device, equipment and medium
CN113449024B (en) Insurance data analysis method, device, equipment and medium based on big data
CN113064797B (en) Front-end monitoring method and device, electronic equipment and storage medium
CN114237689A (en) System version monitoring method and device, electronic equipment and readable storage medium
CN117830010A (en) Order state consistency detection method, device, equipment and storage medium
CN110716939B (en) Data management method, electronic device, system and medium
CN118131680B (en) Equipment safety monitoring method and device for konjak product processing
CN113505079A (en) Application program testing method, device, equipment and 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40053940

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant