CN112437465B - Terminal frequency point scanning method for data acquisition system of wireless seismograph - Google Patents

Terminal frequency point scanning method for data acquisition system of wireless seismograph Download PDF

Info

Publication number
CN112437465B
CN112437465B CN202011104119.5A CN202011104119A CN112437465B CN 112437465 B CN112437465 B CN 112437465B CN 202011104119 A CN202011104119 A CN 202011104119A CN 112437465 B CN112437465 B CN 112437465B
Authority
CN
China
Prior art keywords
terminal
frequency point
response frame
traversed
state
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.)
Active
Application number
CN202011104119.5A
Other languages
Chinese (zh)
Other versions
CN112437465A (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.)
Shandong University
Shandong High Speed Group Co Ltd
Original Assignee
Shandong University
Shandong High Speed Group 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 Shandong University, Shandong High Speed Group Co Ltd filed Critical Shandong University
Priority to CN202011104119.5A priority Critical patent/CN112437465B/en
Publication of CN112437465A publication Critical patent/CN112437465A/en
Application granted granted Critical
Publication of CN112437465B publication Critical patent/CN112437465B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1812Hybrid protocols; Hybrid automatic repeat request [HARQ]
    • H04L1/1816Hybrid protocols; Hybrid automatic repeat request [HARQ] with retransmission of the same, encoded, message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The utility model provides a terminal frequency point scanning method of a wireless seismograph data acquisition system, which takes out the ith terminal ID from an ID table according to the sequence and takes out the jth frequency point RFj from a frequency point table according to the sequence; the master station frequency point is modified to RFj; inquiring the frequency point of the ith terminal ID; if the response frame is not received, the original frequency point of the ith terminal ID is not RFj, switching to the next frequency point in the frequency point table, repeating the steps, if all frequency points are traversed and the response frame is not received, recording the state of the ith terminal ID as the first state, judging whether all terminal IDs in the ID table are traversed, if not, switching to the next terminal ID until all terminal IDs are traversed; if the response frame can be received, the original frequency point of the ith terminal ID is RFj. The present disclosure facilitates the production, use and management of wireless seismograph data acquisition system equipment.

Description

Terminal frequency point scanning method for data acquisition system of wireless seismograph
Technical Field
The disclosure belongs to the technical field of data wireless communication, and relates to a terminal frequency point scanning method of a wireless seismograph data acquisition system.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
In the production of general wireless devices, for important parameters such as working frequency points and terminal addresses, the production is usually performed by modifying relevant program segments in an embedded program, or the configuration of the important parameters is completed by configuring dedicated ports one by one after the production is completed. In the field use process, users often mistakenly modify important working parameters or mistakenly restore the working parameters to factory settings without recording, thereby causing equipment failure. Sometimes, due to the long usage time span, the related modification management record information of the equipment is lost to cause management loss, which also causes difficulty for maintenance and overhaul.
The wireless seismograph data acquisition system equipment often flows between each engineering building site and uses, and in the service environment that the tunnel is complicated, equipment can cause the parameter label fuzzy not clear and the disappearance because of reasons such as trickle, soaking, colliding with, wearing and tearing to unable acquisition equipment parameter causes the condition that equipment use process is unclear, management are inconvenient.
In addition to the above disadvantages, the mobile usage may also cause terminals in different batches to be used in a cross manner, and the working frequency points of the terminals in one system may be different, so that some terminals cannot establish wireless connection. In addition, the situation that the wireless communication is abnormal due to the same frequency or adjacent frequency interference is inevitable on a construction site.
Disclosure of Invention
The wireless digital transmission technology is utilized, the production and the use management of the wireless seismograph data acquisition system are facilitated, and the scanning, the recording and the modification of the working frequency point and the address of a wireless access master station and a wireless terminal are automatically completed.
According to some embodiments, the following technical scheme is adopted in the disclosure:
a terminal frequency point scanning method for a wireless seismograph data acquisition system comprises the following steps:
the ith terminal ID is taken out from the ID table according to the sequence, and the jth frequency point RFj is taken out from the frequency point table according to the sequence;
the master station frequency point is modified to RFj;
inquiring the frequency point of the ith terminal ID;
if the response frame is not received, the original frequency point of the ith terminal ID is not RFj, switching to the next frequency point in the frequency point table, repeating the steps, if all frequency points are traversed and the response frame is not received, recording the state of the ith terminal ID as the first state, judging whether all terminal IDs in the ID table are traversed, if not, switching to the next terminal ID until all terminal IDs are traversed;
if the response frame can be received, it indicates that the original frequency point of the ith terminal ID is RFj, and the current frequency point of the primary station is also set to RFj.
As an alternative implementation, the method further includes a step of modifying the frequency point flow before determining whether all the terminal IDs in the ID table have been traversed and switching to the next terminal ID if traversal is not completed and traversing all the terminal IDs, and specifically includes the following steps:
judging whether the terminal frequency point needs to be modified, if the target frequency point RFt is not input or the input RFt is the same as the current RFj, the frequency point does not need to be modified;
otherwise, sending an instruction frame to pre-modify the terminal frequency point to RFt, and judging whether the parameters are correct or not according to the corresponding response frame; if the response frame is not received or the parameters of the response frame are wrong, repeatedly sending an instruction frame to pre-modify the frequency point of the terminal;
if the response frame is not received or the response frame parameter is wrong after repeating for many times, recording the state of the ith terminal ID as a second state, judging whether all the terminal IDs in the ID table are traversed or not, and if the traversal is not completed, switching to the next terminal ID until all the terminal IDs are traversed; if the correct response frame can be received, indicating that the frequency point of the ith terminal ID is pre-modified to RFt;
and sending an instruction frame to confirm that the terminal frequency point is modified to the RFt.
As a further limitation, after the step of modifying the frequency point flow, the method further includes a flow of confirming whether the modification is correct, and specifically includes the following steps:
judging whether the parameters are correct according to a response frame corresponding to an instruction frame from the confirmed modified terminal frequency point to the RFt:
if the response frame is not received or the parameter of the response frame is wrong, the frequency point process is repeatedly modified; if the response frame is not received or the response frame parameter is wrong after repeating for many times, recording the state of the ith terminal ID as a second state, judging whether all the terminal IDs in the ID table are traversed or not, and if the traversal is not completed, switching to the next terminal ID until all the terminal IDs are traversed; if the correct response frame can be received, the ith terminal ID frequency point is confirmed to be modified to RFt.
As a further limitation, the link modification process is further included after the process of confirming whether the modification is correct, and the method includes the following steps:
sending an instruction frame to modify the frequency point of the ID of the main station into RFt so that the frequency point of the ID of the main station is consistent with the frequency point of the ID of the ith terminal;
and judging whether the terminal ID needs to be modified or not, if the terminal target address TIDt is not input or the TIDt is the same as the current terminal ID, not modifying the ID, recording the state of the terminal ID as a third state by the upper computer, judging whether all the terminal IDs in the ID table are traversed or not, and if traversing is not completed, switching to the next terminal ID until all the terminal IDs are traversed.
By way of further limitation, the process of modifying the terminal ID includes the steps of:
sending an instruction frame to modify the terminal ID to the TIDt;
judging whether the parameters are correct or not according to the response frame; if the response frame is not received or the parameters of the response frame are wrong, the instruction frame is repeatedly sent to modify the terminal ID to the TIDt; if the response frame is not received or the parameters of the response frame are wrong after repeating for many times, recording the state of the terminal ID as a fourth state, judging whether all the terminal IDs in the ID table are traversed or not, and if the traversal is not completed, switching to the next terminal ID until all the terminal IDs are traversed; if the correct response frame can be received, the terminal is successfully modified to the TIDt, and the upper computer records that the state of the terminal ID is the fifth state.
As an alternative implementation, the method determines whether all terminal IDs in the ID table have been traversed, and if the traversal is not completed, switches to the next terminal ID until the following steps are further included after all terminal IDs are traversed:
judging whether all the terminal IDs are successfully configured according to the first state to the fifth state, indicating that the configuration process is completed for the terminal IDs in the third state and the fifth state, and shielding from an ID table; for the terminal IDs in the first, second and fourth states, indicating that the configuration process is not completed, performing re-execution, and masking the terminal IDs in the third and fifth states by an ID table used in the re-execution; if all the terminal IDs have been modified to the third and fifth states, it indicates that all the terminal IDs have been successfully configured, and the process ends.
As an optional implementation mode, the data acquisition system comprises an upper computer, a master station and a plurality of wireless terminals, wherein the upper computer is communicated with the master station, and the master station is communicated with the wireless terminals.
As an alternative embodiment, the master station and each wireless terminal have a unique ID, and the receiver of the instruction frame is distinguished by the ID.
As an alternative embodiment, the requirements for communication between the master station and each wireless terminal are that the frequency points are consistent and the IDs are matched.
A terminal device comprising a processor and a computer readable storage medium, the processor being configured to implement instructions; the computer readable storage medium is used for storing a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the terminal frequency point scanning method of the wireless seismograph data acquisition system.
Compared with the prior art, the beneficial effect of this disclosure is:
the wireless digital transmission technology is utilized, the production, the use and the management of the wireless seismograph data acquisition system equipment are facilitated, important working parameters such as working frequency points, addresses and the like of the wireless equipment can be conveniently found out by utilizing the scanning method, the important parameters can be safely and reliably modified on site and compared with an early management ledger, and the equipment is brought into standard management again.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure and are not to limit the disclosure.
FIG. 1 is a schematic diagram of the system configuration of the present embodiment;
FIG. 2 is a schematic diagram of system instruction flow according to the present embodiment;
FIG. 3 is a diagram illustrating a frame format according to the present embodiment;
fig. 4 is a schematic processing flow diagram of the present embodiment.
The specific implementation mode is as follows:
the present disclosure is further described with reference to the following drawings and examples.
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
As shown in fig. 1, a data acquisition system for a wireless seismograph comprises an upper computer, a wireless access master station, a plurality of wireless terminals and the like, wherein the upper computer is connected with and communicates with the wireless access master station through a USB, and each wireless terminal communicates with the wireless access master station in a wireless manner, the wireless access master station is hereinafter referred to as a master station, and the wireless terminals are hereinafter referred to as terminals.
The master station and the terminal are communicated with each other under the necessary conditions that the frequency points are consistent and the terminal addresses (IDs) can be matched; the situation that the master station and each terminal frequency point are inconsistent or the ID cannot be obtained from the body tag is a problem mainly solved by the embodiment.
The master station and each terminal have unique ID, and the receivers of the instruction frames can be distinguished according to the ID; as shown in fig. 2, the master station determines whether or not the master station command, whether or not the terminal command, and the terminal determines whether or not the terminal command use the ID as the basis of the determination.
A communication flow between the upper computer and the master station is shown as a flow a in fig. 2; the upper computer is connected with the main station through a USB communication interface, and sends instruction frames to the main station and receives response frames from the main station.
A communication flow between the upper computer and the terminal is shown as a flow B in fig. 2; the host computer sends the instruction frame to a master station through a USB communication interface, the master station sends the instruction frame to a terminal through a wireless channel, and the terminal executes a corresponding operation flow after receiving the instruction frame; similarly, when the response frame is sent, the terminal sends the response frame to the master station through the wireless channel, and the master station receives the response frame and then sends the response frame to the upper computer through the USB communication interface.
In order to make the solution more clearly understood by those skilled in the art, the following technical contents are explained. All instruction frames related to the embodiment are sent to a master station or a terminal by an upper computer, and response frames are sent to the upper computer by the master station or the terminal; after receiving the command frame, the master station and the terminal analyze the command frame according to the communication protocol, and judge whether a response frame needs to be replied according to the communication protocol, all the related command frames and response frames adopt a fixed-length frame structure, and the frame format is shown in fig. 3.
The meaning of each field is as follows:
(1) the basic meanings are as follows:
frame head: for indicating the start of a frame;
the ID instruction identifies: a frame for indicating that the frame is transmitted according to the terminal or master station ID;
terminal ID/master station ID: the unique ID of the terminal or the master station is used for distinguishing a sending target of the instruction frame or a sending source of the response frame;
function code: the frame type distinguishing method is used for distinguishing frame types, and the embodiment comprises instruction frames A-E and response frames A-E;
data length: the number of bytes contained in the parameter field;
parameters are as follows: parameters attached to the frame, such as frequency points, IDs, and the like;
filling: supplementing the frame with filling data required by a fixed-length frame;
and (4) checking codes: except the frame head and the frame tail, other fields generate check values according to a formula;
and (4) frame end: for indicating the end of a frame;
(2) instruction frame a:
the instruction frame A is used for modifying the frequency point of the master station, is sent to the master station by the upper computer and requires the master station to reply the response frame A, and the parameter is a target frequency point (RFt) to be modified; after receiving the instruction, the master station directly modifies the frequency point to RFt;
(3) response frame a:
the response frame A is a response frame of the master station to the instruction frame A, the parameters are actual frequency point values after the master station finishes modifying the frequency points, and the upper computer can judge whether the frequency point modification of the master station is correct or not according to the actual frequency point values;
(4) instruction frame B:
the instruction frame B is used for inquiring the terminal frequency point and is sent to the terminal by the upper computer; the instruction frame B is not attached with any parameter and is only used for judging whether the terminal frequency point is consistent with the current frequency point of the master station; if the frequency points are consistent, the terminal can receive the instruction frame B and request the terminal to reply the response frame B; if the frequency points are not consistent, the terminal cannot receive the instruction frame B, and the response frame cannot be replied;
(5) response frame B:
the response frame B is a response frame of the terminal to the instruction frame B, and the parameter is a frequency point currently used by the terminal, namely an original frequency point; the upper computer can obtain the original frequency point value used by the current terminal ID;
(6) instruction frame C:
the instruction frame C is used for pre-modifying the terminal frequency point, is sent to the terminal by the upper computer and requires the terminal to reply the response frame C, and the parameter is the RFt to be modified; the terminal stores the RFt after receiving the instruction, but does not actually modify the frequency point to the RFt;
(7) response frame C:
the response frame C is a response frame of the terminal to the instruction frame C, and the parameters include: the terminal acquires RFt from the instruction frame C; the upper computer can judge whether the RFt stored in the terminal is correct or not according to the status word whether the RFt can be matched with the frequency point table stored in the terminal or not;
(8) instruction frame D:
the instruction frame D is used for confirming and modifying the terminal frequency point, is sent to the terminal by the upper computer, and requires the terminal to reply the response frame D, and the parameter is RFt to be modified and is matched with the instruction frame C for use; after receiving the instruction, the terminal judges whether the RFt acquired from the instruction frame D is consistent with the RFt acquired from the instruction frame C, if so, modifies the frequency point to the RFt after sending the response frame D, and stores the frequency point in a nonvolatile memory; if not, only sending a response frame D, and not modifying and storing the RFt;
(9) response frame D:
the response frame D is a response frame of the terminal to the instruction frame D, and the parameters comprise: the terminal acquires RFt from the instruction frame D; a status word indicating whether the RFt obtained from the instruction frame D is consistent with the RFt obtained from the instruction frame C; the upper computer can judge whether the RFt received by the terminal is correct or not according to the RFt and whether the terminal successfully modifies the frequency point to the RFt or not;
(10) instruction frame E:
the instruction frame E is used for modifying the terminal ID, is sent to the terminal by the upper computer and requires the terminal to reply the response frame E, and the parameter is the target ID to be configured; the terminal modifies the ID to a target ID after receiving the instruction and stores the ID in a nonvolatile memory;
(11) response frame E:
the response frame E is a response frame of the terminal to the instruction frame E; the parameter is a target ID which is obtained from the instruction frame E by the terminal and is stored in the nonvolatile memory; the upper computer can judge whether the terminal ID is modified into the target ID or not according to the information.
And (3) user input:
for the terminal which is restored to factory settings, the frequency point and the ID need to be reset, the terminal is started up only, and the target frequency point (RFt) and the terminal target ID (TIDt) to be set are input into the upper computer;
for the terminal which needs to acquire the parameters again when the parameter tag is lost, only the terminal is started, and the upper computer does not need to input RFt and TIDt;
for all terminals with inconsistent current frequency points and needing to be uniformly modified into another frequency point, all terminals are started, RFt is input into an upper computer, and TIDt is not required to be input;
after the RFt and the TIDt are input, the functions of scanning, inquiring, recording, modifying, managing and the like are automatically completed by the cooperation of an upper computer, a main station and a terminal;
the available frequency points (channels) of the master station and the terminals are m (RF 1-RFm), so that a frequency point table is generated, and the upper computer, the master station and the terminals all store the frequency point table;
all the available IDs of the terminals are n (TID 1-TIDn), the ID of the master station is a fixed ID (MID), an ID table is generated according to the ID, the upper computer stores the ID table, and the master station and the terminals only store the respective IDs.
The method for implementing terminal frequency point scanning of the system, as shown in fig. 4 specifically, includes the following steps:
(1) sequentially taking out the ith Terminal ID (TIDi) from the ID table, wherein i is more than or equal to 1 and less than or equal to n;
(2) the jth frequency point (RFj) is taken out from the frequency point table according to the sequence, j is more than or equal to 1 and less than or equal to m;
(3) sending an instruction frame A to modify the frequency point of the MID into RFj;
(4) sending an instruction frame B to inquire the frequency point of the TIDi according to the TIDi taken out from the ID table;
(5) after waiting time Tdl, if the upper computer does not receive the response frame B, the original frequency point of the TIDi is not RFj, the upper computer is switched to the next RF in the frequency point table; repeating the processes (2) to (5), if all the frequency points are traversed and the response frame B is still not received, recording the state of the TIDi as (a) by the upper computer, and then jumping to the process (15); if the response frame B can be received, the original frequency point of the TIDi is RFj, and the current frequency point of the MID is also set to be RFj;
(6) judging whether the terminal frequency point needs to be modified, if the RFt is not input or is the same as the current RFj, skipping to the process (12) without modifying the frequency point;
(7) sending an instruction frame C to pre-modify a terminal frequency point to RFt;
(8) judging whether the parameters are correct or not according to the response frame C; if the response frame C is not received or the parameter of the response frame C is wrong, repeating the processes (7) to (8); if the response frame C is not received or the parameter of the response frame C is wrong after repeating for 3 times, the upper computer records the state of the TIDi as (b), and then jumps to the process (15); if the correct response frame C can be received, the TIDi frequency point is pre-modified to RFt;
(9) sending an instruction frame D to confirm that the terminal frequency point is modified to RFt;
(10) judging whether the parameters are correct or not according to the response frame D; if the response frame D is not received or the parameter of the response frame D is wrong, repeating the processes (7) to (10); if the response frame D is not received or the parameter of the response frame D is wrong after repeating for 3 times, the upper computer records the state of the TIDi as (b), and then jumps to the process (15); if the correct response frame D can be received, the TIDi frequency point is confirmed to be modified to RFt;
(11) sending an instruction frame A to modify the MID frequency point into RFt so that the frequency points of the MID and the TIDi are consistent, and communication can be continued;
(12) judging whether the ID of the terminal needs to be modified, if the TIDt is not input or is the same as the current TIDi, the ID does not need to be modified, recording the state of the TIDi as (c) by the upper computer, and then jumping to the process (15);
(13) sending an instruction frame E to modify TIDi to TIDt;
(14) judging whether the parameters are correct or not according to the response frame E; if the response frame E is not received or the parameter of the response frame E is wrong, repeating the processes (13) to (14); if the response frame E is not received or the response frame E parameter is wrong after repeating for 3 times, the upper computer records the state of the TIDi as (d), and then jumps to the process (15); if the correct response frame E can be received, the TIDi is successfully modified to the TIDt, and the upper computer records the state of the TIDi as (E);
(15) judging whether all TIDs in the ID table are traversed or not, if the traversal is not finished, switching to the next TID, and repeating the processes (1) to (14) until all TIDs are traversed;
after traversing, the upper computer records the states of all TIDs; for the TID with the state of (a), indicating that the original frequency point is not scanned; for the TID in the state of (b), the original frequency point is scanned, but the target frequency point is failed to be modified; for the TID in the state of (c), the scanning of the original frequency point is indicated, the frequency point is successfully modified to the target frequency point or the frequency point does not need to be modified, and the ID does not need to be modified; for the TID in the state of (d), the scanning of the original frequency point is indicated, the frequency point is successfully modified to the target frequency point or the frequency point does not need to be modified, but the modification of the target ID fails; for the TID in the state of (e), the scanning of the original frequency point is indicated, the frequency point is successfully modified to the target frequency point or the frequency point does not need to be modified, and the frequency point is successfully modified to the target ID;
(16) judging whether all TIDs are successfully configured according to the TID states (a) to (e); for TIDs with the states of (c) and (e), the TID indicates that the configuration process is completed and is shielded from an ID table; for the TIDs with the states (a), (b) and (d), indicating that the configuration process is not finished, allowing a user to select retry after adjusting the communication distance, the direction of a radio frequency antenna and other operations, automatically executing the processes (1) to (15) again by the upper computer, and shielding the TIDs with the states (c) and (e) by an ID table used in the process of executing again; if all TIDs are modified to be in the states (c) and (e), all TIDs are successfully configured, and the processing is finished;
in summary, through the processes (2) to (5), frequency point scanning of a single terminal can be realized, and all frequency points are traversed; through the processes (7) - (10) and (13) - (14), the integrity, accuracy, reliability and safety of the data stream transmitted by the wireless data link can be ensured, and data errors or mistaken modification of frequency points and IDs (identities) are avoided; through the processes (1) - (15), scanning of all terminal IDs can be realized, and all TIDs are traversed; through the flows (15) to (16), the uncompleted configured terminal ID and the reason can be recorded, and the flow is allowed to be selected for re-execution.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure, and various modifications and changes may be made to the present disclosure by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.
Although the embodiments of the present disclosure have been described with reference to the accompanying drawings, it is not intended to limit the scope of the present disclosure, and it should be understood by those skilled in the art that various modifications and variations can be made without inventive changes in the technical solutions of the present disclosure.

Claims (9)

1. A terminal frequency point scanning method for a wireless seismograph data acquisition system is characterized by comprising the following steps: the method comprises the following steps:
the ith terminal ID is taken out from the ID table according to the sequence, and the jth frequency point RFj is taken out from the frequency point table according to the sequence;
modifying the frequency point of the main station into RFj;
inquiring the frequency point of the ith terminal ID;
if the response frame is not received, the original frequency point of the ith terminal ID is not RFj, switching to the next frequency point in the frequency point table, repeating the steps, if all frequency points are traversed and the response frame is not received, recording the state of the ith terminal ID as the first state, judging whether all terminal IDs in the ID table are traversed, if not, switching to the next terminal ID until all terminal IDs are traversed;
if the response frame can be received, the original frequency point of the ith terminal ID is RFj, and the current frequency point of the master station is also set to RFj;
judging whether all the terminal IDs in the ID table are traversed or not, if the traversal is not completed, switching to the next terminal ID until all the terminal IDs are traversed, and modifying the frequency point flow, wherein the method specifically comprises the following steps:
judging whether the terminal frequency point needs to be modified, if the target frequency point RFt is not input or the input RFt is the same as the current RFj, the frequency point does not need to be modified;
otherwise, sending an instruction frame to pre-modify the terminal frequency point to RFt, and judging whether the parameters are correct or not according to the corresponding response frame; if the response frame is not received or the parameters of the response frame are wrong, repeatedly sending an instruction frame to pre-modify the frequency point of the terminal;
if the response frame is not received or the response frame parameter is wrong after repeating for many times, recording the state of the ith terminal ID as a second state, judging whether all the terminal IDs in the ID table are traversed or not, and if the traversal is not completed, switching to the next terminal ID until all the terminal IDs are traversed; if the correct response frame can be received, indicating that the frequency point of the ith terminal ID is pre-modified to RFt;
and sending an instruction frame to confirm that the terminal frequency point is modified to the RFt.
2. The method for scanning the terminal frequency point of the wireless seismograph data acquisition system as claimed in claim 1, wherein: after the step of modifying the frequency point flow, the method also comprises a flow for confirming whether the modification is correct, and specifically comprises the following steps:
judging whether the parameters are correct according to a response frame corresponding to an instruction frame from the confirmed modified terminal frequency point to the RFt:
if the response frame is not received or the parameter of the response frame is wrong, the frequency point process is repeatedly modified; if the response frame is not received or the response frame parameter is wrong after repeating for many times, recording the state of the ith terminal ID as a second state, judging whether all the terminal IDs in the ID table are traversed or not, and if the traversal is not completed, switching to the next terminal ID until all the terminal IDs are traversed; if the correct response frame can be received, the ith terminal ID frequency point is confirmed to be modified to RFt.
3. The method for scanning the terminal frequency point of the wireless seismograph data acquisition system as claimed in claim 1, wherein: the link modification process is also included after the process of confirming whether the modification is correct, and the link modification process comprises the following steps:
sending an instruction frame to modify the frequency point of the ID of the main station into RFt so that the frequency point of the ID of the main station is consistent with the frequency point of the ID of the ith terminal;
and judging whether the terminal ID needs to be modified, if the terminal target address TIDt is not input or the TIDt is the same as the current terminal ID, not modifying the ID, recording the state of the terminal ID as a third state by the upper computer, judging whether all the terminal IDs in the ID table are traversed, and if the traversal is not finished, switching to the next terminal ID until all the terminal IDs are traversed.
4. The terminal frequency point scanning method of the wireless seismograph data acquisition system as claimed in claim 3, wherein: the process of modifying the terminal ID comprises the following steps:
sending an instruction frame to modify the terminal ID to the TIDt;
judging whether the parameters are correct or not according to the response frame; if the response frame is not received or the parameters of the response frame are wrong, the instruction frame is repeatedly sent to modify the terminal ID to the TIDt; if the response frame is not received or the parameters of the response frame are wrong after repeating for many times, recording the state of the terminal ID as a fourth state, judging whether all the terminal IDs in the ID table are traversed or not, and if the traversal is not completed, switching to the next terminal ID until all the terminal IDs are traversed; if the correct response frame can be received, the terminal is successfully modified to the TIDt, and the upper computer records the state of the terminal ID as a fifth state.
5. The method for scanning the terminal frequency points of the wireless seismograph data acquisition system as claimed in claim 4, wherein the method comprises the following steps: judging whether all the terminal IDs in the ID table are traversed or not, if the traversal is not completed, switching to the next terminal ID until all the terminal IDs are traversed, and the method further comprises the following steps:
judging whether all the terminal IDs are successfully configured according to the first state to the fifth state, indicating that the configuration process is completed for the terminal IDs in the third state and the fifth state, and shielding from an ID table; for the terminal IDs in the first, second and fourth states, indicating that the configuration process is not completed, performing re-execution, and masking the terminal IDs in the third and fifth states by an ID table used in the re-execution; if all the terminal IDs have been modified to the third and fifth states, it indicates that all the terminal IDs have been successfully configured, and the process ends.
6. The method for scanning the terminal frequency points of the wireless seismograph data acquisition system as claimed in claim 1, characterized in that: the data acquisition system comprises an upper computer, a master station and a plurality of wireless terminals, wherein the upper computer is communicated with the master station, and the master station is communicated with the wireless terminals.
7. The method for scanning the terminal frequency point of the wireless seismograph data acquisition system as claimed in claim 1, wherein: the main station and each wireless terminal have unique ID, and the ID is used for distinguishing the receiver of the instruction frame.
8. The method for scanning the terminal frequency point of the wireless seismograph data acquisition system as claimed in claim 1, wherein: the main station and each wireless terminal are communicated with each other under the necessary conditions of consistent frequency points and mutual ID matching.
9. A terminal device is characterized in that: the system comprises a processor and a computer readable storage medium, wherein the processor is used for realizing instructions; the computer readable storage medium is used for storing a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the terminal frequency point scanning method of the wireless seismograph data acquisition system in any one of claims 1-8.
CN202011104119.5A 2020-10-15 2020-10-15 Terminal frequency point scanning method for data acquisition system of wireless seismograph Active CN112437465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011104119.5A CN112437465B (en) 2020-10-15 2020-10-15 Terminal frequency point scanning method for data acquisition system of wireless seismograph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011104119.5A CN112437465B (en) 2020-10-15 2020-10-15 Terminal frequency point scanning method for data acquisition system of wireless seismograph

Publications (2)

Publication Number Publication Date
CN112437465A CN112437465A (en) 2021-03-02
CN112437465B true CN112437465B (en) 2022-07-08

Family

ID=74694684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011104119.5A Active CN112437465B (en) 2020-10-15 2020-10-15 Terminal frequency point scanning method for data acquisition system of wireless seismograph

Country Status (1)

Country Link
CN (1) CN112437465B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430674B (en) * 2015-11-03 2019-10-25 上海斐讯数据通信技术有限公司 A kind of wireless network communication method and system
CN106921881B (en) * 2015-12-28 2020-04-28 国基电子(上海)有限公司 Frequency point scanning device and frequency point scanning method
CN110312321B (en) * 2019-05-10 2020-12-11 展讯通信(上海)有限公司 Method, device and terminal for determining random access resident frequency point

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种提高频谱利用率的航空导航台站频率指配算法;李锐等;《电讯技术》;20161231;全文 *

Also Published As

Publication number Publication date
CN112437465A (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN113533887B (en) Intelligent debugging method and system for power distribution terminal
CN101958732B (en) System, method, and apparatus for data communication
CN102487522B (en) Management method and gateway device of terminal devices
CN112104738B (en) Automatic upgrading method, server and system for electronic price tag system software
CN105068829A (en) Feature data burning method, apparatus and system
CN112346425A (en) Factory automation test method, system, projection equipment and storage medium
CN103729218A (en) ID (identity) programming method
CN112437465B (en) Terminal frequency point scanning method for data acquisition system of wireless seismograph
CN112416557B (en) Method and device for determining call relation, storage medium and electronic device
CN101409655A (en) Message-driven automation test system and implementing method
CN111010706B (en) Abnormality recovery method and device
CN107659933A (en) A kind of wireless device two-way pairing connection method, wireless device and storage medium
CN110406570B (en) Automatic CTCS-3 timeout analysis method based on AMS monitoring data
CN101197959B (en) Terminal control method, system and equipment
CN110532012B (en) Distributed system software upgrading method and device
CN103067053B (en) Method and device for Bluetooth node processing
CN113986759A (en) Business processing flow acquisition method, business architecture flow verification method and system
CN106603206B (en) Wireless data processing and transmitting method
CN117632193B (en) Program burning system for processor chip
CN111414176B (en) Program burning method, device, electronic equipment and storage medium
JP2000341386A (en) Communication terminal test device
CN110691008B (en) Intelligent management unit test system and test method
KR100323109B1 (en) Method for processing operator command between tmn and bsm
CN117170703A (en) Upgrading method and system for remote unit software of 5G MIMO frequency shift system
JP2972601B2 (en) Wireless communication adapter device

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