CN113780494A - Code scanning registration method and system based on detonator and storage medium - Google Patents

Code scanning registration method and system based on detonator and storage medium Download PDF

Info

Publication number
CN113780494A
CN113780494A CN202110956466.9A CN202110956466A CN113780494A CN 113780494 A CN113780494 A CN 113780494A CN 202110956466 A CN202110956466 A CN 202110956466A CN 113780494 A CN113780494 A CN 113780494A
Authority
CN
China
Prior art keywords
detonator
registered
information
bar code
registration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202110956466.9A
Other languages
Chinese (zh)
Inventor
刘洪�
蒋君博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huanan Core Technology Co ltd
Original Assignee
Beijing Huanan Core Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huanan Core Technology Co ltd filed Critical Beijing Huanan Core Technology Co ltd
Priority to CN202110956466.9A priority Critical patent/CN113780494A/en
Publication of CN113780494A publication Critical patent/CN113780494A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Air Bags (AREA)

Abstract

The invention discloses a code scanning registration method, a code scanning registration system and a storage medium based on a detonator, wherein the code scanning registration method based on the detonator comprises the following steps: scanning a bar code of the detonator to be registered to obtain bar code information; if the bar code information accords with a preset check rule, registered detonator list information is obtained, and if the registered detonator list information does not have the same bar code information as the detonator, the registration state of the corresponding hole to be registered is obtained; if the registration state of the hole to be registered is the registered state, acquiring the bar code type of the bar code information; if the type of the bar code accords with the preset type, outputting first prompt information, wherein the first prompt information represents operation selection of the detonator to be registered; and receiving a first operation instruction fed back by a user according to the first prompt information, and determining the hole number corresponding to the detonator to be registered according to the first operation instruction to obtain and output detonator registration information. The detonator to be registered is easy to register, and the operation of pressing keys one by one is not needed, so that the detonator is more efficiently registered, and the damage rate of the keys is reduced.

Description

Code scanning registration method and system based on detonator and storage medium
Technical Field
The invention relates to the technical field of initiating explosive device application, in particular to a scanning code registration method and system based on a detonator and a storage medium.
Background
In the using process of the electronic detonator, the identification code printed on the detonator shell or the leg wire label of the detonator is usually used for acquiring the relevant information of the detonator used in the blasting network, so that the correspondence between the delay time of the detonator and the hole number is completed. The contact type online registration of the detonator is one of the common use modes of the electronic detonator, and the common online registration mode is to set delay parameters through different registration keys or to set detonator parameters through a menu function of delay setting after registration. When errors are found in the registration process and need to be processed, the holes need to be selected by a keyboard, the holes are deleted or inserted, the registration process is carried out, the operation is troublesome, the keys have a certain service life, and the service life of the equipment can be shortened due to frequent keys in the registration process.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a code scanning registration method based on detonators, which can enable the registration operation of the detonators to be registered to be simple and easy, and can prolong the service life of the keys.
The invention further provides a code scanning registration system based on the detonator.
The invention also provides a computer readable storage medium.
In a first aspect, an embodiment of the present invention provides a detonator-based code scanning registration method, including:
scanning a bar code of the detonator to be registered to obtain bar code information;
if the bar code information accords with a preset check rule, registered detonator list information is obtained, and if the registered detonator list information does not have the same bar code information as the detonator, the registration state of the corresponding hole to be registered is obtained;
if the registration state of the hole to be registered is a registered state, acquiring the bar code type of the bar code information;
if the type of the bar code accords with a preset type, outputting first prompt information, wherein the first prompt information represents the operation selection of the detonator to be registered;
and receiving a first operation instruction fed back by a user according to the first prompt information, and determining the hole number corresponding to the detonator to be registered according to the first operation instruction to obtain and output detonator registration information.
The code scanning registration method based on the detonator disclosed by the embodiment of the invention at least has the following beneficial effects: the method comprises the steps of scanning a bar code of a detonator to be registered to obtain bar code information, judging that the coding rule of the bar code information accords with a preset check rule, outputting first prompt information if the registered detonator list information does not have the same bar code information as the detonator, and the type of the bar code information accords with a preset bar code, if the registration state of a hole to be registered corresponding to the detonator to be registered is the registered state, and then registering the detonator to be registered according to a first feedback operation instruction to output detonator registration information, so that the detonator to be registered is simple in registration operation, one-by-one key operation is not needed, detonator registration is more efficient, and the damage rate of keys is reduced.
According to other embodiments of the invention, the code scanning registration method based on detonators further comprises the following steps:
and if the bar code information does not accord with the preset check rule, outputting second prompt information, wherein the second prompt information represents that the bar code information is an error bar code.
According to other embodiments of the invention, the code scanning registration method based on detonators further comprises the following steps:
if the registration state of the hole to be registered is an unregistered state, acquiring the hole number of the hole to be registered;
and mutually corresponding the hole number of the hole to be registered and the bar code information of the detonator to be registered so as to obtain and output the detonator registration information.
According to the code scanning registration method based on the detonator in other embodiments of the present invention, the preset check rule is a preset encoding rule; if the bar code information accords with a preset check rule, acquiring the corresponding registration state of the hole to be registered, wherein the registration state comprises the following steps:
and if the coding rule of the bar code information accords with a preset coding rule, acquiring the registration state of the corresponding hole to be registered.
According to another embodiment of the invention, the preset type requirement is a shell code and a UID code, and if the barcode type meets the preset type requirement, outputting a first prompt message includes:
and if the bar code type is the shell code or the UID code, outputting the first prompt message.
According to other embodiments of the invention, the code scanning registration method based on detonators further comprises the following steps:
and if the type of the bar code does not accord with the preset type, outputting third prompt information.
According to another embodiment of the invention, the first prompt message includes: replacing registered detonator information, adding detonator information and inserting registration hole information, wherein the first operation instruction comprises the following steps: a replace instruction, an add instruction, and an insert instruction; the receiving a first operation instruction fed back by a user according to the first prompt information, and determining the hole number corresponding to the detonator to be registered according to the first operation instruction to obtain and output detonator registration information, including:
receiving the replacement instruction fed back by the user according to the replacement of the registered detonator information, replacing the detonator of the hole to be registered according to the replacement instruction, corresponding the bar code information of the detonator to be registered with the hole number of the hole to be registered, and outputting the detonator registration information;
receiving the increase instruction fed back by the user according to the detonator increase information, adding the detonator to be registered to the corresponding hole to be registered according to the increase instruction, corresponding the hole number of the hole to be registered to the bar code information of the detonator to be registered and the information of the registered detonator, and outputting the detonator registration information;
and receiving the insertion instruction fed back by the user according to the information of the insertion registration hole, inserting the insertion registration hole after the hole to be registered according to the insertion instruction to obtain an insertion hole, corresponding the hole number of the insertion hole with the bar code information of the detonator to be registered, and outputting the detonator registration information.
According to other embodiments of the invention, the code scanning registration method based on detonators further comprises the following steps:
if the barcode information identical to the detonator exists in the registered detonator list, outputting registered warning information, wherein the registered warning information is used for representing that the detonator is registered;
receiving a second operation instruction fed back by the user according to the registered warning information;
if the second operation instruction is a positioning instruction, acquiring a registration hole number corresponding to the bar code information according to the positioning instruction, and outputting detonator registration information corresponding to the bar code information, wherein the registration hole number corresponding to the bar code information is set as a hole number of a hole to be registered;
and if the second operation instruction is a continuation instruction, outputting the information of the hole to be registered.
In a second aspect, an embodiment of the present invention provides a detonator-based code-scanning registration system, including:
the code scanning module is used for scanning the bar code of the detonator to be registered to obtain bar code information;
the first acquisition module is used for acquiring registered detonator list information if the bar code information accords with a preset check rule, and acquiring the registration state of a corresponding hole to be registered if the registered detonator list information does not have the same bar code information as a detonator;
the second acquisition module is used for acquiring the bar code type of the bar code information if the registration state of the hole to be registered is a registered state;
the output module is used for outputting first prompt information if the type of the bar code meets the preset type requirement, and the first prompt information represents the operation selection of the detonator to be registered;
the receiving module is used for receiving a first operation instruction fed back by a user according to the first prompt information;
and the registration module is used for determining the hole number corresponding to the detonator to be registered according to the first operation instruction so as to obtain and output detonator registration information.
The code scanning registration system based on the detonator disclosed by the embodiment of the invention at least has the following beneficial effects: the method comprises the steps of scanning a bar code of a detonator to be registered to obtain bar code information, judging that the coding rule of the bar code information accords with a preset check rule, outputting first prompt information if the registered detonator list information does not have the same bar code information as the detonator, and the type of the bar code information accords with a preset bar code, if the registration state of a hole to be registered corresponding to the detonator to be registered is the registered state, and then registering the detonator to be registered according to a first feedback operation instruction to output detonator registration information, so that the detonator to be registered is simple in registration operation, one-by-one key operation is not needed, detonator registration is more efficient, and the damage rate of keys is reduced.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the detonator-based code scan registration method according to the first aspect.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
FIG. 1 is a schematic flowchart of a code scanning registration method based on detonators according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another embodiment of a detonator-based code-scanning registration method according to an embodiment of the present invention;
FIG. 3 is a schematic flowchart of another embodiment of a code scanning registration method based on detonators according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating another exemplary embodiment of a detonator-based code-scanning registration method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a code scanning registration method based on detonators according to another embodiment of the present invention;
FIG. 6 is a flowchart illustrating another exemplary embodiment of a detonator-based code-scanning registration method according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a code scanning registration method based on detonators according to another embodiment of the present invention;
FIG. 8 is a flowchart illustrating a code scanning registration method based on detonators according to another embodiment of the present invention;
FIG. 9 is a flowchart illustrating a code scanning registration method based on detonators according to another embodiment of the present invention;
FIG. 10 is a block diagram of a code scanning registration system based on detonators according to an embodiment of the present invention.
Reference numerals: 100. a code scanning module; 200. a first acquisition module; 300. a second acquisition module; 400. an output module; 500. a receiving module; 600. and registering the module.
Detailed Description
The concept and technical effects of the present invention will be clearly and completely described below in conjunction with the embodiments to fully understand the objects, features and effects of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and those skilled in the art can obtain other embodiments without inventive effort based on the embodiments of the present invention, and all embodiments are within the protection scope of the present invention.
In the description of the present invention, if an orientation description is referred to, for example, the orientations or positional relationships indicated by "upper", "lower", "front", "rear", "left", "right", etc. are based on the orientations or positional relationships shown in the drawings, only for convenience of describing the present invention and simplifying the description, but not for indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. If a feature is referred to as being "disposed," "secured," "connected," or "mounted" to another feature, it can be directly disposed, secured, or connected to the other feature or indirectly disposed, secured, connected, or mounted to the other feature.
In the description of the embodiments of the present invention, if "a number" is referred to, it means one or more, if "a plurality" is referred to, it means two or more, if "greater than", "less than" or "more than" is referred to, it is understood that the number is not included, and if "greater than", "lower" or "inner" is referred to, it is understood that the number is included. If reference is made to "first" or "second", this should be understood to distinguish between features and not to indicate or imply relative importance or to implicitly indicate the number of indicated features or to implicitly indicate the precedence of the indicated features.
The electronic detonators are used for detonating explosives, and the delay time and the hole number of each electronic detonator are correspondingly required to be set, but the hole sites of the holes to be registered are mainly manually selected by the existing detonator registration method, and then the corresponding detonators are inserted and deleted according to the hole sites of the holes to be registered, so that the manual mode of pressing keys one by one is required to register the detonators, the service lives of the keys are shortened, the operation is still troublesome, and the detonator registration operation is complex.
Based on the method, the system and the storage medium, the detonator can be quickly registered, the user does not need to press keys one by one, the detonator registration efficiency is improved, and the damage rate of the keys is reduced.
In a first aspect, referring to fig. 1, an embodiment of the present invention discloses a code scanning registration method based on detonators, including:
s100, scanning a bar code of the detonator to be registered to obtain bar code information;
s200, if the bar code information accords with a preset check rule, registered detonator list information is obtained, and if the registered detonator list information does not have the same bar code information as the detonator, the registration state of the corresponding hole to be registered is obtained;
s300, if the registration state of the hole to be registered is the registered state, acquiring the bar code type of the bar code information;
s400, if the type of the bar code accords with a preset type, outputting first prompt information, wherein the first prompt information represents operation selection of the detonator to be registered;
s500, receiving a first operation instruction fed back by a user according to the first prompt information, and determining a hole number corresponding to the detonator to be registered according to the first operation instruction to obtain and output detonator registration information.
Because each detonator to be registered is pasted with the bar code, the bar code of the detonator to be registered is directly scanned when the detonator to be registered is required to be registered so as to obtain the bar code information of the detonator to be registered. And then, checking the bar code information by a preset checking rule. If the bar code information accords with the preset check rule, the registered detonator list information is obtained, then whether the information same as the bar code information exists or not is judged according to the registered detonator list information, if the registered detonator list information does not exist, the scanned detonator to be registered is not registered, therefore, the registration state of the hole to be registered corresponding to the detonator to be registered is obtained, if the registration state of the hole to be registered is the registered state, namely the hole to be registered is already registered with the detonator, the bar code type of the bar code information of the detonator to be registered is further acquired so as to further judge that the bar code type of the detonator to be registered accords with the preset type, which indicates that the detonator to be registered can be registered, but the registered detonator exists in the hole to be registered corresponding to the detonator to be registered, therefore, the first prompt message is output, and the user can determine how to register the detonator to be registered according to the first prompt message. Therefore, a first operation instruction fed back by a user according to the first prompt information is received, the hole number corresponding to the detonator to be registered is determined according to the first operation instruction, the detonator to be registered is registered, detonator registration information is output, detonator registration is carried out in a code scanning mode, and detonator registration operation is simpler and easier.
The bar code for scanning the detonator to be registered comprises any one of the following items: two-dimensional codes and bar codes. Therefore, the bar code information of the detonator to be registered is obtained by scanning the bar code or the two-dimensional code on the detonator to be registered, and the bar code information comprises the detonator number, the detonator delay parameter and the like, so that the operation for acquiring the information of the detonator to be registered is simple.
Referring to fig. 2, in some embodiments, a detonator-based code-scanning registration method includes:
s600, if the bar code information does not accord with the preset check rule, outputting second prompt information, wherein the second prompt information represents that the bar code information is an error bar code.
And checking the bar code information according to a preset checking rule, if the bar code information does not accord with the preset checking rule, outputting second prompt information representing that the bar code information is an error bar code, and stopping subsequent judgment after the second prompt information is output. The user can know that the scanned bar code is wrong according to the second prompt message so as to prevent the bar code with scanning errors from directly registering the detonator to be registered, thereby reducing the error rate of detonator registration.
Referring to fig. 3, in some embodiments, the preset check rule is a preset encoding rule, and step S200 includes:
s210, if the coding rule of the bar code information accords with a preset coding rule, registered detonator list information is obtained, and if the registered detonator list information does not have the same bar code information as the detonator, the registration state of the corresponding hole to be registered is obtained.
The preset check rule is mainly a preset coding rule, the preset check rule scans a bar code on the detonator to be registered to obtain bar code information, and the bar code information is coded according to a certain coding rule, so that whether the coding rule of the bar code information of the detonator to be registered accords with the preset coding rule is judged, if the coding rule of the detonator to be registered does not accord with the preset coding rule, second prompt information representing bar code errors is output, and a user can check whether the detonator to be registered corresponding to the bar code information has problems according to the second prompt information and does not perform subsequent process judgment. And if the coding rule of the detonator to be registered accords with the preset coding rule, the barcode of the detonator to be registered accords with the requirement, and the next operation flow is carried out to obtain the registration state of the hole to be registered corresponding to the detonator to be registered. Therefore, whether the bar code information meets the requirement or not is determined by judging the encoding rule of the bar code information.
Referring to fig. 4, in some embodiments, the detonator-based code scanning registration method further includes:
and S700, if the barcode type does not accord with the preset type, outputting third prompt information.
If the type of the bar code does not accord with the preset type, namely the scanned bar code of the detonator to be registered does not accord with the requirement, third prompt information is output, and the third prompt information represents that the type of the bar code does not accord with the preset type, the user can know the condition of the bar code of the detonator to be registered according to the third prompt information, the correct bar code of the detonator to be registered can be re-scanned, and the detonator to be registered can be quickly registered.
Referring to fig. 5, wherein the preset type requirement is a shell code, a UID code; step S400 includes:
and S410, if the type of the bar code is a shell code or a UID code, outputting first prompt information.
The barcode type of the detonator to be registered comprises: the detonator packaging system comprises a shell code, a UID code, a packaging box bar code and a packaging box bar code, wherein if the type of the bar code for scanning the bar code information of the detonator to be registered is the packaging box bar code or the packaging box bar code when the system scans the bar code of the detonator to be registered, the scanned bar code is not qualified, third prompt information is output, and the third prompt information prompts that the bar code of the detonator to be registered is the packaging box bar code or the packaging box bar code. If the bar code type of the bar code information obtained by scanning is a shell code or UID code, namely the bar code type of the detonator to be registered is in accordance with the preset type, because the registration state of the hole to be registered is the registered state and the bar code type is not in accordance with the preset type, first prompt information is output and used for prompting a user to select how to operate the detonator to be registered so as to determine the hole number corresponding to the detonator to be registered, so that the detonator registration information of the detonator to be registered is obtained, and the detonator to be registered is easy to register.
Referring to fig. 6, in some embodiments, the detonator-based code scanning registration method further includes:
s800, if the registration state of the hole to be registered is an unregistered state, acquiring the hole number of the hole to be registered;
and S900, mutually corresponding the hole number of the hole to be registered and the bar code information of the detonator to be registered so as to obtain and output detonator registration information.
If the registration state of the hole to be registered corresponding to the detonator to be registered is the unregistered state, the corresponding hole to be registered does not register the detonator, so that the bar code information of the detonator to be registered can be directly corresponding to the hole number of the hole to be registered, so that the detonator to be registered can be directly registered, the detonator registration information can be obtained according to the correspondence between the bar code information of the detonator to be registered and the hole number of the hole to be registered, the detonator registration information is output, code scanning registration of the detonator to be registered is achieved, the detonator to be registered is easy to register, the service life of a key is not affected, and efficient detonator registration is achieved.
And displaying detonator registration information, wherein the displayed detonator registration information mainly comprises the corresponding relation between the hole number of the hole to be registered and the code and the delay of the detonator to be registered.
In some embodiments, the first prompt message includes: replacing the registered detonator information, adding the detonator information and inserting the registration hole information; the first operation instruction includes: a replace instruction, an add instruction, and an insert instruction.
Referring to fig. 7, wherein step S500 includes:
s510, receiving a replacement instruction fed back by a user according to the replacement of the registered detonator information, replacing the detonator of the hole to be registered according to the replacement instruction, corresponding the bar code information of the detonator to be registered with the hole number of the hole to be registered, and outputting detonator registration information;
s520, receiving an increasing instruction fed back by a user according to the detonator increasing information, adding a detonator to be registered in the corresponding hole to be registered according to the increasing instruction, corresponding the hole number of the hole to be registered with the bar code information of the detonator to be registered and the information of the registered detonator, and outputting detonator registration information;
s530, receiving an insertion instruction fed back by a user according to the information of the insertion registration hole, inserting the insertion registration hole after the hole to be registered according to the insertion instruction to obtain an insertion hole, corresponding the hole number of the insertion hole to the bar code information of the detonator to be registered, and outputting detonator registration information.
The first prompt information mainly prompts a user to operate the detonator to be registered so as to complete the registration of the detonator to be registered, so that the first prompt information comprises information for replacing the registered detonator, information for adding the detonator and information for inserting the registration hole, and the user can select the operation of the detonator to be registered according to the prompted first prompt information. And if the user feeds back a replacement instruction according to the displayed replacement registered detonator information, replacing the registered detonator in the hole to be registered with the detonator to be registered according to the fed back replacement instruction, modifying the detonator information of the hole to be registered corresponding to the registered detonator into the bar code information of the detonator to be registered so as to complete the registration of the detonator to be registered, and outputting the detonator registration information. If the user feeds back the increase instruction according to the displayed detonator increase information, then the corresponding detonator to be registered is added to the hole to be registered according to the increase instruction, namely the registered detonator of the hole to be registered is reserved, so that the hole to be registered corresponds to the detonator information of the registered detonator and the bar code information of the detonator to be registered, and the detonator information to be registered is obtained and output. And if the user inserts the registration hole after the hole to be registered according to the insertion instruction to obtain the insertion hole according to the insertion instruction fed back by the displayed insertion registration hole information, and the hole number of the insertion hole corresponds to the bar code information of the detonator to be registered so as to complete the registration of the detonator to be registered and output detonator registration information so as to complete the registration of the detonator to be registered. Therefore, the corresponding first operation instruction is fed back through the displayed first indication information, so that the user only needs to press once to output the first operation instruction to complete the registration of the detonator to be registered, and does not need to press keys step by step to complete the registration of the detonator to be registered, so that the registration of the detonator to be registered is more efficient, and the damage rate of the keys is reduced.
Referring to fig. 8, in some embodiments, the detonator-based code-scanning registration method further comprises:
and S1000, outputting a corresponding alarm signal according to the first prompt message, the second prompt message and the third prompt message.
And if the first alarm signal, the second alarm signal and the third alarm signal are different, the user can determine the corresponding registration condition according to the output alarm signal.
Referring to fig. 9, in some embodiments, the detonator-based code-scanning registration method further includes:
s1100, if the registered detonator list has the same bar code information as the detonator, outputting registered warning information, wherein the registered warning information is used for representing that the detonator is registered;
s1200, receiving a second operation instruction fed back by the user according to the first prompt information;
s1300, if the second operation instruction is a positioning instruction, acquiring a registration hole number corresponding to the bar code information according to the positioning instruction, outputting detonator registration information corresponding to the bar code information, and setting the registration hole number corresponding to the bar code information as the hole number of the hole to be registered;
and S1400, if the second operation instruction is a continuation instruction, outputting the information of the hole to be registered.
If the bar code information accords with a preset check rule, registered detonator list information is obtained, if the registered detonator list information contains the bar code information which is the same as the bar code information of the detonator, the fact that the detonator is registered is indicated, registered warning information is output, the registered warning information is used for representing that the detonator is registered, a user can select to obtain a hole number to be registered corresponding to the detonator according to the registered warning information or re-register the detonator to obtain a second operation instruction, and the operation of the detonator is determined according to the second operation instruction. And if the second operation instruction is a positioning instruction, acquiring the registration hole number corresponding to the bar code information according to the positioning instruction, and outputting detonator registration information corresponding to the bar code information, wherein the registration hole number corresponding to the bar code information is the hole number of the hole to be registered. Therefore, the registered detonator does not need to be registered, the hole number to be registered corresponding to the detonator can be quickly positioned, and detonator registration information display is directly completed. If the second operation instruction is a continuing instruction, the registered warning information is ignored, the information of the hole to be registered is continuously output, and the detonator is continuously registered.
The detonator-based code-scanning registration method according to an embodiment of the present invention is described in detail in a specific embodiment with reference to fig. 1 to 9. It is to be understood that the following description is only exemplary, and not a specific limitation of the invention.
The method comprises the steps of directly scanning a bar code of a detonator to be registered to obtain bar code information of the detonator to be registered, judging whether a coding rule of the bar code information of the detonator to be registered accords with a preset coding rule, if the coding rule of the detonator to be registered does not accord with the preset coding rule, outputting second prompt information representing error of the bar code, and if the coding rule of the detonator to be registered accords with the preset coding rule, obtaining registered detonator list information. And if the registered detonator list information does not have the same bar code information as the detonator, acquiring the registration state of the hole to be registered corresponding to the detonator to be registered. And if the registration state of the hole to be registered is the registered state, acquiring the bar code type of the bar code information, and if the bar code type of the bar code information obtained by scanning is a shell code or UID code, namely indicating that the bar code type of the detonator to be registered accords with the preset type. And if the user feeds back a replacement instruction according to the displayed replacement registered detonator information, the registered detonator in the hole to be registered is replaced by the detonator to be registered according to the fed back replacement instruction, and the detonator information of the hole to be registered corresponding to the registered detonator is modified into the bar code information of the detonator to be registered. And if the user feeds back an increase instruction according to the displayed detonator increase information, and then adds the corresponding detonator to be registered to the hole to be registered according to the increase instruction, so that the hole to be registered corresponds to the detonator information of the registered detonator and the bar code information of the detonator to be registered, and the detonator information to be registered is obtained and output. And if the user inserts the registration hole after the hole to be registered according to the insertion instruction to obtain the insertion hole according to the insertion instruction fed back by the displayed insertion registration hole information, and the hole number of the insertion hole corresponds to the bar code information of the detonator to be registered so as to complete the registration of the detonator to be registered and output detonator registration information so as to complete the registration of the detonator to be registered. Therefore, the user only needs to press once to output the first operation instruction to complete the registration of the detonator to be registered, and does not need to press the key step by step to complete the registration of the detonator to be registered, so that the registration of the detonator to be registered is more efficient, and the damage rate of the key is reduced.
In a second aspect, referring to fig. 10, an embodiment of the present invention further discloses a code scanning registration system based on detonators, including: the code scanning module 100, the first acquiring module 200, the second acquiring module 300, the output module 400, the receiving module 500 and the registering module 600; the code scanning module 100 is used for scanning a bar code of the detonator to be registered to obtain bar code information; the first obtaining module 200 is configured to obtain registered detonator list information if the barcode information conforms to a preset verification rule, and obtain a registration state of a corresponding hole to be registered if the registered detonator list information does not have barcode information identical to that of a detonator; the second obtaining module 300 is configured to obtain a barcode type of the barcode information if the registration status of the hole to be registered is a registered status; the output module 400 is configured to output first prompt information if the barcode type meets the preset type requirement, where the first prompt information represents an operation selection of the detonator to be registered; the receiving module 500 is configured to receive a first operation instruction fed back by a user according to the first prompt information; the registration module 600 is configured to determine, according to the first operation instruction, a hole number corresponding to the detonator to be registered to obtain and output detonator registration information.
The barcode scanning module 100 scans the barcode of the detonator to be registered to obtain barcode information, then judges whether the code of the barcode information conforms to a preset rule according to the preset check rule, and if the code rule of the barcode information conforms to the preset check rule, acquires the registered detonator list information. If the registered detonator list information does not have information matched with the bar code information, acquiring the registration state of a hole to be registered corresponding to the detonator to be registered, if the registration state of the hole to be registered is the registered state, further judging the bar code type of the bar code information of the detonator to be registered, if the bar code type of the bar code information accords with a preset type, outputting first prompt information, receiving a first operation instruction fed back by a user according to the first prompt information, determining the hole number corresponding to the coding information of the detonator to be registered through the first operation instruction, and completing the registration of the detonator to be registered.
In a third aspect, an embodiment of the present invention discloses a computer-readable storage medium, where computer-executable instructions are stored, and the computer-executable instructions are configured to enable a computer to execute the detonator-based code scanning registration method according to the first aspect.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention. Furthermore, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.

Claims (10)

1. A code scanning registration method based on detonators is characterized by comprising the following steps:
scanning a bar code of the detonator to be registered to obtain bar code information;
if the bar code information accords with a preset check rule, registered detonator list information is obtained, and if the registered detonator list information does not have the same bar code information as the detonator, the registration state of the corresponding hole to be registered is obtained;
if the registration state of the hole to be registered is a registered state, acquiring the bar code type of the bar code information;
if the type of the bar code accords with a preset type, outputting first prompt information, wherein the first prompt information represents the operation selection of the detonator to be registered;
and receiving a first operation instruction fed back by a user according to the first prompt information, and determining the hole number corresponding to the detonator to be registered according to the first operation instruction to obtain and output detonator registration information.
2. The detonator-based code-scanning registration method of claim 1, further comprising:
and if the bar code information does not accord with the preset check rule, outputting second prompt information, wherein the second prompt information represents that the bar code information is an error bar code.
3. The detonator-based code-scanning registration method of claim 1, further comprising:
if the registration state of the hole to be registered is an unregistered state, acquiring the hole number of the hole to be registered;
and mutually corresponding the hole number of the hole to be registered and the bar code information of the detonator to be registered so as to obtain and output the detonator registration information.
4. The detonator-based code scanning registration method of claim 1, wherein the preset verification rule is a preset encoding rule; if the bar code information accords with a preset check rule, acquiring the corresponding registration state of the hole to be registered, wherein the registration state comprises the following steps:
and if the coding rule of the bar code information accords with a preset coding rule, acquiring the registration state of the corresponding hole to be registered.
5. The detonator-based code scanning registration method of claim 1, wherein the preset type requirement is a shell code and a UID code, and the outputting of the first prompt information if the barcode type meets the preset type requirement comprises:
and if the bar code type is the shell code or the UID code, outputting the first prompt message.
6. The detonator-based code-scanning registration method of claim 1, further comprising:
and if the type of the bar code does not accord with the preset type, outputting third prompt information.
7. The detonator-based code-scanning registration method of claim 1, wherein the first prompt message comprises: replacing registered detonator information, adding detonator information and inserting registration hole information, wherein the first operation instruction comprises the following steps: a replace instruction, an add instruction, and an insert instruction; the receiving a first operation instruction fed back by a user according to the first prompt information, and determining the hole number corresponding to the detonator to be registered according to the first operation instruction to obtain and output detonator registration information, including:
receiving the replacement instruction fed back by the user according to the replacement of the registered detonator information, replacing the detonator of the hole to be registered according to the replacement instruction, corresponding the bar code information of the detonator to be registered with the hole number of the hole to be registered, and outputting the detonator registration information;
receiving the increase instruction fed back by the user according to the detonator increase information, adding the detonator to be registered to the corresponding hole to be registered according to the increase instruction, corresponding the hole number of the hole to be registered to the bar code information of the detonator to be registered and the information of the registered detonator, and outputting the detonator registration information;
and receiving the insertion instruction fed back by the user according to the information of the insertion registration hole, inserting the insertion registration hole after the hole to be registered according to the insertion instruction to obtain an insertion hole, corresponding the hole number of the insertion hole with the bar code information of the detonator to be registered, and outputting the detonator registration information.
8. The detonator-based code-scanning registration method of claim 1, further comprising:
if the barcode information identical to the detonator exists in the registered detonator list, outputting registered warning information, wherein the registered warning information is used for representing that the detonator is registered;
receiving a second operation instruction fed back by the user according to the registered warning information;
if the second operation instruction is a positioning instruction, acquiring a registration hole number corresponding to the bar code information according to the positioning instruction, and outputting detonator registration information corresponding to the bar code information, wherein the registration hole number corresponding to the bar code information is set as a hole number of a hole to be registered;
and if the second operation instruction is a continuation instruction, outputting the information of the hole to be registered.
9. A code scanning registration system based on detonators is characterized by comprising:
the code scanning module is used for scanning the bar code of the detonator to be registered to obtain bar code information;
the first acquisition module is used for acquiring registered detonator list information if the bar code information accords with a preset check rule, and acquiring the registration state of a corresponding hole to be registered if the registered detonator list information does not have the same bar code information as a detonator;
the second acquisition module is used for acquiring the bar code type of the bar code information if the registration state of the hole to be registered is a registered state;
the output module is used for outputting first prompt information if the type of the bar code meets the preset type requirement, and the first prompt information represents the operation selection of the detonator to be registered;
the receiving module is used for receiving a first operation instruction fed back by a user according to the first prompt information;
and the registration module is used for determining the hole number corresponding to the detonator to be registered according to the first operation instruction so as to obtain and output detonator registration information.
10. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the detonator-based code scan registration method of any one of claims 1 to 8.
CN202110956466.9A 2021-08-19 2021-08-19 Code scanning registration method and system based on detonator and storage medium Withdrawn CN113780494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110956466.9A CN113780494A (en) 2021-08-19 2021-08-19 Code scanning registration method and system based on detonator and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110956466.9A CN113780494A (en) 2021-08-19 2021-08-19 Code scanning registration method and system based on detonator and storage medium

Publications (1)

Publication Number Publication Date
CN113780494A true CN113780494A (en) 2021-12-10

Family

ID=78838645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110956466.9A Withdrawn CN113780494A (en) 2021-08-19 2021-08-19 Code scanning registration method and system based on detonator and storage medium

Country Status (1)

Country Link
CN (1) CN113780494A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297084A (en) * 2022-08-04 2022-11-04 上海芯跳科技有限公司 Method and system for improving communication efficiency of electronic detonator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297084A (en) * 2022-08-04 2022-11-04 上海芯跳科技有限公司 Method and system for improving communication efficiency of electronic detonator
CN115297084B (en) * 2022-08-04 2023-11-28 上海芯跳科技有限公司 Method and system for improving communication efficiency of electronic detonator

Similar Documents

Publication Publication Date Title
WO2005111888A1 (en) Method for associating an asset with a monitoring device
CN113780494A (en) Code scanning registration method and system based on detonator and storage medium
CN100405771C (en) Vehicle test management system and method
CN110908702A (en) Version switching method, version switching device, computer equipment and storage medium
CN113581792A (en) Tray position checking method and device and tray positioning system
CN105045671A (en) Method and device for upgrading systems of intelligent terminals
CN113220568B (en) Method, device and medium for testing USIM card file system
CN111611465B (en) Product detection system, method, device, computer equipment and storage medium
CN113781261A (en) Detonator online registration method and device
CN103577964A (en) Method and system for acquiring product circulation regional information and verifying authenticity of product
CN113592109B (en) Method, system, device and storage medium for binding vehicle-mounted terminal and vehicle networking platform
CN111159048A (en) Application program testing method and device and computer readable storage medium
CN113904955B (en) Detection method, device and system of data transmission link
CN114254324A (en) Management method, device and storage medium based on configuration center
JP4398119B2 (en) Parts replacement monitoring method and system
CN115994552B (en) Verification method and device based on graphic code, electronic equipment and storage medium
CN113190277A (en) Equipment identification method, equipment identification device and terminal equipment
CN112104911A (en) Data detection method, television terminal and system
CN112040430B (en) Short message sending method, device, server and storage medium
CN110674249A (en) Information processing method and device
CN113781260A (en) Detonator registration method and system of detonator and storage medium
CN109451082B (en) Shopping cart electronic lock management method, system, device and readable storage medium
CN112084082B (en) Keyboard detection method
CN117473491A (en) Interface risk detection method, device, equipment and storage medium
TWI449402B (en) System and method for sending, receiving and updating a personal card between electronic devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20211210

WW01 Invention patent application withdrawn after publication