CN111694843A - Missing number detection method and device, electronic equipment and storage medium - Google Patents

Missing number detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111694843A
CN111694843A CN202010470715.9A CN202010470715A CN111694843A CN 111694843 A CN111694843 A CN 111694843A CN 202010470715 A CN202010470715 A CN 202010470715A CN 111694843 A CN111694843 A CN 111694843A
Authority
CN
China
Prior art keywords
missing
value
missing number
credential
numbers
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.)
Granted
Application number
CN202010470715.9A
Other languages
Chinese (zh)
Other versions
CN111694843B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010470715.9A priority Critical patent/CN111694843B/en
Publication of CN111694843A publication Critical patent/CN111694843A/en
Priority to PCT/CN2020/122282 priority patent/WO2021114877A1/en
Application granted granted Critical
Publication of CN111694843B publication Critical patent/CN111694843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

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

Abstract

The invention relates to the technical field of artificial intelligence, and provides a missing number detection method, a missing number detection device, electronic equipment and a storage medium, which can determine an execution state according to a state identifier of a current task so as to execute missing number detection in time when a trigger condition is met, when the current task is finished, all the certificate numbers in the current task are obtained to avoid error detection, the maximum certificate number and the total number of all the certificate numbers are determined, assigning the maximum certificate number to a preset variable as a variable value when the maximum certificate number is not equal to the total number, and continuously adjusting the variable value based on all certificate numbers by using a missing number detection model constructed by a reverse insertion method to obtain a missing number, through automatic data processing, the accuracy of missing number detection is improved, missing numbers are recorded to a missing number table, and automatic detection of the missing numbers is achieved based on artificial intelligence. The invention also relates to a block chain technology, and the missing number detection model can be deployed in the block chain.

Description

Missing number detection method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a missing number detection method and device, electronic equipment and a storage medium.
Background
In actual work, there are many scenes that need to be processed in order of sequence numbers. In these scenarios, once the order of the sequence numbers is reversed, a rearrangement is required, otherwise the sequential execution of the tasks will be adversely affected.
However, for various reasons, a number is frequently broken or missing. In the prior art, the conditions of number interruption and missing number are often checked manually, and the serial numbers are rearranged after problems are found, so that missing number detection cannot be automatically executed by a machine, which results in high communication cost and low processing efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a missing number detection method, apparatus, electronic device and storage medium, which can implement automatic and fast detection of missing numbers based on artificial intelligence.
A missing number detection method comprises the following steps:
detecting the state identification of the current task at regular time, and determining the execution state of the current task according to the state identification;
when the current task is executed, acquiring all certificate numbers in the current task;
determining a maximum credential number from the all credential numbers and determining a total number of the all credential numbers;
performing a comparison operation on the value of the maximum credential number and the value of the total number;
when the value of the maximum certificate number is not equal to the value of the total number, assigning the maximum certificate number to a preset variable as a variable value of the preset variable;
adjusting the variable value based on all the voucher numbers by using a missing number detection model constructed by a reverse insertion method until the value of the variable value is zero, and stopping adjustment to obtain a missing number;
and recording the missing number to a missing number table.
According to the preferred embodiment of the present invention, the missing number detection method further includes:
and when the maximum certificate number is equal to the total number, determining that the current task has no missing number, and stopping detecting the missing number of the current task.
According to a preferred embodiment of the present invention, the adjusting the variable value based on all credential numbers by using the missing number detection model constructed by the reverse insertion method until the value of the variable value is zero, and stopping the adjustment and obtaining the missing number includes:
A. obtaining a certificate number with the largest value from the certificate numbers which are not assigned to the preset variable;
B. performing comparison operation on the obtained value of the certificate number and the current variable value;
C. when the value of the acquired certificate number is not equal to the current variable value, the size of the current variable value is used as the number of the certificate number to obtain the missing number, and subtraction operation is performed on the current variable value to update the current variable value; or
When the value of the acquired voucher number is equal to the value of the current variable, performing a subtraction operation on the value of the current variable to update the value of the current variable;
and when the current variable value is updated to zero, stopping executing.
According to the preferred embodiment of the present invention, the missing number detection method further includes:
when the missing number is detected to be stored in the missing number table, forbidding writing the missing number into the missing number table; or
And when detecting that the missing number is not stored in the missing number table, writing the missing number into the missing number table.
According to the preferred embodiment of the present invention, the missing number detection method further includes:
obtaining any credential number from the missing number table in response to a request for use of a credential number;
deleting the acquired credential number from the missing number table when it is detected that the acquired credential number is used.
According to the preferred embodiment of the present invention, the missing number detection method further includes:
in response to a request for use of a credential number, requesting a new credential number from a specified server when no credential number exists in the missing number table.
According to the preferred embodiment of the present invention, the missing number detection method further includes:
determining the number of the missing numbers;
when the number of the missing numbers is larger than or equal to a preset threshold value, acquiring an execution log of the current task;
identifying an error identification in the execution log to locate a fault point;
judging the type of the fault point;
calling a solution corresponding to the type of the fault point from a database;
and generating alarm information according to the fault point and the solution to alarm.
A missing number detection apparatus, the missing number detection apparatus comprising:
the detection unit is used for detecting the state identifier of the current task at regular time and determining the execution state of the current task according to the state identifier;
the acquisition unit is used for acquiring all the certificate numbers in the current task when the current task is executed;
a determining unit configured to determine a maximum credential number from the all credential numbers, and determine a total number of the all credential numbers;
the comparison unit is used for performing comparison operation on the numerical value of the maximum certificate number and the numerical value of the total number;
the assignment unit is used for assigning the maximum certificate number to a preset variable to serve as a variable value of the preset variable when the numerical value of the maximum certificate number is not equal to the numerical value of the total number;
the adjusting unit is used for adjusting the variable value based on all the voucher numbers by utilizing a missing number detection model constructed by a reverse insertion method until the value of the variable value is zero, stopping adjustment and obtaining a missing number;
and the recording unit is used for recording the missing number to a missing number table.
According to a preferred embodiment of the present invention, the missing number detecting apparatus further includes:
and the stopping unit is used for determining that the current task has no missing number when the maximum certificate number is equal to the total number, and stopping detecting the missing number of the current task.
According to a preferred embodiment of the present invention, the adjusting unit is specifically configured to:
A. obtaining a certificate number with the largest value from the certificate numbers which are not assigned to the preset variable;
B. performing comparison operation on the obtained value of the certificate number and the current variable value;
C. when the value of the acquired certificate number is not equal to the current variable value, the size of the current variable value is used as the number of the certificate number to obtain the missing number, and subtraction operation is performed on the current variable value to update the current variable value; or
When the value of the acquired voucher number is equal to the value of the current variable, performing a subtraction operation on the value of the current variable to update the value of the current variable;
and when the current variable value is updated to zero, stopping executing.
According to a preferred embodiment of the present invention, the recording unit is further configured to prohibit writing of the missing number into the missing number table when it is detected that the missing number is stored in the missing number table; or
The recording unit is further configured to write the missing number into the missing number table when it is detected that the missing number is not stored in the missing number table.
According to a preferred embodiment of the present invention, the obtaining unit is further configured to obtain an arbitrary credential number from the missing number table in response to a request for use of a credential number;
the missing number detection apparatus further includes:
a deleting unit configured to delete the acquired credential number from the missing number table when it is detected that the acquired credential number is used.
According to a preferred embodiment of the present invention, the missing number detecting apparatus further includes:
a requesting unit configured to request a new credential number from a specified server when the credential number does not exist in the missing number table in response to a request for use of the credential number.
According to a preferred embodiment of the present invention, the determining unit is further configured to determine the number of missing numbers;
the obtaining unit is further configured to obtain an execution log of the current task when the number of the missing numbers is greater than or equal to a preset threshold;
the missing number detection apparatus further includes:
the identification unit is used for identifying error identifications in the execution log so as to locate fault points;
the judging unit is used for judging the type of the fault point;
the calling unit is used for calling a solution corresponding to the type of the fault point from a database;
and the alarm unit is used for generating alarm information according to the fault point and the solution to alarm.
An electronic device, the electronic device comprising:
a memory storing at least one instruction; and
and the processor executes the instructions stored in the memory to realize the missing number detection method.
A computer-readable storage medium having stored therein at least one instruction, the at least one instruction being executable by a processor in an electronic device to implement the missing number detection method.
It can be seen from the above technical solutions that the present invention can detect the state identifier of the current task at regular time, and determine the execution state of the current task according to the state identifier, so as to execute the missing number detection in time when detecting that the execution state of the current task satisfies the condition for triggering the missing number detection, when the current task is completed, obtain all credential numbers in the current task to avoid false detection caused by the task being executed, further determine the maximum credential number from all the credential numbers, determine the total number of all the credential numbers, perform a comparison operation on the value of the maximum credential number and the value of the total number, and assign the maximum credential number to a preset variable as the variable value of the preset variable when the value of the maximum credential number is not equal to the value of the total number, and adjusting the variable value based on all the voucher numbers by using a missing number detection model constructed by a reverse insertion method until the value of the variable value is zero, stopping adjustment and obtaining the missing number, improving the accuracy of missing number detection, and further recording the missing number to a missing number table to realize automatic detection of the missing number.
Drawings
FIG. 1 is a flowchart illustrating a missing number detection method according to a preferred embodiment of the present invention.
FIG. 2 is a functional block diagram of a missing number detection apparatus according to a preferred embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an electronic device implementing a missing number detection method according to a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flow chart of a missing number detection method according to a preferred embodiment of the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
The missing number detection method is applied to one or more electronic devices, which are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and the hardware thereof includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The electronic device may be any electronic product capable of performing human-computer interaction with a user, for example, a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an interactive Internet Protocol Television (IPTV), an intelligent wearable device, and the like.
The electronic device may also include a network device and/or a user device. The network device includes, but is not limited to, a single network server, a server group consisting of a plurality of network servers, or a cloud computing (cloud computing) based cloud consisting of a large number of hosts or network servers.
The Network where the electronic device is located includes, but is not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
S10, detecting the state mark of the current task at regular time, and determining the execution state of the current task according to the state mark.
In this embodiment, the state identifier may be configured by self-definition, which is not limited in the present invention.
For example: when the state flag is 0, indicating that the current task is being executed; and when the state identifier is 1, indicating that the current task is completely executed.
Further, the electronic device detects the status identifier of the current task at regular time, so that missing number detection is performed in time when it is detected that the execution status of the current task meets the condition for triggering missing number detection.
Specifically, the electronic device acquires execution data of a historical task, determines the execution state from the execution data as the time when the execution is completed, and performs big data analysis on all the determined times to obtain the target time.
In the target time, the corresponding task is considered to be in a state of being executed completely.
Furthermore, the electronic equipment can be configured to detect the state identifier of each task at the target time in a timing manner, so that detection can be implemented according to the rule of task processing, the detection times are reduced, the detection efficiency is improved, and meanwhile, the influence on the normal operation of the system caused by continuous detection is effectively avoided.
And S11, when the current task is completed, acquiring all the voucher numbers in the current task.
It can be understood that when the current task is not executed completely, it is likely that the used credential numbers are not recorded and submitted because the current task is not executed completely, and the used credential numbers are not recorded and submitted, which will cause the credential numbers to be used but erroneously detected as missing numbers, affecting the accuracy of the missing number detection result of the current task.
Therefore, the electronic equipment detects the missing number of the current task after determining that the current task is completely executed, so as to ensure the accuracy of the detection result.
In at least one embodiment of the present invention, the missing number detection method further includes:
and when detecting that the current task is not completely executed, the electronic equipment delays the execution of missing number detection.
Specifically, the electronic device may delay missing number detection for a preset time before execution.
For example: in the accounting document, whether accounting is finished on the same day is firstly confirmed, if the accounting program is not finished, the missing number detection task is dormant for 1 hour, after 1 hour, the electronic equipment scans the accounting state again, and if the accounting state is finished, missing number detection is executed.
S12, determining the maximum voucher number from all the voucher numbers, and determining the total number of all the voucher numbers.
In this embodiment, the electronic device traverses all the credential numbers, and finally determines the maximum credential number by pairwise comparison.
Further, the electronic device counts the number of all the credential numbers.
For example: when the certificate numbers of the current task are 1, 2, 4 and 5, the electronic device can determine that the maximum certificate number is 5 through a pairwise comparison mode, and meanwhile, the electronic device counts the number of the maximum certificate numbers and determines that the number of all certificate numbers is 4.
S13, comparing the value of the maximum certificate number and the value of the total number.
Specifically, the electronic device compares the number value of the maximum credential number to the total number.
For example: when the maximum certificate number is 5 and the number of all certificate numbers is 4, the electronic device compares 5 with 4.
And S14, when the value of the maximum certificate number is not equal to the value of the total number, assigning the maximum certificate number to a preset variable as the variable value of the preset variable.
It will be appreciated that since the credential numbers are used sequentially, one after the other, in order to progress, the maximum credential number should be equal to the total number when there is no missing number phenomenon.
Specifically, the missing number detection method further includes:
and when the maximum certificate number is equal to the total number, determining that the current task has no missing number, and stopping detecting the missing number of the current task.
For example: when the voucher numbers are 1, 2, 3, 4, 5 in this order, the maximum voucher number is 5, and the number of voucher numbers is also 5, i.e., if no missing number is generated, the maximum voucher number is the same as the number of voucher numbers.
Through the embodiment, when the missing number does not exist, the missing number detection is not needed to be executed any more, and unnecessary consumption of system resources caused by the operation load of the system due to the execution of the missing number detection is avoided.
In this embodiment, when the value of the maximum credential number is not equal to the value of the total number, the electronic device performs missing number detection.
Specifically, the electronic device may first define a preset variable, such as Jump _ Sign _ Sequence, and assign the maximum credential number to the preset variable Jump _ Sign _ Sequence, so that the variable value of the preset variable Jump _ Sign _ Sequence is the maximum credential number.
For example: when the maximum credential number is 5, the variable value of the preset variable Jump _ Sign _ Sequence is 5.
And S15, adjusting the variable value based on all the voucher numbers by using the missing number detection model constructed by the reverse insertion method until the value of the variable value is zero, and stopping adjustment to obtain the missing number.
In this embodiment, the electronic device reverses all the credential numbers by using a missing number detection model constructed by a reverse insertion method, compares each credential number with a current variable value of the preset variable according to the reverse, sequentially adjusts the variable value of the preset variable according to the comparison result, and determines the variable value satisfying the condition in the adjustment process as the missing number.
The missing number detection model is constructed based on a reverse insertion method, and any intelligent model constructed based on the reverse insertion method and realizing the same principle can be used, which is not described herein again.
Specifically, the adjusting the variable value based on all the credential numbers by using the missing number detection model constructed by the reverse insertion method until the value of the variable value is zero, and stopping the adjustment and obtaining the missing number includes:
A. obtaining a certificate number with the largest value from the certificate numbers which are not assigned to the preset variable;
B. performing comparison operation on the obtained value of the certificate number and the current variable value;
C. when the value of the acquired certificate number is not equal to the current variable value, the size of the current variable value is used as the number of the certificate number to obtain the missing number, and subtraction operation is performed on the current variable value to update the current variable value; or
When the value of the acquired voucher number is equal to the value of the current variable, performing a subtraction operation on the value of the current variable to update the value of the current variable;
and when the current variable value is updated to zero, stopping executing.
For example: when the credential numbers are 1, 2, 4, and 5 in Sequence, then the maximum credential number is 5, and then the initial variable of the preset variable Jump _ Sign _ Sequence is 5.
Before performing comparison, if all the credential numbers are in a state where comparison is not performed, the electronic device obtains a credential number with a largest value from all the credential numbers as 5, and further, the electronic device compares the obtained credential number 5 with the current variable value 5 of the preset variable Jump _ Sign _ Sequence, and if the comparison result is 5, the electronic device performs a subtraction operation on the variable value 5 of the preset variable Jump _ Sign _ Sequence to obtain 4, that is, the current variable value of the preset variable Jump _ Sign _ Sequence is updated to 4.
Further, the electronic device obtains a credential number with a largest value from credential numbers that have not been assigned to the preset variable, and compares the obtained credential number 4 with a current variable value 4 of the preset variable Jump _ Sign _ Sequence, and if the comparison result is 4, the electronic device performs a subtraction operation on the variable value 4 of the preset variable Jump _ Sign _ Sequence to obtain 3, that is, the current variable value of the preset variable Jump _ Sign _ Sequence is updated to 3.
Further, the electronic device obtains a credential number with the largest value from credential numbers that have not been assigned to the preset variable as 2, the electronic device compares the obtained credential number 2 with a current variable value 3 of the preset variable Jump _ Sign _ Sequence, and the comparison result is 2<3, and since the two values are different, the electronic device takes the size 3 of the current variable value as the number of the credential number to obtain a missing number 3, that is, the electronic device determines that there is a missing number in the credential number as 3, and further, the electronic device performs a subtraction operation on the variable value 3 of the preset variable Jump _ Sign _ Sequence to obtain 2, that is, the current variable value of the preset variable Jump _ Sign _ Sequence is updated to 2.
And repeating the operation by using the missing number detection model until the variable value of the preset variable Jump _ Sign _ Sequence is 0, and stopping executing the missing number detection.
Through the implementation mode, all the voucher numbers are traversed by utilizing the missing number detection model, and the electronic equipment can replace manual work to automatically perform comprehensive detection on the missing numbers in all the voucher numbers by means of artificial intelligence.
And S16, recording the missing number into a missing number table.
In this embodiment, the missing number table stores missing numbers due to various reasons during the execution of the current task.
For example: when the certificate numbers are 1, 2, 4, and 5 in this order, the missing number is 3, that is, the certificate number 3 is recorded in the missing number table.
In at least one embodiment of the present invention, the missing number detection method further includes:
(1) and when the missing number is detected to be stored in the missing number table, forbidding writing the missing number into the missing number table.
For example: when the last missing number detection is performed on the current task, the electronic device already records the missing number 3 into the missing number table, and in order to avoid data redundancy caused by repeated recording, the electronic device prohibits writing the missing number 3 into the missing number table.
(2) And when detecting that the missing number is not stored in the missing number table, writing the missing number into the missing number table.
For example: and when detecting that the missing number 3 detected at the current time is not stored in the missing number table, the electronic equipment writes the missing number 3 into the missing number table for subsequent preferential use.
In at least one embodiment of the present invention, the missing number detection method further includes:
in response to a request for use of a credential number, an arbitrary credential number is acquired from the missing number table, and when it is detected that the acquired credential number is used, the acquired credential number is deleted from the missing number table.
Through the embodiment, when the use request of the certificate number is received, the certificate number in the missing number table is preferentially used, and the certificate number can be ensured to be used in order. In addition, after the voucher number in the missing number table is used, the used missing number is deleted in time, so that the phenomenon of repeated use of the voucher number is avoided.
In at least one embodiment of the present invention, the missing number detection method further includes:
in response to a request for use of a credential number, requesting a new credential number from a specified server when no credential number exists in the missing number table.
The appointed server is used for issuing a certificate number to the electronic equipment.
Through the implementation mode, when no missing number phenomenon exists, a new certificate number can be requested from the appointed server in time, and the execution of the task is prevented from being influenced.
In at least one embodiment of the present invention, the missing number detection method further includes:
determining the number of the missing numbers, when the number of the missing numbers is larger than or equal to a preset threshold value, acquiring an execution log of the current task, identifying error identifications in the execution log to locate fault points, judging the types of the fault points, calling a solution corresponding to the types of the fault points from a database, and generating alarm information according to the fault points and the solution to give an alarm.
The preset threshold may be configured according to different task requirements, for example: the preset threshold may be 100.
Further, the alarm mode may include a mail reminder, an information reminder, etc., and the present invention is not limited.
Through the implementation mode, when the number of the missing numbers reaches a certain value, the fact that the system is abnormal is indicated, the electronic equipment automatically calls the execution log to determine the fault point, determines the solution according to historical data, and generates alarm information according to the fault point and the solution to give an alarm, so that related workers are assisted to solve the fault in time, and the missing numbers are avoided fundamentally.
It can be seen from the above technical solutions that the present invention can detect the state identifier of the current task at regular time, and determine the execution state of the current task according to the state identifier, so as to execute the missing number detection in time when detecting that the execution state of the current task satisfies the condition for triggering the missing number detection, when the current task is completed, obtain all credential numbers in the current task to avoid false detection caused by the task being executed, further determine the maximum credential number from all the credential numbers, determine the total number of all the credential numbers, perform a comparison operation on the value of the maximum credential number and the value of the total number, and assign the maximum credential number to a preset variable as the variable value of the preset variable when the value of the maximum credential number is not equal to the value of the total number, and adjusting the variable value based on all the voucher numbers by using a missing number detection model constructed by a reverse insertion method until the value of the variable value is zero, stopping adjustment and obtaining the missing number, improving the accuracy of missing number detection, and further recording the missing number to a missing number table to realize automatic detection of the missing number.
Fig. 2 is a functional block diagram of a missing number detection apparatus according to a preferred embodiment of the present invention. The missing number detection device 11 includes a detection unit 110, an acquisition unit 111, a determination unit 112, a comparison unit 113, an assignment unit 114, an adjustment unit 115, a recording unit 116, a stop unit 117, a deletion unit 118, a request unit 119, an identification unit 120, a judgment unit 121, a retrieval unit 122, and an alarm unit 123. The module/unit referred to in the present invention refers to a series of computer program segments that can be executed by the processor 13 and that can perform a fixed function, and that are stored in the memory 12. In the present embodiment, the functions of the modules/units will be described in detail in the following embodiments.
The detecting unit 110 detects the status identifier of the current task at regular time, and determines the execution status of the current task according to the status identifier.
In this embodiment, the state identifier may be configured by self-definition, which is not limited in the present invention.
For example: when the state flag is 0, indicating that the current task is being executed; and when the state identifier is 1, indicating that the current task is completely executed.
Further, the detecting unit 110 detects the status identifier of the current task at regular time, so as to perform missing number detection in time when it is detected that the execution status of the current task meets the condition for triggering missing number detection.
Specifically, the detection unit 110 obtains execution data of the historical task, determines the execution state as the time when the execution is completed from the execution data, and performs big data analysis on all the determined times to obtain the target time.
In the target time, the corresponding task is considered to be in a state of being executed completely.
Furthermore, the detection unit 110 may be configured to detect the status identifier of each task at the target time at regular time, so as to perform detection according to the rule of task processing, reduce the number of detection times, improve the detection efficiency, and effectively avoid the influence on the normal operation of the system due to continuous detection.
When the current task is completed, the obtaining unit 111 obtains all credential numbers in the current task.
It can be understood that when the current task is not executed completely, it is likely that the used credential numbers are not recorded and submitted because the current task is not executed completely, and the used credential numbers are not recorded and submitted, which will cause the credential numbers to be used but erroneously detected as missing numbers, affecting the accuracy of the missing number detection result of the current task.
Therefore, the obtaining unit 111 performs missing number detection on the current task after determining that the current task is completely executed, so as to ensure accuracy of a detection result.
In at least one embodiment of the present invention, the detecting unit 110 delays the execution of missing number detection when it is detected that the current task is not completely executed.
Specifically, the detecting unit 110 may delay missing number detection for a preset time before performing the missing number detection.
For example: in the accounting document, it is first determined whether accounting is completed on the same day, if the accounting program is not completed, the missing number detection task is dormant for 1 hour, after 1 hour, the detection unit 110 scans the accounting state again, and if the accounting state is completed, missing number detection is executed.
The determination unit 112 determines the maximum credential number from the all credential numbers, and determines the total number of the all credential numbers.
In this embodiment, the determining unit 112 traverses all the credential numbers, and finally determines the maximum credential number by pairwise comparison.
Further, the determination unit 112 counts the number of all credential numbers.
For example: when the credential numbers of the current task are 1, 2, 4, and 5, the determining unit 112 may determine that the maximum credential number is 5 by means of pairwise comparison, and meanwhile, the determining unit 112 counts the number of the maximum credential numbers and determines that the number of all credential numbers is 4.
The comparison unit 113 performs a comparison operation on the value of the maximum credential number and the value of the total number.
Specifically, the comparing unit 113 compares the number value of the maximum credential number with the total number.
For example: when the maximum credential number is 5 and the number of all credential numbers is 4, the comparison unit 113 compares 5 and 4.
When the value of the maximum credential number is not equal to the value of the total number, the assigning unit 114 assigns the maximum credential number to a preset variable as a variable value of the preset variable.
It will be appreciated that since the credential numbers are used sequentially, one after the other, in order to progress, the maximum credential number should be equal to the total number when there is no missing number phenomenon.
Specifically, when the maximum credential number is equal to the total number, the stopping unit 117 determines that there is no missing number for the current task, and stops the missing number detection for the current task.
For example: when the voucher numbers are 1, 2, 3, 4, 5 in this order, the maximum voucher number is 5, and the number of voucher numbers is also 5, i.e., if no missing number is generated, the maximum voucher number is the same as the number of voucher numbers.
Through the embodiment, when the missing number does not exist, the missing number detection is not needed to be executed any more, and unnecessary consumption of system resources caused by the operation load of the system due to the execution of the missing number detection is avoided.
In this embodiment, when the value of the maximum credential number is not equal to the value of the total number, missing number detection is performed.
Specifically, a preset variable, such as Jump _ Sign _ Sequence, may be first defined, and the maximum credential number is assigned to the preset variable Jump _ Sign _ Sequence, so that the variable value of the preset variable Jump _ Sign _ Sequence is the maximum credential number.
For example: when the maximum credential number is 5, the variable value of the preset variable Jump _ Sign _ Sequence is 5.
The adjusting unit 115 adjusts the variable value based on all credential numbers by using the missing number detection model constructed by the reverse insertion method until the value of the variable value is zero, and stops the adjustment and obtains the missing number.
In this embodiment, the adjusting unit 115 reverses all the credential numbers to be arranged by using a missing number detection model constructed by a reverse insertion method, then compares each credential number with the current variable value of the preset variable in a reverse manner, sequentially adjusts the variable value of the preset variable according to the comparison result, and determines the variable value satisfying the condition in the adjustment process as the missing number.
The missing number detection model is constructed based on a reverse insertion method, and any intelligent model constructed based on the reverse insertion method and realizing the same principle can be used, which is not described herein again.
Specifically, the adjusting the variable value based on all the credential numbers by using the missing number detection model constructed by the reverse insertion method until the value of the variable value is zero, and stopping the adjustment and obtaining the missing number includes:
A. obtaining a certificate number with the largest value from the certificate numbers which are not assigned to the preset variable;
B. performing comparison operation on the obtained value of the certificate number and the current variable value;
C. when the value of the acquired certificate number is not equal to the current variable value, the size of the current variable value is used as the number of the certificate number to obtain the missing number, and subtraction operation is performed on the current variable value to update the current variable value; or
When the value of the acquired voucher number is equal to the value of the current variable, performing a subtraction operation on the value of the current variable to update the value of the current variable;
and when the current variable value is updated to zero, stopping executing.
For example: when the credential numbers are 1, 2, 4, and 5 in Sequence, then the maximum credential number is 5, and then the initial variable of the preset variable Jump _ Sign _ Sequence is 5.
Before performing the comparison, if all the credential numbers are in a state where the comparison is not performed, the adjusting unit 115 obtains a credential number with a largest value from all the credential numbers as 5, further, the adjusting unit 115 compares the obtained credential number 5 with the current variable value 5 of the preset variable Jump _ Sign _ Sequence, and if the comparison result is 5, the adjusting unit 115 performs a subtraction operation on the variable value 5 of the preset variable Jump _ Sign _ Sequence to obtain 4, that is, the current variable value of the preset variable Jump _ Sign _ Sequence is updated to 4.
Further, the adjusting unit 115 obtains a credential number with a largest value as 4 from credential numbers that have not been assigned to the preset variable, the adjusting unit 115 compares the obtained credential number 4 with the current variable value 4 of the preset variable Jump _ Sign _ Sequence, and if the comparison result is 4, the adjusting unit 115 performs a subtraction operation on the variable value 4 of the preset variable Jump _ Sign _ Sequence to obtain 3, that is, the current variable value of the preset variable Jump _ Sign _ Sequence is updated to 3.
Further, the adjusting unit 115 obtains a credential number with the largest value from credential numbers that have not been assigned to the preset variable as 2, the adjusting unit 115 compares the obtained credential number 2 with a current variable value 3 of the preset variable Jump _ Sign _ Sequence, the comparison result is 2<3, and since the two values are different, the adjusting unit 115 takes the size 3 of the current variable value as the number of the credential number to obtain a missing number 3, that is, the adjusting unit 115 determines that there is a missing number of 3 in the credential number, and further, the adjusting unit 115 performs a subtraction operation on the variable value 3 of the preset variable Jump _ Sign _ Sequence to obtain 2, that is, the current variable value of the preset variable Jump _ Sign _ Sequence is updated to 2.
And repeating the operation by using the missing number detection model until the variable value of the preset variable Jump _ Sign _ Sequence is 0, and stopping executing the missing number detection.
Through the implementation mode, all the voucher numbers are traversed by utilizing the missing number detection model, and the comprehensive detection of the missing numbers in all the voucher numbers can be automatically executed by means of artificial intelligence instead of manual operation.
The recording unit 116 records the missing number to the missing number table.
In this embodiment, the missing number table stores missing numbers due to various reasons during the execution of the current task.
For example: when the certificate numbers are 1, 2, 4, and 5 in this order, the missing number is 3, that is, the certificate number 3 is recorded in the missing number table.
In at least one embodiment of the invention:
(1) when detecting that the missing number is stored in the missing number table, the recording unit 116 prohibits writing of the missing number into the missing number table.
For example: when the last missing number detection is performed on the current task, the recording unit 116 already records the missing number 3 into the missing number table, and then, in order to avoid data redundancy caused by repeated recording, the recording unit 116 prohibits writing the missing number 3 into the missing number table.
(2) When detecting that the missing number is not stored in the missing number table, the recording unit 116 writes the missing number into the missing number table.
For example: when detecting that the missing number 3 detected this time is not stored in the missing number table, the recording unit 116 writes the missing number 3 into the missing number table for subsequent preferential use.
In at least one embodiment of the present invention, the acquiring unit 111 acquires an arbitrary credential number from the missing number table in response to a request for use of a credential number, and the deleting unit 118 deletes the acquired credential number from the missing number table when it is detected that the acquired credential number is used.
Through the embodiment, when the use request of the certificate number is received, the certificate number in the missing number table is preferentially used, and the certificate number can be ensured to be used in order. In addition, after the voucher number in the missing number table is used, the used missing number is deleted in time, so that the phenomenon of repeated use of the voucher number is avoided.
In at least one embodiment of the present invention, in response to a request for use of a credential number, when no credential number exists in the missing number table, the requesting unit 119 requests a new credential number from the specified server.
Wherein, the designated server is used for issuing a credential number to the request unit 119.
Through the implementation mode, when no missing number phenomenon exists, a new certificate number can be requested from the appointed server in time, and the execution of the task is prevented from being influenced.
In at least one embodiment of the present invention, the determining unit 112 determines the number of the missing numbers, when the number of the missing numbers is greater than or equal to a preset threshold, the obtaining unit 111 obtains an execution log of the current task, the identifying unit 120 identifies error identifiers in the execution log to locate a fault point, the determining unit 121 determines a type of the fault point, the retrieving unit 122 retrieves a solution corresponding to the type of the fault point from a database, and the alarming unit 123 generates alarm information according to the fault point and the solution to alarm.
The preset threshold may be configured according to different task requirements, for example: the preset threshold may be 100.
Further, the alarm mode may include a mail reminder, an information reminder, etc., and the present invention is not limited.
Through the implementation mode, when the number of the missing numbers reaches a certain value, the fact that the system is abnormal is indicated, the execution log is automatically called to determine a fault point, a solution is determined according to historical data, alarm information is generated according to the fault point and the solution to give an alarm, relevant workers are further assisted to solve the fault in time, and the missing numbers are avoided fundamentally.
It can be seen from the above technical solutions that the present invention can detect the state identifier of the current task at regular time, and determine the execution state of the current task according to the state identifier, so as to execute the missing number detection in time when detecting that the execution state of the current task satisfies the condition for triggering the missing number detection, when the current task is completed, obtain all credential numbers in the current task to avoid false detection caused by the task being executed, further determine the maximum credential number from all the credential numbers, determine the total number of all the credential numbers, perform a comparison operation on the value of the maximum credential number and the value of the total number, and assign the maximum credential number to a preset variable as the variable value of the preset variable when the value of the maximum credential number is not equal to the value of the total number, and adjusting the variable value based on all the voucher numbers by using a missing number detection model constructed by a reverse insertion method until the value of the variable value is zero, stopping adjustment and obtaining the missing number, improving the accuracy of missing number detection, and further recording the missing number to a missing number table to realize automatic detection of the missing number.
Fig. 3 is a schematic structural diagram of an electronic device implementing a missing number detection method according to a preferred embodiment of the present invention.
The electronic device 1 may comprise a memory 12, a processor 13 and a bus, and may further comprise a computer program, such as a missing number detection program, stored in the memory 12 and executable on the processor 13.
It will be understood by those skilled in the art that the schematic diagram is merely an example of the electronic device 1, and does not constitute a limitation to the electronic device 1, the electronic device 1 may have a bus-type structure or a star-type structure, the electronic device 1 may further include more or less hardware or software than those shown in the figures, or different component arrangements, for example, the electronic device 1 may further include an input and output device, a network access device, and the like.
It should be noted that the electronic device 1 is only an example, and other existing or future electronic products, such as those that can be adapted to the present invention, should also be included in the scope of the present invention, and are included herein by reference.
The memory 12 includes at least one type of readable storage medium, which includes 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 12 may in some embodiments be an internal storage unit of the electronic device 1, for example a removable hard disk of the electronic device 1. The memory 12 may also be an external storage device of the electronic device 1 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 provided on the electronic device 1. Further, the memory 12 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 12 may be used not only to store application software installed in the electronic apparatus 1 and various types of data such as codes of a missing number detection program, but also to temporarily store data that has been output or is to be output.
The processor 13 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 13 is a Control Unit (Control Unit) of the electronic device 1, connects various components of the electronic device 1 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 (for example, executing a missing number detection program and the like) stored in the memory 12 and calling data stored in the memory 12.
The processor 13 executes an operating system of the electronic device 1 and various installed application programs. The processor 13 executes the application program to implement the steps in the above-mentioned various missing number detection method embodiments, such as steps S10, S11, S12, S13, S14, S15, and S16 shown in fig. 1.
Alternatively, the processor 13, when executing the computer program, implements the functions of the modules/units in the above device embodiments, for example:
detecting the state identification of the current task at regular time, and determining the execution state of the current task according to the state identification;
when the current task is executed, acquiring all certificate numbers in the current task;
determining a maximum credential number from the all credential numbers and determining a total number of the all credential numbers;
performing a comparison operation on the value of the maximum credential number and the value of the total number;
when the value of the maximum certificate number is not equal to the value of the total number, assigning the maximum certificate number to a preset variable as a variable value of the preset variable;
adjusting the variable value based on all the voucher numbers by using a missing number detection model constructed by a reverse insertion method until the value of the variable value is zero, and stopping adjustment to obtain a missing number;
and recording the missing number to a missing number table.
Illustratively, the computer program may be divided into one or more modules/units, which are stored in the memory 12 and executed by the processor 13 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the electronic device 1. For example, the computer program may be divided into a detection unit 110, an acquisition unit 111, a determination unit 112, a comparison unit 113, an assignment unit 114, an adjustment unit 115, a recording unit 116, a stop unit 117, a deletion unit 118, a request unit 119, an identification unit 120, a judgment unit 121, a retrieval unit 122, and an alarm unit 123.
The integrated unit implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a computer device, or a network device) or a processor (processor) to execute parts of the missing number detection method according to the embodiments of the present invention.
The integrated modules/units of the electronic device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented.
Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. 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 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 bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one arrow is shown in FIG. 3, but this does not indicate only one bus or one type of bus. The bus is arranged to enable connection communication between the memory 12 and at least one processor 13 or the like.
Although not shown, the electronic device 1 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 13 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like 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 1 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 1 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 for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 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 for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
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.
Fig. 3 only shows the electronic device 1 with components 12-13, and it will be understood by a person skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
With reference to fig. 1, the memory 12 of the electronic device 1 stores a plurality of instructions to implement a missing number detection method, and the processor 13 can execute the plurality of instructions to implement:
detecting the state identification of the current task at regular time, and determining the execution state of the current task according to the state identification;
when the current task is executed, acquiring all certificate numbers in the current task;
determining a maximum credential number from the all credential numbers and determining a total number of the all credential numbers;
performing a comparison operation on the value of the maximum credential number and the value of the total number;
when the value of the maximum certificate number is not equal to the value of the total number, assigning the maximum certificate number to a preset variable as a variable value of the preset variable;
adjusting the variable value based on all the voucher numbers by using a missing number detection model constructed by a reverse insertion method until the value of the variable value is zero, and stopping adjustment to obtain a missing number;
and recording the missing number to a missing number table.
Specifically, the processor 13 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 for a specific implementation method of the instruction, which is not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may 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.
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 missing number detection method, characterized in that the missing number detection method comprises:
detecting the state identification of the current task at regular time, and determining the execution state of the current task according to the state identification;
when the current task is executed, acquiring all certificate numbers in the current task;
determining a maximum credential number from the all credential numbers and determining a total number of the all credential numbers;
performing a comparison operation on the value of the maximum credential number and the value of the total number;
when the value of the maximum certificate number is not equal to the value of the total number, assigning the maximum certificate number to a preset variable as a variable value of the preset variable;
adjusting the variable value based on all the voucher numbers by using a missing number detection model constructed by a reverse insertion method until the value of the variable value is zero, and stopping adjustment to obtain a missing number;
and recording the missing number to a missing number table.
2. The missing number detection method of claim 1, further comprising:
and when the maximum certificate number is equal to the total number, determining that the current task has no missing number, and stopping detecting the missing number of the current task.
3. The missing number detection method of claim 1, wherein the adjusting the variable value based on all credential numbers using the missing number detection model constructed by the reverse insertion method until the value of the variable value is zero, and stopping the adjusting and obtaining the missing number comprises:
A. obtaining a certificate number with the largest value from the certificate numbers which are not assigned to the preset variable;
B. performing comparison operation on the obtained value of the certificate number and the current variable value;
C. when the value of the acquired certificate number is not equal to the current variable value, the size of the current variable value is used as the number of the certificate number to obtain the missing number, and subtraction operation is performed on the current variable value to update the current variable value; or
When the value of the acquired voucher number is equal to the value of the current variable, performing a subtraction operation on the value of the current variable to update the value of the current variable;
and when the current variable value is updated to zero, stopping executing.
4. The missing number detection method of claim 1, further comprising:
when the missing number is detected to be stored in the missing number table, forbidding writing the missing number into the missing number table; or
And when detecting that the missing number is not stored in the missing number table, writing the missing number into the missing number table.
5. The missing number detection method of claim 1, further comprising:
obtaining any credential number from the missing number table in response to a request for use of a credential number;
deleting the acquired credential number from the missing number table when it is detected that the acquired credential number is used.
6. The missing number detection method of claim 1, further comprising:
in response to a request for use of a credential number, requesting a new credential number from a specified server when no credential number exists in the missing number table.
7. The missing number detection method of claim 1, further comprising:
determining the number of the missing numbers;
when the number of the missing numbers is larger than or equal to a preset threshold value, acquiring an execution log of the current task;
identifying an error identification in the execution log to locate a fault point;
judging the type of the fault point;
calling a solution corresponding to the type of the fault point from a database;
and generating alarm information according to the fault point and the solution to alarm.
8. A missing number detection apparatus, comprising:
the detection unit is used for detecting the state identifier of the current task at regular time and determining the execution state of the current task according to the state identifier;
the acquisition unit is used for acquiring all the certificate numbers in the current task when the current task is executed;
a determining unit configured to determine a maximum credential number from the all credential numbers, and determine a total number of the all credential numbers;
the comparison unit is used for performing comparison operation on the numerical value of the maximum certificate number and the numerical value of the total number;
the assignment unit is used for assigning the maximum certificate number to a preset variable to serve as a variable value of the preset variable when the numerical value of the maximum certificate number is not equal to the numerical value of the total number;
the adjusting unit is used for adjusting the variable value based on all the voucher numbers by utilizing a missing number detection model constructed by a reverse insertion method until the value of the variable value is zero, stopping adjustment and obtaining a missing number;
and the recording unit is used for recording the missing number to a missing number table.
9. An electronic device, characterized in that the electronic device comprises:
a memory storing at least one instruction; and
a processor executing instructions stored in the memory to implement the missing number detection method of any of claims 1 to 7.
10. A computer-readable storage medium characterized by: the computer-readable storage medium has stored therein at least one instruction that is executed by a processor in an electronic device to implement the missing number detection method of any one of claims 1 to 7.
CN202010470715.9A 2020-05-28 2020-05-28 Missing number detection method and device, electronic equipment and storage medium Active CN111694843B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010470715.9A CN111694843B (en) 2020-05-28 2020-05-28 Missing number detection method and device, electronic equipment and storage medium
PCT/CN2020/122282 WO2021114877A1 (en) 2020-05-28 2020-10-20 Missing-number detection method, apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010470715.9A CN111694843B (en) 2020-05-28 2020-05-28 Missing number detection method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111694843A true CN111694843A (en) 2020-09-22
CN111694843B CN111694843B (en) 2023-09-22

Family

ID=72478508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010470715.9A Active CN111694843B (en) 2020-05-28 2020-05-28 Missing number detection method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN111694843B (en)
WO (1) WO2021114877A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112633251A (en) * 2021-01-07 2021-04-09 南方电网深圳数字电网研究院有限公司 Text recognition-based target document acquisition method and device and storage medium
WO2021114877A1 (en) * 2020-05-28 2021-06-17 平安科技(深圳)有限公司 Missing-number detection method, apparatus, electronic device, and storage medium
CN116362816A (en) * 2023-05-30 2023-06-30 浙江爱信诺航天信息技术有限公司 Voucher information omission recognition and processing method, system and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5912630A (en) * 1997-01-17 1999-06-15 Mccullough; Robert K. Skipped number display for customer service control system
US20160026649A1 (en) * 2014-07-25 2016-01-28 Manas Kumar Sahoo Efficient allocation of numbers in a non-contiguous list using gap values
CN108776759A (en) * 2018-04-16 2018-11-09 江苏大学 A kind of automatic queuing's form number management system and method based on mandate

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5729744A (en) * 1996-06-10 1998-03-17 International Business Machine Corp. Method and system of enhanced versioning control of objects in a data processing system using change control information which includes reasons for changes
CN107992870A (en) * 2017-12-08 2018-05-04 中电智能卡有限责任公司 A kind of card number detection method and system
CN111026755B (en) * 2019-12-06 2023-05-02 中国银行股份有限公司 Transaction sequence number acquisition method and device based on full sequence number generator
CN111694843B (en) * 2020-05-28 2023-09-22 平安科技(深圳)有限公司 Missing number detection method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5912630A (en) * 1997-01-17 1999-06-15 Mccullough; Robert K. Skipped number display for customer service control system
US20160026649A1 (en) * 2014-07-25 2016-01-28 Manas Kumar Sahoo Efficient allocation of numbers in a non-contiguous list using gap values
CN108776759A (en) * 2018-04-16 2018-11-09 江苏大学 A kind of automatic queuing's form number management system and method based on mandate

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021114877A1 (en) * 2020-05-28 2021-06-17 平安科技(深圳)有限公司 Missing-number detection method, apparatus, electronic device, and storage medium
CN112633251A (en) * 2021-01-07 2021-04-09 南方电网深圳数字电网研究院有限公司 Text recognition-based target document acquisition method and device and storage medium
CN116362816A (en) * 2023-05-30 2023-06-30 浙江爱信诺航天信息技术有限公司 Voucher information omission recognition and processing method, system and medium
CN116362816B (en) * 2023-05-30 2023-09-26 浙江爱信诺航天信息技术有限公司 Voucher information omission recognition and processing method, system and medium

Also Published As

Publication number Publication date
CN111694843B (en) 2023-09-22
WO2021114877A1 (en) 2021-06-17

Similar Documents

Publication Publication Date Title
CN111694843B (en) Missing number detection method and device, electronic equipment and storage medium
CN111767268B (en) Database table partitioning method and device, electronic equipment and storage medium
CN112559535B (en) Multithreading-based asynchronous task processing method, device, equipment and medium
CN112015663B (en) Test data recording method, device, equipment and medium
CN111950621A (en) Target data detection method, device, equipment and medium based on artificial intelligence
CN111985545A (en) Target data detection method, device, equipment and medium based on artificial intelligence
CN111858604B (en) Data storage method and device, electronic equipment and storage medium
CN113590632A (en) Database index creating method, device, equipment and medium
CN112464619A (en) Big data processing method, device and equipment and computer readable storage medium
CN115086047B (en) Interface authentication method and device, electronic equipment and storage medium
CN113849520B (en) Intelligent recognition method and device for abnormal SQL, electronic equipment and storage medium
CN114626103A (en) Data consistency comparison method, device, equipment and medium
CN112560721B (en) Non-perception model switching method and device, electronic equipment and storage medium
CN115269523A (en) File storage and query method based on artificial intelligence and related equipment
CN114675976A (en) GPU sharing method, device, equipment and medium based on kubernets
CN113076069A (en) Double-cache method and device, electronic equipment and computer readable storage medium
CN113419718A (en) Data transmission method, device, equipment and medium
CN112434237A (en) Page loading method and device, electronic equipment and storage medium
CN113297228B (en) MySQL writing method, device, equipment and medium based on multiple live instances
CN112181662A (en) Task scheduling method and device, electronic equipment and storage medium
CN113434359B (en) Data traceability system construction method and device, electronic device and readable storage medium
CN112559531B (en) Data collection method, device, electronic equipment and storage medium
CN110716939B (en) Data management method, electronic device, system and medium
CN110716884B (en) Fragment data storage method, electronic equipment and system
CN113360767A (en) Information pushing method and device, electronic equipment and 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40029441

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant