WO2021114877A1 - Missing-number detection method, apparatus, electronic device, and storage medium - Google Patents

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

Info

Publication number
WO2021114877A1
WO2021114877A1 PCT/CN2020/122282 CN2020122282W WO2021114877A1 WO 2021114877 A1 WO2021114877 A1 WO 2021114877A1 CN 2020122282 W CN2020122282 W CN 2020122282W WO 2021114877 A1 WO2021114877 A1 WO 2021114877A1
Authority
WO
WIPO (PCT)
Prior art keywords
missing
voucher
value
numbers
variable
Prior art date
Application number
PCT/CN2020/122282
Other languages
French (fr)
Chinese (zh)
Inventor
王震
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021114877A1 publication Critical patent/WO2021114877A1/en

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

Definitions

  • This application relates to the field of artificial intelligence technology, and in particular to a missing number detection method, device, electronic equipment, and storage medium.
  • a method for detecting missing numbers includes:
  • a missing number detection device includes:
  • the detection unit is configured to periodically detect the status identifier of the current task, and determine the execution status of the current task according to the status identifier;
  • the obtaining unit is configured to obtain all the credential numbers in the current task when the execution of the current task is completed;
  • the determining unit is used for determining the largest voucher number from all the voucher numbers, and determining the total number of all the voucher numbers;
  • a comparison unit configured to perform a comparison operation on the value of the maximum voucher number and the value of the total quantity
  • An assignment unit configured to assign the maximum certificate number to a preset variable as the variable value of the preset variable when the value of the maximum voucher number is not equal to the value of the total quantity
  • the adjustment unit is configured to use a missing number detection model constructed by a reverse insertion method to adjust the variable value based on all the voucher numbers until the variable value is zero, stop the adjustment and obtain the missing number;
  • the recording unit is used to record the missing number in the missing number table.
  • An electronic device which includes:
  • the memory stores at least one computer readable instruction
  • the processor executes at least one computer-readable instruction stored in the memory to implement the following steps:
  • a computer-readable storage medium in which at least one computer-readable instruction is stored, and the at least one computer-readable instruction is executed by a processor in an electronic device to implement the following steps:
  • Fig. 1 is a flowchart of a preferred embodiment of the missing number detection method of the present application.
  • Fig. 2 is a functional module diagram of a preferred embodiment of the missing number detection device of the present application.
  • FIG. 3 is a schematic structural diagram of an electronic device implementing a preferred embodiment of a missing number detection method according to the present application.
  • FIG. 1 it is a flowchart of a preferred embodiment of the missing number detection method of the present application. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
  • the method for detecting missing numbers is applied to one or more electronic devices.
  • the electronic device is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions. Its hardware includes but not Limited to microprocessors, application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
  • the electronic device may be any electronic product that can perform human-computer interaction with the user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television ( Internet Protocol Television, IPTV), smart wearable devices, etc.
  • a personal computer a tablet computer
  • a smart phone a personal digital assistant (PDA)
  • PDA personal digital assistant
  • IPTV interactive network television
  • smart wearable devices etc.
  • the electronic device may also include a network device and/or user equipment.
  • the network device includes, but is not limited to, a single network server, a server group composed of multiple network servers, or a cloud composed of a large number of hosts or network servers based on Cloud Computing.
  • 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 (Virtual Private Network, VPN), etc.
  • the status identifier can be customized, which is not limited in this application.
  • the electronic device regularly detects the status identifier of the current task, so that when it detects that the execution status of the current task meets the condition for triggering the missing number detection, the missing number detection is performed in time.
  • the electronic device obtains the execution data of the historical task, determines from the execution data that the execution status is the time when the execution is completed, and performs big data analysis on all the determined times to obtain the target time.
  • the corresponding task is considered to be in a completed state.
  • the electronic device can be configured to periodically detect the status identifier of each task at the target time, and then can perform the detection according to the rule of task processing, reducing the number of detections, thereby improving the detection efficiency, and effectively avoiding continuous Detect the impact on the normal operation of the system.
  • the electronic device performs the detection of the missing number of the current task after determining that the execution of the current task is completed, so as to ensure the accuracy of the detection result.
  • the method for detecting missing numbers further includes:
  • the electronic device delays the execution of the missing number detection.
  • the electronic device may delay the detection of the missing number for a preset time before performing it.
  • the missing number detection task sleeps for 1 hour. After 1 hour, the electronic device scans the accounting status again, and if the accounting status is completed , The missing number detection is performed.
  • S12 Determine the largest voucher number from all the voucher numbers, and determine the total quantity of all the voucher numbers.
  • the electronic device traverses all the voucher numbers, and finally determines the largest voucher number through a pairwise comparison.
  • the electronic device counts the number of all the voucher numbers.
  • the electronic device can determine that the largest voucher number is 5 by pairwise comparison, and at the same time, the electronic device counts the largest voucher Determine the number of all voucher numbers to be 4.
  • the electronic device compares the number value of the largest voucher number with the total number.
  • the electronic device compares 5 and 4.
  • the maximum voucher number should be equal to the total number.
  • the method for detecting missing numbers further includes:
  • the maximum voucher number is 5, and the number of voucher numbers is also 5. That is, if no missing numbers are generated, the maximum voucher number and the number of voucher numbers are identical.
  • the electronic device when the value of the maximum credential number is not equal to the value of the total number, the electronic device will perform a missing number detection.
  • 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, then the variable value of the preset variable Jump_Sign_Sequence is the maximum credential number.
  • a preset variable such as Jump_Sign_Sequence
  • the electronic device uses the missing number detection model constructed by the reverse insertion method to arrange all the voucher numbers in flashbacks, and then according to the flashbacks, each voucher number is combined with the current variable of the preset variable. The values are compared, the variable values of the preset variables are sequentially adjusted according to the comparison results, and the variable values that meet the conditions during the adjustment process are determined as the missing numbers.
  • the missing number detection model is constructed based on the reverse insertion method, and any intelligent model constructed based on the reverse insertion method that implements the same principle can be used, which will not be repeated here.
  • the use of the missing number detection model constructed by the reverse insertion method to adjust the variable value based on all the credential numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number includes:
  • the electronic device has never been assigned a value to the voucher number of the preset variable to obtain the largest value voucher number 2, and the voucher number 2 obtained by the electronic device is compared with the current variable of the preset variable Jump_Sign_Sequence Value 3, the comparison result is 2 ⁇ 3, because the two values are different, the electronic device uses the current variable value of 3 as the number of the voucher number to obtain the missing number 3, that is, the electronic device determines that the voucher number exists One missing number is 3. 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.
  • the missing numbers table stores missing numbers due to various reasons during the execution of the current task.
  • the missing number is 3, that is, the voucher number 3 is recorded in the missing number table.
  • the missing number detection method further:
  • the electronic device had already recorded the missing number 3 in the missing number table.
  • the electronic device is forbidden to The missing number 3 is written into the missing number table.
  • the electronic device when it is detected that the missing number 3 detected this time is not stored in the missing number table, the electronic device writes the missing number 3 into the missing number table for subsequent priority use.
  • the method for detecting missing numbers further includes:
  • any voucher number is obtained from the missing number table, and when it is detected that the obtained voucher number is used, the obtained voucher number is deleted from the missing number table.
  • the voucher number in the missing number table is preferentially used, thereby ensuring that the voucher number can be used in an orderly manner.
  • the used missing numbers are deleted in time to avoid the phenomenon of repeated use of the voucher numbers.
  • the method for detecting missing numbers further includes:
  • the designated server is used to issue a credential number to the electronic device.
  • the method for detecting missing numbers further includes:
  • the preset threshold may be configured according to different task requirements.
  • the preset threshold may be 100.
  • the way of alarming may include email reminding, information reminding, etc., which is not limited in this application.
  • the electronic device automatically retrieves the execution log to determine the point of failure, and determines the solution based on the historical data.
  • the fault point and the solution generate alarm information to give an alarm, and then assist the relevant staff to solve the fault in time, and avoid the generation of missing numbers from the root cause.
  • this application can periodically detect the status identifier of the current task, and determine the execution status of the current task according to the status identifier, so that the missing number detection is triggered when the execution status of the current task is detected When the condition is met, the missing number detection is performed in time.
  • the current task is executed, all the voucher numbers in the current task are acquired to avoid misdetection due to the task being executed, and the largest number is further determined from all the voucher numbers.
  • Voucher number and determine the total number of all the voucher numbers, and perform a comparison operation on the value of the largest voucher number and the value of the total amount, when the value of the largest voucher number is not equal to the value of the total amount
  • assign the maximum voucher number to a preset variable as the variable value of the preset variable and use the missing number detection model constructed by the reverse insertion method to adjust the variable value based on all the voucher numbers until The value of the variable is zero, the adjustment is stopped and the missing number is obtained to improve the accuracy of missing number detection, and the missing number is further recorded in the missing number table to realize automatic detection of the missing number.
  • 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, and an identification unit 120.
  • the module/unit referred to in this application refers to a series of computer program segments that can be executed by the processor 13 and can complete fixed functions, and are stored in the memory 12. In this embodiment, the functions of each module/unit will be described in detail in subsequent embodiments.
  • the detection unit 110 regularly detects the status identifier of the current task, and determines the execution status of the current task according to the status identifier.
  • the status identifier can be customized, which is not limited in this application.
  • the detection unit 110 periodically detects the status identifier of the current task, so as to perform the missing number detection in time when it is detected that the execution status of the current task meets the condition for triggering the missing number detection.
  • the detection unit 110 obtains the execution data of the historical task, determines from the execution data that the execution status is the time when the execution is completed, and performs big data analysis on all the determined times to obtain the target time.
  • the corresponding task is considered to be in a completed state.
  • the detection unit 110 can be configured to periodically detect the status identifier of each task at the target time, and then can perform the detection according to the rule of task processing, reducing the number of detections, thereby improving the detection efficiency, and effectively avoiding Continuously detect the impact on the normal operation of the system.
  • the obtaining unit 111 obtains all the credential numbers in the current task.
  • the acquiring unit 111 performs the detection of the missing number of the current task after determining that the current task is executed, so as to ensure the accuracy of the detection result.
  • the detection unit 110 when it is detected that the current task has not been completed, the detection unit 110 delays the execution of the missing number detection.
  • the detection unit 110 may delay the detection of the missing number for a preset time before performing it.
  • the missing number detection task sleeps for 1 hour. After 1 hour, the detection unit 110 scans the accounting status again, if the accounting status is When completed, the missing number detection is performed.
  • the determining unit 112 determines the largest voucher number from all the voucher numbers, and determines the total number of all the voucher numbers.
  • the determining unit 112 traverses all the voucher numbers, and finally determines the largest voucher number through a pairwise comparison.
  • the determining unit 112 counts the number of all the voucher numbers.
  • the determining unit 112 can determine that the maximum voucher number is 5 through pairwise comparison, and at the same time, the determining unit 112 counts the The maximum number of voucher numbers, determine the number of all voucher numbers to 4.
  • the comparison unit 113 performs a comparison operation on the numerical value of the maximum voucher number and the numerical value of the total quantity.
  • the comparison unit 113 compares the number value of the largest voucher number with the total quantity.
  • the comparison unit 113 compares 5 and 4.
  • the assignment unit 114 assigns the maximum voucher number to a preset variable as the variable value of the preset variable.
  • the maximum voucher number should be equal to the total number.
  • the stopping unit 117 determines that there is no missing number for the current task, and stops detecting the missing number for the current task.
  • the maximum voucher number is 5, and the number of voucher numbers is also 5. That is, if no missing numbers are generated, the maximum voucher number and the number of voucher numbers are identical.
  • a preset variable such as Jump_Sign_Sequence may be defined first, and the maximum credential number is assigned to the preset variable Jump_Sign_Sequence, then the variable value of the preset variable Jump_Sign_Sequence is the maximum credential number.
  • the adjustment unit 115 uses the missing number detection model constructed by the reverse insertion method to adjust the variable value based on all the voucher numbers until the value of the variable value is zero, stops the adjustment and obtains the missing number.
  • the adjustment unit 115 uses the missing number detection model constructed by the reverse insertion method to arrange all the voucher numbers in flashbacks, and then according to the flashbacks, each voucher number is combined with the current value of the preset variable.
  • the variable values are compared, the variable values of the preset variables are sequentially adjusted according to the comparison results, and the variable values that meet the conditions during the adjustment process are determined as the missing numbers.
  • the missing number detection model is constructed based on the reverse insertion method, and any intelligent model constructed based on the reverse insertion method that implements the same principle can be used, which will not be repeated here.
  • the use of the missing number detection model constructed by the reverse insertion method to adjust the variable value based on all the credential numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number includes:
  • the adjusting unit 115 has never been assigned a value to the voucher number of the preset variable to obtain the largest value voucher number 4, and the adjusting unit 115 compares the obtained voucher number 4 with the preset variable Jump_Sign_Sequence.
  • the adjusting unit 115 has never been assigned a value to the voucher number of the preset variable to obtain the largest value voucher number 2, and the adjusting unit 115 compares the obtained voucher number 2 with the preset variable Jump_Sign_Sequence.
  • the value of the variable is 3, and the comparison result is 2 ⁇ 3. Because the two values are different, the adjustment unit 115 uses the current variable value of 3 as the number of the voucher number to obtain the missing number 3, that is, the adjustment unit 115 determines There is a missing number 3 in the voucher number. Further, the adjustment unit 115 subtracts one from 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.
  • the recording unit 116 records the missing number in the missing number table.
  • the missing numbers table stores missing numbers due to various reasons during the execution of the current task.
  • the missing number is 3, that is, the voucher number 3 is recorded in the missing number table.
  • the recording unit 116 prohibits writing the missing number into the missing number table.
  • the recording unit 116 has already recorded the missing number 3 in the missing number table. In order to avoid data redundancy caused by repeated recording, the recording unit 116 It is forbidden to write the missing number 3 into the missing number table.
  • the recording unit 116 When it is detected 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.
  • the recording unit 116 writes the missing number 3 into the missing number table for subsequent priority use.
  • the obtaining unit 111 obtains any voucher number from the missing number table in response to a request for use of the voucher number, and when it is detected that the obtained voucher number is used, the deleting unit 118 The obtained voucher number is deleted from the missing number list.
  • the voucher number in the missing number table is preferentially used, thereby ensuring that the voucher number can be used in an orderly manner.
  • the used missing numbers are deleted in time to avoid the phenomenon of repeated use of the voucher numbers.
  • the request unit 119 in response to a request for the use of the voucher number, when the voucher number does not exist in the missing number table, the request unit 119 requests a new voucher number from the designated server.
  • the designated server is used to issue a credential number to the request unit 119.
  • the determining unit 112 determines the number of missing numbers, and when the number of missing numbers is greater than or equal to a preset threshold, the obtaining unit 111 obtains the execution of the current task Log, the identification unit 120 identifies the error identifier in the execution log to locate the failure point, the determination unit 121 determines the type of the failure point, and the retrieval unit 122 retrieves the solution corresponding to the type of the failure point from the database , The alarm unit 123 generates alarm information based on the failure point and the solution to make an alarm.
  • the preset threshold may be configured according to different task requirements.
  • the preset threshold may be 100.
  • the way of alarming may include email reminding, information reminding, etc., which is not limited in this application.
  • the execution log is automatically called to determine the point of failure, and the solution is determined based on historical data.
  • the solution described generates alarm information for alarm, and then assists relevant staff to solve the fault in time, avoiding the generation of missing numbers from the root cause.
  • this application can periodically detect the status identifier of the current task, and determine the execution status of the current task according to the status identifier, so that the missing number detection is triggered when the execution status of the current task is detected When the condition is met, the missing number detection is performed in time.
  • the current task is executed, all the voucher numbers in the current task are acquired to avoid misdetection due to the task being executed, and the largest number is further determined from all the voucher numbers.
  • Voucher number determine the total number of all the voucher numbers, and perform a comparison operation on the value of the largest voucher number and the value of the total amount, when the value of the largest voucher number is not equal to the value of the total amount
  • assign the maximum voucher number to a preset variable as the variable value of the preset variable and use the missing number detection model constructed by the reverse insertion method to adjust the variable value based on all the voucher numbers until The value of the variable is zero, the adjustment is stopped and the missing number is obtained to improve the accuracy of missing number detection, and the missing number is further recorded in the missing number table to realize automatic detection of the missing number.
  • FIG. 3 it is a schematic structural diagram of an electronic device according to a preferred embodiment of the method for detecting missing numbers in this application.
  • the electronic device 1 may include a memory 12, a processor 13, and a bus, and may also include a computer program stored in the memory 12 and running on the processor 13, such as a missing number detection program.
  • the electronic device 1 may have a bus structure or a star structure.
  • the device 1 may also include more or less other hardware or software than shown in the figure, or a different component arrangement.
  • the electronic device 1 may also include an input/output device, a network access device, and the like.
  • the electronic device 1 is only an example. If other existing or future electronic products can be adapted to this application, they should also be included in the scope of protection of this application and included here by reference. .
  • the memory 12 includes at least one type of readable storage medium, the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. .
  • the memory 12 may be an internal storage unit of the electronic device 1 in some embodiments, for example, a mobile hard disk of the electronic device 1.
  • the memory 12 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart media card (SMC), and a secure digital (Secure Digital, SD) equipped on the electronic device 1. ) Card, Flash Card, etc.
  • the memory 12 may also include both an internal storage unit of the electronic device 1 and an external storage device.
  • the memory 12 can be used not only to store application software and various data installed in the electronic device 1, such as codes of a missing number detection program, etc., but also to temporarily store data that has been output or will be output.
  • the processor 13 may be composed of integrated circuits in some embodiments, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same function or different functions, including one or more central processing units. Combinations of central processing unit (CPU), microprocessor, digital processing chip, graphics processor, and various control chips.
  • the processor 13 is the control unit of the electronic device 1, which uses various interfaces and lines to connect the various components of the entire electronic device 1, and runs or executes programs or modules stored in the memory 12 (such as executing Missing number detection program, etc.), and call the data stored in the memory 12 to execute various functions of the electronic device 1 and process data.
  • the processor 13 executes the operating system of the electronic device 1 and various installed applications.
  • the processor 13 executes the application program to implement the steps in the foregoing embodiments of the missing number detection method, for example, the steps shown in FIG. 1.
  • the computer program may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 12 and executed by the processor 13 to complete the present invention.
  • the one or more modules/units may be a series of computer-readable instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 1.
  • the computer program can 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,
  • the above-mentioned integrated unit implemented in the form of a software function module may be stored in a computer readable storage medium.
  • the computer-readable storage medium may be non-volatile or volatile.
  • the above-mentioned software function module is stored in a storage medium and includes a number of instructions to make a computer device (which may be a personal computer, a computer device, or a network device, etc.) or a processor execute the defects described in the various embodiments of this application. Part of the number detection method.
  • the integrated module/unit of the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing related hardware devices through a computer program.
  • the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the foregoing method embodiments.
  • the computer program includes computer-readable instruction code
  • the computer-readable instruction code may be in the form of source code, object code, executable file, or some intermediate form.
  • the computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory, etc.
  • the computer-readable storage medium may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store information according to the blockchain node Use the created data, etc.
  • the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • the bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one arrow is used to indicate in FIG. 3, but it does not mean that there is only one bus or one type of bus.
  • the bus is configured to implement connection and communication between the memory 12 and at least one processor 13 and the like.
  • the electronic device 1 may also include a power source (such as a battery) for supplying power to various components.
  • the power source may be logically connected to the at least one processor 13 through a power management device, so as to be realized by the power management device. Functions such as charge management, discharge management, and power consumption management.
  • the power supply may also include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, and power status indicators.
  • the electronic device 1 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
  • the electronic device 1 may also include a network interface.
  • the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used in the electronic device 1 Establish a communication connection with other electronic devices.
  • the electronic device 1 may also include a user interface.
  • the user interface may be a display (Display) and an input unit (such as a keyboard (Keyboard)).
  • the user interface may also be a standard wired interface or a wireless interface.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
  • the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the electronic device 1 and to display a visualized user interface.
  • FIG. 3 only shows the electronic device 1 with components 12-13. Those skilled in the art can understand that the structure shown in FIG. 3 does not constitute a limitation on the electronic device 1, and may include less than those shown in the figure. Or more parts, or a combination of some parts, or a different arrangement of parts.
  • the memory 12 in the electronic device 1 stores multiple computer-readable instructions to implement a missing number detection method
  • the processor 13 can execute the multiple computer-readable instructions to implement:
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional modules.

Abstract

The present invention relates to the technical field of artificial intelligence, and provides a missing-number detection method, apparatus, electronic device, and storage medium, capable of determining execution status according to a status identifier of a current task, so that if a trigger condition is satisfied, missing-number detection is performed promptly, and if the current task is completed, all certificate numbers in the current task are obtained to avoid false detection; the maximum certificate number and the total quantity of all certificate numbers are determined; if the maximum certificate number is not equal to the total quantity, then the largest certificate number is assigned to a preset variable as a variable value, and a missing-number detection model constructed by a reverse insertion method is used to continuously adjust the variable value on the basis of all certificate numbers to obtain a missing number; by means of automatic data processing, the accuracy of missing-number detection is improved, and the missing number is recorded in a missing-number table; automatic detection of missing numbers is achieved on the basis of artificial intelligence. The invention also relates to blockchain technology, and the missing-number detection model can be deployed on the blockchain.

Description

缺失号码检测方法、装置、电子设备及存储介质Missing number detection method, device, electronic equipment and storage medium
本申请要求于2020年05月28日提交中国专利局、申请号为202010470715.9,发明名称为“缺失号码检测方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on May 28, 2020, the application number is 202010470715.9, and the invention title is "Missing Number Detection Method, Device, Electronic Equipment and Storage Medium", the entire content of which is incorporated by reference Incorporated in this application.
技术领域Technical field
本申请涉及人工智能技术领域,尤其涉及一种缺失号码检测方法、装置、电子设备及存储介质。This application relates to the field of artificial intelligence technology, and in particular to a missing number detection method, device, electronic equipment, and storage medium.
背景技术Background technique
实际工作中,需要按照序号顺序处理的场景非常多。在这些场景下,一旦序号的顺序颠倒,则要重新排列,否则将对任务的顺序执行产生不利影响。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 serial numbers is reversed, they must be rearranged, otherwise it will have an adverse effect on the execution of the tasks.
但是,发明人意识到,由于各种各样的原因,经常会有断号、缺失号码的情况出现。而在现有技术中,断号、缺失号码的情况往往需要人工进行排查,并在发现问题后重新对序号进行排列,无法通过机器自动执行缺失号码检测,导致沟通成本大,处理效率低。However, the inventor realizes that due to various reasons, broken numbers and missing numbers often occur. However, in the prior art, the situation of broken numbers and missing numbers often requires manual investigation, and the sequence numbers are re-arranged after the problem is found, and the missing number detection cannot be performed automatically by the machine, resulting in high communication costs and low processing efficiency.
发明内容Summary of the invention
鉴于以上内容,有必要提供一种缺失号码检测方法、装置、电子设备及存储介质,能够基于人工智能实现对缺失号码的自动快速检测。In view of the above, it is necessary to provide a missing number detection method, device, electronic equipment, and storage medium, which can realize automatic and rapid detection of missing numbers based on artificial intelligence.
一种缺失号码检测方法,所述缺失号码检测方法包括:A method for detecting missing numbers, the method for detecting missing numbers includes:
定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态;Regularly detecting the status identifier of the current task, and determining the execution status of the current task according to the status identifier;
当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号;When the execution of the current task is completed, obtain all the credential numbers in the current task;
从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量;Determine the largest voucher number from all the voucher numbers, and determine the total number of all voucher numbers;
对所述最大凭证号的数值及所述总数量的数值执行对比运算;Perform a comparison operation on the numerical value of the largest voucher number and the numerical value of the total quantity;
当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值;When the value of the maximum voucher number is not equal to the value of the total quantity, assign the maximum voucher number to a preset variable as the variable value of the preset variable;
利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码;Using the missing number detection model constructed by the reverse insertion method, adjust the variable value based on all the voucher numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number;
将所述缺失号码记录至缺失号码表。Record the missing number in the missing number table.
一种缺失号码检测装置,所述缺失号码检测装置包括:A missing number detection device, the missing number detection device includes:
检测单元,用于定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态;The detection unit is configured to periodically detect the status identifier of the current task, and determine the execution status of the current task according to the status identifier;
获取单元,用于当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号;The obtaining unit is configured to obtain all the credential numbers in the current task when the execution of the current task is completed;
确定单元,用于从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量;The determining unit is used for determining the largest voucher number from all the voucher numbers, and determining the total number of all the voucher numbers;
对比单元,用于对所述最大凭证号的数值及所述总数量的数值执行对比运算;A comparison unit, configured to perform a comparison operation on the value of the maximum voucher number and the value of the total quantity;
赋值单元,用于当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值;An assignment unit, configured to assign the maximum certificate number to a preset variable as the variable value of the preset variable when the value of the maximum voucher number is not equal to the value of the total quantity;
调整单元,用于利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码;The adjustment unit is configured to use a missing number detection model constructed by a reverse insertion method to adjust the variable value based on all the voucher numbers until the variable value is zero, stop the adjustment and obtain the missing number;
记录单元,用于将所述缺失号码记录至缺失号码表。The recording unit is used to record the missing number in the missing number table.
一种电子设备,所述电子设备包括:An electronic device, which includes:
存储器,存储至少一个计算机可读指令;及The memory stores at least one computer readable instruction; and
处理器,执行所述存储器中存储的至少一个计算机可读指令以实现以下步骤:The processor executes at least one computer-readable instruction stored in the memory to implement the following steps:
定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态;Regularly detecting the status identifier of the current task, and determining the execution status of the current task according to the status identifier;
当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号;When the execution of the current task is completed, obtain all the credential numbers in the current task;
从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量;Determine the largest voucher number from all the voucher numbers, and determine the total number of all voucher numbers;
对所述最大凭证号的数值及所述总数量的数值执行对比运算;Perform a comparison operation on the numerical value of the largest voucher number and the numerical value of the total quantity;
当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值;When the value of the maximum voucher number is not equal to the value of the total quantity, assign the maximum voucher number to a preset variable as the variable value of the preset variable;
利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码;Using the missing number detection model constructed by the reverse insertion method, adjust the variable value based on all the voucher numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number;
将所述缺失号码记录至缺失号码表。Record the missing number in the missing number table.
一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一个计算机可读指令,所述至少一个计算机可读指令被电子设备中的处理器执行以实现以下步骤:A computer-readable storage medium in which at least one computer-readable instruction is stored, and the at least one computer-readable instruction is executed by a processor in an electronic device to implement the following steps:
定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态;Regularly detecting the status identifier of the current task, and determining the execution status of the current task according to the status identifier;
当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号;When the execution of the current task is completed, obtain all the credential numbers in the current task;
从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量;Determine the largest voucher number from all the voucher numbers, and determine the total number of all voucher numbers;
对所述最大凭证号的数值及所述总数量的数值执行对比运算;Perform a comparison operation on the numerical value of the largest voucher number and the numerical value of the total quantity;
当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值;When the value of the maximum voucher number is not equal to the value of the total quantity, assign the maximum voucher number to a preset variable as the variable value of the preset variable;
利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码;Using the missing number detection model constructed by the reverse insertion method, adjust the variable value based on all the voucher numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number;
将所述缺失号码记录至缺失号码表。Record the missing number in the missing number table.
由以上技术方案可以看出,本申请能够实现对缺失号码的自动检测。It can be seen from the above technical solutions that this application can realize automatic detection of missing numbers.
附图说明Description of the drawings
图1是本申请缺失号码检测方法的较佳实施例的流程图。Fig. 1 is a flowchart of a preferred embodiment of the missing number detection method of the present application.
图2是本申请缺失号码检测装置的较佳实施例的功能模块图。Fig. 2 is a functional module diagram of a preferred embodiment of the missing number detection device of the present application.
图3是本申请实现缺失号码检测方法的较佳实施例的电子设备的结构示意图。FIG. 3 is a schematic structural diagram of an electronic device implementing a preferred embodiment of a missing number detection method according to the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本申请进行详细描述。In order to make the objectives, technical solutions, and advantages of the present application clearer, the following describes the present application in detail with reference to the drawings and specific embodiments.
如图1所示,是本申请缺失号码检测方法的较佳实施例的流程图。根据不同的需求,该流程图中步骤的顺序可以改变,某些步骤可以省略。As shown in FIG. 1, it is a flowchart of a preferred embodiment of the missing number detection method of the present application. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
所述缺失号码检测方法应用于一个或者多个电子设备中,所述电子设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The method for detecting missing numbers is applied to one or more electronic devices. The electronic device is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions. Its hardware includes but not Limited to microprocessors, application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
所述电子设备可以是任何一种可与用户进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴式设备等。The electronic device may be any electronic product that can perform human-computer interaction with the user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television ( Internet Protocol Television, IPTV), smart wearable devices, etc.
所述电子设备还可以包括网络设备和/或用户设备。其中,所述网络设备包括,但不限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算(Cloud Computing) 的由大量主机或网络服务器构成的云。The electronic device may also include a network device and/or user equipment. The network device includes, but is not limited to, a single network server, a server group composed of multiple network servers, or a cloud composed of a large number of hosts or network servers based on Cloud Computing.
所述电子设备所处的网络包括但不限于互联网、广域网、城域网、局域网、虚拟专用网络(Virtual Private Network,VPN)等。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 (Virtual Private Network, VPN), etc.
S10,定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态。S10, periodically detecting the status identifier of the current task, and determining the execution status of the current task according to the status identifier.
在本实施例中,所述状态标识可以进行自定义配置,本申请不限制。In this embodiment, the status identifier can be customized, which is not limited in this application.
例如:当所述状态标识为0时,表示所述当前任务正在执行;当所述状态标识为1时,表示所述当前任务执行完毕。For example: when the status identifier is 0, it means that the current task is being executed; when the status identifier is 1, it means that the current task is executed.
进一步地,所述电子设备定时检测所述当前任务的状态标识,以便在检测到所述当前任务的执行状态满足触发缺失号码检测的条件时,及时执行缺失号码检测。Further, the electronic device regularly detects the status identifier of the current task, so that when it detects that the execution status of the current task meets the condition for triggering the missing number detection, the missing number detection is performed in time.
具体地,所述电子设备获取历史任务的执行数据,从所述执行数据中确定执行状态为执行完毕时的时间,对确定的所有时间进行大数据分析,得到目标时间。Specifically, the electronic device obtains the execution data of the historical task, determines from the execution data that the execution status is the time when the execution is completed, and performs big data analysis on all the determined times to obtain the target time.
需要说明的是,在所述目标时间,对应的任务被认为处于执行完毕的状态。It should be noted that, at the target time, the corresponding task is considered to be in a completed state.
更进一步地,所述电子设备可以配置在所述目标时间定时检测每个任务的状态标识,进而能够依据任务处理的规律实施检测,减少了检测次数,进而提高了检测效率,同时有效避免由于不断检测给系统正常运行造成的影响。Furthermore, the electronic device can be configured to periodically detect the status identifier of each task at the target time, and then can perform the detection according to the rule of task processing, reducing the number of detections, thereby improving the detection efficiency, and effectively avoiding continuous Detect the impact on the normal operation of the system.
S11,当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号。S11: When the current task is executed, all the credential numbers in the current task are acquired.
可以理解的是,当所述当前任务没有执行完毕时,很可能由于所述当前任务没有执行完,导致被使用的凭证号没有被记录及提交,而由于被使用的凭证号没有被记录及提交,将导致这些凭证号虽然被使用了,但是却被误检测为缺失号码,影响对所述当前任务的缺失号码检测结果的准确性。It is understandable that when the current task has not been executed, it is likely that the current task has not been executed, resulting in the used voucher number not being recorded and submitted, and the used voucher number has not been recorded and submitted , Will cause these voucher numbers to be used, but they are mistakenly detected as missing numbers, which will affect the accuracy of the missing number detection results for the current task.
因此,所述电子设备在确定所述当前任务执行完毕后再实施对所述当前任务的缺失号码检测,以保证检测结果的准确性。Therefore, the electronic device performs the detection of the missing number of the current task after determining that the execution of the current task is completed, so as to ensure the accuracy of the detection result.
在本申请的至少一个实施例中,所述缺失号码检测方法还包括:In at least one embodiment of the present application, the method for detecting missing numbers further includes:
当检测到所述当前任务没有执行完毕时,所述电子设备延迟缺失号码检测的执行。When it is detected that the current task has not been executed, the electronic device delays the execution of the missing number detection.
具体地,所述电子设备可以将缺失号码检测延迟预设时间再执行。Specifically, the electronic device may delay the detection of the missing number for a preset time before performing it.
例如:在会计凭证中,首先确认当天做账是否完成,若做账程序没有完成,则缺失号码检测任务休眠1小时,1小时后,所述电子设备再次扫描做账状态,若做账状态完成,则执行缺失号码检测。For example: in the accounting voucher, first confirm whether the accounting is completed on the day. If the accounting procedure is not completed, the missing number detection task sleeps for 1 hour. After 1 hour, the electronic device scans the accounting status again, and if the accounting status is completed , The missing number detection is performed.
S12,从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量。S12: Determine the largest voucher number from all the voucher numbers, and determine the total quantity of all the voucher numbers.
在本实施例中,所述电子设备遍历所述所有凭证号,并通过两两比对的方式最终确定所述最大凭证号。In this embodiment, the electronic device traverses all the voucher numbers, and finally determines the largest voucher number through a pairwise comparison.
进一步地,所述电子设备统计所述所有凭证号的数量。Further, the electronic device counts the number of all the voucher numbers.
例如:当所述当前任务的凭证号为1、2、4、5时,所述电子设备通过两两比较的方式,可以确定最大凭证号为5,同时,所述电子设备统计所述最大凭证号的数量,确定所有凭证号的数量为4。For example: when the voucher number of the current task is 1, 2, 4, 5, the electronic device can determine that the largest voucher number is 5 by pairwise comparison, and at the same time, the electronic device counts the largest voucher Determine the number of all voucher numbers to be 4.
S13,对所述最大凭证号的数值及所述总数量的数值执行对比运算。S13: Perform a comparison operation on the numerical value of the maximum voucher number and the numerical value of the total quantity.
具体地,所述电子设备将所述最大凭证号的号码值与所述总数量进行比较。Specifically, the electronic device compares the number value of the largest voucher number with the total number.
例如:当所述最大凭证号为5,所述所有凭证号的数量为4时,所述电子设备将5和4进行比较。For example: when the maximum voucher number is 5 and the number of all voucher numbers is 4, the electronic device compares 5 and 4.
S14,当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值。S14: When the value of the maximum voucher number is not equal to the value of the total quantity, assign the maximum voucher number to a preset variable as the variable value of the preset variable.
可以理解的是,由于凭证号是按照顺序依次被使用的,逐一递进,因此当不存在缺失号码现象时,所述最大凭证号应该等于所述总数量。It is understandable that since the voucher numbers are used in sequence and progressively one by one, when there is no missing number phenomenon, the maximum voucher number should be equal to the total number.
具体地,所述缺失号码检测方法还包括:Specifically, the method for detecting missing numbers further includes:
当所述最大凭证号与所述总数量相等时,确定所述当前任务不存在缺失号码,并停 止对所述当前任务的缺失号码检测。When the maximum voucher number is equal to the total number, it is determined that there is no missing number for the current task, and the detection of the missing number for the current task is stopped.
例如:当凭证号依次为1、2、3、4、5时,最大凭证号则为5,凭证号的数量也为5,即如果没有缺失号码产生,则最大凭证号与凭证号的数量是相同的。For example: when the voucher number is 1, 2, 3, 4, 5, the maximum voucher number is 5, and the number of voucher numbers is also 5. That is, if no missing numbers are generated, the maximum voucher number and the number of voucher numbers are identical.
通过上述实施方式,当不存在缺失号码时,也就没有必要再执行缺失号码检测,避免由于执行缺失号码检测造成系统的运行负担,给系统的资源带来不必要的消耗。Through the above implementations, when there is no missing number, there is no need to perform missing number detection, so as to avoid the running burden of the system due to missing number detection and unnecessary consumption of system resources.
在本实施例中,当所述最大凭证号的数值与所述总数量的数值不相等时,所述电子设备将执行缺失号码检测。In this embodiment, when the value of the maximum credential number is not equal to the value of the total number, the electronic device will perform a missing number detection.
具体地,所述电子设备可以首先定义一个预设变量,如Jump_Sign_Sequence,并将所述最大凭证号赋值给所述预设变量Jump_Sign_Sequence,那么所述预设变量Jump_Sign_Sequence的变量值即为所述最大凭证号。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, then the variable value of the preset variable Jump_Sign_Sequence is the maximum credential number.
例如:当所述最大凭证号为5时,那么所述预设变量Jump_Sign_Sequence的变量值即为5。For example: when the maximum certificate number is 5, then the variable value of the preset variable Jump_Sign_Sequence is 5.
S15,利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码。S15: Using the missing number detection model constructed by the reverse insertion method, adjust the variable value based on all the voucher numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number.
在本实施例中,所述电子设备利用以反向插入法构建的缺失号码检测模型,将所述所有凭证号倒叙排列,然后按照倒叙将每个凭证号与所述预设变量的当前的变量值进行比较,根据比较结果依次调整所述预设变量的变量值,并将调整过程中满足条件的变量值确定为所述缺失号码。In this embodiment, the electronic device uses the missing number detection model constructed by the reverse insertion method to arrange all the voucher numbers in flashbacks, and then according to the flashbacks, each voucher number is combined with the current variable of the preset variable. The values are compared, the variable values of the preset variables are sequentially adjusted according to the comparison results, and the variable values that meet the conditions during the adjustment process are determined as the missing numbers.
其中,所述缺失号码检测模型基于反向插入法构建,并且,凡是基于反向插入法构建的实现相同原理的智能模型均可,在此不赘述。Wherein, the missing number detection model is constructed based on the reverse insertion method, and any intelligent model constructed based on the reverse insertion method that implements the same principle can be used, which will not be repeated here.
具体地,所述利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码包括:Specifically, the use of the missing number detection model constructed by the reverse insertion method to adjust the variable value based on all the credential numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number includes:
A、从未曾被赋值于所述预设变量的凭证号中获取数值最大的凭证号;A. Obtain the credential number with the largest value among the credential numbers that have never been assigned to the preset variables;
B、对获取的凭证号的数值与当前的变量值执行对比运算;B. Perform a comparison operation between the value of the obtained voucher number and the current variable value;
C、当获取的凭证号的数值不等于当前的变量值时,以当前的变量值的大小作为凭证号的号码,得到所述缺失号码,并对当前的变量值执行减一运算,以更新当前的变量值;或者C. When the value of the obtained voucher number is not equal to the current variable value, the size of the current variable value is used as the voucher number to obtain the missing number, and the current variable value is subtracted by one to update the current value The value of the variable; or
当获取的凭证号的数值等于当前的变量值时,对当前的变量值执行减一运算,以更新当前的变量值;When the value of the obtained voucher number is equal to the current variable value, subtract one from the current variable value to update the current variable value;
当当前的变量值更新为零,停止执行。When the current variable value is updated to zero, stop execution.
例如:当凭证号依次为1、2、4、5时,那么最大凭证号为5,则所述预设变量Jump_Sign_Sequence初始的变量为5。For example: when the voucher numbers are 1, 2, 4, and 5 in sequence, then the maximum voucher number is 5, and the initial variable of the preset variable Jump_Sign_Sequence is 5.
在执行对比之前,所有的凭证号都处于未执行对比的状态,则所述电子设备从所有凭证号中获取数值最大的凭证号为5,进一步地,所述电子设备对比获取的凭证号5与所述预设变量Jump_Sign_Sequence当前的变量值5,对比结果为5=5,则所述电子设备将所述预设变量Jump_Sign_Sequence的变量值5执行减一运算,得到4,即所述预设变量Jump_Sign_Sequence当前的变量值更新为4。Before performing the comparison, all the voucher numbers are in a state of not performing the comparison, the electronic device obtains the voucher number with the largest value from all the voucher numbers as 5, and further, the electronic device compares the voucher number 5 obtained by the electronic device to 5 The current variable value of the preset variable Jump_Sign_Sequence is 5, and the comparison result is 5=5, then the electronic device performs a subtraction operation on the variable value 5 of the preset variable Jump_Sign_Sequence to obtain 4, which is the preset variable Jump_Sign_Sequence The current variable value is updated to 4.
进一步地,所述电子设备从未曾被赋值于所述预设变量的凭证号中获取数值最大的凭证号为4,所述电子设备对比获取的凭证号4与所述预设变量Jump_Sign_Sequence当前的变量值4,对比结果为4=4,则所述电子设备将所述预设变量Jump_Sign_Sequence的变量值4执行减一运算,得到3,即所述预设变量Jump_Sign_Sequence当前的变量值更新为3。Further, the electronic device has never been assigned a value to the voucher number of the preset variable to obtain the largest value voucher number 4, and the voucher number 4 obtained by the electronic device is compared with the current variable of the preset variable Jump_Sign_Sequence If the value is 4, the comparison result is 4=4, then the electronic device performs a subtraction operation of 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.
进一步地,所述电子设备从未曾被赋值于所述预设变量的凭证号中获取数值最大的凭证号为2,所述电子设备对比获取的凭证号2与所述预设变量Jump_Sign_Sequence当前的变量值3,对比结果为2<3,由于二者数值不同,则所述电子设备以当前的变量值的大小3作为凭证号的号码,得到缺失号码3,即所述电子设备确定凭证号中存在一个缺失 号码为3,进一步地,所述电子设备将所述预设变量Jump_Sign_Sequence的变量值3执行减一运算,得到2,即所述预设变量Jump_Sign_Sequence当前的变量值更新为2。Further, the electronic device has never been assigned a value to the voucher number of the preset variable to obtain the largest value voucher number 2, and the voucher number 2 obtained by the electronic device is compared with the current variable of the preset variable Jump_Sign_Sequence Value 3, the comparison result is 2<3, because the two values are different, the electronic device uses the current variable value of 3 as the number of the voucher number to obtain the missing number 3, that is, the electronic device determines that the voucher number exists One missing number is 3. 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.
利用所述缺失号码检测模型重复上述操作,直至所述预设变量Jump_Sign_Sequence的变量值为0,则停止执行缺失号码检测。Repeat the above operation using the missing number detection model until the variable value of the preset variable Jump_Sign_Sequence is 0, then stop performing missing number detection.
通过上述实施方式,利用所述缺失号码检测模型将所有凭证号都被遍历过,所述电子设备能够以人工智能的手段代替人工自动执行对所有凭证号中缺失号码的全面检测。Through the foregoing implementation manners, all voucher numbers are traversed using the missing number detection model, and the electronic device can use artificial intelligence instead of manual to automatically perform comprehensive detection of missing numbers in all voucher numbers.
S16,将所述缺失号码记录至缺失号码表。S16. Record the missing number in the missing number table.
在本实施例中,所述缺失号码表中存储着执行所述当前任务期间由于各方面原因造成的缺失号码。In this embodiment, the missing numbers table stores missing numbers due to various reasons during the execution of the current task.
例如:当凭证号依次为1、2、4、5时,则缺失号码为3,即凭证号3被记录在所述缺失号码表中。For example: when the voucher number is 1, 2, 4, 5 in sequence, the missing number is 3, that is, the voucher number 3 is recorded in the missing number table.
在本申请的至少一个实施例中,所述缺失号码检测方法还:In at least one embodiment of the present application, the missing number detection method further:
(1)当检测到所述缺失号码表中存储了所述缺失号码时,禁止将所述缺失号码写入所述缺失号码表。(1) When it is detected that the missing number is stored in the missing number table, it is forbidden to write the missing number into the missing number table.
例如:在对所述当前任务执行上一次缺失号码检测时,所述电子设备已经将缺失号码3记录至所述缺失号码表中,则为了避免重复记录造成数据冗余,所述电子设备禁止将所述缺失号码3写入所述缺失号码表。For example: when the last missing number detection was performed on the current task, the electronic device had already recorded the missing number 3 in the missing number table. In order to avoid duplication of records and causing data redundancy, the electronic device is forbidden to The missing number 3 is written into the missing number table.
(2)当检测到所述缺失号码表中没有存储所述缺失号码时,将所述缺失号码写入所述缺失号码表。(2) When it is detected that the missing number is not stored in the missing number table, write the missing number into the missing number table.
例如:当检测到所述缺失号码表中没有存储当次检测到的缺失号码3时,所述电子设备将所述缺失号码3写入所述缺失号码表,以供后续优先被使用。For example: when it is detected that the missing number 3 detected this time is not stored in the missing number table, the electronic device writes the missing number 3 into the missing number table for subsequent priority use.
在本申请的至少一个实施例中,所述缺失号码检测方法还包括:In at least one embodiment of the present application, the method for detecting missing numbers further includes:
响应于对凭证号的使用请求,从所述缺失号码表中获取任意凭证号,当检测到获取的凭证号被使用时,将所述获取的凭证号从所述缺失号码表中删除。In response to the request for the use of the voucher number, any voucher number is obtained from the missing number table, and when it is detected that the obtained voucher number is used, the obtained voucher number is deleted from the missing number table.
通过上述实施方式,当接收到对凭证号的使用请求时,优先使用所述缺失号码表中的凭证号,进而保证凭证号能够被有序使用。另外,在所述缺失号码表中的凭证号被使用后,及时将被使用的缺失号码删除,避免产生凭证号重复使用的现象。Through the foregoing implementation manner, when a request for the use of a voucher number is received, the voucher number in the missing number table is preferentially used, thereby ensuring that the voucher number can be used in an orderly manner. In addition, after the voucher numbers in the missing number table are used, the used missing numbers are deleted in time to avoid the phenomenon of repeated use of the voucher numbers.
在本申请的至少一个实施例中,所述缺失号码检测方法还包括:In at least one embodiment of the present application, the method for detecting missing numbers further includes:
响应于对凭证号的使用请求,当所述缺失号码表中不存在凭证号时,向指定服务器请求新的凭证号。In response to the request for the use of the voucher number, when the voucher number does not exist in the missing number table, a new voucher number is requested from the designated server.
其中,所述指定服务器用于向所述电子设备下发凭证号。Wherein, the designated server is used to issue a credential number to the electronic device.
通过上述实施方式,能够在没有缺失号码现象时,及时向指定服务器请求新的凭证号,避免影响任务的执行。Through the foregoing implementation manners, when there is no missing number phenomenon, a new voucher number can be requested from the designated server in time to avoid affecting the execution of the task.
在本申请的至少一个实施例中,所述缺失号码检测方法还包括:In at least one embodiment of the present application, the method for detecting missing numbers further includes:
确定所述缺失号码的数量,当所述缺失号码的数量大于或者等于预设阈值时,获取所述当前任务的执行日志,识别所述执行日志中的错误标识以定位故障点,并判断所述故障点的类型,从数据库中调取与所述故障点的类型对应的解决方案,并以所述故障点及所述解决方案生成报警信息进行报警。Determine the number of the missing numbers, when the number of missing numbers is greater than or equal to a preset threshold, obtain the execution log of the current task, identify the error identifier in the execution log to locate the point of failure, and determine the For the type of the failure point, a solution corresponding to the type of the failure point is retrieved from the database, and alarm information is generated based on the failure point and the solution to give an alarm.
其中,所述预设阈值可以根据不同的任务需求进行配置,例如:所述预设阈值可以为100。The preset threshold may be configured according to different task requirements. For example, the preset threshold may be 100.
进一步地,报警的方式可以包括邮件提醒、信息提醒等,本申请不限制。Further, the way of alarming may include email reminding, information reminding, etc., which is not limited in this application.
通过上述实施方式,当检测到缺失号码的数量达到了一定数值时,则说明系统可能存在异常,所述电子设备自动调取执行日志以确定故障点,并根据历史数据确定解决方案,以所述故障点及所述解决方案生成报警信息进行报警,进而辅助相关工作人员及时解决故障,从根源上避免缺失号码产生。Through the above implementation, when it is detected that the number of missing numbers reaches a certain value, it means that the system may be abnormal. The electronic device automatically retrieves the execution log to determine the point of failure, and determines the solution based on the historical data. The fault point and the solution generate alarm information to give an alarm, and then assist the relevant staff to solve the fault in time, and avoid the generation of missing numbers from the root cause.
由以上技术方案可以看出,本申请能够定时检测当前任务的状态标识,并根据所述 状态标识确定所述当前任务的执行状态,以便在检测到所述当前任务的执行状态满足触发缺失号码检测的条件时,及时执行缺失号码检测,当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号,以避免由于任务正在执行造成误检测,进一步从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量,对所述最大凭证号的数值及所述总数量的数值执行对比运算,当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值,并利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码,提高缺失号码检测的准确性,进一步将所述缺失号码记录至缺失号码表,实现对缺失号码的自动检测。It can be seen from the above technical solutions that this application can periodically detect the status identifier of the current task, and determine the execution status of the current task according to the status identifier, so that the missing number detection is triggered when the execution status of the current task is detected When the condition is met, the missing number detection is performed in time. When the current task is executed, all the voucher numbers in the current task are acquired to avoid misdetection due to the task being executed, and the largest number is further determined from all the voucher numbers. Voucher number, and determine the total number of all the voucher numbers, and perform a comparison operation on the value of the largest voucher number and the value of the total amount, when the value of the largest voucher number is not equal to the value of the total amount At the time, assign the maximum voucher number to a preset variable as the variable value of the preset variable, and use the missing number detection model constructed by the reverse insertion method to adjust the variable value based on all the voucher numbers until The value of the variable is zero, the adjustment is stopped and the missing number is obtained to improve the accuracy of missing number detection, and the missing number is further recorded in the missing number table to realize automatic detection of the missing number.
如图2所示,是本申请缺失号码检测装置的较佳实施例的功能模块图。所述缺失号码检测装置11包括检测单元110、获取单元111、确定单元112、对比单元113、赋值单元114、调整单元115、记录单元116、停止单元117、删除单元118、请求单元119、识别单元120、判断单元121、调取单元122、报警单元123。本申请所称的模块/单元是指一种能够被处理器13所执行,并且能够完成固定功能的一系列计算机程序段,其存储在存储器12中。在本实施例中,关于各模块/单元的功能将在后续的实施例中详述。As shown in FIG. 2, it is a functional module diagram of a preferred embodiment of the missing number detection device of the present application. 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, and an identification unit 120. Judgment unit 121, call unit 122, and alarm unit 123. The module/unit referred to in this application refers to a series of computer program segments that can be executed by the processor 13 and can complete fixed functions, and are stored in the memory 12. In this embodiment, the functions of each module/unit will be described in detail in subsequent embodiments.
检测单元110定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态。The detection unit 110 regularly detects the status identifier of the current task, and determines the execution status of the current task according to the status identifier.
在本实施例中,所述状态标识可以进行自定义配置,本申请不限制。In this embodiment, the status identifier can be customized, which is not limited in this application.
例如:当所述状态标识为0时,表示所述当前任务正在执行;当所述状态标识为1时,表示所述当前任务执行完毕。For example: when the status identifier is 0, it means that the current task is being executed; when the status identifier is 1, it means that the current task is executed.
进一步地,所述检测单元110定时检测所述当前任务的状态标识,以便在检测到所述当前任务的执行状态满足触发缺失号码检测的条件时,及时执行缺失号码检测。Further, the detection unit 110 periodically detects the status identifier of the current task, so as to perform the missing number detection in time when it is detected that the execution status of the current task meets the condition for triggering the missing number detection.
具体地,所述检测单元110获取历史任务的执行数据,从所述执行数据中确定执行状态为执行完毕时的时间,对确定的所有时间进行大数据分析,得到目标时间。Specifically, the detection unit 110 obtains the execution data of the historical task, determines from the execution data that the execution status is the time when the execution is completed, and performs big data analysis on all the determined times to obtain the target time.
需要说明的是,在所述目标时间,对应的任务被认为处于执行完毕的状态。It should be noted that, at the target time, the corresponding task is considered to be in a completed state.
更进一步地,所述检测单元110可以配置在所述目标时间定时检测每个任务的状态标识,进而能够依据任务处理的规律实施检测,减少了检测次数,进而提高了检测效率,同时有效避免由于不断检测给系统正常运行造成的影响。Furthermore, the detection unit 110 can be configured to periodically detect the status identifier of each task at the target time, and then can perform the detection according to the rule of task processing, reducing the number of detections, thereby improving the detection efficiency, and effectively avoiding Continuously detect the impact on the normal operation of the system.
当所述当前任务执行完毕时,获取单元111获取所述当前任务中的所有凭证号。When the execution of the current task is completed, the obtaining unit 111 obtains all the credential numbers in the current task.
可以理解的是,当所述当前任务没有执行完毕时,很可能由于所述当前任务没有执行完,导致被使用的凭证号没有被记录及提交,而由于被使用的凭证号没有被记录及提交,将导致这些凭证号虽然被使用了,但是却被误检测为缺失号码,影响对所述当前任务的缺失号码检测结果的准确性。It is understandable that when the current task has not been executed, it is likely that the current task has not been executed, resulting in the used voucher number not being recorded and submitted, and the used voucher number has not been recorded and submitted , Will cause these voucher numbers to be used, but they are mistakenly detected as missing numbers, which will affect the accuracy of the missing number detection results for the current task.
因此,所述获取单元111在确定所述当前任务执行完毕后再实施对所述当前任务的缺失号码检测,以保证检测结果的准确性。Therefore, the acquiring unit 111 performs the detection of the missing number of the current task after determining that the current task is executed, so as to ensure the accuracy of the detection result.
在本申请的至少一个实施例中,当检测到所述当前任务没有执行完毕时,所述检测单元110延迟缺失号码检测的执行。In at least one embodiment of the present application, when it is detected that the current task has not been completed, the detection unit 110 delays the execution of the missing number detection.
具体地,所述检测单元110可以将缺失号码检测延迟预设时间再执行。Specifically, the detection unit 110 may delay the detection of the missing number for a preset time before performing it.
例如:在会计凭证中,首先确认当天做账是否完成,若做账程序没有完成,则缺失号码检测任务休眠1小时,1小时后,所述检测单元110再次扫描做账状态,若做账状态完成,则执行缺失号码检测。For example: in the accounting voucher, first confirm whether the accounting is completed on the day. If the accounting procedure is not completed, the missing number detection task sleeps for 1 hour. After 1 hour, the detection unit 110 scans the accounting status again, if the accounting status is When completed, the missing number detection is performed.
确定单元112从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量。The determining unit 112 determines the largest voucher number from all the voucher numbers, and determines the total number of all the voucher numbers.
在本实施例中,所述确定单元112遍历所述所有凭证号,并通过两两比对的方式最终确定所述最大凭证号。In this embodiment, the determining unit 112 traverses all the voucher numbers, and finally determines the largest voucher number through a pairwise comparison.
进一步地,所述确定单元112统计所述所有凭证号的数量。Further, the determining unit 112 counts the number of all the voucher numbers.
例如:当所述当前任务的凭证号为1、2、4、5时,所述确定单元112通过两两比较的方式,可以确定最大凭证号为5,同时,所述确定单元112统计所述最大凭证号的数量,确定所有凭证号的数量为4。For example: when the voucher number of the current task is 1, 2, 4, 5, the determining unit 112 can determine that the maximum voucher number is 5 through pairwise comparison, and at the same time, the determining unit 112 counts the The maximum number of voucher numbers, determine the number of all voucher numbers to 4.
对比单元113对所述最大凭证号的数值及所述总数量的数值执行对比运算。The comparison unit 113 performs a comparison operation on the numerical value of the maximum voucher number and the numerical value of the total quantity.
具体地,所述对比单元113将所述最大凭证号的号码值与所述总数量进行比较。Specifically, the comparison unit 113 compares the number value of the largest voucher number with the total quantity.
例如:当所述最大凭证号为5,所述所有凭证号的数量为4时,所述对比单元113将5和4进行比较。For example: when the maximum voucher number is 5 and the number of all voucher numbers is 4, the comparison unit 113 compares 5 and 4.
当所述最大凭证号的数值与所述总数量的数值不相等时,赋值单元114将所述最大凭证号赋值给预设变量作为所述预设变量的变量值。When the value of the maximum voucher number is not equal to the value of the total quantity, the assignment unit 114 assigns the maximum voucher number to a preset variable as the variable value of the preset variable.
可以理解的是,由于凭证号是按照顺序依次被使用的,逐一递进,因此当不存在缺失号码现象时,所述最大凭证号应该等于所述总数量。It is understandable that since the voucher numbers are used in sequence and progressively one by one, when there is no missing number phenomenon, the maximum voucher number should be equal to the total number.
具体地,当所述最大凭证号与所述总数量相等时,停止单元117确定所述当前任务不存在缺失号码,并停止对所述当前任务的缺失号码检测。Specifically, when the maximum voucher number is equal to the total number, the stopping unit 117 determines that there is no missing number for the current task, and stops detecting the missing number for the current task.
例如:当凭证号依次为1、2、3、4、5时,最大凭证号则为5,凭证号的数量也为5,即如果没有缺失号码产生,则最大凭证号与凭证号的数量是相同的。For example: when the voucher number is 1, 2, 3, 4, 5, the maximum voucher number is 5, and the number of voucher numbers is also 5. That is, if no missing numbers are generated, the maximum voucher number and the number of voucher numbers are identical.
通过上述实施方式,当不存在缺失号码时,也就没有必要再执行缺失号码检测,避免由于执行缺失号码检测造成系统的运行负担,给系统的资源带来不必要的消耗。Through the above implementations, when there is no missing number, there is no need to perform missing number detection, so as to avoid the running burden of the system due to missing number detection and unnecessary consumption of system resources.
在本实施例中,当所述最大凭证号的数值与所述总数量的数值不相等时,将执行缺失号码检测。In this embodiment, when the value of the maximum voucher number is not equal to the value of the total number, a missing number detection will be performed.
具体地,可以首先定义一个预设变量,如Jump_Sign_Sequence,并将所述最大凭证号赋值给所述预设变量Jump_Sign_Sequence,那么所述预设变量Jump_Sign_Sequence的变量值即为所述最大凭证号。Specifically, a preset variable such as Jump_Sign_Sequence may be defined first, and the maximum credential number is assigned to the preset variable Jump_Sign_Sequence, then the variable value of the preset variable Jump_Sign_Sequence is the maximum credential number.
例如:当所述最大凭证号为5时,那么所述预设变量Jump_Sign_Sequence的变量值即为5。For example: when the maximum certificate number is 5, then the variable value of the preset variable Jump_Sign_Sequence is 5.
调整单元115利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码。The adjustment unit 115 uses the missing number detection model constructed by the reverse insertion method to adjust the variable value based on all the voucher numbers until the value of the variable value is zero, stops the adjustment and obtains the missing number.
在本实施例中,所述调整单元115利用以反向插入法构建的缺失号码检测模型,将所述所有凭证号倒叙排列,然后按照倒叙将每个凭证号与所述预设变量的当前的变量值进行比较,根据比较结果依次调整所述预设变量的变量值,并将调整过程中满足条件的变量值确定为所述缺失号码。In this embodiment, the adjustment unit 115 uses the missing number detection model constructed by the reverse insertion method to arrange all the voucher numbers in flashbacks, and then according to the flashbacks, each voucher number is combined with the current value of the preset variable. The variable values are compared, the variable values of the preset variables are sequentially adjusted according to the comparison results, and the variable values that meet the conditions during the adjustment process are determined as the missing numbers.
其中,所述缺失号码检测模型基于反向插入法构建,并且,凡是基于反向插入法构建的实现相同原理的智能模型均可,在此不赘述。Wherein, the missing number detection model is constructed based on the reverse insertion method, and any intelligent model constructed based on the reverse insertion method that implements the same principle can be used, which will not be repeated here.
具体地,所述利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码包括:Specifically, the use of the missing number detection model constructed by the reverse insertion method to adjust the variable value based on all the credential numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number includes:
A、从未曾被赋值于所述预设变量的凭证号中获取数值最大的凭证号;A. Obtain the credential number with the largest value among the credential numbers that have never been assigned to the preset variables;
B、对获取的凭证号的数值与当前的变量值执行对比运算;B. Perform a comparison operation between the value of the obtained voucher number and the current variable value;
C、当获取的凭证号的数值不等于当前的变量值时,以当前的变量值的大小作为凭证号的号码,得到所述缺失号码,并对当前的变量值执行减一运算,以更新当前的变量值;或者C. When the value of the obtained voucher number is not equal to the current variable value, the size of the current variable value is used as the voucher number to obtain the missing number, and the current variable value is subtracted by one to update the current value The value of the variable; or
当获取的凭证号的数值等于当前的变量值时,对当前的变量值执行减一运算,以更新当前的变量值;When the value of the obtained voucher number is equal to the current variable value, subtract one from the current variable value to update the current variable value;
当当前的变量值更新为零,停止执行。When the current variable value is updated to zero, stop execution.
例如:当凭证号依次为1、2、4、5时,那么最大凭证号为5,则所述预设变量Jump_Sign_Sequence初始的变量为5。For example: when the voucher numbers are 1, 2, 4, and 5 in sequence, then the maximum voucher number is 5, and the initial variable of the preset variable Jump_Sign_Sequence is 5.
在执行对比之前,所有的凭证号都处于未执行对比的状态,则所述调整单元115从 所有凭证号中获取数值最大的凭证号为5,进一步地,所述调整单元115对比获取的凭证号5与所述预设变量Jump_Sign_Sequence当前的变量值5,对比结果为5=5,则所述调整单元115将所述预设变量Jump_Sign_Sequence的变量值5执行减一运算,得到4,即所述预设变量Jump_Sign_Sequence当前的变量值更新为4。Before performing the comparison, if all the voucher numbers are in a state of not performing the comparison, the adjustment unit 115 obtains the voucher number with the largest value from all the voucher numbers as 5, and further, the adjustment unit 115 compares the obtained voucher numbers 5 and the current variable value 5 of the preset variable Jump_Sign_Sequence, the comparison result is 5=5, then the adjustment unit 115 performs a subtraction operation on the variable value 5 of the preset variable Jump_Sign_Sequence to obtain 4, that is, the preset variable Jump_Sign_Sequence Set the current variable value of the variable Jump_Sign_Sequence to be updated to 4.
进一步地,所述调整单元115从未曾被赋值于所述预设变量的凭证号中获取数值最大的凭证号为4,所述调整单元115对比获取的凭证号4与所述预设变量Jump_Sign_Sequence当前的变量值4,对比结果为4=4,则所述调整单元115将所述预设变量Jump_Sign_Sequence的变量值4执行减一运算,得到3,即所述预设变量Jump_Sign_Sequence当前的变量值更新为3。Further, the adjusting unit 115 has never been assigned a value to the voucher number of the preset variable to obtain the largest value voucher number 4, and the adjusting unit 115 compares the obtained voucher number 4 with the preset variable Jump_Sign_Sequence. The value of the variable is 4, and the comparison result is 4=4, then the adjustment 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.
进一步地,所述调整单元115从未曾被赋值于所述预设变量的凭证号中获取数值最大的凭证号为2,所述调整单元115对比获取的凭证号2与所述预设变量Jump_Sign_Sequence当前的变量值3,对比结果为2<3,由于二者数值不同,则所述调整单元115以当前的变量值的大小3作为凭证号的号码,得到缺失号码3,即所述调整单元115确定凭证号中存在一个缺失号码为3,进一步地,所述调整单元115将所述预设变量Jump_Sign_Sequence的变量值3执行减一运算,得到2,即所述预设变量Jump_Sign_Sequence当前的变量值更新为2。Further, the adjusting unit 115 has never been assigned a value to the voucher number of the preset variable to obtain the largest value voucher number 2, and the adjusting unit 115 compares the obtained voucher number 2 with the preset variable Jump_Sign_Sequence. The value of the variable is 3, and the comparison result is 2<3. Because the two values are different, the adjustment unit 115 uses the current variable value of 3 as the number of the voucher number to obtain the missing number 3, that is, the adjustment unit 115 determines There is a missing number 3 in the voucher number. Further, the adjustment unit 115 subtracts one from 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.
利用所述缺失号码检测模型重复上述操作,直至所述预设变量Jump_Sign_Sequence的变量值为0,则停止执行缺失号码检测。Repeat the above operation using the missing number detection model until the variable value of the preset variable Jump_Sign_Sequence is 0, then stop performing missing number detection.
通过上述实施方式,利用所述缺失号码检测模型将所有凭证号都被遍历过,能够以人工智能的手段代替人工自动执行对所有凭证号中缺失号码的全面检测。Through the foregoing implementation manners, all voucher numbers are traversed using the missing number detection model, and artificial intelligence can be used instead of manual to automatically perform comprehensive detection of missing numbers in all voucher numbers.
记录单元116将所述缺失号码记录至缺失号码表。The recording unit 116 records the missing number in the missing number table.
在本实施例中,所述缺失号码表中存储着执行所述当前任务期间由于各方面原因造成的缺失号码。In this embodiment, the missing numbers table stores missing numbers due to various reasons during the execution of the current task.
例如:当凭证号依次为1、2、4、5时,则缺失号码为3,即凭证号3被记录在所述缺失号码表中。For example: when the voucher number is 1, 2, 4, 5 in sequence, the missing number is 3, that is, the voucher number 3 is recorded in the missing number table.
在本申请的至少一个实施例中:In at least one embodiment of this application:
(1)当检测到所述缺失号码表中存储了所述缺失号码时,所述记录单元116禁止将所述缺失号码写入所述缺失号码表。(1) When detecting that the missing number is stored in the missing number table, the recording unit 116 prohibits writing the missing number into the missing number table.
例如:在对所述当前任务执行上一次缺失号码检测时,所述记录单元116已经将缺失号码3记录至所述缺失号码表中,则为了避免重复记录造成数据冗余,所述记录单元116禁止将所述缺失号码3写入所述缺失号码表。For example, when the last missing number detection is performed on the current task, the recording unit 116 has already recorded the missing number 3 in the missing number table. In order to avoid data redundancy caused by repeated recording, the recording unit 116 It is forbidden to write the missing number 3 into the missing number table.
(2)当检测到所述缺失号码表中没有存储所述缺失号码时,所述记录单元116将所述缺失号码写入所述缺失号码表。(2) When it is detected 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.
例如:当检测到所述缺失号码表中没有存储当次检测到的缺失号码3时,所述记录单元116将所述缺失号码3写入所述缺失号码表,以供后续优先被使用。For example, when it is detected 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 priority use.
在本申请的至少一个实施例中,所述获取单元111响应于对凭证号的使用请求,从所述缺失号码表中获取任意凭证号,当检测到获取的凭证号被使用时,删除单元118将所述获取的凭证号从所述缺失号码表中删除。In at least one embodiment of the present application, the obtaining unit 111 obtains any voucher number from the missing number table in response to a request for use of the voucher number, and when it is detected that the obtained voucher number is used, the deleting unit 118 The obtained voucher number is deleted from the missing number list.
通过上述实施方式,当接收到对凭证号的使用请求时,优先使用所述缺失号码表中的凭证号,进而保证凭证号能够被有序使用。另外,在所述缺失号码表中的凭证号被使用后,及时将被使用的缺失号码删除,避免产生凭证号重复使用的现象。Through the foregoing implementation manner, when a request for the use of a voucher number is received, the voucher number in the missing number table is preferentially used, thereby ensuring that the voucher number can be used in an orderly manner. In addition, after the voucher numbers in the missing number table are used, the used missing numbers are deleted in time to avoid the phenomenon of repeated use of the voucher numbers.
在本申请的至少一个实施例中,响应于对凭证号的使用请求,当所述缺失号码表中不存在凭证号时,请求单元119向指定服务器请求新的凭证号。In at least one embodiment of the present application, in response to a request for the use of the voucher number, when the voucher number does not exist in the missing number table, the request unit 119 requests a new voucher number from the designated server.
其中,所述指定服务器用于向所述请求单元119下发凭证号。Wherein, the designated server is used to issue a credential number to the request unit 119.
通过上述实施方式,能够在没有缺失号码现象时,及时向指定服务器请求新的凭证号,避免影响任务的执行。Through the foregoing implementation manners, when there is no missing number phenomenon, a new voucher number can be requested from the designated server in time to avoid affecting the execution of the task.
在本申请的至少一个实施例中,所述确定单元112确定所述缺失号码的数量,当所述缺失号码的数量大于或者等于预设阈值时,所述获取单元111获取所述当前任务的执行日志,识别单元120识别所述执行日志中的错误标识以定位故障点,判断单元121判断所述故障点的类型,调取单元122从数据库中调取与所述故障点的类型对应的解决方案,报警单元123以所述故障点及所述解决方案生成报警信息进行报警。In at least one embodiment of the present application, the determining unit 112 determines the number of missing numbers, and when the number of missing numbers is greater than or equal to a preset threshold, the obtaining unit 111 obtains the execution of the current task Log, the identification unit 120 identifies the error identifier in the execution log to locate the failure point, the determination unit 121 determines the type of the failure point, and the retrieval unit 122 retrieves the solution corresponding to the type of the failure point from the database , The alarm unit 123 generates alarm information based on the failure point and the solution to make an alarm.
其中,所述预设阈值可以根据不同的任务需求进行配置,例如:所述预设阈值可以为100。The preset threshold may be configured according to different task requirements. For example, the preset threshold may be 100.
进一步地,报警的方式可以包括邮件提醒、信息提醒等,本申请不限制。Further, the way of alarming may include email reminding, information reminding, etc., which is not limited in this application.
通过上述实施方式,当检测到缺失号码的数量达到了一定数值时,则说明系统可能存在异常,自动调取执行日志以确定故障点,并根据历史数据确定解决方案,以所述故障点及所述解决方案生成报警信息进行报警,进而辅助相关工作人员及时解决故障,从根源上避免缺失号码产生。Through the above implementation, when it is detected that the number of missing numbers reaches a certain value, it means that the system may have an abnormality. The execution log is automatically called to determine the point of failure, and the solution is determined based on historical data. The solution described generates alarm information for alarm, and then assists relevant staff to solve the fault in time, avoiding the generation of missing numbers from the root cause.
由以上技术方案可以看出,本申请能够定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态,以便在检测到所述当前任务的执行状态满足触发缺失号码检测的条件时,及时执行缺失号码检测,当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号,以避免由于任务正在执行造成误检测,进一步从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量,对所述最大凭证号的数值及所述总数量的数值执行对比运算,当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值,并利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码,提高缺失号码检测的准确性,进一步将所述缺失号码记录至缺失号码表,实现对缺失号码的自动检测。It can be seen from the above technical solutions that this application can periodically detect the status identifier of the current task, and determine the execution status of the current task according to the status identifier, so that the missing number detection is triggered when the execution status of the current task is detected When the condition is met, the missing number detection is performed in time. When the current task is executed, all the voucher numbers in the current task are acquired to avoid misdetection due to the task being executed, and the largest number is further determined from all the voucher numbers. Voucher number, and determine the total number of all the voucher numbers, and perform a comparison operation on the value of the largest voucher number and the value of the total amount, when the value of the largest voucher number is not equal to the value of the total amount When, assign the maximum voucher number to a preset variable as the variable value of the preset variable, and use the missing number detection model constructed by the reverse insertion method to adjust the variable value based on all the voucher numbers until The value of the variable is zero, the adjustment is stopped and the missing number is obtained to improve the accuracy of missing number detection, and the missing number is further recorded in the missing number table to realize automatic detection of the missing number.
如图3所示,是本申请实现缺失号码检测方法的较佳实施例的电子设备的结构示意图。As shown in FIG. 3, it is a schematic structural diagram of an electronic device according to a preferred embodiment of the method for detecting missing numbers in this application.
所述电子设备1可以包括存储器12、处理器13和总线,还可以包括存储在所述存储器12中并可在所述处理器13上运行的计算机程序,例如缺失号码检测程序。The electronic device 1 may include a memory 12, a processor 13, and a bus, and may also include a computer program stored in the memory 12 and running on the processor 13, such as a missing number detection program.
本领域技术人员可以理解,所述示意图仅仅是电子设备1的示例,并不构成对电子设备1的限定,所述电子设备1既可以是总线型结构,也可以是星形结构,所述电子设备1还可以包括比图示更多或更少的其他硬件或者软件,或者不同的部件布置,例如所述电子设备1还可以包括输入输出设备、网络接入设备等。Those skilled in the art can understand that the schematic diagram is only an example of the electronic device 1 and does not constitute a limitation on the electronic device 1. The electronic device 1 may have a bus structure or a star structure. The device 1 may also include more or less other hardware or software than shown in the figure, or a different component arrangement. For example, the electronic device 1 may also include an input/output device, a network access device, and the like.
需要说明的是,所述电子设备1仅为举例,其他现有的或今后可能出现的电子产品如可适应于本申请,也应包含在本申请的保护范围以内,并以引用方式包含于此。It should be noted that the electronic device 1 is only an example. If other existing or future electronic products can be adapted to this application, they should also be included in the scope of protection of this application and included here by reference. .
其中,存储器12至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、移动硬盘、多媒体卡、卡型存储器(例如:SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器12在一些实施例中可以是电子设备1的内部存储单元,例如该电子设备1的移动硬盘。存储器12在另一些实施例中也可以是电子设备1的外部存储设备,例如电子设备1上配备的插接式移动硬盘、智能存储卡(Smart Media Card,SMC)、安全数字(Secure Digital,SD)卡、闪存卡(Flash Card)等。进一步地,存储器12还可以既包括电子设备1的内部存储单元也包括外部存储设备。存储器12不仅可以用于存储安装于电子设备1的应用软件及各类数据,例如缺失号码检测程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。Wherein, the memory 12 includes at least one type of readable storage medium, the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. . The memory 12 may be an internal storage unit of the electronic device 1 in some embodiments, for example, a mobile hard disk of the electronic device 1. In other embodiments, the memory 12 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart media card (SMC), and a secure digital (Secure Digital, SD) equipped on the electronic device 1. ) Card, Flash Card, etc. Further, the memory 12 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 12 can be used not only to store application software and various data installed in the electronic device 1, such as codes of a missing number detection program, etc., but also to temporarily store data that has been output or will be output.
处理器13在一些实施例中可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。处理器13是所述电子设备1的控制核心(Control Unit),利用 各种接口和线路连接整个电子设备1的各个部件,通过运行或执行存储在所述存储器12内的程序或者模块(例如执行缺失号码检测程序等),以及调用存储在所述存储器12内的数据,以执行电子设备1的各种功能和处理数据。The processor 13 may be composed of integrated circuits in some embodiments, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same function or different functions, including one or more central processing units. Combinations of central processing unit (CPU), microprocessor, digital processing chip, graphics processor, and various control chips. The processor 13 is the control unit of the electronic device 1, which uses various interfaces and lines to connect the various components of the entire electronic device 1, and runs or executes programs or modules stored in the memory 12 (such as executing Missing number detection program, etc.), and call the data stored in the memory 12 to execute various functions of the electronic device 1 and process data.
所述处理器13执行所述电子设备1的操作系统以及安装的各类应用程序。所述处理器13执行所述应用程序以实现上述各个缺失号码检测方法实施例中的步骤,例如图1所示的步骤。The processor 13 executes the operating system of the electronic device 1 and various installed applications. The processor 13 executes the application program to implement the steps in the foregoing embodiments of the missing number detection method, for example, the steps shown in FIG. 1.
示例性的,所述计算机程序可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器12中,并由所述处理器13执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机程序在所述电子设备1中的执行过程。例如,所述计算机程序可以被分割成检测单元110、获取单元111、确定单元112、对比单元113、赋值单元114、调整单元115、记录单元116、停止单元117、删除单元118、请求单元119、识别单元120、判断单元121、调取单元122、报警单元123。Exemplarily, the computer program may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 12 and executed by the processor 13 to complete the present invention. Application. The one or more modules/units may be a series of computer-readable instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 1. For example, the computer program can 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, The identification unit 120, the judgment unit 121, the retrieval unit 122, and the alarm unit 123.
上述以软件功能模块的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。所述计算机可读存储介质可以是非易失性,也可以是易失性。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、计算机设备,或者网络设备等)或处理器(processor)执行本申请各个实施例所述缺失号码检测方法的部分。The above-mentioned integrated unit implemented in the form of a software function module may be stored in a computer readable storage medium. The computer-readable storage medium may be non-volatile or volatile. The above-mentioned software function module is stored in a storage medium and includes a number of instructions to make a computer device (which may be a personal computer, a computer device, or a network device, etc.) or a processor execute the defects described in the various embodiments of this application. Part of the number detection method.
所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指示相关的硬件设备来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。If the integrated module/unit of the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing related hardware devices through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the foregoing method embodiments.
其中,所述计算机程序包括计算机可读指令代码,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存储器等。Wherein, the computer program includes computer-readable instruction code, and the computer-readable instruction code may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory, etc.
进一步地,计算机可读存储介质可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据区块链节点的使用所创建的数据等。Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store information according to the blockchain node Use the created data, etc.
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
总线可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,在图3中仅用一根箭头表示,但并不表示仅有一根总线或一种类型的总线。所述总线被设置为实现所述存储器12以及至少一个处理器13等之间的连接通信。The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one arrow is used to indicate in FIG. 3, but it does not mean that there is only one bus or one type of bus. The bus is configured to implement connection and communication between the memory 12 and at least one processor 13 and the like.
尽管未示出,所述电子设备1还可以包括给各个部件供电的电源(比如电池),优选地,电源可以通过电源管理装置与所述至少一个处理器13逻辑相连,从而通过电源管理装置实现充电管理、放电管理、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备1还可以包括多种传感器、蓝牙模块、Wi-Fi模块 等,在此不再赘述。Although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 13 through a power management device, so as to be realized by the power management device. Functions such as charge management, discharge management, and power consumption management. The power supply may also include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device 1 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
进一步地,所述电子设备1还可以包括网络接口,可选地,所述网络接口可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该电子设备1与其他电子设备之间建立通信连接。Further, the electronic device 1 may also include a network interface. 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 is usually used in the electronic device 1 Establish a communication connection with other electronic devices.
可选地,该电子设备1还可以包括用户接口,用户接口可以是显示器(Display)、输入单元(比如键盘(Keyboard)),可选地,用户接口还可以是标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备1中处理的信息以及用于显示可视化的用户界面。Optionally, the electronic device 1 may also include a user interface. The user interface may be a display (Display) and an input unit (such as a keyboard (Keyboard)). Optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, 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, organic light-emitting diode) touch device, etc. Among them, the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the electronic device 1 and to display a visualized user interface.
应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。It should be understood that the embodiments are only for illustrative purposes, and are not limited by this structure in the scope of the patent application.
图3仅示出了具有组件12-13的电子设备1,本领域技术人员可以理解的是,图3示出的结构并不构成对所述电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 3 only shows the electronic device 1 with components 12-13. Those skilled in the art can understand that the structure shown in FIG. 3 does not constitute a limitation on the electronic device 1, and may include less than those shown in the figure. Or more parts, or a combination of some parts, or a different arrangement of parts.
结合图1,所述电子设备1中的所述存储器12存储多个计算机可读指令以实现一种缺失号码检测方法,所述处理器13可执行所述多个计算机可读指令从而实现:With reference to FIG. 1, the memory 12 in the electronic device 1 stores multiple computer-readable instructions to implement a missing number detection method, and the processor 13 can execute the multiple computer-readable instructions to implement:
定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态;Regularly detecting the status identifier of the current task, and determining the execution status of the current task according to the status identifier;
当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号;When the execution of the current task is completed, obtain all the credential numbers in the current task;
从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量;Determine the largest voucher number from all the voucher numbers, and determine the total number of all voucher numbers;
对所述最大凭证号的数值及所述总数量的数值执行对比运算;Perform a comparison operation on the numerical value of the largest voucher number and the numerical value of the total quantity;
当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值;When the value of the maximum voucher number is not equal to the value of the total quantity, assign the maximum voucher number to a preset variable as the variable value of the preset variable;
利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码;Using the missing number detection model constructed by the reverse insertion method, adjust the variable value based on all the voucher numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number;
将所述缺失号码记录至缺失号码表。Record the missing number in the missing number table.
具体地,所述处理器13对上述指令的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation method of the above-mentioned instructions by the processor 13, reference may be made to the description of the relevant steps in the embodiment corresponding to FIG. 1, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional modules.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。For those skilled in the art, it is obvious that the present application is not limited to the details of the foregoing exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the application.
因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of this application is defined by the appended claims rather than the above description, and therefore it is intended to fall into the claims. All changes in the meaning and scope of the equivalent elements of are included in this application. Any associated diagram marks in the claims should not be regarded as limiting the claims involved.
此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈 述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。In addition, it is obvious that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claims can also be implemented by one unit or device through software or hardware. The second class words are used to indicate names, and do not indicate any specific order.
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application and not to limit them. Although the application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the application can be Make modifications or equivalent replacements without departing from the spirit and scope of the technical solution of the present application.

Claims (20)

  1. 一种缺失号码检测方法,其中,所述缺失号码检测方法包括:A method for detecting missing numbers, wherein the method for detecting missing numbers includes:
    定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态;Regularly detecting the status identifier of the current task, and determining the execution status of the current task according to the status identifier;
    当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号;When the execution of the current task is completed, obtain all the credential numbers in the current task;
    从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量;Determine the largest voucher number from all the voucher numbers, and determine the total number of all voucher numbers;
    对所述最大凭证号的数值及所述总数量的数值执行对比运算;Perform a comparison operation on the numerical value of the largest voucher number and the numerical value of the total quantity;
    当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值;When the value of the maximum voucher number is not equal to the value of the total quantity, assign the maximum voucher number to a preset variable as the variable value of the preset variable;
    利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码;Using the missing number detection model constructed by the reverse insertion method, adjust the variable value based on all the voucher numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number;
    将所述缺失号码记录至缺失号码表。Record the missing number in the missing number table.
  2. 如权利要求1所述的缺失号码检测方法,其中,所述缺失号码检测方法还包括:5. The method for detecting missing numbers according to claim 1, wherein the method for detecting missing numbers further comprises:
    当所述最大凭证号与所述总数量相等时,确定所述当前任务不存在缺失号码,并停止对所述当前任务的缺失号码检测。When the maximum voucher number is equal to the total number, it is determined that the current task does not have a missing number, and the detection of the missing number of the current task is stopped.
  3. 如权利要求1所述的缺失号码检测方法,其中,所述利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码包括:The missing number detection method according to claim 1, wherein the missing number detection model constructed by the reverse insertion method is used to adjust the variable value based on all the voucher numbers until the value of the variable value is Zero, stop adjusting and get missing numbers include:
    A、从未曾被赋值于所述预设变量的凭证号中获取数值最大的凭证号;A. Obtain the credential number with the largest value among the credential numbers that have never been assigned to the preset variables;
    B、对获取的凭证号的数值与当前的变量值执行对比运算;B. Perform a comparison operation between the value of the obtained voucher number and the current variable value;
    C、当获取的凭证号的数值不等于当前的变量值时,以当前的变量值的大小作为凭证号的号码,得到所述缺失号码,并对当前的变量值执行减一运算,以更新当前的变量值;或者C. When the value of the obtained voucher number is not equal to the current variable value, the size of the current variable value is used as the voucher number to obtain the missing number, and the current variable value is subtracted by one to update the current value The value of the variable; or
    当获取的凭证号的数值等于当前的变量值时,对当前的变量值执行减一运算,以更新当前的变量值;When the value of the obtained voucher number is equal to the current variable value, subtract one from the current variable value to update the current variable value;
    当当前的变量值更新为零,停止执行。When the current variable value is updated to zero, stop execution.
  4. 如权利要求1所述的缺失号码检测方法,其中,所述缺失号码检测方法还包括:5. The method for detecting missing numbers according to claim 1, wherein the method for detecting missing numbers further comprises:
    当检测到所述缺失号码表中存储了所述缺失号码时,禁止将所述缺失号码写入所述缺失号码表;或者When it is detected that the missing number is stored in the missing number table, it is forbidden to write the missing number into the missing number table; or
    当检测到所述缺失号码表中没有存储所述缺失号码时,将所述缺失号码写入所述缺失号码表。When it is detected that the missing number is not stored in the missing number table, the missing number is written into the missing number table.
  5. 如权利要求1所述的缺失号码检测方法,其中,所述缺失号码检测方法还包括:5. The method for detecting missing numbers according to claim 1, wherein the method for detecting missing numbers further comprises:
    响应于对凭证号的使用请求,从所述缺失号码表中获取任意凭证号;In response to the request for the use of the voucher number, obtain any voucher number from the missing number table;
    当检测到获取的凭证号被使用时,将所述获取的凭证号从所述缺失号码表中删除。When it is detected that the obtained voucher number is used, the obtained voucher number is deleted from the missing number list.
  6. 如权利要求1所述的缺失号码检测方法,其中,所述缺失号码检测方法还包括:5. The method for detecting missing numbers according to claim 1, wherein the method for detecting missing numbers further comprises:
    响应于对凭证号的使用请求,当所述缺失号码表中不存在凭证号时,向指定服务器请求新的凭证号。In response to the request for the use of the voucher number, when the voucher number does not exist in the missing number table, a new voucher number is requested from the designated server.
  7. 如权利要求1所述的缺失号码检测方法,其中,所述缺失号码检测方法还包括:The method for detecting a missing number according to claim 1, wherein the method for detecting a missing number further comprises:
    确定所述缺失号码的数量;Determine the number of missing numbers;
    当所述缺失号码的数量大于或者等于预设阈值时,获取所述当前任务的执行日志;When the number of missing numbers is greater than or equal to a preset threshold, acquiring the execution log of the current task;
    识别所述执行日志中的错误标识以定位故障点;Identify the error identifier in the execution log to locate the point of failure;
    判断所述故障点的类型;Determine the type of the failure point;
    从数据库中调取与所述故障点的类型对应的解决方案;Retrieve a solution corresponding to the type of failure point from the database;
    以所述故障点及所述解决方案生成报警信息进行报警。The fault point and the solution are used to generate alarm information for alarm.
  8. 一种缺失号码检测装置,其中,所述缺失号码检测装置包括:A missing number detection device, wherein the missing number detection device includes:
    检测单元,用于定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态;The detection unit is configured to periodically detect the status identifier of the current task, and determine the execution status of the current task according to the status identifier;
    获取单元,用于当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号;The obtaining unit is configured to obtain all the credential numbers in the current task when the execution of the current task is completed;
    确定单元,用于从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量;The determining unit is used for determining the largest voucher number from all the voucher numbers, and determining the total number of all the voucher numbers;
    对比单元,用于对所述最大凭证号的数值及所述总数量的数值执行对比运算;A comparison unit, configured to perform a comparison operation on the value of the maximum voucher number and the value of the total quantity;
    赋值单元,用于当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值;An assignment unit, configured to assign the maximum certificate number to a preset variable as the variable value of the preset variable when the value of the maximum voucher number is not equal to the value of the total quantity;
    调整单元,用于利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码;The adjustment unit is configured to use a missing number detection model constructed by a reverse insertion method to adjust the variable value based on all the voucher numbers until the variable value is zero, stop the adjustment and obtain the missing number;
    记录单元,用于将所述缺失号码记录至缺失号码表。The recording unit is used to record the missing number in the missing number table.
  9. 一种电子设备,其中,所述电子设备包括:An electronic device, wherein the electronic device includes:
    存储器,存储至少一个计算机可读指令;及The memory stores at least one computer readable instruction; and
    处理器,执行所述存储器中存储的至少一个计算机可读指令以实现以下步骤:The processor executes at least one computer-readable instruction stored in the memory to implement the following steps:
    定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态;Regularly detecting the status identifier of the current task, and determining the execution status of the current task according to the status identifier;
    当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号;When the execution of the current task is completed, obtain all the credential numbers in the current task;
    从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量;Determine the largest voucher number from all the voucher numbers, and determine the total number of all voucher numbers;
    对所述最大凭证号的数值及所述总数量的数值执行对比运算;Perform a comparison operation on the numerical value of the largest voucher number and the numerical value of the total quantity;
    当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值;When the value of the maximum voucher number is not equal to the value of the total quantity, assign the maximum voucher number to a preset variable as the variable value of the preset variable;
    利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码;Using the missing number detection model constructed by the reverse insertion method, adjust the variable value based on all the voucher numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number;
    将所述缺失号码记录至缺失号码表。Record the missing number in the missing number table.
  10. 如权利要求9所述的电子设备,其中,所述处理器执行至少一个计算机可读指令还用以实现以下步骤:9. The electronic device of claim 9, wherein the processor executing at least one computer readable instruction is further used to implement the following steps:
    当所述最大凭证号与所述总数量相等时,确定所述当前任务不存在缺失号码,并停止对所述当前任务的缺失号码检测。When the maximum voucher number is equal to the total number, it is determined that the current task does not have a missing number, and the detection of the missing number of the current task is stopped.
  11. 如权利要求9所述的电子设备,其中,所述处理器执行至少一个计算机可读指令以实现所述利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码时,包括以下步骤:The electronic device of claim 9, wherein the processor executes at least one computer-readable instruction to implement the missing number detection model constructed by the reverse insertion method, and adjust the variable based on all the credential numbers Until the value of the variable value is zero, when the adjustment is stopped and the missing number is obtained, the following steps are included:
    A、从未曾被赋值于所述预设变量的凭证号中获取数值最大的凭证号;A. Obtain the credential number with the largest value among the credential numbers that have never been assigned to the preset variables;
    B、对获取的凭证号的数值与当前的变量值执行对比运算;B. Perform a comparison operation between the value of the obtained voucher number and the current variable value;
    C、当获取的凭证号的数值不等于当前的变量值时,以当前的变量值的大小作为凭证号的号码,得到所述缺失号码,并对当前的变量值执行减一运算,以更新当前的变量值;或者C. When the value of the obtained voucher number is not equal to the current variable value, the size of the current variable value is used as the voucher number to obtain the missing number, and the current variable value is subtracted by one to update the current value The value of the variable; or
    当获取的凭证号的数值等于当前的变量值时,对当前的变量值执行减一运算,以更新当前的变量值;When the value of the obtained voucher number is equal to the current variable value, subtract one from the current variable value to update the current variable value;
    当当前的变量值更新为零,停止执行。When the current variable value is updated to zero, stop execution.
  12. 如权利要求9所述的电子设备,其中,所述处理器执行至少一个计算机可读指令还用以实现以下步骤:9. The electronic device of claim 9, wherein the processor executing at least one computer readable instruction is further used to implement the following steps:
    当检测到所述缺失号码表中存储了所述缺失号码时,禁止将所述缺失号码写入所述缺失号码表;或者When it is detected that the missing number is stored in the missing number table, it is forbidden to write the missing number into the missing number table; or
    当检测到所述缺失号码表中没有存储所述缺失号码时,将所述缺失号码写入所述缺失号码表。When it is detected that the missing number is not stored in the missing number table, the missing number is written into the missing number table.
  13. 如权利要求9所述的电子设备,其中,所述处理器执行至少一个计算机可读指令还用以实现以下步骤:9. The electronic device of claim 9, wherein the processor executing at least one computer readable instruction is further used to implement the following steps:
    响应于对凭证号的使用请求,从所述缺失号码表中获取任意凭证号;In response to the request for the use of the voucher number, obtain any voucher number from the missing number table;
    当检测到获取的凭证号被使用时,将所述获取的凭证号从所述缺失号码表中删除。When it is detected that the obtained voucher number is used, the obtained voucher number is deleted from the missing number list.
  14. 如权利要求9所述的电子设备,其中,所述处理器执行至少一个计算机可读指令还用以实现以下步骤:9. The electronic device of claim 9, wherein the processor executing at least one computer readable instruction is further used to implement the following steps:
    响应于对凭证号的使用请求,当所述缺失号码表中不存在凭证号时,向指定服务器请求新的凭证号。In response to the request for the use of the voucher number, when the voucher number does not exist in the missing number table, a new voucher number is requested from the designated server.
  15. 如权利要求9所述的电子设备,其中,所述处理器执行至少一个计算机可读指令还用以实现以下步骤:9. The electronic device of claim 9, wherein the processor executing at least one computer readable instruction is further used to implement the following steps:
    确定所述缺失号码的数量;Determine the number of missing numbers;
    当所述缺失号码的数量大于或者等于预设阈值时,获取所述当前任务的执行日志;When the number of missing numbers is greater than or equal to a preset threshold, acquiring the execution log of the current task;
    识别所述执行日志中的错误标识以定位故障点;Identify the error identifier in the execution log to locate the point of failure;
    判断所述故障点的类型;Determine the type of the failure point;
    从数据库中调取与所述故障点的类型对应的解决方案;Retrieve a solution corresponding to the type of failure point from the database;
    以所述故障点及所述解决方案生成报警信息进行报警。The fault point and the solution are used to generate alarm information for alarm.
  16. 一种计算机可读存储介质,其中:所述计算机可读存储介质中存储有至少一个计算机可读指令,所述至少一个计算机可读指令被电子设备中的处理器执行以实现以下步骤:A computer-readable storage medium, wherein: the computer-readable storage medium stores at least one computer-readable instruction, and the at least one computer-readable instruction is executed by a processor in an electronic device to implement the following steps:
    定时检测当前任务的状态标识,并根据所述状态标识确定所述当前任务的执行状态;Regularly detecting the status identifier of the current task, and determining the execution status of the current task according to the status identifier;
    当所述当前任务执行完毕时,获取所述当前任务中的所有凭证号;When the execution of the current task is completed, obtain all the credential numbers in the current task;
    从所述所有凭证号中确定最大凭证号,以及确定所述所有凭证号的总数量;Determine the largest voucher number from all the voucher numbers, and determine the total number of all voucher numbers;
    对所述最大凭证号的数值及所述总数量的数值执行对比运算;Perform a comparison operation on the numerical value of the largest voucher number and the numerical value of the total quantity;
    当所述最大凭证号的数值与所述总数量的数值不相等时,将所述最大凭证号赋值给预设变量作为所述预设变量的变量值;When the value of the maximum voucher number is not equal to the value of the total quantity, assign the maximum voucher number to a preset variable as the variable value of the preset variable;
    利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码;Using the missing number detection model constructed by the reverse insertion method, adjust the variable value based on all the voucher numbers until the value of the variable value is zero, stop the adjustment and obtain the missing number;
    将所述缺失号码记录至缺失号码表。Record the missing number in the missing number table.
  17. 如权利要求16所述的存储介质,其中,所述至少一个计算机可读指令被处理器执行还用以实现以下步骤:The storage medium of claim 16, wherein the at least one computer readable instruction is executed by the processor to further implement the following steps:
    当所述最大凭证号与所述总数量相等时,确定所述当前任务不存在缺失号码,并停止对所述当前任务的缺失号码检测。When the maximum voucher number is equal to the total number, it is determined that the current task does not have a missing number, and the detection of the missing number of the current task is stopped.
  18. 如权利要求16所述的存储介质,其中,所述至少一个计算机可读指令被处理器执行以实现所述利用以反向插入法构建的缺失号码检测模型,基于所述所有凭证号调整所述变量值,直至所述变量值的取值为零,停止调整并得到缺失号码时,包括以下步骤:The storage medium of claim 16, wherein the at least one computer-readable instruction is executed by a processor to implement the missing number detection model constructed by the reverse insertion method, and adjust the number based on all the credential numbers. The variable value, until the value of the variable value is zero, when the adjustment is stopped and the missing number is obtained, the following steps are included:
    A、从未曾被赋值于所述预设变量的凭证号中获取数值最大的凭证号;A. Obtain the credential number with the largest value among the credential numbers that have never been assigned to the preset variables;
    B、对获取的凭证号的数值与当前的变量值执行对比运算;B. Perform a comparison operation between the value of the obtained voucher number and the current variable value;
    C、当获取的凭证号的数值不等于当前的变量值时,以当前的变量值的大小作为凭证号的号码,得到所述缺失号码,并对当前的变量值执行减一运算,以更新当前的变量值;或者C. When the value of the obtained voucher number is not equal to the current variable value, the size of the current variable value is used as the voucher number to obtain the missing number, and the current variable value is subtracted by one to update the current value The value of the variable; or
    当获取的凭证号的数值等于当前的变量值时,对当前的变量值执行减一运算,以更新当前的变量值;When the value of the obtained voucher number is equal to the current variable value, subtract one from the current variable value to update the current variable value;
    当当前的变量值更新为零,停止执行。When the current variable value is updated to zero, stop execution.
  19. 如权利要求16所述的存储介质,其中,所述至少一个计算机可读指令被处理器执行还用以实现以下步骤:The storage medium of claim 16, wherein the at least one computer readable instruction is executed by the processor to further implement the following steps:
    当检测到所述缺失号码表中存储了所述缺失号码时,禁止将所述缺失号码写入所述缺失号码表;或者When it is detected that the missing number is stored in the missing number table, it is forbidden to write the missing number into the missing number table; or
    当检测到所述缺失号码表中没有存储所述缺失号码时,将所述缺失号码写入所述缺失号码表。When it is detected that the missing number is not stored in the missing number table, the missing number is written into the missing number table.
  20. 如权利要求16所述的存储介质,其中,所述至少一个计算机可读指令被处理器执行还用以实现以下步骤:The storage medium of claim 16, wherein the at least one computer readable instruction is executed by the processor to further implement the following steps:
    响应于对凭证号的使用请求,从所述缺失号码表中获取任意凭证号;In response to the request for the use of the voucher number, obtain any voucher number from the missing number table;
    当检测到获取的凭证号被使用时,将所述获取的凭证号从所述缺失号码表中删除。When it is detected that the obtained voucher number is used, the obtained voucher number is deleted from the missing number list.
PCT/CN2020/122282 2020-05-28 2020-10-20 Missing-number detection method, apparatus, electronic device, and storage medium WO2021114877A1 (en)

Applications Claiming Priority (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
CN202010470715.9 2020-05-28

Publications (1)

Publication Number Publication Date
WO2021114877A1 true WO2021114877A1 (en) 2021-06-17

Family

ID=72478508

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (3)

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

Citations (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
CN111026755A (en) * 2019-12-06 2020-04-17 中国银行股份有限公司 Transaction serial number obtaining method and device based on full-quantity serial number generator
CN111694843A (en) * 2020-05-28 2020-09-22 平安科技(深圳)有限公司 Missing number detection method and device, electronic equipment and storage medium

Family Cites Families (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
US9852167B2 (en) * 2014-07-25 2017-12-26 Sap Se 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

Patent Citations (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
CN111026755A (en) * 2019-12-06 2020-04-17 中国银行股份有限公司 Transaction serial number obtaining method and device based on full-quantity serial number generator
CN111694843A (en) * 2020-05-28 2020-09-22 平安科技(深圳)有限公司 Missing number detection method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111694843A (en) 2020-09-22
CN111694843B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
WO2021114877A1 (en) Missing-number detection method, apparatus, electronic device, and storage medium
US8839017B2 (en) Electronic device and method for detecting power statuses of electronic device
WO2012065774A1 (en) A method for attesting a plurality of data processing systems
US10043139B2 (en) Method and apparatus for resolving contention in a computer system
US10732841B2 (en) Tracking ownership of memory in a data processing system through use of a memory monitor
JP2018106545A (en) Information processing device, information processing system, information processing method and program
US20210105317A1 (en) Real time multi-tenant workload tracking and auto throttling
CN111654453A (en) Form data offline caching method and device, terminal and storage medium
US9454485B2 (en) Sharing local cache from a failover node
WO2019169771A1 (en) Electronic device, access instruction information acquisition method and storage medium
US9411666B2 (en) Anticipatory protection of critical jobs in a computing system
CN115086047B (en) Interface authentication method and device, electronic equipment and storage medium
WO2023226205A1 (en) Gpu sharing method and apparatus based on kubernetes, and device and medium
JP2006018684A (en) Task management system
CN113031992B (en) Annoy hot update method, device, equipment and medium
US10353930B2 (en) Generating a trust factor for data in non-relational or relational databases
US20160004584A1 (en) Method and computer system to allocate actual memory area from storage pool to virtual volume
US11138512B2 (en) Management of building energy systems through quantification of reliability
CN113419718A (en) Data transmission method, device, equipment and medium
CN113297228B (en) MySQL writing method, device, equipment and medium based on multiple live instances
CN110716939B (en) Data management method, electronic device, system and medium
WO2022134345A1 (en) File access method, apparatus, device, and readable storage medium
CN111106950B (en) Reverse proxy service quality monitoring method, electronic device, system and medium
CN113360267B (en) Method, device, equipment and medium for task execution based on time axis
US20240111857A1 (en) Secure execution of a file on a copy device in a virtualized computing environment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20899239

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20899239

Country of ref document: EP

Kind code of ref document: A1