Earthquake node instrument online upgrading method, device and system

By obtaining the heartbeat information of the seismic node meter, and sending upgrade instructions through the message queue, the online batch wireless upgrade of the seismic node meter is realized, solving the problem of time-consuming and labor-consuming traditional upgrade methods and improving efficiency and unity.

CN119562245APending Publication Date: 2025-03-04CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311125411.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-01
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

The traditional upgrade method of seismic node instruments requires a lot of manpower and material resources, and is prone to mis-upgrade and leaky upgrades, resulting in the equipment not working normally, and cannot guarantee uniformity, which is time-consuming and labor-consuming.

Method used

By obtaining the heartbeat information of the seismic node meter, determining whether it is in digital transmission mode. If it is not there, send a switching command, establish a connection, enter the node information into the network, and send upgrade instructions through a message queue to achieve online batch wireless upgrade.

Benefits of technology

It improves the efficiency of seismic node meter upgrade, reduces manpower and material costs, ensures the unity and accuracy of upgrades, and saves time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119562245A_ABST
    Figure CN119562245A_ABST
Patent Text Reader

Abstract

The invention provides a seismic node instrument online upgrading method, device and system. The method comprises the following steps: acquiring heartbeat information sent by a seismic node instrument; judging whether the seismic node instrument is in a data transmission mode state or not according to the heartbeat information; if it is judged that the seismic node instrument is in the data transmission mode, connection with the seismic node instrument is established, and node information of the seismic node instrument is automatically accessed to the list to be upgraded; selecting a seismic node instrument needing to be upgraded in the list to be upgraded, and circularly sending an upgrading instruction to the selected seismic node instrument in a message queue mode; and sending a restart instruction to the upgraded seismic node instrument to control the upgraded seismic node instrument to recover to an initial state. The upgrading efficiency of the seismic node instrument can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of petroleum seismic exploration data acquisition, and in particular to a method, device and system for online upgrading of a seismic node instrument. Background Art

[0002] The traditional upgrade method for seismic node instruments is to transport the seismic node instruments back to the camp factory and upgrade them using wired connections. This method often requires a lot of manpower and material resources for disassembly or assembly. For example, incorrect upgrades and missed upgrades during manual wired connections can cause the seismic node instruments to fail to work properly, and the uniformity of all seismic node instruments cannot be guaranteed. Moreover, when the number of seismic node instruments is large, the labor cost required is too high and the time is too long. Summary of the invention

[0003] In order to solve the technical problem that the upgrade of seismic node instruments is time-consuming and labor-intensive, the present invention proposes a method, device and system for online upgrading of seismic node instruments.

[0004] In a first aspect, an embodiment of the present invention provides a method for online upgrading of a seismic node instrument, which is applied to a cloud platform, and the method includes:

[0005] Get the heartbeat information sent by the seismic node instrument;

[0006] Determine whether the seismic node instrument is in a data transmission mode according to the heartbeat information;

[0007] If it is determined that the seismic node instrument is in the data transmission mode, a connection is established with the seismic node instrument, and the node information of the seismic node instrument is automatically added to the list to be upgraded;

[0008] Select the seismic node instrument that needs to be upgraded in the to-be-upgraded list, and send upgrade instructions to the selected seismic node instrument cyclically through a message queue to upgrade the selected seismic node instrument;

[0009] A restart command is sent to the upgraded seismic node instrument to control the upgraded seismic node instrument to return to the initial state.

[0010] In some implementations, the method further includes: recording and displaying the upgrade status and successful upgrade time of each seismic node instrument in the list to be upgraded.

[0011] In some implementations, the node information includes an ID of a seismic node instrument, and the method further includes:

[0012] Monitor the upgrade status of the seismic node instruments that have been upgraded in the upgrade list;

[0013] When it is monitored that the upgrade status of the seismic node instrument that has been upgraded in the to-be-upgraded list is not upgraded, the ID of the seismic node instrument is obtained.

[0014] In some implementations, the step of cyclically sending the upgrade instruction to the selected seismic node instrument by means of a message queue includes:

[0015] The upgrade instructions required for the upgrade are sent to the MQTT message queue. During the upgrade process of the seismic node instrument, the upgrade instructions are cyclically sent to the selected seismic node instrument through the MQTT message queue to automatically switch the upgrade instructions for the selected seismic node instrument during the upgrade process.

[0016] In some implementations, the upgrade instructions are sent to the selected seismic node instruments in a cyclic interval by means of a message queue and according to a preset sending interval.

[0017] In some implementations, the selecting of the seismic node instruments that need to be upgraded in the to-be-upgraded list includes:

[0018] Acquire upgrade object option information, where the upgrade object option information includes all upgrade options and some upgrade options;

[0019] Select the seismic node instrument to be upgraded from the list to be upgraded according to the upgrade object option information.

[0020] In some implementations, if it is determined based on the heartbeat information that the seismic node instrument is not in the data transmission mode, an instruction to switch the data transmission mode is sent to the seismic node instrument.

[0021] In a second aspect, an embodiment of the present invention provides an online upgrade device for a seismic node instrument, which is applied to a cloud platform, and the device includes:

[0022] An acquisition module is used to obtain the heartbeat information sent by the seismic node instrument;

[0023] A processing module, used for judging whether the seismic node instrument is in a data transmission mode according to the heartbeat information, and if it is judged that the seismic node instrument is in a data transmission mode, establishing a connection with the seismic node instrument, and automatically adding the node information of the seismic node instrument to a list to be upgraded;

[0024] The upgrade module is used to select the seismic node instrument to be upgraded from the to-be-upgraded list according to the upgrade object option information after receiving the upgrade object option information, and cyclically send the upgrade instruction to the selected seismic node instrument through the message queue to upgrade the selected seismic node instrument;

[0025] The restart module is used to send a restart instruction to the upgraded seismic node instrument to control the upgraded seismic node instrument to return to the initial state.

[0026] In a third aspect, an embodiment of the present invention provides an online upgrade system for a seismic node instrument, comprising:

[0027] A cloud platform, executing the above-mentioned online upgrade method of a seismic node instrument or realizing the above-mentioned online upgrade device of a seismic node instrument;

[0028] At least one seismic node instrument is used to send heartbeat information to the cloud platform, establish a connection with the cloud platform in the digital transmission mode, and upgrade according to the upgrade instructions sent by the cloud platform; after the upgrade is completed, it restarts according to the received restart instructions to restore the initial state.

[0029] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by at least one processor, the method described in the first aspect is implemented.

[0030] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising a memory and at least one processor, wherein a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method described in the first aspect is implemented.

[0031] One or more embodiments of the present invention bring at least the following beneficial effects:

[0032] The present invention determines whether the seismic node instrument is switched to the digital transmission mode according to the heartbeat information sent by the seismic node instrument, and sends the instruction of switching the digital transmission mode to the seismic node instrument that has not been switched to the digital transmission mode, so as to control the seismic node instrument to switch to the digital transmission mode immediately; establishes a connection with the seismic node instrument that has been switched to the digital transmission mode, and cyclically sends the upgrade instruction to the selected seismic node instrument by means of a message queue, so as to switch the upgrade instruction to the selected seismic node instrument, thereby realizing the batch wireless upgrade of the seismic node instrument. Compared with the method of upgrading the seismic node instrument by wired connection in the prior art, the upgrade efficiency is effectively improved. In addition, the method can monitor the upgrade details of the seismic node instrument in real time by recording the upgrade status and successful upgrade time of the seismic node instrument, and determine the seismic node instrument with upgrade problems according to the upgrade status, saving the manpower, material resources and time costs required for the upgrade process. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and should not be regarded as limiting the scope.

[0034] Figure 1 A flow chart of an online upgrade method for a seismic node instrument provided by an embodiment of the present invention;

[0035] Figure 2 A structural block diagram of an online upgrade device for a seismic node instrument provided by an embodiment of the present invention;

[0036] Figure 3 A workflow of an online upgrade system for a seismic node instrument provided by an embodiment of the present invention;

[0037] Figure 4 A display interface diagram of an online upgrade system for a seismic node instrument provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0038] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.

[0039] Embodiment 1

[0040] This embodiment provides a method for online upgrading of seismic node instruments, which is applied to a cloud platform, such as Figure 1 As shown, the method includes:

[0041] Step S100, obtaining the heartbeat information sent by the seismic node instrument.

[0042] Step S200, judging whether the seismic node instrument is in a data transmission mode according to the heartbeat information.

[0043] Step S300, if it is determined that the seismic node instrument is in the digital transmission mode, a connection is established with the seismic node instrument, and the node information of the seismic node instrument is automatically added to the list to be upgraded; if it is determined based on the heartbeat information that the seismic node instrument is not in the digital transmission mode, an instruction to switch the digital transmission mode is sent to the seismic node instrument by means of a piggyback instruction to control the seismic node instrument to switch to the digital transmission mode. The node information includes the number of the seismic node instrument (abbreviated as ID), the node instrument status and the node instrument status time, etc. The node instrument status includes digital transmission mode, non-digital transmission mode, etc. The information in the list to be upgraded can be displayed, and the display interface is as follows: Figure 4 shown.

[0044] Step S400, selecting the seismic node instrument that needs to be upgraded in the to-be-upgraded list, and cyclically sending upgrade instructions to the selected seismic node instrument through a message queue to upgrade the selected seismic node instrument.

[0045] The step of selecting the seismic node instrument to be upgraded in the to-be-upgraded list includes: obtaining upgrade object option information, wherein the upgrade object option information includes all upgrade options and some upgrade options, and selecting the seismic node instrument to be upgraded from the to-be-upgraded list according to the upgrade object option information.

[0046] The "full upgrade" option is to select and upgrade all the seismic node instruments in the list to be upgraded. The "partial upgrade" option is to select and upgrade some of the seismic node instruments in the list to be upgraded by checking.

[0047] After the seismic node instruments that need to be upgraded are automatically connected to the network and added to the list to be upgraded, you can select the All Upgrade option to wirelessly upgrade all the seismic node instruments that are connected to the network and in the digital transmission mode, that is, the seismic node instruments that have recorded node information in the list to be upgraded. You can also select the Partial Upgrade option to wirelessly upgrade some of the seismic node instruments that need to be upgraded.

[0048] In some implementations, the method of cyclically sending upgrade instructions to the selected seismic node instrument via a message queue includes: sending the upgrade instructions required for the upgrade to an MQTT message queue, and during the upgrade process of the seismic node instrument, cyclically sending the upgrade instructions to the selected seismic node instrument via the MQTT message queue, so as to automatically switch the upgrade instructions to the selected seismic node instrument during the upgrade process, so as to wirelessly upgrade the seismic node instrument.

[0049] In order to prevent the queue from being blocked due to too many instructions, the sending interval of the message queue is preset, so that the upgrade instructions are sent to the selected seismic node instruments cyclically and intermittently through the message queue and according to the preset sending interval, so as to ensure the smooth wireless upgrade of a large number of seismic node instruments. In this embodiment, the preset sending interval is 1 second, and in other embodiments, the sending interval can be set according to actual needs.

[0050] Step S500, sending a restart instruction to the upgraded seismic node instrument to control the upgraded seismic node instrument to return to an initial state.

[0051] In some implementations, the method further includes recording and displaying information such as the upgrade status, successful upgrade time, and upgrade version of each seismic node instrument in the upgrade list.

[0052] The node status of all seismic node instruments that enter the wireless upgrade will change accordingly. Therefore, after the wireless upgrade is automatically completed, the successful upgrade time can be recorded and displayed according to the time when the node status changes. The upgrade status will also change to upgraded accordingly.

[0053] In some implementations, the method further includes:

[0054] Monitor the upgrade status of the seismic node instruments that have been upgraded in the upgrade list;

[0055] When it is monitored that the upgrade status of the seismic node instrument that has been upgraded in the to-be-upgraded list is not upgraded, the ID of the seismic node instrument is obtained.

[0056] When individual seismic node instruments cannot be upgraded wirelessly normally, the corresponding upgrade status will not change. Therefore, the seismic node instruments that have not been upgraded wirelessly normally can be determined by monitoring the upgrade status, and by obtaining the ID of the seismic node instrument that has not been upgraded wirelessly normally, targeted troubleshooting can be performed on the seismic node instruments that cannot be upgraded wirelessly normally.

[0057] The method provided in this embodiment determines whether the seismic node instrument is switched to the digital transmission mode according to the heartbeat information sent by the seismic node instrument, and sends an instruction to switch the digital transmission mode to the seismic node instrument that has not been switched to the digital transmission mode, so as to control the seismic node instrument to switch to the digital transmission mode immediately; establishes a connection with the seismic node instrument that has been switched to the digital transmission mode, and cyclically sends an upgrade instruction to the selected seismic node instrument through a message queue, so as to switch the upgrade instruction to the selected seismic node instrument, thereby realizing batch wireless upgrade of the seismic node instrument. Compared with the method of upgrading the seismic node instrument by wired connection in the prior art, the upgrade efficiency is effectively improved. In addition, the method can monitor the upgrade details of the seismic node instrument in real time by recording the upgrade status and successful upgrade time of the seismic node instrument, and determine the seismic node instrument with upgrade problems according to the upgrade status, saving the manpower, material resources and time costs required for the upgrade process.

[0058] Embodiment 2

[0059] This embodiment provides a seismic node instrument online upgrade device 200, which is applied to a cloud platform, such as Figure 2 As shown, the device comprises:

[0060] The acquisition module 210 is used to acquire the heartbeat information sent by the seismic node instrument.

[0061] The processing module 220 is used to determine whether the seismic node instrument is in the digital transmission mode according to the heartbeat information. If it is determined that the seismic node instrument is in the digital transmission mode, a connection is established with the seismic node instrument, and the node information of the seismic node instrument is automatically added to the list to be upgraded. If it is determined that the seismic node instrument is not in the digital transmission mode according to the heartbeat information, an instruction to switch the digital transmission mode is sent to the seismic node instrument by means of a piggyback instruction to control the seismic node instrument to switch to the digital transmission mode. The node information includes the number of the seismic node instrument (ID for short), the node instrument status and the node instrument status time, etc. The node instrument status includes digital transmission mode, non-digital transmission mode, etc. The information in the list to be upgraded can be displayed, and the display interface is as follows: Figure 4 shown.

[0062] The upgrade module 230 is used to select the seismic node instrument to be upgraded from the upgrade list according to the upgrade object option information after receiving the upgrade object option information, and cyclically send upgrade instructions to the selected seismic node instrument through a message queue to upgrade the selected seismic node instrument.

[0063] The step of selecting the seismic node instrument to be upgraded in the to-be-upgraded list includes: obtaining upgrade object option information, wherein the upgrade object option information includes all upgrade options and some upgrade options, and selecting the seismic node instrument to be upgraded from the to-be-upgraded list according to the upgrade object option information.

[0064] The "full upgrade" option is to select and upgrade all the seismic node instruments in the list to be upgraded. The "partial upgrade" option is to select and upgrade some of the seismic node instruments in the list to be upgraded by checking.

[0065] After the seismic node instruments that need to be upgraded are automatically connected to the network and added to the list to be upgraded, you can select the All Upgrade option to wirelessly upgrade all the seismic node instruments that are connected to the network and in the digital transmission mode, that is, the seismic node instruments that have recorded node information in the list to be upgraded. You can also select the Partial Upgrade option to wirelessly upgrade some of the seismic node instruments that need to be upgraded.

[0066] In some implementations, the method of cyclically sending upgrade instructions to the selected seismic node instrument via a message queue includes: sending the upgrade instructions required for the upgrade to an MQTT message queue, and during the upgrade process of the seismic node instrument, cyclically sending the upgrade instructions to the selected seismic node instrument via the MQTT message queue, so as to automatically switch the upgrade instructions to the selected seismic node instrument during the upgrade process, so as to wirelessly upgrade the seismic node instrument.

[0067] In order to prevent the queue from being blocked due to too many instructions, the sending interval of the message queue is preset, so that the upgrade instructions are sent to the selected seismic node instruments cyclically and intermittently through the message queue and according to the preset sending interval, so as to ensure the smooth wireless upgrade of a large number of seismic node instruments. In this embodiment, the preset sending interval is 1 second, and in other embodiments, the sending time interval can be set according to actual needs.

[0068] The restart module 240 is used to send a restart instruction to the upgraded seismic node instrument to control the upgraded seismic node instrument to return to an initial state.

[0069] In some implementations, the seismic node instrument online upgrade device 200 also includes a recording module 250 for recording and displaying information such as the upgrade status, successful upgrade time, and upgrade version of each seismic node instrument in the list to be upgraded.

[0070] The node status of all seismic node instruments that enter the wireless upgrade will change accordingly. Therefore, after the wireless upgrade is automatically completed, the successful upgrade time can be recorded and displayed according to the time when the node status changes. The upgrade status will also change to upgraded accordingly.

[0071] In some implementations, the seismic node instrument online upgrade device 200 also includes a problem monitoring module 260, which is used to monitor the upgrade status of the seismic node instruments that have been upgraded in the upgrade list; when it is monitored that the upgrade status of the seismic node instruments that have been upgraded in the upgrade list is not upgraded, the ID of the seismic node instrument is obtained.

[0072] When individual seismic node instruments cannot be upgraded wirelessly normally, the corresponding upgrade status will not change. Therefore, the seismic node instruments that have not been upgraded wirelessly normally can be determined by monitoring the upgrade status, and by obtaining the ID of the seismic node instrument that has not been upgraded wirelessly normally, targeted troubleshooting can be performed on the seismic node instruments that cannot be upgraded wirelessly normally.

[0073] The online upgrade device 200 of the seismic node instrument provided in this embodiment determines whether the seismic node instrument is switched to the digital transmission mode according to the heartbeat information sent by the seismic node instrument through the processing module 220, and sends the instruction of switching the digital transmission mode to the seismic node instrument that has not been switched to the digital transmission mode, so as to control the seismic node instrument to switch to the digital transmission mode immediately; establishes a connection with the seismic node instrument that has been switched to the digital transmission mode, and uses the message queue method of the upgrade module 230 to send the upgrade instruction to the selected seismic node instrument in a loop, so as to switch the upgrade instruction to the selected seismic node instrument, and realize the batch wireless upgrade of the seismic node instrument. Compared with the method of upgrading the seismic node instrument by wired connection in the prior art, the upgrade efficiency is effectively improved. And this scheme also records the upgrade status and successful upgrade time of the seismic node instrument through the recording module 250, so that the upgrade details of the seismic node instrument can be monitored in real time through the problem monitoring module 260, and the seismic node instrument with problems can be determined according to the upgrade status, saving the manpower, material resources and time costs required for the upgrade process.

[0074] Embodiment 3

[0075] This embodiment provides an online upgrade system for a seismic node instrument, including a cloud platform and at least one seismic node instrument.

[0076] The cloud platform executes the online upgrade method of the seismic node instrument as described in Example 1 or implements the online upgrade device of the seismic node instrument as described in Example 2.

[0077] The seismic node instrument is used to send heartbeat information to the cloud platform, establish a connection with the cloud platform in the digital transmission mode, and upgrade according to the upgrade instructions sent by the cloud platform; after the upgrade is completed, it restarts according to the received restart instructions to restore the initial state.

[0078] The workflow of the online upgrade system for seismic node instruments is as follows: Figure 3 As shown, including:

[0079] Node upgrade cloud platform initialization: After the cloud platform is started, set the corresponding wireless upgrade mode and the automatic or manual network access mode of the seismic node instrument, assign them to the global system variables, and switch to the digital transmission mode, waiting for the seismic node instrument to be connected.

[0080] Automatic node access switching mode: The seismic node instrument is powered on and connected to the network, and sends heartbeat information to the cloud platform. The cloud platform determines whether the seismic node instrument is in the digital transmission mode based on the heartbeat information. If it is not in the digital transmission mode, it sends a command to switch the digital transmission mode to the seismic node instrument by piggybacking the command. After receiving the command to switch the digital transmission mode from the cloud platform, the seismic node instrument immediately switches to the digital transmission mode and establishes a connection with the cloud platform again.

[0081] One-click upgrade and selection of upgrade nodes: After the seismic node instrument to be upgraded is automatically connected to the list to be upgraded, the cloud platform can use all upgrade options to uniformly wirelessly upgrade the seismic node instruments that are connected to the network and switched to the digital transmission mode. Secondly, you can also select some seismic node instruments that are connected to the network and switched to the digital transmission mode by checking them for wireless upgrade. The wireless upgrade method is: send the upgrade instructions required for the upgrade to the MQTT message queue. During the upgrade process of the seismic node instrument, the upgrade instructions are cyclically sent to the selected seismic node instrument through the MQTT message queue to switch the upgrade instructions to the selected seismic node instrument, so as to wirelessly upgrade the seismic node instrument. Here, in order to prevent queue congestion caused by an excessive number of instructions, the sending interval of the cyclic sending of the pre-set message queue is 1 second to ensure the smooth progress of the wireless upgrade of a large number of seismic node instruments. In other embodiments, the sending time interval can be set according to actual needs.

[0082] Upgrade node monitoring and error node search: The cloud platform records and displays the upgrade status, successful upgrade time, and upgrade version of each seismic node instrument in the list to be upgraded; monitors the upgrade status of the seismic node instruments that have been upgraded in the list to be upgraded; when the upgrade status of the seismic node instruments that have been upgraded in the list to be upgraded is monitored as incomplete, obtain the ID of the corresponding seismic node instrument. Here, the IDs of the seismic node instruments obtained can be uniformly pushed to the display end for display, and can also be marked with colors to highlight the IDs of the seismic node instruments with problems.

[0083] Display interface such as Figure 4 As shown, the node status of all seismic node instruments that enter the wireless upgrade will change accordingly. Therefore, after the wireless upgrade is automatically completed, the cloud platform can record and display the successful upgrade time according to the time when the node status changes, and change the upgrade status from never upgraded to upgraded.

[0084] When individual seismic node instruments cannot be upgraded wirelessly normally, the corresponding upgrade status will not change. Therefore, the seismic node instruments that have not been upgraded wirelessly normally can be determined by monitoring the upgrade status, and by obtaining the ID of the seismic node instrument that has not been upgraded wirelessly normally, targeted troubleshooting can be performed on the seismic node instruments that cannot be upgraded wirelessly normally.

[0085] Restore the node to its initial state: When the seismic node that needs to be upgraded wirelessly is upgraded, the cloud platform automatically sends a restart command to the seismic node that has completed the wireless upgrade. After receiving the restart command, the seismic node automatically returns to its initial state.

[0086] Embodiment 4

[0087] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by at least one processor, the online upgrade method of the seismic node instrument of the above-mentioned embodiment is implemented.

[0088] Among them, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.

[0089] The online upgrade method of a seismic node instrument implemented in this embodiment is applied to a cloud platform, such as Figure 1 As shown, including:

[0090] Step S100, obtaining the heartbeat information sent by the seismic node instrument.

[0091] Step S200, judging whether the seismic node instrument is in a data transmission mode according to the heartbeat information.

[0092] Step S300, if it is determined that the seismic node instrument is in the digital transmission mode, a connection is established with the seismic node instrument, and the node information of the seismic node instrument is automatically added to the list to be upgraded; if it is determined based on the heartbeat information that the seismic node instrument is not in the digital transmission mode, an instruction to switch the digital transmission mode is sent to the seismic node instrument by means of a piggyback instruction to control the seismic node instrument to switch to the digital transmission mode. The node information includes the number of the seismic node instrument (abbreviated as ID), the node instrument status and the node instrument status time, etc. The node instrument status includes digital transmission mode, non-digital transmission mode, etc. The information in the list to be upgraded can be displayed, and the display interface is as follows: Figure 4 shown.

[0093] Step S400, selecting the seismic node instrument that needs to be upgraded in the to-be-upgraded list, and cyclically sending upgrade instructions to the selected seismic node instrument through a message queue to upgrade the selected seismic node instrument.

[0094] The step of selecting the seismic node instrument to be upgraded in the to-be-upgraded list includes: obtaining upgrade object option information, wherein the upgrade object option information includes all upgrade options and some upgrade options, and selecting the seismic node instrument to be upgraded from the to-be-upgraded list according to the upgrade object option information.

[0095] The "full upgrade" option is to select and upgrade all the seismic node instruments in the list to be upgraded. The "partial upgrade" option is to select and upgrade some of the seismic node instruments in the list to be upgraded by checking.

[0096] After the seismic node instruments that need to be upgraded are automatically connected to the network and added to the list to be upgraded, you can select the All Upgrade option to wirelessly upgrade all the seismic node instruments that are connected to the network and in the digital transmission mode, that is, the seismic node instruments that have recorded node information in the list to be upgraded. You can also select the Partial Upgrade option to wirelessly upgrade some of the seismic node instruments that need to be upgraded.

[0097] In some implementations, the method of cyclically sending upgrade instructions to the selected seismic node instrument via a message queue includes: sending the upgrade instructions required for the upgrade to an MQTT message queue, and during the upgrade process of the seismic node instrument, cyclically sending the upgrade instructions to the selected seismic node instrument via the MQTT message queue, so as to automatically switch the upgrade instructions to the selected seismic node instrument during the upgrade process, so as to wirelessly upgrade the seismic node instrument.

[0098] In order to prevent queue congestion caused by too many instructions, the interval time difference of the MQTT message queue for instruction switching is set to ensure the smooth wireless upgrade of large quantities of seismic node instruments. In this embodiment, the interval time difference is set to 1 second, and in other embodiments, the interval time difference can be set according to actual needs.

[0099] Step S500, sending a restart instruction to the upgraded seismic node instrument to control the upgraded seismic node instrument to return to an initial state.

[0100] In some implementations, the method further includes recording and displaying information such as the upgrade status, successful upgrade time, and upgrade version of each seismic node instrument in the upgrade list.

[0101] The node status of all seismic node instruments that enter the wireless upgrade will change accordingly. Therefore, after the wireless upgrade is automatically completed, the successful upgrade time can be recorded and displayed according to the time when the node status changes. The upgrade status will also change to upgraded accordingly.

[0102] In some implementations, the method further includes:

[0103] Monitor the upgrade status of the seismic node instruments that have been upgraded in the upgrade list;

[0104] When it is monitored that the upgrade status of the seismic node instrument that has been upgraded in the to-be-upgraded list is not upgraded, the ID of the seismic node instrument is obtained.

[0105] When individual seismic node instruments cannot be upgraded wirelessly normally, the corresponding upgrade status will not change. Therefore, the seismic node instruments that have not been upgraded wirelessly normally can be determined by monitoring the upgrade status, and by obtaining the ID of the seismic node instrument that has not been upgraded wirelessly normally, targeted troubleshooting can be performed on the seismic node instruments that cannot be upgraded wirelessly normally.

[0106] The method provided in this embodiment determines whether the seismic node instrument is switched to the digital transmission mode according to the heartbeat information sent by the seismic node instrument, and sends an instruction to switch the digital transmission mode to the seismic node instrument that has not been switched to the digital transmission mode, so as to control the seismic node instrument to switch to the digital transmission mode immediately; establishes a connection with the seismic node instrument that has been switched to the digital transmission mode, and cyclically sends an upgrade instruction to the selected seismic node instrument through a message queue, so as to switch the upgrade instruction to the selected seismic node instrument, thereby realizing batch wireless upgrade of the seismic node instrument. Compared with the method of upgrading the seismic node instrument by wired connection in the prior art, the upgrade efficiency is effectively improved. In addition, the method can monitor the upgrade details of the seismic node instrument in real time by recording the upgrade status and upgrade time of the seismic node instrument, and determine the seismic node instrument with upgrade problems according to the upgrade status, saving the manpower, material resources and time costs required for the upgrade process.

[0107] Embodiment 5

[0108] This embodiment provides an electronic device, including a memory and at least one processor, wherein a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method of the above-mentioned embodiment is implemented.

[0109] Among them, the processor can be an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), a digital signal processor (Digital Signal Processor, abbreviated as DSP), a digital signal processing device (Digital Signal Processing Device, abbreviated as DSPD), a programmable logic device (Programmable Logic Device, abbreviated as PLD), a field programmable gate array (Field Programmable Gate Array, abbreviated as FPGA), a controller, a microcontroller (Microcontroller Unit, MCU), a microprocessor or other electronic components, which are used to execute the online upgrade method of the seismic node instrument in the above-mentioned embodiment.

[0110] The online upgrade method of a seismic node instrument implemented in this embodiment is applied to a cloud platform, such as Figure 1 As shown, the method includes:

[0111] Step S100, obtaining the heartbeat information sent by the seismic node instrument.

[0112] Step S200, judging whether the seismic node instrument is in a data transmission mode according to the heartbeat information.

[0113] Step S300, if it is determined that the seismic node instrument is in the digital transmission mode, a connection is established with the seismic node instrument, and the node information of the seismic node instrument is automatically added to the list to be upgraded; if it is determined based on the heartbeat information that the seismic node instrument is not in the digital transmission mode, an instruction to switch the digital transmission mode is sent to the seismic node instrument by means of a piggyback instruction to control the seismic node instrument to switch to the digital transmission mode. The node information includes the number of the seismic node instrument (abbreviated as ID), the node instrument status and the node instrument status time, etc. The node instrument status includes digital transmission mode, non-digital transmission mode, etc. The information in the list to be upgraded can be displayed, and the display interface is as follows: Figure 4 shown.

[0114] Step S400, selecting the seismic node instrument that needs to be upgraded in the to-be-upgraded list, and cyclically sending upgrade instructions to the selected seismic node instrument through a message queue to upgrade the selected seismic node instrument.

[0115] The step of selecting the seismic node instrument to be upgraded in the to-be-upgraded list includes: obtaining upgrade object option information, wherein the upgrade object option information includes all upgrade options and some upgrade options, and selecting the seismic node instrument to be upgraded from the to-be-upgraded list according to the upgrade object option information.

[0116] The "full upgrade" option is to select and upgrade all the seismic node instruments in the list to be upgraded. The "partial upgrade" option is to select and upgrade some of the seismic node instruments in the list to be upgraded by checking.

[0117] After the seismic node instruments that need to be upgraded are automatically connected to the network and added to the list to be upgraded, you can select the All Upgrade option to wirelessly upgrade all the seismic node instruments that are connected to the network and in the digital transmission mode, that is, the seismic node instruments that have recorded node information in the list to be upgraded. You can also select the Partial Upgrade option to wirelessly upgrade some of the seismic node instruments that need to be upgraded.

[0118] In some implementations, the method of cyclically sending upgrade instructions to the selected seismic node instrument via a message queue includes: sending the upgrade instructions required for the upgrade to an MQTT message queue, and during the upgrade process of the seismic node instrument, cyclically sending the upgrade instructions to the selected seismic node instrument via the MQTT message queue, so as to automatically switch the upgrade instructions to the selected seismic node instrument during the upgrade process, so as to wirelessly upgrade the seismic node instrument.

[0119] In order to prevent the queue from being blocked due to too many instructions, the sending interval of the message queue is preset, so that the upgrade instructions are sent to the selected seismic node instruments cyclically and intermittently through the message queue and according to the preset sending interval, so as to ensure the smooth wireless upgrade of a large number of seismic node instruments. In this embodiment, the preset sending interval is 1 second, and in other embodiments, the sending interval can be set according to actual needs.

[0120] Step S500, sending a restart instruction to the upgraded seismic node instrument to control the upgraded seismic node instrument to return to an initial state.

[0121] In some implementations, the method further includes recording and displaying information such as the upgrade status, successful upgrade time, and upgrade version of each seismic node instrument in the upgrade list.

[0122] The node status of all seismic node instruments that enter the wireless upgrade will change accordingly. Therefore, after the wireless upgrade is automatically completed, the successful upgrade time can be recorded and displayed according to the time when the node status changes. The upgrade status will also change to upgraded accordingly.

[0123] In some implementations, the method further includes:

[0124] Monitor the upgrade status of the seismic node instruments that have been upgraded in the upgrade list;

[0125] When it is monitored that the upgrade status of the seismic node instrument that has been upgraded in the to-be-upgraded list is not upgraded, the ID of the seismic node instrument is obtained.

[0126] When individual seismic node instruments cannot be upgraded wirelessly normally, the corresponding upgrade status will not change. Therefore, the seismic node instruments that have not been upgraded wirelessly normally can be determined by monitoring the upgrade status, and by obtaining the ID of the seismic node instrument that has not been upgraded wirelessly normally, targeted troubleshooting can be performed on the seismic node instruments that cannot be upgraded wirelessly normally.

[0127] The method provided in this embodiment determines whether the seismic node instrument is switched to the digital transmission mode according to the heartbeat information sent by the seismic node instrument, and sends an instruction to switch the digital transmission mode to the seismic node instrument that has not been switched to the digital transmission mode, so as to control the seismic node instrument to switch to the digital transmission mode immediately; establishes a connection with the seismic node instrument that has been switched to the digital transmission mode, and cyclically sends an upgrade instruction to the selected seismic node instrument through a message queue, so as to switch the upgrade instruction to the selected seismic node instrument, thereby realizing batch wireless upgrade of the seismic node instrument. Compared with the method of upgrading the seismic node instrument by wired connection in the prior art, the upgrade efficiency is effectively improved. In addition, the method can monitor the upgrade details of the seismic node instrument in real time by recording the upgrade status and successful upgrade time of the seismic node instrument, and determine the seismic node instrument with upgrade problems according to the upgrade status, saving the manpower, material resources and time costs required for the upgrade process.

[0128] Embodiment 6

[0129] This embodiment provides a computer program product. When the computer program product is run on a processor, it executes the online upgrade method of the seismic node instrument of the above embodiment.

[0130] In practical applications, the computer program product can be implemented and run in electronic devices.

[0131] The online upgrade method of a seismic node instrument implemented in this embodiment is applied to a cloud platform, such as Figure 1 As shown, the method includes:

[0132] Step S100, obtaining the heartbeat information sent by the seismic node instrument.

[0133] Step S200, judging whether the seismic node instrument is in a data transmission mode according to the heartbeat information.

[0134] Step S300, if it is determined that the seismic node instrument is in the digital transmission mode, a connection is established with the seismic node instrument, and the node information of the seismic node instrument is automatically added to the list to be upgraded; if it is determined based on the heartbeat information that the seismic node instrument is not in the digital transmission mode, an instruction to switch the digital transmission mode is sent to the seismic node instrument by means of a piggyback instruction to control the seismic node instrument to switch to the digital transmission mode. The node information includes the number of the seismic node instrument (abbreviated as ID), the node instrument status and the node instrument status time, etc. The node instrument status includes digital transmission mode, non-digital transmission mode, etc. The information in the list to be upgraded can be displayed, and the display interface is as follows: Figure 4 shown.

[0135] Step S400, selecting the seismic node instrument that needs to be upgraded in the to-be-upgraded list, and cyclically sending upgrade instructions to the selected seismic node instrument through a message queue to upgrade the selected seismic node instrument.

[0136] The step of selecting the seismic node instrument to be upgraded in the to-be-upgraded list includes: obtaining upgrade object option information, wherein the upgrade object option information includes all upgrade options and some upgrade options, and selecting the seismic node instrument to be upgraded from the to-be-upgraded list according to the upgrade object option information.

[0137] The "full upgrade" option is to select and upgrade all the seismic node instruments in the list to be upgraded. The "partial upgrade" option is to select and upgrade some of the seismic node instruments in the list to be upgraded by checking.

[0138] After the seismic node instruments that need to be upgraded are automatically connected to the network and added to the list to be upgraded, you can select the All Upgrade option to wirelessly upgrade all the seismic node instruments that are connected to the network and in the digital transmission mode, that is, the seismic node instruments that have recorded node information in the list to be upgraded. You can also select the Partial Upgrade option to wirelessly upgrade some of the seismic node instruments that need to be upgraded.

[0139] In some implementations, the method of cyclically sending upgrade instructions to the selected seismic node instrument via a message queue includes: sending the upgrade instructions required for the upgrade to an MQTT message queue, and during the upgrade process of the seismic node instrument, cyclically sending the upgrade instructions to the selected seismic node instrument via the MQTT message queue, so as to automatically switch the upgrade instructions to the selected seismic node instrument during the upgrade process, so as to wirelessly upgrade the seismic node instrument.

[0140] In order to prevent the queue from being blocked due to too many instructions, the sending interval of the message queue is preset, so that the upgrade instructions are sent to the selected seismic node instruments cyclically and intermittently through the message queue and according to the preset sending interval, so as to ensure the smooth wireless upgrade of a large number of seismic node instruments. In this embodiment, the preset sending interval is 1 second, and in other embodiments, the sending interval can be set according to actual needs.

[0141] Step S500, sending a restart instruction to the upgraded seismic node instrument to control the upgraded seismic node instrument to return to an initial state.

[0142] In some implementations, the method further includes recording and displaying information such as the upgrade status, successful upgrade time, and upgrade version of each seismic node instrument in the upgrade list.

[0143] The node status of all seismic node instruments that enter the wireless upgrade will change accordingly. Therefore, after the wireless upgrade is automatically completed, the successful upgrade time can be recorded and displayed according to the time when the node status changes. The upgrade status will also change to upgraded accordingly.

[0144] In some implementations, the method further includes:

[0145] Monitor the upgrade status of the seismic node instruments that have been upgraded in the upgrade list;

[0146] When it is monitored that the upgrade status of the seismic node instrument that has been upgraded in the to-be-upgraded list is not upgraded, the ID of the seismic node instrument is obtained.

[0147] When individual seismic node instruments cannot be upgraded wirelessly normally, the corresponding upgrade status will not change. Therefore, the seismic node instruments that have not been upgraded wirelessly normally can be determined by monitoring the upgrade status, and by obtaining the ID of the seismic node instrument that has not been upgraded wirelessly normally, targeted troubleshooting can be performed on the seismic node instruments that cannot be upgraded wirelessly normally.

[0148] The method provided in this embodiment determines whether the seismic node instrument is switched to the digital transmission mode according to the heartbeat information sent by the seismic node instrument, and sends an instruction to switch the digital transmission mode to the seismic node instrument that has not been switched to the digital transmission mode, so as to control the seismic node instrument to switch to the digital transmission mode immediately; establishes a connection with the seismic node instrument that has been switched to the digital transmission mode, and cyclically sends an upgrade instruction to the selected seismic node instrument through a message queue, so as to switch the upgrade instruction to the selected seismic node instrument, thereby realizing batch wireless upgrade of the seismic node instrument. Compared with the method of upgrading the seismic node instrument by wired connection in the prior art, the upgrade efficiency is effectively improved. In addition, the method can monitor the upgrade details of the seismic node instrument in real time by recording the upgrade status and successful upgrade time of the seismic node instrument, and determine the seismic node instrument with upgrade problems according to the upgrade status, saving the manpower, material resources and time costs required for the upgrade process.

[0149] In the several embodiments provided in the embodiments of the present invention, it should be understood that the disclosed apparatus and method can also be implemented in other ways. The apparatus and method embodiments described above are merely illustrative.

[0150] It should be noted that, in this article, the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. The terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0151] Although the embodiments disclosed in the present invention are as above, the above contents are only embodiments adopted for facilitating the understanding of the present invention and are not intended to limit the present invention. Any technician in the technical field to which the present invention belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present invention, but the patent protection scope of the present invention shall still be subject to the scope defined in the attached claims.

Claims

1. A method for online upgrading of a seismic node instrument, characterized in that: Applied to a cloud platform, the method includes: Get the heartbeat information sent by the seismic node instrument; Determine whether the seismic node instrument is in a data transmission mode according to the heartbeat information; If it is determined that the seismic node instrument is in the data transmission mode, a connection is established with the seismic node instrument, and the node information of the seismic node instrument is automatically added to the list to be upgraded; Select the seismic node instrument that needs to be upgraded in the to-be-upgraded list, and send upgrade instructions to the selected seismic node instrument cyclically through a message queue to upgrade the selected seismic node instrument; A restart command is sent to the upgraded seismic node instrument to control the upgraded seismic node instrument to return to the initial state.

2. The online upgrade method of seismic node instrument according to claim 1, characterized in that: Also includes: The upgrade status and successful upgrade time of each seismic node instrument in the upgrade list are recorded and displayed.

3. The online upgrade method of seismic node instrument according to claim 2, characterized in that: The node information includes the ID of the seismic node instrument, and the method further includes: Monitor the upgrade status of the seismic node instruments that have been upgraded in the upgrade list; When it is monitored that the upgrade status of the seismic node instrument that has been upgraded in the to-be-upgraded list is not upgraded, the ID of the seismic node instrument is obtained.

4. The online upgrade method of seismic node instrument according to claim 1, characterized in that: The step of cyclically sending the upgrade instruction to the selected seismic node instrument by means of a message queue includes: The upgrade instructions required for the upgrade are sent to the MQTT message queue. During the upgrade process of the seismic node instrument, the upgrade instructions are cyclically sent to the selected seismic node instrument through the MQTT message queue to automatically switch the upgrade instructions for the selected seismic node instrument during the upgrade process.

5. The online upgrade method of seismic node instrument according to claim 4, characterized in that: By means of message queue and according to the preset sending interval time, the upgrade instruction is sent to the selected seismic node instrument in a cyclic interval.

6. The online upgrade method of seismic node instrument according to claim 1, characterized in that: The seismic node instruments that need to be upgraded in the selected to-be-upgraded list include: Acquire upgrade object option information, where the upgrade object option information includes all upgrade options and some upgrade options; Select the seismic node instrument to be upgraded from the list to be upgraded according to the upgrade object option information.

7. The online upgrade method of seismic node instrument according to claim 1, characterized in that: If it is determined based on the heartbeat information that the seismic node instrument is not in the digital transmission mode, an instruction to switch the digital transmission mode is sent to the seismic node instrument.

8. An online upgrade device for a seismic node instrument, characterized in that: Applied to a cloud platform, the device comprises: An acquisition module is used to obtain the heartbeat information sent by the seismic node instrument; A processing module, used for judging whether the seismic node instrument is in a data transmission mode according to the heartbeat information, and if it is judged that the seismic node instrument is in a data transmission mode, establishing a connection with the seismic node instrument, and automatically adding the node information of the seismic node instrument to a list to be upgraded; The upgrade module is used to select the seismic node instrument to be upgraded from the to-be-upgraded list according to the upgrade object option information after receiving the upgrade object option information, and cyclically send the upgrade instruction to the selected seismic node instrument through the message queue to upgrade the selected seismic node instrument; The restart module is used to send a restart instruction to the upgraded seismic node instrument to control the upgraded seismic node instrument to return to the initial state.

9. A seismic node instrument online upgrade system, characterized in that: include: A cloud platform, executing the online upgrade method of the seismic node instrument according to any one of claims 1 to 7 or realizing the device according to claim 8; At least one seismic node instrument is used to send heartbeat information to the cloud platform, establish a connection with the cloud platform in the data transmission mode, and upgrade according to the upgrade instructions sent by the cloud platform; After the upgrade is completed, restart according to the received restart instruction to restore the initial state.

10. An electronic device, characterized in that: The method comprises a memory and at least one processor, wherein a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method according to any one of claims 1 to 7 is implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and terminal for determining keep-alive time

    CN107995235A

  • Batch remote management method and system for intelligent Internet of Things terminals

    CN111835835A

  • Data processing method and device based on Internet of Things technology, equipment and storage medium

    CN113900834A

  • Message pushing system based on MQTT and REDIS

    CN113965620A

  • Software batch remote upgrading method based on MQTT

    CN115766440A