Disclosure of Invention
In order to solve the problems, the invention provides a control platform and a control method for track potential, which effectively overcome the defects that in the prior art, the workload is too heavy, so that signals collected by a single processor often cannot be subjected to real-time logic operation, the magnitude of the track ground voltage cannot be detected in real time, and the automatic control and signal output functions of a voltage limiting branch, a thyristor branch and a load switch branch cannot be realized in time.
In order to overcome the defects in the prior art, the invention provides a control platform of a track potential and a solution of the method thereof, which specifically comprise the following steps:
a control platform of rail potential comprises an intelligent rail potential measurement and control device; the intelligent rail potential measurement and control device comprises a dual processor, the dual processor is used for collecting the state, current and voltage signals of each branch, the function of detecting faults of a load switch branch, a thyristor branch and a voltage limiting branch is realized through logical operation, and the voltage of the rail ground can be detected to control the input and the exit of the voltage limiting branch, the thyristor branch and the load switch branch;
the dual processor includes a main processor and a co-processor;
the main processor is connected with the coprocessor through a data bus;
the main processor is used for collecting the state, current and voltage signals of each branch circuit and realizing the function of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit through logical operation; the coprocessor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude of the rail ground voltage to the coprocessor through a data bus;
the coprocessor is used for controlling the input and the exit of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage;
the coprocessor is also used for sending heartbeat packets to the main processor at regular time.
The method for controlling the platform of the track potential comprises the following modes:
(1): the main processor collects the state, current and voltage signals of each branch circuit, and realizes the function of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit through logical operation; the main processor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude value of the rail ground voltage to the coprocessor through a data bus;
(2): the coprocessor controls the input and the output of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage; the coprocessor also sends heartbeat packets to the main processor in a timing mode.
The coprocessor is connected with a wireless communication module, the wireless communication module is connected with a background server in a wireless network through the wireless network, the wireless communication module can be a 3G module or a 4G module, the wireless network can be a 3G network or a 4G network, the background server can be a PC (personal computer), so that the coprocessor also needs to transmit the obtained value data of the rail ground voltage to the background server through the wireless communication module in real time to be displayed for remote monitoring, and the background server also needs to return a response message to the coprocessor after receiving the value data of the rail ground voltage;
the coprocessor transfers the obtained value data of the rail ground voltage to the background server through the wireless communication module, and the method comprises the following steps:
step A-1: receiving a first data transmitted by the coprocessor; and the first data is the value data of the rail ground voltage.
Step A-2: and when the first data is confirmed to meet the preset first transmission requirement, transmitting the first data to the background server in a wireless network transmission mode, and enabling the background server to respond to the first data to construct a second data.
Further, when data transmission between the coprocessor and the background server needs to be achieved, the coprocessor needs to be connected with the wireless communication module through a structure connected with the USB port to achieve physical connection between the coprocessor and the wireless communication module, and the wireless communication module is connected with the background server through a wireless network to achieve link connection between the wireless communication module and the background server.
Furthermore, during the period of transferring the data to the background server by the coprocessor, the first data transferred by the coprocessor is received by the wireless communication module in a transferring way.
Further, when the wireless communication module determines that the first data meets the first preset transfer requirement, the first data can be transferred to the background server in a wireless network transfer mode, and the background server responds to the first data to construct a second data; thus, the method for the wireless communication module to determine that the data one meets the preset transmission requirement one comprises the following steps:
step B-1: receiving data III which is transmitted by the coprocessor and encoded by applying a preset encoding parameter I, wherein the data III is encoded data which is constructed by applying the data I through the coprocessor by means of a preset encoder;
step B-2: decoding the received coded data III by using a preset decoding parameter to obtain first processed data III;
step B-3: constructing second processed data III by using the data I through a preset encoder;
step B-4: judging whether the data III after the first processing is the same as the data III after the second processing; at the same time, executing step B-5;
step B-5: and confirming that the data one meets the preset transmission requirement one.
Furthermore, a first coding parameter is preset in the coprocessor, and when the first data is determined to meet a first preset transmission requirement, a third data which is transmitted by the coprocessor and is coded by using the preset first coding parameter needs to be received; here, the coprocessor is preset with coder, and the data is third coded data constructed by preset coder through the coprocessor.
Further, the decoding parameters are parameters required for the encoder to decode the encoded data after the data-to-data encoding is performed using the encoding parameters.
Furthermore, a first decoding parameter is preset in the wireless communication module, and after receiving a third data transmitted by the coprocessor and encoded by using the preset first encoding parameter, the third data can be decoded by using the preset decoding parameter in the wireless communication module to obtain a third data after the first processing.
Furthermore, an encoder is preset in the wireless communication module, and the encoder preset in the wireless communication module is the same as the encoder preset in the coprocessor.
Further, when the third processed data is judged to be the same as the third processed data, the first processed data is judged to meet the transmission requirement, namely, the first processed data received by the wireless communication module is indeed transmitted by the coprocessor connected with the wireless communication module.
Further, in the method for confirming that the data conforms to the first preset transmission requirement, when the first processed data three and the second processed data three are different, the data is confirmed to not conform to the first preset transmission requirement, that is, the data received by the wireless communication module is not transmitted through the coprocessor connected with the wireless communication module.
The first data can be set as the initial first data after being encoded by the application encoding parameter two passed through the coprocessor.
Further, when the first data is initial data first transmitted by the coprocessor and encoded by applying the encoding parameter two, the first data is transmitted to the background server in a wireless transmission mode, and the background server responds to the first data to construct the second data, which comprises the following steps: and transmitting the first data to the background server in a wireless transmission mode, so that the background server can utilize two pairs of preset decoding parameters to execute decoding on the first data to obtain the first initial data and respond to the first initial data to construct the second data.
Further, the decoding parameter is a parameter required by the encoder to decode the encoded data encoded by applying the encoding parameter pair to the data one.
Furthermore, a second encoding parameter is preset in the coprocessor, and the first data is obtained after the coprocessor uses the first encoding parameter to perform encoding on the first initial data.
Furthermore, a second decoding parameter is preset in the background server, and when the first data is received by the background server and is obtained by encoding the first initial data, the first initial data is obtained by decoding the first data by using the preset second decoding parameter, so that the second data is constructed by responding to the first initial data.
The method is applied to a wireless communication module, and data I transmitted by a receiving coprocessor in a wireless transmission mode is received; when the first data is confirmed to accord with the first preset transfer requirement, the first data is transferred to the background server in a wireless transfer mode, the background server responds to the first data to construct a second data mode, the effect that the coprocessor uses the wireless communication module to achieve data transfer with the background server through a wireless network is achieved, the constraint that the data exchange between the coprocessor and the background server through the wireless network is not high in reliability and easy to leak is overcome, and the performance of data transfer between the background server and the coprocessor is improved.
The method for the background server to return the response message to the coprocessor is a method for transmitting a second data serving as the response message to the coprocessor through the background server by virtue of a connecting structure among the coprocessor, a wireless communication module and the background server after the background server receives the first data and constructs the second data serving as the response message to the coprocessor, and comprises the following steps:
step C-1: receiving second data transmitted by the background server in a wireless transmission mode;
step C-2: the second data is transmitted to the coprocessor in a wireless transmission mode, so that the second data is favorably applied to control the second data when the coprocessor determines that the second data meets the second preset transmission requirement.
Further, after receiving the first data at the background server and obtaining the second data for responding to the coprocessor by virtue of the first data, the first data can be initially transferred to the wireless communication module through the background server in a wireless transfer mode, so that the wireless communication module can receive the second data transferred by the background server in the wireless transfer mode.
Furthermore, after the wireless communication module receives the second data transmitted by the background server in a wireless transmission mode, the second data can be transmitted to the coprocessor through the USB port, and the second data is favorably used for achieving the control of the second data when the coprocessor receives the second data and the second data is determined to meet the second preset transmission requirement.
Further, when the second data corresponds to the second initial data constructed by the first initial data and the second initial data is encoded by using a preset decoding parameter pair, the second data is transmitted to the coprocessor in a wireless transmission mode, so that when the second data is determined by the coprocessor to meet a preset transmission requirement, the second data is controlled by using the second data, and the method comprises the following steps: and the second data is transmitted to the coprocessor in a wireless transmission mode, so that the coprocessor can execute decoding on the second data by using preset encoding parameters to obtain the second initial data, and can control the second initial data by using the second initial data.
The invention has the beneficial effects that:
the main processor is used for collecting the state, current and voltage signals of each branch circuit, and realizing the function of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit through logical operation; the coprocessor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude value of the rail ground voltage to the coprocessor through a data bus; the coprocessor is used for controlling the input and the exit of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage, and can realize the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch. The main processor is used for collecting the state, current and voltage signals of each branch circuit, and the functions of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit are realized through logical operation; the coprocessor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude value of the rail ground voltage to the coprocessor through a data bus; and the coprocessor controls the input and the exit of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage. The function of the intelligent rail potential measurement and control device is achieved by reasonable division of labor. In addition, the background server transmits the second data to the wireless communication module in a wireless transmission mode, and then transmits the second data to the coprocessor through the wireless communication module, so that the effect that the background server uses the wireless communication module to achieve data transmission with the coprocessor is achieved, and the performance of data transmission between the background server and the coprocessor can be improved.
Detailed description of the preferred embodiment
The invention will be further described with reference to the following figures and examples.
Example 1:
as shown in fig. 1-4, the control platform for track potential comprises an intelligent track potential measurement and control device and a main loop; the main loop comprises a load switch branch, a thyristor branch, a voltage limiting branch and a first RC protection circuit; the load switch branch comprises a load switch and a first current divider which are connected in series; the load switch end of the load switch branch is connected to the steel rail, and the shunt end is grounded; the thyristor branch circuit is connected in parallel with the load switch and comprises a first thyristor, a second thyristor and a second shunt; the first thyristor is connected with the second shunt in series, and the second thyristor is reversely connected with the first thyristor in parallel; the thyristor end of the thyristor branch is connected to a node between the load switch and the steel rail, and the shunt end of the thyristor branch is connected to a node between the load switch and the first shunt; the voltage limiting branch is connected in parallel with the load switch and comprises a voltage limiting module and a third shunt which are connected in series; the voltage limiting module end of the voltage limiting branch is connected to a node between the load switch and the steel rail, and the shunt end of the voltage limiting branch is connected to a node between the load switch and the first shunt; the first RC protection circuit is connected in parallel with the load switch and comprises a first resistor and a first capacitor which are connected in series; the resistor end of the first RC protection circuit is connected to a node between the load switch and the steel rail, and the capacitor end of the first RC protection circuit is connected to a node between the load switch and the first current divider; the intelligent rail potential measurement and control device comprises a dual processor, the dual processor is used for collecting state, current and voltage signals of each branch, the function of detecting faults of the load switch branch, the thyristor branch and the voltage limiting branch is realized through logical operation, the voltage of the rail ground is detected, the voltage limiting branch, the thyristor branch and the load switch branch are controlled to be switched in and out, and the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch can be realized. Therefore, the double processors are used for acquiring the state, current and voltage signals of each branch, the function of detecting faults of the load switch branch, the thyristor branch and the voltage limiting branch is realized through logical operation, the voltage limiting branch, the thyristor branch and the load switch branch can be controlled to be put into and taken out through detecting the magnitude of rail ground voltage, the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch are realized, the task quantity which is too heavy for the original single processor can be shared and completed in the double processors, the task quantity which is respectively completed by each processor can be reduced, and the defects that the single processor often has the phenomenon that the acquired signals cannot obtain real-time logical operation, cannot detect the magnitude of the rail ground voltage in real time, cannot realize the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch in time are avoided, so that the acquired signals can obtain more efficient logical operation, the magnitude of the rail ground voltage can be detected more efficiently, and the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch can be realized more efficiently.
The rail potential limiting function of automatically limiting voltage and current when the rail potential rises and automatically shutting down after the rail potential falls can be realized, so that the potential difference between a traveling rail and the ground is always in an allowable range (the specification of the safe voltage refers to European EN standard), and the safety of personnel and facilities is ensured; the total amount of stray current leaked through the steel rail potential limiting device can be greatly reduced while the ground potential of the traveling rail is limited.
The dual processor includes a main processor and a coprocessor;
the main processor is connected with the coprocessor through a data bus;
the main processor is used for collecting the state, current and voltage signals of each branch circuit and realizing the function of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit through logical operation; the coprocessor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude value of the rail ground voltage to the coprocessor through a data bus;
the coprocessor is used for controlling the input and the exit of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage, and can realize the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch. The main processor is used for collecting the state, current and voltage signals of each branch circuit, and the functions of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit are realized through logical operation; the coprocessor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude value of the rail ground voltage to the coprocessor through a data bus; and the coprocessor controls the input and the output of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage. The function of the intelligent rail potential measurement and control device is achieved by reasonable division of labor.
The coprocessor is also used for sending heartbeat packets to the main processor at regular time so as to detect whether the connection between the main processor and the coprocessor is normal.
The method for controlling the platform of the track potential comprises the following steps:
(1): the main processor collects the state, current and voltage signals of each branch circuit, and realizes the function of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit through logical operation; the main processor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude value of the rail ground voltage to the coprocessor through a data bus;
(2): the coprocessor controls the input and the exit of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage, and the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch can be realized; the coprocessor also sends heartbeat packets to the main processor at regular time so as to detect whether the connection between the main processor and the coprocessor is normal. The main processor is used for collecting the state, current and voltage signals of each branch circuit, and the functions of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit are realized through logical operation; the coprocessor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude value of the rail ground voltage to the coprocessor through a data bus; and the coprocessor controls the input and the exit of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage. The function of the intelligent rail potential measurement and control device is achieved by reasonable division of labor.
Example 2:
as shown in fig. 1-4, the control platform for track potential comprises an intelligent track potential measurement and control device and a main loop; the main loop comprises a load switch branch, a thyristor branch, a voltage limiting branch and a first RC protection circuit; the load switch branch comprises a load switch and a first current divider which are connected in series; the load switch end of the load switch branch is connected to the steel rail, and the shunt end is grounded; the thyristor branch circuit is connected in parallel with the load switch and comprises a first thyristor, a second thyristor and a second shunt; the first thyristor and the second shunt are connected in series, and the second thyristor is reversely connected in parallel with the first thyristor; the thyristor end of the thyristor branch is connected to a node between the load switch and the steel rail, and the shunt end of the thyristor branch is connected to a node between the load switch and the first shunt; the voltage limiting branch is connected in parallel with the load switch and comprises a voltage limiting module and a third shunt which are connected in series; the voltage limiting module end of the voltage limiting branch is connected to a node between the load switch and the steel rail, and the shunt end of the voltage limiting branch is connected to a node between the load switch and the first shunt; the first RC protection circuit is connected in parallel with the load switch and comprises a first resistor and a first capacitor which are connected in series; the resistor end of the first RC protection circuit is connected to a node between the load switch and a steel rail, and the capacitor end of the first RC protection circuit is connected to a node between the load switch and the first current divider; the intelligent rail potential measurement and control device comprises a dual processor, the dual processor is used for collecting state, current and voltage signals of each branch, the function of detecting faults of the load switch branch, the thyristor branch and the voltage limiting branch is realized through logical operation, the voltage of the rail ground is detected, the voltage limiting branch, the thyristor branch and the load switch branch are controlled to be switched in and out, and the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch can be realized. Therefore, the double processors are used for acquiring the state, current and voltage signals of each branch, the function of detecting faults of the load switch branch, the thyristor branch and the voltage limiting branch is realized through logical operation, the voltage limiting branch, the thyristor branch and the load switch branch can be controlled to be put into and taken out through detecting the magnitude of rail ground voltage, the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch are realized, the task quantity which is too heavy for the original single processor can be shared and completed in the double processors, the task quantity which is respectively completed by each processor can be reduced, and the defects that the single processor often has the phenomenon that the acquired signals cannot obtain real-time logical operation, cannot detect the magnitude of the rail ground voltage in real time, cannot realize the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch in time are avoided, so that the acquired signals can obtain more efficient logical operation, the magnitude of the rail ground voltage can be detected more efficiently, and the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch can be realized more efficiently.
The rail potential limiting function of automatically limiting voltage and current when the rail potential rises and automatically shutting down after the rail potential falls can be realized, so that the potential difference between a traveling rail and the ground is always in an allowable range (the specification of the safe voltage refers to European EN standard), and the safety of personnel and facilities is ensured; the total amount of stray current leaked through the steel rail potential limiting device can be greatly reduced while the ground potential of the traveling rail is limited.
The dual processor includes a main processor and a coprocessor;
the main processor is connected with the coprocessor through a data bus;
the main processor is used for collecting the state, current and voltage signals of each branch circuit and realizing the function of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit through logical operation; the coprocessor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude value of the rail ground voltage to the coprocessor through a data bus;
the coprocessor is used for controlling the input and the exit of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage, and can realize the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch. The main processor is used for collecting the state, current and voltage signals of each branch circuit, and the functions of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit are realized through logical operation; the coprocessor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude value of the rail ground voltage to the coprocessor through a data bus; and the coprocessor controls the input and the exit of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage. The function of the intelligent rail potential measurement and control device is achieved by reasonable division of labor.
The coprocessor is also used for sending heartbeat packets to the main processor in a timing mode so as to detect whether the connection between the main processor and the coprocessor is normal or not.
The method for controlling the platform of the track potential comprises the following modes:
(1): the main processor collects the state, current and voltage signals of each branch circuit, and realizes the function of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit through logical operation; the main processor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude value of the rail ground voltage to the coprocessor through a data bus;
(2): the coprocessor controls the input and the exit of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage, and the automatic control and signal output functions of the voltage limiting branch, the thyristor branch and the load switch branch can be realized; the coprocessor also sends heartbeat packets to the main processor at regular time so as to detect whether the connection between the main processor and the coprocessor is normal. The main processor is used for collecting the state, current and voltage signals of each branch circuit, and the functions of detecting the faults of the load switch branch circuit, the thyristor branch circuit and the voltage limiting branch circuit are realized through logical operation; the coprocessor is also used for detecting the magnitude of the rail ground voltage and transmitting the magnitude of the rail ground voltage to the coprocessor through a data bus; and the coprocessor controls the input and the exit of the voltage limiting branch, the thyristor branch and the load switch branch according to the magnitude value of the received rail ground voltage. The function of the intelligent rail potential measurement and control device is achieved by reasonable division of labor.
In order to realize the purpose of remotely monitoring the magnitude value of the rail ground voltage, the coprocessor also needs to transmit the magnitude value data of the obtained rail ground voltage to a background server in real time to be displayed for remote monitoring, so that the coprocessor is connected with a wireless communication module, the wireless communication module is connected with the background server in a wireless network through the wireless network, the wireless communication module can be a 3G module or a 4G module, the wireless network can be a 3G network or a 4G network, and the background server can be a PC (personal computer), so the coprocessor also needs to transmit the magnitude value data of the obtained rail ground voltage to the background server in real time through the wireless communication module to be displayed for remote monitoring, and the background server also needs to return a response message to the coprocessor after receiving the magnitude value data of the rail ground voltage; however, the current wireless data transmission mode can achieve data exchange between the background server and the coprocessor; however, due to the constraint that the reliability of data communication between the coprocessor and the background server is not high, which is achieved through the wireless network, the defect that the reliability of data communication between the background server and the coprocessor is not high is often accompanied; therefore, it is an urgent need to provide a data transfer method and system to improve the performance of data transfer between the background server and the coprocessor.
Through improvement, in order to achieve the purpose of remotely monitoring data, the coprocessor also needs to transmit the obtained magnitude value data of the rail ground voltage to a background server in real time to be displayed for remote monitoring, in this way, the coprocessor is connected with a wireless communication module, the wireless communication module is connected with the background server in a wireless network through the wireless network, the wireless communication module can be a 3G module or a 4G module, the wireless network can be a 3G network or a 4G network, and the background server can be a PC (personal computer), so the coprocessor also needs to transmit the obtained magnitude value data of the rail ground voltage to the background server through the wireless communication module to be displayed for remote monitoring in real time, and the background server also needs to return a response message to the coprocessor after receiving the magnitude value data of the rail ground voltage;
the coprocessor transfers the obtained value data of the rail ground voltage to the background server through the wireless communication module, and the method comprises the following steps:
step A-1: receiving data I transmitted by the coprocessor; the first data is the value data of the rail ground voltage.
Further, when data transmission between the coprocessor and the background server needs to be achieved, the coprocessor needs to be connected with the wireless communication module through a structure connected with the USB port to achieve physical connection between the coprocessor and the wireless communication module, and the wireless communication module is connected with the background server through a wireless network to achieve link connection between the wireless communication module and the background server.
Furthermore, during the period of transferring the data to the background server by the coprocessor, the first data transferred by the coprocessor is received by the wireless communication module in a transferring way.
Step A-2: and when the first data is confirmed to meet the preset first transmission requirement, transmitting the first data to the background server in a wireless network transmission mode, and enabling the background server to respond to the first data to construct a second data.
Further, when the wireless communication module determines that the first data meets the first preset transfer requirement, the first data can be transferred to the background server in a wireless network transfer mode, and the background server responds to the first data to construct a second data; thus, the method for the wireless communication module to determine that the data one meets the preset transmission requirement one comprises the following steps:
step B-1: receiving data III which is transmitted by the coprocessor and encoded by applying a preset encoding parameter I, wherein the data III is encoded data which is constructed by applying the data I through the coprocessor by means of a preset encoder;
furthermore, a first coding parameter is preset in the coprocessor, and when the first data is determined to meet a first preset transmission requirement, a third data which is transmitted by the coprocessor and is coded by using the preset first coding parameter needs to be received; here, the coprocessor is preset with coder, and the data is third coded data constructed by preset coder through the coprocessor.
Step B-2: decoding the received coded data III by using a preset decoding parameter to obtain first processed data III;
further, the decoding parameters are parameters required for the encoder to decode the encoded data after the data-to-data encoding is performed using the encoding parameters.
Furthermore, a first decoding parameter is preset in the wireless communication module, and after receiving a third data which is transmitted by the coprocessor and encoded by using the preset first encoding parameter, the third data which is received and encoded by using the preset decoding parameter in the wireless communication module can be decoded by using the preset decoding parameter in the wireless communication module to obtain a third data which is processed by the first processing.
Step B-3: constructing second processed data III by using the data I through a preset encoder;
furthermore, an encoder is preset in the wireless communication module, and the encoder preset in the wireless communication module is the same as the encoder preset in the coprocessor.
Step B-4: judging whether the data III after the first processing is the same as the data III after the second processing; at the same time, executing step B-5;
step B-5: and confirming that the data one meets a preset transmission requirement one.
Further, when the third processed data is judged to be the same as the third processed data, the first processed data is judged to meet the transmission requirement, namely, the first processed data received by the wireless communication module is indeed transmitted by the coprocessor connected with the wireless communication module.
Further, in the method for confirming that the data conforms to the preset transmission requirement one, when the data after the first processing is judged to be different from the data after the second processing, the data is confirmed to not conform to the preset transmission requirement one, namely, the data received by the wireless communication module is not transmitted by the coprocessor connected with the wireless communication module.
In order to further ensure the reliability of the method that the coprocessor transfers the obtained magnitude value data of the rail ground voltage to the background server through the wireless communication module, the first data can be set into the first initial data which is transferred by the coprocessor and encoded by applying the encoding parameter two.
Further, when the first data is initial data first transmitted by the coprocessor and encoded by applying the second encoding parameter, the first data is transmitted to the background server in a wireless transmission mode, and the second data is constructed by the background server in response to the first data, which comprises the following steps: and transmitting the first data to the background server in a wireless transmission mode, so that the background server can utilize two pairs of preset decoding parameters to execute decoding on the first data to obtain the first initial data and respond to the first initial data to construct the second data.
Further, the decoding parameter is a parameter required by the encoder to decode the encoded data encoded by applying the encoding parameter pair to the data one.
Furthermore, a second encoding parameter is preset in the coprocessor, and the first data is obtained after the coprocessor uses the first encoding parameter to perform encoding on the first initial data.
Furthermore, a second decoding parameter is preset in the background server, and when the first data is received by the background server and is obtained by encoding the first initial data, the first initial data is obtained by decoding the first data by using the preset second decoding parameter, so that the second data is constructed by responding to the first initial data.
The method is applied to a wireless communication module, and data I transmitted by a receiving coprocessor in a wireless transmission mode is received; when the first data is confirmed to meet the preset first transmission requirement, the first data is transmitted to the background server in a wireless transmission mode, the background server responds to the first data to construct a second data mode, the effect that the coprocessor utilizes the wireless communication module to achieve data transmission with the background server through the wireless network is achieved, the constraint that the reliability of data exchange between the coprocessor and the background server, which is achieved through the wireless network, is not high, is easy to leak is overcome, and the performance of data transmission between the background server and the coprocessor is improved.
The method for the background server to return the response message to the coprocessor is a method for transmitting a second data serving as the response message to the coprocessor through the background server by virtue of a connecting structure among the coprocessor, a wireless communication module and the background server after the background server receives the first data and constructs the second data serving as the response message to the coprocessor, and comprises the following steps:
step C-1: receiving second data transmitted by the background server in a wireless transmission mode;
further, after receiving the first data at the background server and obtaining the second data for responding to the coprocessor by virtue of the first data, the first data can be initially transferred to the wireless communication module through the background server in a wireless transfer mode, so that the wireless communication module can receive the second data transferred by the background server in the wireless transfer mode.
Step C-2: the second data is transmitted to the coprocessor in a wireless transmission mode, so that the second data is favorably applied to control the second data when the coprocessor determines that the second data meets the second preset transmission requirement.
Furthermore, after the wireless communication module receives the second data transmitted by the background server in a wireless transmission mode, the second data can be transmitted to the coprocessor through the USB port, and the second data is favorably used for achieving the control of the second data when the coprocessor receives the second data and the second data is determined to meet the second preset transmission requirement.
And in order to ensure the reliability of the method for the background server to return the response message to the coprocessor, setting the data two as initial data two constructed by responding to the initial data one through the background server, and executing coding construction on the initial data two by using a preset decoding parameter pair.
When the received data of the background server is the initial data I which is transmitted by the coprocessor and is coded by applying the coding parameter II, the background server can use the decoding parameter I which is set in advance to execute decoding on the data I after receiving the data I, and the initial data I is obtained; and then, the background server can obtain initial data II for responding to the coprocessor by virtue of the initial data I, and in order to ensure the reliability of the data transmission method, the background server can utilize a preset decoding parameter to execute encoding on the initial data II to construct data II.
Further, when the background server responds to the second initial data constructed by the first initial data and also applies a preset decoding parameter pair to the second initial data to execute the coding construction, the second data is transmitted to the coprocessor in a wireless transmission mode, so that when the coprocessor determines that the second data meets the preset transmission requirement pair, the second data is applied to control the coprocessor, and the method comprises the following steps: the second data is transmitted to the coprocessor in a wireless transmission mode, the coprocessor can utilize preset encoding parameters to decode the second data to obtain the second initial data, and the second initial data is utilized to control the second initial data.
The background server transmits the second data to the wireless communication module in a wireless transmission mode, and then transmits the second data to the coprocessor through the wireless communication module, so that the effect that the background server uses the wireless communication module to perform data transmission with the coprocessor is achieved, and the performance of data transmission between the background server and the coprocessor can be improved.
While the present invention has been described above in terms of procedures illustrated in embodiments, it will be understood by those skilled in the art that the present disclosure is not limited to the above-described embodiments, and that various changes, modifications, and substitutions may be made without departing from the scope of the present invention.