CN110995527A - Electronic detonator network rapid inspection method and device, storage medium and electronic terminal - Google Patents

Electronic detonator network rapid inspection method and device, storage medium and electronic terminal Download PDF

Info

Publication number
CN110995527A
CN110995527A CN201911088792.1A CN201911088792A CN110995527A CN 110995527 A CN110995527 A CN 110995527A CN 201911088792 A CN201911088792 A CN 201911088792A CN 110995527 A CN110995527 A CN 110995527A
Authority
CN
China
Prior art keywords
slave
mode
host
address
address range
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911088792.1A
Other languages
Chinese (zh)
Other versions
CN110995527B (en
Inventor
李强
李明政
章鑫
曾恭剑
黄跃全
廖帆
唐子涵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Yunming Technology Co Ltd
Original Assignee
Chongqing Yunming 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 Chongqing Yunming Technology Co Ltd filed Critical Chongqing Yunming Technology Co Ltd
Priority to CN201911088792.1A priority Critical patent/CN110995527B/en
Publication of CN110995527A publication Critical patent/CN110995527A/en
Application granted granted Critical
Publication of CN110995527B publication Critical patent/CN110995527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for quickly inspecting an electronic detonator network, which comprises the following steps: grouping the electronic detonators; the host sends a broadcast command with a detection address range; enabling the electronic detonator to enter a first mode or a second mode according to the address range and the communication address of the electronic detonator; when the electronic detonator enters a first mode, the host computer sends a pulse signal; if the number of the pulse signals plus the initial address of the address range is equal to the address of the slave in the nth group, the master polls the slave; and after the host polls the slave, the slave meets a response condition and sends a response signal to the host. The invention adopts grouping treatment for inspection, the number of each group can be adjusted, and after each group is inspected, pulses are added for leakage inspection.

Description

Electronic detonator network rapid inspection method and device, storage medium and electronic terminal
Technical Field
The invention relates to the field of electronic detonators, in particular to a method and a device for quickly inspecting an electronic detonator network.
Background
When the electronic detonators are arranged in a network 400, the communication quality of the network is poor when the communication distance is 1000m, and the communication speed needs to be reduced to ensure stable communication. If a complete command frame is used to poll each of the electronic detonators, the currently designed communication rates require more than 30 seconds (experimentally measured, read state 11/sec-13/sec). In the final detonation stage, whether the module has the detonation capability and the online state needs to be quickly detected, and the required time cannot exceed 10 seconds. Although the rapid detection can be solved by increasing the communication speed, the power consumption of the whole network is increased, and the stability of the network and the detonation capability of the electronic detonator are influenced.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention provides a method and an apparatus for fast inspecting an electronic detonator network, which are used to solve at least one of the shortcomings of the prior art.
In order to achieve the above objects and other related objects, the present invention provides a method for rapidly inspecting an electronic detonator network, wherein the electronic detonator is controlled by a host, the method comprising:
grouping the slaves;
the host sends a broadcast command with a detection address range;
enabling the slave machine to enter a first mode or a second mode according to the address range and the communication address of the slave machine;
when the slave computer enters a first mode, the master computer sends a pulse signal;
when the number of the pulse signals plus the initial address of the address range is equal to the address of the slave in the nth group, the slave is inquired through the host;
and after the host polls the slave, the slave meets a response condition and sends a response signal to the host.
Optionally, if the communication address of the slave is within the address range, the slave performs a first mode; and if the communication address of the slave is not in the address range, the slave performs a second mode.
Optionally, the first mode is an idle mode, and the second mode is a bus idle listening mode.
Optionally, the inspection method further includes: and after each group of slave machines is inspected, the master machine sends electronic pulses to inspect each group of electronic detonators again.
In order to achieve the above and other related objects, the present invention provides a fast inspection device for an electronic detonator network, wherein the electronic detonator is controlled by a host, the device comprising:
the system comprises a host and a slave, wherein the host is used for sending a broadcast command with a detection address range to the slave;
the mode selection module is used for enabling the slave to enter a first mode or a second mode according to the address range and the communication address of the slave; when the slave computer enters a first mode, the master computer sends a pulse signal;
the polling module is used for inquiring the slave machines through the host machine when the number of the pulse signals plus the initial address of the address range is equal to the address of the slave machines in the nth group;
and the sending module is used for sending a response signal to the host when the slave meets a response condition, wherein the slave meets the response condition and polls the host to the slave.
Optionally, if the communication address of the slave is within the address range, the slave performs a first mode; and if the communication address of the slave is not in the address range, the slave performs a second mode.
Optionally, the first mode is an idle mode, and the second mode is a bus idle listening mode.
Optionally, after each group of slave machines is patrolled, the host machine sends a plurality of pulses to check for leakage during patrolling and improve stability.
To achieve the above and other related objects, the present invention provides a storage medium storing a computer program which, when executed by a processor, performs the method.
To achieve the above and other related objects, the present invention provides an electronic terminal, comprising: a processor and a memory;
the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the terminal to execute the method.
As mentioned above, the method and the device for rapidly inspecting the electronic detonator network have the following beneficial effects:
the inspection adopts grouping processing, the number of each group can be adjusted, and after each group is inspected, pulses are added for leakage inspection;
and the electronic module which is not patrolled enters a bus idle monitoring mode to monitor the bus idle. And the slave machine for polling enters an idle state to realize low-power-consumption polling.
Drawings
Fig. 1 is a flowchart of a method for rapidly inspecting an electronic detonator network according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
As shown in fig. 1, a method for fast inspection of an electronic detonator network, the electronic detonator is controlled by a host, wherein the electronic detonator can be defined as a slave in the embodiment. The master can perform point-to-point and broadcast communication with the slave. The communication addresses of the slave machines to be detected are continuous.
The method comprises the following steps:
s11 grouping the slave machines;
s12, the host sends a broadcast command with a detection address range; and enabling the slave to enter the polling process through a broadcast command.
S13, the slave computer enters a first mode or a second mode according to the address range and the communication address of the slave computer;
s14, when the slave computer enters a first mode, the master computer sends a pulse signal;
s15, when the number of the pulse signals plus the initial address of the address range is equal to the address of the slave in the nth group, the master queries the slave;
the starting address of the address range plus the number of pulses equals the slave address, which shows that the training turns to oneself now. If the status flags of the slaves are all completed, the master is acknowledged at the pulse low level.
S16 when the master polls the slave, the slave satisfies the response condition and sends a response signal to the master.
In one embodiment, if the communication address of the slave is within the address range, the slave performs a first mode; and if the communication address of the slave is not in the address range, the slave performs a second mode. Specifically, the first mode is an idle mode, and the second mode is a bus idle listening mode. The slave waits for the master's burst signal in idle mode.
In one embodiment, the master sends a pulse signal and the slave counts the number of pulses.
In one embodiment, the method further comprises a pulse detection timeout mechanism to constrain timing.
In one embodiment, the inspection method further includes: and after each group of slave machines are inspected, the master machine sends electronic pulses to inspect each group of slave machines. And confirming the stability of the polling time sequence through the secondary slave polling.
In the invention, after the host sends the broadcast command, the slave which is not in the address range enters a bus idle monitoring mode to monitor the idle of the bus. In the pulse polling process, the slave computer enters an idle mode to wait for polling signals. The slave machines work in a normal operation mode for a short time, and the power consumption of the whole network is low due to the routing inspection design. The inspection adopts the form of address segment sub-packet and finally adds inspection pulse, thus improving the anti-interference capability of bus inspection. The inspection speed is adjustable, and the pulse frequency of inspection is controlled by the host, specifically 1 ms.
The utility model provides a quick inspection device of electron detonator network, electron detonator is controlled by the host computer, the device includes:
the system comprises a host and a slave, wherein the host is used for sending a broadcast command with a detection address range to the slave;
the mode selection module is used for enabling the slave to enter a first mode or a second mode according to the address range and the communication address of the slave; when the slave computer enters a first mode, the master computer sends a pulse signal;
the polling module is used for inquiring the slave machines through the host machine when the number of the pulse signals plus the initial address of the address range is equal to the address of the slave machines in the nth group;
and the sending module is used for sending a response signal to the host when the slave meets a response condition, wherein the slave meets the response condition and polls the host to the slave.
In one embodiment, if the communication address of the electronic detonator is within the address range, the electronic detonator performs a first mode; and if the communication address of the electronic detonator is not in the address range, the electronic detonator carries out a second mode.
In one embodiment, the first mode is an idle mode and the second mode is a bus idle snoop mode.
In one embodiment, after each group of electronic detonators is inspected, the host sends an electronic pulse to inspect each group of electronic detonators.
Since the embodiment of the apparatus portion and the embodiment of the method portion correspond to each other, please refer to the description of the embodiment of the method portion for the content of the embodiment of the apparatus portion, which is not repeated here.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may comprise any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, etc.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A method for rapidly inspecting an electronic detonator network is characterized in that the electronic detonator is a slave computer which is controlled by a host computer, and the method comprises the following steps:
grouping the slaves;
the host sends a broadcast command with a detection address range;
enabling the slave machine to enter a first mode or a second mode according to the address range and the communication address of the slave machine;
when the slave computer enters a first mode, the master computer sends a pulse signal;
when the number of the pulse signals plus the initial address of the address range is equal to the address of the slave in the nth group, the slave is inquired through the host;
and after the host polls the slave, the slave meets a response condition and sends a response signal to the host.
2. The electronic detonator network rapid inspection method according to claim 1, wherein if the communication address of a slave is within the address range, the slave performs a first mode; and if the communication address of the slave is not in the address range, the slave performs a second mode.
3. The electronic detonator network rapid inspection method according to claim 1 or 2, wherein the first mode is an idle mode, and the second mode is a bus idle listening mode.
4. The electronic detonator network rapid inspection method according to claim 1, further comprising: after each group of slave machines is inspected, the master machine sends a plurality of pulses to inspect the leakage of the inspection, and the stability is improved.
5. The utility model provides a quick inspection device of electron detonator network, electron detonator is by host control, its characterized in that, the device includes: the grouping module is used for grouping the electronic detonators;
the system comprises a host and a slave, wherein the host is used for sending a broadcast command with a detection address range to the slave;
the mode selection module is used for enabling the slave to enter a first mode or a second mode according to the address range and the communication address of the slave; when the slave computer enters a first mode, the master computer sends a pulse signal;
the polling module is used for inquiring the slave machines through the host machine when the number of the pulse signals plus the initial address of the address range is equal to the address of the slave machines in the nth group;
and the sending module is used for sending a response signal to the host when the slave meets a response condition, wherein the slave meets the response condition and polls the host to the slave.
6. The electronic detonator network rapid inspection device according to claim 5, wherein if the communication address of the slave is within the address range, the slave performs the first mode; and if the communication address of the slave is not in the address range, the slave performs a second mode.
7. The electronic detonator network rapid inspection device according to claim 5 or 6, wherein the first mode is an idle mode and the second mode is a bus idle listening mode.
8. The electronic detonator network rapid inspection device according to claim 5, wherein after each group of electronic detonators are inspected, the host machine sends a plurality of pulses to inspect for leaks and improve stability.
9. A storage medium storing a computer program, characterized in that the computer program, when executed by a processor, performs the method according to any one of claims 1 to 4.
10. An electronic terminal, comprising: a processor and a memory;
the memory is for storing a computer program and the processor is for executing the computer program stored by the memory to cause the terminal to perform the method of any of claims 1 to 4.
CN201911088792.1A 2019-11-08 2019-11-08 Electronic detonator network rapid inspection method and device, storage medium and electronic terminal Active CN110995527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911088792.1A CN110995527B (en) 2019-11-08 2019-11-08 Electronic detonator network rapid inspection method and device, storage medium and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911088792.1A CN110995527B (en) 2019-11-08 2019-11-08 Electronic detonator network rapid inspection method and device, storage medium and electronic terminal

Publications (2)

Publication Number Publication Date
CN110995527A true CN110995527A (en) 2020-04-10
CN110995527B CN110995527B (en) 2023-02-28

Family

ID=70083613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911088792.1A Active CN110995527B (en) 2019-11-08 2019-11-08 Electronic detonator network rapid inspection method and device, storage medium and electronic terminal

Country Status (1)

Country Link
CN (1) CN110995527B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024124779A1 (en) * 2022-12-16 2024-06-20 上海艾为电子技术股份有限公司 Address allocation method and system, chip, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201429386Y (en) * 2009-07-03 2010-03-24 北京维深数码科技有限公司 Digital electron exploder priming apparatus with bus interface based on embedded system
US8693357B1 (en) * 2010-09-20 2014-04-08 Rockwell Collins, Inc. Apparatus and method for testing equipment in a simulated AFDX network environment
CN105589825A (en) * 2015-07-17 2016-05-18 贵州全安密灵科技有限公司 Method for quickly querying state of electronic detonator in master-slave type serial communication network
CN108462593A (en) * 2017-02-21 2018-08-28 张凤岐 Slave parameter setting method based on RS485 communication systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201429386Y (en) * 2009-07-03 2010-03-24 北京维深数码科技有限公司 Digital electron exploder priming apparatus with bus interface based on embedded system
US8693357B1 (en) * 2010-09-20 2014-04-08 Rockwell Collins, Inc. Apparatus and method for testing equipment in a simulated AFDX network environment
CN105589825A (en) * 2015-07-17 2016-05-18 贵州全安密灵科技有限公司 Method for quickly querying state of electronic detonator in master-slave type serial communication network
CN108462593A (en) * 2017-02-21 2018-08-28 张凤岐 Slave parameter setting method based on RS485 communication systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024124779A1 (en) * 2022-12-16 2024-06-20 上海艾为电子技术股份有限公司 Address allocation method and system, chip, and electronic device

Also Published As

Publication number Publication date
CN110995527B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN111371638B (en) Intelligent equipment testing method and device, server and storage medium
CN109150680B (en) Self-adaptive address-determining networking circuit and method suitable for RS485 bus
CN110995527B (en) Electronic detonator network rapid inspection method and device, storage medium and electronic terminal
CN109525836B (en) Embedded multimode is survey device simultaneously based on FPGA
CN111552600B (en) Signal testing method, system, device and readable storage medium
CN103729319A (en) Equipment system based on serial bus and data transmission method
CN110781046B (en) USB mobile storage equipment quality detection system, method and related components
CN105629902A (en) CAN bus accurate timing and assembly line testing communication system and method
CN106603332A (en) Method for simultaneously testing internet accesses of to-be-tested product
CN106878153A (en) A kind of message sharing method and device and mobile terminal, server
CN110649979B (en) Electronic device antenna performance testing method, electronic device, equipment and storage medium
CN104581147B (en) HDMI and MIPI functions mutually testing method and device
CN113271223B (en) Unified communication management method for charging module and terminal equipment
CN114844861A (en) Automatic address calibration system for master and slave equipment
CN109976778B (en) Software updating method and system of vehicle electronic product, upper computer and storage medium
CN113254290A (en) Memory particle multidimensional test method, device and system and readable storage medium
CN101459919B (en) Network selecting method and apparatus
CN109977042A (en) A kind of USB on-line debugging system and method
CN111130598A (en) Device and method for acquiring error rate of data link system of unmanned aerial vehicle
CN103605622B (en) A kind of method and apparatus transmitting data
CN204695048U (en) Remote experimental system
CN112154419A (en) Performance monitoring device and method, system on chip, movable platform and camera
CN110059390A (en) Device under test verifies device and Related product
US11979908B2 (en) Method, device, terminal and system for transmitting data
CN214251390U (en) Waterproof testing arrangement and production line

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
GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Li Qiang

Inventor after: Li Mingzheng

Inventor after: Zhang Xin

Inventor after: Zeng Gongjian

Inventor after: Huang Yuequan

Inventor after: Liao Fan

Inventor after: Tang Zihan

Inventor after: Luo Jun

Inventor after: Yu Shengjun

Inventor before: Li Qiang

Inventor before: Li Mingzheng

Inventor before: Zhang Xin

Inventor before: Zeng Gongjian

Inventor before: Huang Yuequan

Inventor before: Liao Fan

Inventor before: Tang Zihan

CB03 Change of inventor or designer information