A remote control system for aging test
By designing a remote control system for aging tests, including electronic aging cabinet, data acquisition module, protocol conversion module, control analysis module and remote terminal, the problems of parameter adjustment of aging test chamber and data disorder in the existing technology are solved, and the accuracy and privacy of remote parameter adjustment and data transmission of aging tests are achieved.
Patent Information
- Application Number
- CN202411974962.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-12-31
AI Technical Summary
The existing remote control system for aging test can only remotely control the camera to take photos, but failed to adjust the parameters of the aging test chamber. The data out of order due to network delay or congestion has not been effectively solved, and the accuracy and privacy of data transmission have not been guaranteed.
A remote control system for aging test is designed, including electronic aging cabinet, data acquisition module, protocol conversion module, control analysis module and remote terminal. The two-way protocol conversion mechanism of the protocol conversion module realizes the conversion of data frames to bitstreams or the acquisition bitstreams to the acquisition data frames. The control analysis module establishes a two-way connection channel based on the access verification mechanism, and ensures the accuracy and privacy of the data through differential binary encoding and segmentation mark reorganization mechanisms.
Remote parameter adjustment of aging tests is realized, the problem of data out of order is solved, and the accuracy and privacy of data transmission are ensured.
Smart Images

Figure CN119402527B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of remote control, and in particular to an aging test remote control system. Background Art
[0002] With the rapid development of modern industry, product aging and failure have become important factors affecting production efficiency and safety. Product aging test is to accelerate the aging of products under certain conditions to understand the technical indicators of product reliability, durability and life span, and ensure the performance of products under normal use environment. Traditional aging test usually adopts manual monitoring and data recording, which is inefficient and inaccurate, and prone to data recording errors, interference during the test process and other problems.
[0003] With the advancement of information technology, aging tests can be remotely controlled through sensors and communication networks. The existing patent with authorization announcement number CN207488263U proposes an intelligent remote control system for an aging test chamber, including an aging test chamber with an observation window, a camera for photographing test samples, a shutter trigger connected to the camera, a central controller, a network connector and a remote terminal. The central controller controls the shutter trigger and receives photos taken by the camera. The network connector is connected to the central controller. The remote terminal sends a photo command to the central controller through the network connector and receives photos sent by the central controller, thereby realizing remote control of the camera to take photos to observe and record the aging test status, effectively reducing the labor intensity of workers.
[0004] The prior art only takes photos by remotely controlling the camera and observes the photos to record the aging status, and does not involve the parameter adjustment of the aging test chamber. Since the records of the aging test are time-series, the prior art does not consider the problem of disordered data received by the remote terminal due to network delays or congestion. The prior art does not provide an effective way to ensure the accuracy and privacy of data transmission. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention proposes a remote control system for an aging test to provide a means for remote test parameter adjustment and accurate and safe test data transmission.
[0006] The technical solution to achieve the purpose of the present invention is:
[0007] A aging test remote control system, comprising an electronic aging cabinet, a data acquisition module, a protocol conversion module, a control analysis module and a remote terminal;
[0008] The electronic aging cabinet receives the control bit stream and converts it to obtain the control sequence, and controls the aging test process based on the sequence drive mechanism;
[0009] The data acquisition module receives the activation bit stream and converts it to obtain the activation sequence, and acquires the acquisition data sequence. And convert it into a collection bit stream and send it to the protocol conversion module;
[0010] The protocol conversion module implements a bidirectional protocol conversion mechanism to realize the conversion of data frames to bit streams or collected bit streams to collected data frames;
[0011] The control and analysis module establishes a bidirectional connection channel based on the access verification mechanism, receives the mixed code based on the segmentation mark reorganization mechanism, obtains the sequence based on the differential binary decoding and command-driven strategy, converts the sequence into a data frame and sends it to the protocol conversion module, receives the collected data frame and converts it into a collected data sequence and sends it to the remote terminal;
[0012] The remote terminal obtains the operation command, generates a mixed code through differential binary coding, establishes a bidirectional connection channel based on the access request mechanism, and sends the mixed code to the control and analysis module or receives and displays the collected data sequence based on the segmentation mark reorganization mechanism.
[0013] Furthermore, the electronic aging cabinet receives the control bit stream and converts it into a control sequence or the data acquisition module receives the activation bit stream and converts it into an activation sequence The specific steps include:
[0014] Receive the bit stream and convert it into a data frame, parse the MAC frame header to obtain the destination MAC address, and determine whether it matches its own MAC address;
[0015] If there is no match, the data frame is discarded. If there is a match, the MAC frame header is stripped to obtain the IP data packet;
[0016] Parse the IP frame header to obtain the destination IP address and determine whether it matches its own IP address; if it does not match, discard the IP data packet; if it does match, strip the IP frame header to obtain the data segment;
[0017] Parse the data segment header to obtain the destination port number and determine whether it matches its own port number;
[0018] If there is no match, the data segment is discarded; if there is a match, the data segment header is stripped to obtain the sequence.
[0019] Furthermore, the electronic aging cabinet controls the aging test process based on the sequence drive mechanism, including:
[0020] Get the boot control sequence , identify the start signal , with test temperature , test voltage and test current Start aging test;
[0021] Get the shutdown control sequence , stop the aging test immediately;
[0022] Get parameter control sequence , based on the test temperature adjustment , Test voltage adjustment And test current adjustment Make real-time adjustments.
[0023] Further, the data collection module includes an acquisition control unit, an equipment temperature sensor, a test temperature sensor, a test energy meter and a camera;
[0024] The acquisition control unit receives the activation bit stream and converts it to obtain the activation sequence , sends electrical signals to the data acquisition device and generates statistical data sequences ;
[0025] The device temperature sensor receives electrical signals and collects the device temperature And feedback to the acquisition control unit;
[0026] The test temperature sensor receives the electrical signal and collects the test temperature And feedback to the acquisition control unit;
[0027] The test energy meter receives the electrical signal and collects the test voltage and test current And feedback to the acquisition control unit;
[0028] The camera receives the electrical signal and collects the sample status image And feedback to the acquisition control unit.
[0029] Furthermore, the acquisition control unit will acquire the data sequence The conversion into the acquisition bit stream includes the following specific steps:
[0030] To collect data series Add the acquisition data segment header to generate the acquisition data segment;
[0031] Adding a collection IP frame header to the collection data segment generates a collection IP data packet;
[0032] Add a collection MAC frame header to the collection IP data packet to generate a collection data frame;
[0033] The acquisition data frame is further converted into an acquisition bit stream.
[0034] Furthermore, the protocol conversion module includes a router, a switch and two RJ45 ports, and executes a bidirectional protocol conversion mechanism, which includes a forward protocol conversion mechanism and a reverse protocol conversion mechanism, wherein the forward direction is from the control and analysis module to the electronic aging cabinet or the data acquisition module, and the reverse direction is from the electronic aging cabinet or the data acquisition module to the control and analysis module.
[0035] Furthermore, the forward protocol conversion mechanism sequence is router, switch and RJ45 port, including the following specific steps:
[0036] The router receives the data frame, parses the IP frame header to obtain the destination IP address, queries the routing table, and sends the data frame to the switch IP address;
[0037] The switch receives the data frame, parses the MAC frame header to obtain the destination MAC address, queries the MAC address table to obtain the destination switch port, and sends the data frame to the corresponding RJ45 port through the destination switch port;
[0038] The RJ45 port receives data frames and converts them into bit streams, which are then transmitted to the corresponding RJ45 docking port through the physical medium.
[0039] Furthermore, the reverse conversion mechanism sequence is RJ45 port, switch and router, including the following specific steps:
[0040] The RJ45 port receives the collected bit stream sent by the RJ45 docking port and transmits it to the switch through the physical medium;
[0041] The switch restores the collected bit stream to a collected data frame, parses the collected MAC frame header to obtain the destination MAC address, queries the MAC address table to obtain the destination switch port, and sends the collected data frame to the router via the destination switch port;
[0042] The router receives the collected data frame, parses the collected IP frame header to obtain the destination IP address, queries the routing table and forwards the data frame to the destination IP address.
[0043] Further, the control and analysis module includes a wired transceiver unit, a code conversion unit, a command execution unit and a first remote connection unit;
[0044] The wired transceiver unit converts the sequence into a data frame and sends it to the protocol conversion unit, which receives the collected data frame and converts it to obtain the collected data sequence. , deliver the acquisition data sequence to a first remote connection unit;
[0045] The code conversion unit parses the mixed code based on differential binary decoding to obtain the operation command and delivers it to the command execution unit;
[0046] The command execution unit executes the operation command based on the command-driven strategy;
[0047] The first remote connection unit establishes a bidirectional connection channel based on the access verification mechanism, and sends the collected data sequence to the second remote connection unit based on the segmentation mark reorganization mechanism Or receive mixed encoding and deliver to the transcoding unit.
[0048] Furthermore, the wired transceiver unit converts the sequence into a data frame including the following specific steps:
[0049] Add a data segment header to the sequence to generate a data segment;
[0050] Add IP frame header to the data segment to generate IP data packet;
[0051] Add MAC frame header to IP data packet to generate data frame.
[0052] Furthermore, the wired transceiver unit receives and parses the acquisition data frame to obtain the acquisition data sequence The specific steps include:
[0053] Parse the collected MAC frame header to obtain the destination MAC address and determine whether it matches its own MAC address;
[0054] If there is no match, the collected data frame is discarded; if there is a match, the collected MAC frame header is stripped to obtain the collected IP data packet;
[0055] Parse and collect IP frame headers to obtain the destination IP address and determine whether it matches the own IP address;
[0056] If there is no match, the collected IP data packet is discarded. If there is a match, the collected IP frame header is stripped to obtain the collected data segment; the collected data segment header is parsed to obtain the destination port number and determine whether it matches the own port number;
[0057] If there is no match, the collected data segment is discarded; if there is a match, the collected data segment header is stripped to obtain the collected data sequence. .
[0058] Furthermore, the encoding conversion unit parses the hybrid encoding based on the hybrid decoding to obtain the operation command, including the following specific steps:
[0059] Determine the mixed coding The starting level state of the bit differential code is the same as the Whether the end level states of the bit differential codes are the same;
[0060] If the same, then The binary value of the bit is 1. If the The binary value of the bit is 0;
[0061] Convert each differential code into a corresponding binary value to obtain a binary code;
[0062] Based on the fixed length splitting of ASCII code, binary encoding is used to obtain several binary ASCII codes;
[0063] Query the ASCII code table, convert each binary ASCII code into the corresponding character, and generate an operation command.
[0064] Furthermore, the command execution unit executes the operation command based on the command-driven strategy, including the following specific steps:
[0065] Get the startup operation and extract the test temperature , test voltage and test current , generating a start signal , build the startup control sequence And deliver the wired transceiver unit and record the start time And according to the activation interval Periodically generate activation sequences and deliver the wired transceiver unit;
[0066] Get the close operation and generate the close control sequence and deliver the wired transceiver unit, stopping the activation sequence generate;
[0067] Get parameter adjustment operation and extract test temperature adjustment amount , Test voltage adjustment And test current adjustment , build a parameter control sequence And deliver the wired transceiver unit.
[0068] Furthermore, the first remote connection unit establishes a bidirectional connection channel based on the access verification mechanism, including the following specific steps:
[0069] Get the remote connection request and extract the destination IP address to determine whether it is consistent with its own IP address;
[0070] If they are inconsistent, the remote connection request is ignored. If they are consistent, the source IP address of the remote connection request is used as the destination IP address of the connection request reply, and the own IP address is used as the source IP address of the connection request reply;
[0071] Feedback connection request replies through routing and ARP address lookup;
[0072] Receive request reply confirmation, establish a temporary VPN channel and feedback temporary connection prompt;
[0073] Receive the password mapping value and determine whether it is the same as the password mapping value stored in itself;
[0074] If they are the same, close the temporary VPN channel and establish a reverse connection channel and feedback a successful verification prompt;
[0075] Receive a successful connection prompt, and the two-way connection channel is established;
[0076] If they are different, the number of verification failures is increased by 1, and it is determined whether the number of verification failures is greater than 3;
[0077] If it is greater than 3, the temporary VPN channel will be closed;
[0078] If it is less than or equal to 3, a verification failure prompt will be fed back and the maximum verification waiting time will be set;
[0079] If no new password mapping value is received within the maximum verification waiting time, the temporary VPN channel is closed;
[0080] If a new password mapping value is received within the maximum verification waiting time, it will be re-verified with the password mapping value stored in itself.
[0081] Further, the remote terminal includes a code generation unit, a second remote connection unit and a display unit;
[0082] The code generation unit converts the operation command into a mixed code through differential binary coding and delivers the mixed code to the second remote connection unit;
[0083] The second remote connection unit establishes a bidirectional connection channel based on the access request mechanism, and sends mixed coding or receives collected data to the first remote connection unit based on the segmentation mark reorganization mechanism.
[0084] sequence and delivering the display unit;
[0085] The display unit displays the received data sequence in real time .
[0086] Furthermore, the code generation unit obtains the operation command, and generates the mixed code by differential binary coding, including the following specific steps:
[0087] Query the ASCII code table, convert each character in the operation command into the corresponding binary ASCII code, and generate binary code;
[0088] Initialize the start level state of the first binary value and make the end level state relative to the start level state;
[0089] Judgement The binary value of a bit is 0 or 1;
[0090] Jordi The binary value of the bit is 0, making the The starting level state of the binary value of the bit is The end level state of the binary value of the bit is relatively The end level state of the binary value of the first The end level state of the binary value of the bit is the same, generating the Bit differential code;
[0091] Jordi The binary value of the bit is 1, making the The starting level state of the binary value of the first The end level state of the binary value of the first bit is the same. The end level state of the binary value of the first The end level state of the binary value of the bit is relative, generating the Bit differential code;
[0092] Each binary value in the binary code is converted into a differential code to generate a mixed code.
[0093] Furthermore, the second remote connection unit establishes a bidirectional connection channel based on the access request mechanism, including the following specific steps:
[0094] Use the IP address of the control and analysis module as the destination IP address and its own IP address as the source IP address, generate a remote connection request and send it through routing selection and ARP address lookup;
[0095] Get the connection request reply and extract the destination IP address in the connection request reply to determine whether it is consistent with its own IP address;
[0096] If they are inconsistent, the connection request reply is ignored. If they are consistent, the request reply is confirmed through routing selection and ARP address lookup feedback;
[0097] Receive a temporary connection prompt, prompting the user to enter a password;
[0098] Get the password, convert it into a password mapping value through a one-way function and send it;
[0099] If the verification success prompt is received, a forward connection channel is established and a connection success prompt is fed back, and the two-way connection channel is established;
[0100] If receiving a verification failure prompt, remind the user to re-enter the password, obtain the password, and determine whether the temporary VPN channel is closed;
[0101] If it is closed, the user is prompted that the verification failed. If it is not closed, the password is converted into a password mapping value through a one-way function and sent.
[0102] Furthermore, the split mark recombination mechanism includes:
[0103] Adding a start symbol and an end symbol at both ends of the data to generate symbol data, dividing the symbol data into a number of symbol data segments based on a single maximum transmission length, marking each symbol data segment with a number to generate a marked symbol data segment, and sending each marked symbol data segment in sequence;
[0104] Receive a single mark symbol data segment, determine whether there is an end symbol in the single mark symbol data segment, if not, continue to wait for receiving a new single mark symbol data segment, if so, use the number corresponding to the single mark symbol data segment as the end number, and determine whether all mark symbol data segments from number 1 to the end number have been received, if all have been received, reassemble all symbol data segments and remove the start symbol and end symbol to obtain data, if not all have been received, continue to wait for receiving a new single mark symbol data segment.
[0105] Compared with the prior art, the present invention has the following significant advantages:
[0106] 1. Design the protocol conversion module, establish the wired transmission channel between the control and analysis module and the electronic aging cabinet and between the control and analysis module and the data collection module, implement the two-way protocol conversion mechanism to realize the conversion from data frame to bit stream or from collected bit stream to collected data frame, and ensure the stable data interaction between different protocol devices;
[0107] 2. Design the linkage between the access verification mechanism of the control analysis module and the access request mechanism of the remote terminal, establish a stable two-way connection channel, and design the differential binary encoding and decoding process so that the data is always transmitted in encoded form to ensure data privacy. The data is segmented and marked through the segmentation and reorganization mechanism to ensure that the receiving end can still successfully restore the data when the data is out of order due to network delay. BRIEF DESCRIPTION OF THE DRAWINGS
[0108] Figure 1 This is a schematic diagram of a remote control system for an aging test;
[0109] Figure 2 It is a flow chart of the bidirectional protocol conversion mechanism in the present invention;
[0110] Figure 3 This is a flow chart of the access verification mechanism in the present invention;
[0111] Figure 4 This is a flow chart of the access request mechanism in the present invention. DETAILED DESCRIPTION
[0112] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. Example 1
[0113] like Figure 1 As shown, a specific embodiment of the present invention discloses a aging test remote control system, including an electronic aging cabinet, a data acquisition module, a protocol conversion module, a control analysis module and a remote terminal;
[0114] The electronic aging cabinet receives the control bit stream through the RJ45 docking port, converts it to obtain the control sequence, and controls the aging test process based on the sequence drive mechanism. The control sequence includes the start control sequence , close control sequence and parameter control sequence ;
[0115] The data acquisition module receives the activation bit stream through the RJ45 docking port and converts it to obtain the activation sequence , perform a single data acquisition to obtain an acquisition data sequence , the data sequence will be collected Converted into acquisition bit stream and sent to the protocol conversion module through the RJ45 docking port;
[0116] The protocol conversion module establishes a wired transmission channel between the control and analysis module and the electronic aging cabinet and between the control and analysis module and the data collection module, and executes a bidirectional protocol conversion mechanism to realize the conversion from data frame to bit stream or from collected bit stream to collected data frame;
[0117] The control and analysis module establishes a two-way connection channel with the remote terminal based on the access verification mechanism, receives the mixed code based on the segmentation mark reorganization mechanism, and decodes the mixed code based on the differential binary decoding and command drive mechanism.
[0118] The dynamic strategy cooperates to parse the operation command to obtain the sequence, converts the sequence into a data frame and sends it to the protocol conversion module, and converts the acquisition data frame sent by the protocol conversion module into an acquisition data sequence , and sent to the remote terminal based on the segmentation mark reorganization mechanism. The sequence includes the control sequence and the activation sequence. , the data frame includes a control data frame and an activation data frame, and the control data frame includes a startup control data frame, a shutdown control data frame and a parameter adjustment control data frame;
[0119] The remote terminal obtains the operation command, generates a mixed code through differential binary coding, establishes a two-way connection channel with the control and analysis module based on the access request mechanism, and sends the mixed code to the control and analysis module or receives the collected data sequence based on the segmentation mark reorganization mechanism. and display.
[0120] Furthermore, the electronic aging cabinet receives the control bit stream and converts it into a control sequence or the data acquisition module receives the activation bit stream and converts it into an activation sequence The specific steps include:
[0121] Receive the bit stream and convert it into a data frame, parse the MAC frame header of the data frame to obtain the destination MAC address, and determine whether it matches its own MAC address;
[0122] If there is no match, the data frame is discarded. If there is a match, the MAC frame header is stripped to obtain the IP data packet;
[0123] Parse the IP frame header of the IP data packet to obtain the destination IP address and determine whether it matches its own IP address;
[0124] If there is no match, the IP data packet is discarded. If there is a match, the IP frame header is stripped to obtain the data segment;
[0125] Parse the data segment header of the data segment to obtain the destination port number and determine whether it matches its own port number;
[0126] If there is no match, the data segment is discarded; if there is a match, the data segment header is stripped to obtain the sequence.
[0127] Furthermore, the electronic aging cabinet controls the aging test process based on the sequence drive mechanism, including:
[0128] Get the boot control sequence , identify the start signal , with test temperature , test voltage and test current Start aging test;
[0129] Get the shutdown control sequence
[0130] , stop the aging test immediately;
[0131] Get parameter control sequence , based on the test temperature adjustment , Test voltage adjustment And test current adjustment Make real-time adjustments.
[0132] Further, the data collection module includes an acquisition control unit, an equipment temperature sensor, a test temperature sensor, a test energy meter and a camera;
[0133] The acquisition control unit receives the activation bit stream and converts it to obtain the activation sequence , sends electrical signals to the data acquisition device and generates statistical data sequences ,in, is the device temperature, is the test temperature, is the test voltage, is the test current, For the sample state image, the data sequence will be collected Converted into acquisition bit stream and transmitted to the protocol conversion module, the data acquisition equipment includes equipment temperature sensor, test temperature sensor, test energy meter and camera;
[0134] The device temperature sensor receives electrical signals and collects the device temperature And feedback to the acquisition control unit;
[0135] The test temperature sensor receives the electrical signal and collects the test temperature And feedback to the acquisition control unit;
[0136] The test energy meter receives the electrical signal and collects the test voltage and test current And feedback to the acquisition control unit;
[0137] The camera receives the electrical signal and collects the sample status image And feedback to the acquisition control unit.
[0138] Furthermore, the acquisition control unit will acquire the data sequence The conversion into the acquisition bit stream includes the following specific steps:
[0139] To collect data series Adding a data acquisition segment header to generate a data acquisition segment, the data acquisition segment header includes a source port number and a destination port number, the source port number is the port number of the acquisition control unit, and the destination port number is the port number of the control and analysis module;
[0140] Add a collection IP frame header to the collection data segment to generate a collection IP data packet. The collection IP frame header includes the source IP address and the destination IP address. The source IP address is the
[0141] IP address, the destination IP address is the IP address of the control and analysis module;
[0142] Adding a collection MAC frame header to the collection IP data packet generates a collection data frame. The collection MAC frame header includes a source MAC address and a destination MAC address. The source MAC address is the MAC address of the collection control unit, and the destination MAC address is the MAC address of the control and analysis module.
[0143] The acquisition data frame is further converted into an acquisition bit stream.
[0144] like Figure 2As shown, further, the protocol conversion module includes a router, a switch and 2 RJ45 ports, and executes a bidirectional protocol conversion mechanism. The bidirectional protocol conversion mechanism includes a forward protocol conversion mechanism and a reverse protocol conversion mechanism, wherein the forward direction is from the control and analysis module to the electronic aging cabinet or the data acquisition module, and the reverse direction is from the electronic aging cabinet or the data acquisition module to the control and analysis module.
[0145] Furthermore, the forward protocol conversion mechanism is sequentially a router, a switch, and an RJ45 port to realize the conversion of data frames to bit streams, including the following specific steps:
[0146] The router receives the data frame, parses the IP frame header to obtain the destination IP address, queries the routing table to determine the best forwarding path, and forwards the data frame to the switch IP address;
[0147] The switch receives the data frame, parses the MAC frame header to obtain the destination MAC address, queries the MAC address table to obtain the destination switch port corresponding to the destination MAC address, and sends the data frame to the corresponding RJ45 port through the destination switch port;
[0148] The RJ45 port receives the data frame and converts it into a bit stream, which is then transmitted to the corresponding RJ45 docking port through a physical medium. The bit stream includes a control bit stream and an activation bit stream.
[0149] Furthermore, the reverse protocol conversion mechanism sequence is RJ45 port, switch and router, realizing the conversion of acquisition bit stream to acquisition data frame, including the following specific steps:
[0150] The RJ45 port receives the collected bit stream sent by the RJ45 docking port and transmits it to the switch through the physical medium;
[0151] The switch restores the collected bit stream to a collected data frame, parses the collected MAC frame header to obtain the destination MAC address, queries the MAC address table to obtain the destination switch port corresponding to the destination MAC address, and sends the collected data frame to the router via the destination switch port;
[0152] The router receives the collected data frame, parses the collected IP frame header to obtain the destination IP address, queries the routing table to determine the best forwarding path, and forwards the data frame to the destination IP address.
[0153] Further, the control and analysis module includes a wired transceiver unit, a code conversion unit, a command execution unit and a first remote connection unit;
[0154] The wired transceiver unit converts the sequence into a data frame and sends it to the protocol conversion unit, receives the acquisition data frame sent by the protocol module unit and converts it to obtain the acquisition data sequence , and deliver the acquisition data sequence to a first remote connection unit;
[0155] The code conversion unit receives the mixed code, parses the mixed code based on differential binary decoding to obtain the operation command and delivers it to the command execution unit;
[0156] The command execution unit executes the operation command based on the command-driven strategy;
[0157] The first remote connection unit establishes a bidirectional connection channel with the second remote connection unit based on the access verification mechanism, and sends the collected data sequence to the second remote connection unit in the bidirectional connection channel based on the segmentation mark reorganization mechanism. Or receive the mixed code sent by the second remote connection unit and deliver it to the code conversion unit.
[0158] Furthermore, the wired transceiver unit converts the sequence into a data frame including the following specific steps:
[0159] Add a data segment header to the sequence to generate a data segment, the data segment header includes a source port number and a destination port number, the source port number is the port number of the control and analysis module, and the destination port number is the port number of the electronic aging cabinet or the data acquisition module;
[0160] Add an IP frame header to the data segment to generate an IP data packet. The IP frame header includes a source IP address and a destination IP address. The source IP address is the IP address of the control and analysis module, and the destination IP address is the IP address of the electronic aging cabinet or the data acquisition module.
[0161] A MAC frame header is added to the IP data packet to generate a data frame. The MAC frame header includes a source MAC address and a destination MAC address. The source MAC address is the MAC address of the control and analysis module, and the destination MAC address is the MAC address of the electronic aging cabinet or the data acquisition module.
[0162] Furthermore, the wired transceiver unit receives and parses the acquisition data frame to obtain the acquisition data sequence The specific steps include:
[0163] Parse the MAC frame header of the collected data frame to obtain the destination MAC address and determine whether it matches its own MAC address;
[0164] If there is no match, the collected data frame is discarded; if there is a match, the collected MAC frame header is stripped to obtain the collected IP data packet;
[0165] Parse the IP frame header of the collected IP data packet to obtain the destination IP address and determine whether it matches its own IP address;
[0166] If there is no match, the collected IP data packet is discarded; if there is a match, the collected IP frame header is stripped to obtain the collected data segment;
[0167] Parse the header of the collected data segment to obtain the destination port number and determine whether it matches its own port number;
[0168] If there is no match, the collected data segment is discarded; if there is a match, the collected data segment header is stripped to obtain the collected data sequence. .
[0169] Furthermore, the encoding conversion unit receives the mixed encoding, and the mixed encoding is parsed based on the mixed decoding to obtain the operation command, including the following specific steps:
[0170] Get the mixed code and determine the The starting level state of the bit differential code is relative to the The end level state of the bit differential code is the same or relative;
[0171] If the same, then The bit difference code corresponds to the The binary value of the bit is 1;
[0172] If relative, then The bit difference code corresponds to the The binary value of the bit is 0;
[0173] Convert each differential code in the mixed code into a corresponding binary value to obtain a binary code;
[0174] Based on the fixed length of 7 bits of ASCII code, starting from the start bit of the binary code, split every 7 bits to obtain several 7-bit binary ASCII codes; query the ASCII code table, convert each binary ASCII code into the corresponding character, and generate an operation command.
[0175] Furthermore, the command execution unit executes the operation command based on the command-driven strategy, including the following specific steps:
[0176] Get the startup operation and extract the test temperature recorded in the startup operation , test voltage and test current , generating a start signal , build the startup control sequence And deliver the wired transceiver unit and record the start time And set the activation interval , since the initial activation time At the beginning, after each activation interval Generate activation sequence and deliver the wired transceiver unit;
[0177] Get the close operation and generate the close control sequence and deliver the wired transceiver unit, stopping the activation sequence generate;
[0178] Get the parameter adjustment operation and extract the test temperature adjustment amount recorded in the parameter adjustment operation , Test voltage adjustment And test current adjustment , build a parameter control sequence And deliver the wired transceiver unit.
[0179] like Figure 3 As shown, further, the first remote connection unit establishes a bidirectional connection channel with the second remote connection unit based on the access verification mechanism, including the following specific steps:
[0180] Obtaining a remote connection request sent by the second remote connection unit, extracting a destination IP address in the remote connection request, and determining whether the destination IP address is consistent with the own IP address;
[0181] If they are inconsistent, the remote connection request is ignored. If they are consistent, the source IP address in the remote connection request is further extracted and used as the destination IP address in the connection request reply, and the own IP address is used as the source IP address of the connection request reply;
[0182] Feedback the connection request reply to the second remote connection unit through routing selection and ARP address lookup, wherein the routing selection forwards the connection request reply to the corresponding subnet according to the destination IP address in the connection request reply, and the ARP address confirms the second remote connection unit corresponding to the destination IP address in the connection request reply by broadcasting;
[0183] Receive a request reply confirmation sent by the second remote connection unit, establish a temporary VPN channel with the second remote connection unit, and feed back a temporary connection prompt to the second remote connection unit through the temporary VPN channel;
[0184] receiving the password mapping value sent by the second remote connection unit via the temporary VPN channel, and determining whether the password mapping value is the same as the password mapping value stored in the second remote connection unit;
[0185] If the password mapping value sent by the second remote connection unit is the same as the password mapping value stored in the second remote connection unit, the verification is successful, the temporary VPN channel is closed, and a reverse connection channel from the first remote connection unit to the second remote connection unit is established, and a verification success prompt is fed back to the second remote connection unit through the reverse connection channel;
[0186] Receiving a connection success prompt sent by the second remote connection unit through the forward connection channel, and the bidirectional connection channel is established;
[0187] If the password mapping value sent by the second remote connection unit is different from the password mapping value stored in the second remote connection unit, the verification fails, the number of verification failures is increased by 1, and it is determined whether the number of verification failures is greater than 3;
[0188] If the number of verification failures is greater than 3, the temporary VPN channel will be closed;
[0189] If the number of verification failures is less than or equal to 3, a verification failure prompt will be fed back through the temporary VPN channel and the maximum verification waiting time will be set;
[0190] If no new password mapping value is received within the maximum verification waiting time, the temporary VPN channel is closed;
[0191] If a new password mapping value is received within the maximum verification waiting time, it is re-determined whether it is the same as the password mapping value stored in itself.
[0192] Further, the remote terminal includes a code generation unit, a second remote connection unit and a display unit;
[0193] The code generation unit obtains the operation command, generates the mixed code through differential binary coding and delivers it to the second remote connection unit, the operation command includes a startup operation, a shutdown operation and a parameter adjustment operation;
[0194] The second remote connection unit establishes a bidirectional connection channel with the first remote connection unit based on the access request mechanism, and sends a mixed code to the first remote connection unit in the bidirectional connection channel based on the segmentation mark reorganization mechanism, or receives a collection data sequence sent by the first remote connection unit. and delivering the display unit;
[0195] The display unit displays the received data sequence in real time .
[0196] Furthermore, the code generation unit obtains the operation command, and generates the mixed code by differential binary coding, including the following specific steps:
[0197] Get the operation command, which is a string of characters that records the operation that the user needs to perform, query the ASCII code table, convert each character in the operation command into a corresponding 7-bit binary ASCII code, and generate a binary code;
[0198] Initialize the starting level state of the first binary value in the binary code, then the first binary value jumps at the middle level, so that the ending level state is opposite to the starting level state, and the differential code of the first binary value is generated, and the level state includes a low level and a high level;
[0199] Determine the binary code The binary value of a bit is 0 or 1;
[0200] Jordi The binary value of the bit is 0, The starting level state of the binary value of the first bit jumps to The end level state of the binary value of the bit is relative to the level state in the first The middle level of the binary value of the first bit jumps again, making the The end level state of the binary value of the first The end level state of the binary value of the bit is the same, generating the Bit differential code;
[0201] Jordi The binary value of the bit is 1, The starting level state of the binary value of the first bit remains the same as that of the The end level state of the binary value of the bit is the same. The intermediate level of the binary value of the first bit jumps, making the The end level state of the binary value of the first The end level state of the binary value of the bit is relative, generating the Bit differential code;
[0202] Convert each binary value in the binary code into a differential code to generate a mixed code. Figure 4 As shown, further, the second remote connection unit establishes a bidirectional connection channel with the first remote connection unit based on the access request mechanism, including the following specific steps:
[0203] Using the IP address of the control and analysis module as the destination IP address and the own IP address as the source IP address, generating a remote connection request and sending it to the first remote unit through routing selection and ARP address lookup;
[0204] Get the connection request reply and extract the destination IP address in the connection request reply to determine whether it is consistent with its own IP address;
[0205] If they are not consistent, the connection request reply is ignored, and if they are consistent, the request reply confirmation is fed back to the first remote unit through routing selection and ARP address lookup;
[0206] receiving a temporary connection prompt fed back by the first remote connection unit through the temporary VPN channel, prompting the user to enter a password;
[0207] Obtaining a password input by a user, converting the password into a password mapping value through a one-way function, and sending the password to the first remote connection unit through a temporary VPN channel;
[0208] If the prompt fed back by the first remote connection unit is a prompt of successful verification, a forward connection channel is established from the second remote connection unit to the first remote connection unit, and a prompt of successful connection is fed back to the first remote connection unit through the forward connection channel, and the establishment of the bidirectional connection channel is completed;
[0209] If the prompt fed back by the first remote connection unit is a prompt of verification failure, the user is reminded that the password is wrong, the user re-enters the password, the new password entered by the user is obtained, and it is determined whether the temporary VPN channel is closed;
[0210] If the temporary VPN channel has been closed, the user is prompted that the verification has failed and cannot initiate a remote connection request again on the same day. If the temporary VPN channel has not been closed, the newly entered password is converted into a new password mapping value through a one-way function and sent to the first remote connection unit.
[0211] Furthermore, the first remote connection unit and the second remote connection unit both send and receive data in the bidirectional connection channel based on a segmentation mark reassembly mechanism, and the segmentation mark reassembly mechanism includes:
[0212] When sending data, a start symbol and an end symbol are added to both ends of the data to generate symbol data, and the symbol data is divided into several symbol data segments based on the maximum single transmission length, and each symbol data segment is marked and numbered in sequence to generate a marked symbol data segment, and each marked symbol data segment is sent in sequence through a bidirectional connection channel, wherein, if it is sent by the first remote connection unit, the data is a collection data sequence or a test report, if sent by the second remote connection unit, the data is mixed coded;
[0213] Receive a single mark symbol data segment, determine whether there is an end symbol in the single mark symbol data segment,
[0214] If there is no end symbol, continue to wait for receiving a new single marker symbol data segment. If there is an end symbol, use the number corresponding to the single marker symbol data segment as the end number, and further determine whether all marker symbol data segments from number 1 to the end number have been completely received. If all have been received, reassemble all symbol data segments according to the numbering order and remove the start symbol and end symbol to obtain data. If not all have been received, continue to wait for receiving a new single marker symbol data segment.
[0215] The invention discloses a aging test remote control system, comprising an electronic aging cabinet, a data acquisition module, a protocol conversion module, a control analysis module and a remote terminal; the electronic aging cabinet controls the aging test based on a sequence drive mechanism; the data acquisition module is used to obtain the acquisition data sequence, and convert it into an acquisition bit stream for transmission; the protocol conversion module executes a bidirectional protocol conversion mechanism to realize data interaction; the control analysis module establishes a bidirectional connection channel based on an access verification mechanism, receives and sends data based on a segmentation mark reorganization mechanism, obtains a sequence based on a differential binary decoding and command drive strategy, and converts it into a data frame for transmission; the remote terminal generates a mixed code through differential binary coding, establishes a bidirectional connection channel based on an access request mechanism, and transmits and receives data based on a segmentation mark reorganization mechanism, thereby realizing remote parameter adjustment of the aging test, solving the problem of data disorder and ensuring the accuracy and privacy of data transmission.
[0216] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in the field of this technology, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A aging test remote control system, characterized in that: It includes electronic aging cabinet, data acquisition module, protocol conversion module, control analysis module and remote terminal; The electronic aging cabinet converts the control bit stream to obtain the control sequence, and controls the aging test process based on the sequence drive mechanism; The data acquisition module converts the activation bit stream to obtain the activation sequence, obtains the acquisition data sequence, converts it into an acquisition bit stream and sends it; The protocol conversion module implements a bidirectional protocol conversion mechanism to realize the conversion from data frame to bit stream or from collected bit stream to collected data frame; The control and analysis module establishes a bidirectional connection channel based on an access verification mechanism, receives mixed coding or sends a collection data sequence based on a segmentation mark reorganization mechanism, obtains the sequence based on differential binary decoding and command-driven strategies and converts it into a data frame for transmission; The remote terminal generates a mixed code by converting an operation command through a differential binary code, establishes a bidirectional connection channel based on an access request mechanism, and sends the mixed code or receives a collection data sequence based on a segmentation mark reorganization mechanism; The establishment of a two-way connection channel based on the access verification mechanism includes the following specific steps: Get the remote connection request and extract the destination IP address to determine whether it is consistent with its own IP address; If they are inconsistent, the remote connection request is ignored. If they are consistent, the source IP address of the remote connection request is used as the destination IP address of the connection request reply, and the own IP address is used as the source IP address of the connection request reply; Feedback connection request replies through routing and ARP address lookup; Receive request reply confirmation, establish a temporary VPN channel and feedback temporary connection prompt; Receive the password mapping value and determine whether it is the same as the password mapping value stored in itself; If they are the same, close the temporary VPN channel and establish a reverse connection channel and feedback a successful verification prompt; Receive a successful connection prompt, and the two-way connection channel is established; If they are different, the number of verification failures is increased by 1, and it is determined whether the number of verification failures is greater than 3; If it is greater than 3, the temporary VPN channel will be closed; If it is less than or equal to 3, a verification failure prompt will be fed back and the maximum verification waiting time will be set; If no new password mapping value is received within the maximum verification waiting time, the temporary VPN channel is closed; If a new password mapping value is received within the maximum verification waiting time, it will be re-verified with the password mapping value stored in itself.
2. A aging test remote control system as claimed in claim 1, characterized in that: The control and analysis module includes a wired transceiver unit, a code conversion unit, a command execution unit and a first remote connection unit; The wired transceiver unit converts the sequence into a data frame and sends it to the protocol conversion unit, receives the collected data frame, converts and obtains the collected data sequence and delivers it to the first remote connection unit; The code conversion unit parses the mixed code based on differential binary decoding to obtain the operation command and delivers it to the command execution unit; The command execution unit executes the operation command based on the command-driven strategy; The first remote connection unit establishes a bidirectional connection channel based on an access verification mechanism, and sends a collection data sequence or receives a mixed code and delivers it to a code conversion unit based on a segmentation mark reorganization mechanism.
3. A aging test remote control system as claimed in claim 2, characterized in that: The encoding conversion unit parses the hybrid encoding based on the hybrid decoding to obtain the operation command, including the following specific steps: Determine whether the starting level state of the ith differential code is the same as the ending level state of the i-1th differential code; If they are the same, the binary value of the i-th bit is 1, if they are opposite, the binary value of the i-th bit is 0; Convert each differential code into a corresponding binary value to obtain a binary code; Based on the fixed length splitting of ASCII code, binary encoding is used to obtain several binary ASCII codes; Query the ASCII code table, convert each binary ASCII code into a character, and generate an operation command.
4. A aging test remote control system as claimed in claim 1, characterized in that: The remote terminal includes a code generation unit and a second remote connection unit; The code generation unit converts the operation command into a mixed code through differential binary coding and delivers it to the second remote connection unit; The second remote connection unit establishes a bidirectional connection channel based on an access request mechanism, and sends a mixed code or receives a collection data sequence based on a segmentation mark reorganization mechanism.
5. A aging test remote control system as claimed in claim 4, characterized in that: The establishment of a two-way connection channel based on the access request mechanism includes the following specific steps: Use the IP address of the control and analysis module as the destination IP address and its own IP address as the source IP address, generate a remote connection request and send it through routing selection and ARP address lookup; Get the connection request reply and extract the destination IP address in the connection request reply to determine whether it is consistent with its own IP address; If they are inconsistent, the connection request reply is ignored. If they are consistent, the request reply is confirmed through routing selection and ARP address lookup feedback; Receive a temporary connection prompt, prompting the user to enter a password; Get the password, convert it into a password mapping value through a one-way function and send it; If the verification success prompt is received, a forward connection channel is established and a connection success prompt is fed back, and the two-way connection channel is established; If receiving a verification failure prompt, remind the user to re-enter the password, obtain the password, and determine whether the temporary VPN channel is closed; If it is closed, the user is prompted that the verification failed. If it is not closed, the password is converted into a password mapping value through a one-way function and sent.
6. A aging test remote control system as claimed in claim 5, characterized in that: The code generation unit generates a mixed code by converting the differential binary code operation command, including the following specific steps: Query the ASCII code table, convert each character in the operation command into the corresponding binary ASCII code, and generate binary code; Initialize the start level state of the first binary value and make the end level state relative to the start level state; Determine whether the binary value of the i-th bit is 0 or 1; If the i-th binary value is 0, the starting level state and the ending level state of the i-th binary value are respectively opposite to and the same as the ending level state of the i-1-th binary value, and the i-th differential code is generated; If the i-th binary value is 1, the starting level state and the ending level state of the i-th binary value are respectively made the same and opposite to the ending level state of the i-1-th binary value, and the i-th differential code is generated; Each binary value in the binary code is converted into a differential code to generate a mixed code.
7. A aging test remote control system according to any one of claims 1 or 2, characterized in that: The segmentation mark recombination mechanism includes: Adding a start symbol and an end symbol at both ends of the data to generate symbol data, dividing the symbol data into a number of symbol data segments based on a single maximum transmission length, marking each symbol data segment with a number to generate a marked symbol data segment, and sending each marked symbol data segment in sequence; Receive a single mark symbol data segment, determine whether there is an end symbol in the single mark symbol data segment, if not, continue to wait for receiving a new single mark symbol data segment, if so, use the number corresponding to the single mark symbol data segment as the end number, and determine whether all mark symbol data segments from number 1 to the end number have been received, if all have been received, reassemble all symbol data segments and remove the start symbol and end symbol to obtain data, if not all have been received, continue to wait for receiving a new single mark symbol data segment.
8. A aging test remote control system as claimed in claim 1, characterized in that: The bidirectional protocol conversion mechanism includes a forward protocol conversion mechanism and a reverse protocol conversion mechanism; The forward protocol conversion mechanism is in the order of router, switch and RJ45 port. The router receives the data frame, parses the IP frame header to obtain the destination IP address, queries the routing table, and sends the data frame to the switch IP address. The switch receives the data frame, parses the MAC frame header to obtain the destination MAC address, queries the MAC address table to obtain the destination switch port, and sends the data frame to the corresponding RJ45 port through the destination switch port. The RJ45 port receives the data frame and converts it into a bit stream, which is transmitted to the corresponding RJ45 docking port through the physical medium. The reverse conversion mechanism is in the order of RJ45 port, switch and router. The RJ45 port receives the collected bit stream sent by the RJ45 docking port, transmits it to the switch through the physical medium, the switch restores the collected bit stream to the collected data frame, parses the collected MAC frame header to obtain the destination MAC address, queries the MAC address table to obtain the destination switch port, sends the collected data frame to the router via the destination switch port, the router receives the collected data frame, parses the collected IP frame header to obtain the destination IP address, queries the routing table and forwards the data frame to the destination IP address.
9. A aging test remote control system as claimed in claim 1, characterized in that: The electronic aging cabinet receives the control bit stream and converts it into a control sequence or the data acquisition module receives the activation bit stream and converts it into an activation sequence, including the following specific steps: Receive the bit stream and convert it into a data frame, parse the MAC frame header to obtain the destination MAC address, and determine whether it matches its own MAC address; If there is no match, the data frame is discarded. If there is a match, the MAC frame header is stripped to obtain the IP data packet; Parse the IP frame header to obtain the destination IP address and determine whether it matches its own IP address; If there is no match, the IP data packet is discarded. If there is a match, the IP frame header is stripped to obtain the data segment; Parse the data segment header to obtain the destination port number and determine whether it matches its own port number; If there is no match, the data segment is discarded; if there is a match, the data segment header is stripped to obtain the sequence.
Citation Information
Patent Citations
Intelligent remote control system of aging test box
CN207488263U
SIP chip aging state real-time monitoring and abnormity alarm method
CN118884170A
Multi-bus protocol conversion and data acquisition system
CN210804041U