Test system and method based on transmission device, computer readable storage medium and electronic equipment

文档序号:687488 发布日期:2021-04-30 浏览:30次 中文

阅读说明:本技术 一种基于传输装置的测试系统、方法、计算机可读存储介质及电子设备 (Test system and method based on transmission device, computer readable storage medium and electronic equipment ) 是由 尹柏林 于 2021-01-08 设计创作,主要内容包括:本发明涉及通信传输技术领域,具体涉及一种基于传输装置的测试系统、方法计算机可读存储介质及电子设备,其中一种基于传输装置的测试系统,包括,信号形成单元,用以于接收到一信号发生指令的状态下形成与信号发生指令匹配的信号发生数据;传输单元,用以于接受到一传输指令的状态下,控制传输单元工作于与传输指令匹配的状态,并将接收信号发生数据输出;解调单元,用以于接受到一驱动指令的状态下,控制解调单元工作于与驱动指令匹配的状态,接收传输单元输出的信号发生数据,对信号发生做解调处理并形成一标志值输出;控制单元,用以根据外部输入指令形成信号发生指令、传输指令、驱动指令,并根据标志值和信号发生数据形成一延时指令输出。(The invention relates to the technical field of communication transmission, in particular to a test system based on a transmission device, a method, a computer readable storage medium and electronic equipment, wherein the test system based on the transmission device comprises a signal forming unit, a signal generating unit and a signal generating unit, wherein the signal forming unit is used for forming signal generating data matched with a signal generating instruction in the state of receiving the signal generating instruction; the transmission unit is used for controlling the transmission unit to work in a state matched with a transmission instruction in the state of receiving the transmission instruction and outputting the data of the received signal; the demodulation unit is used for controlling the demodulation unit to work in a state matched with a driving instruction under the state of receiving the driving instruction, receiving signal generation data output by the transmission unit, demodulating the signal generation and forming a mark value for output; and the control unit is used for forming a signal generation instruction, a transmission instruction and a driving instruction according to an external input instruction and forming a delay instruction output according to the mark value and the signal generation data.)

1. A test system based on a transmission device is characterized in that: comprises the steps of (a) preparing a mixture of a plurality of raw materials,

the signal forming unit is used for forming signal generation data matched with a signal generation instruction in a state of receiving the signal generation instruction;

the transmission unit is used for controlling the transmission unit to work in a state matched with a transmission instruction in the state of receiving the transmission instruction, and outputting the received signal generation data;

the demodulation unit is used for controlling the demodulation unit to work in a state matched with a driving instruction under the state of receiving the driving instruction, receiving the signal generation data output by the transmission unit, demodulating the signal generation and forming a mark value for output;

and the control unit is used for forming the signal generation instruction, the transmission instruction and the driving instruction according to an external input instruction and forming a delay instruction output according to the mark value and the signal generation data.

2. The transmission-based test system of claim 1, wherein: the signal generation command includes first control frequency data.

3. A transmission-based test system according to claim 2, wherein: the transmission command includes first control frequency data, and the second control frequency data matches the first control frequency data.

4. The transmission device-based test system of claim 1, wherein the delay command is formed by:

N=(T1-T0)/2

wherein N is the delay instruction;

t1 forming a flag value for the transmission data;

t0 is the signal generation data.

5. A testing method based on a transmission device, comprising the testing system based on a transmission device as claimed in any one of claims 1 to 3, characterized in that: comprises the steps of (a) preparing a mixture of a plurality of raw materials,

forming a signal generation instruction, a transmission instruction and a driving instruction according to an external input instruction in a state of receiving the external input instruction; the signal generation instruction comprises a first working frequency, the transmission instruction comprises a second working frequency, and the first working frequency is matched with the second working frequency;

the signal forming unit forms signal generation data of a first working frequency under the action of the signal generation instruction and outputs the signal generation data to the transmission unit;

under the action of a transmission instruction, the transmission unit works in a second power frequency state, receives the signal generation data, forms transmission data according to the signal generation data, and outputs the transmission data to the demodulation unit;

under the action of the driving instruction, the demodulation unit works in a state matched with the first working frequency or the second working frequency, and forms a flag value to be output according to the transmission data;

and judging whether the flag value is matched with the signal generation data or not, and forming a current delay value of the transmission unit according to the flag value in a state that the flag value is matched with the signal generation data.

6. The transmission-based testing method of claim 5, further comprising:

and forming a flag value and signal generation data according to the transmission data to form a delay instruction output under the condition that the flag value does not match the signal generation data.

7. The transmission-device-based test method according to claim 6, wherein the delay command is formed by:

N=(T1-T0)/2

wherein N is the delay instruction;

T1forming a flag value for the transmission data;

T0data is generated for the signal.

8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a transmission-based testing method according to any one of claims 1 to 7.

9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements a transmission-based test method according to any of claims 1-7 when executing the computer program.

Technical Field

The invention relates to the technical field of communication transmission, in particular to a test system, a test method, a computer readable storage medium and electronic equipment based on a transmission device.

Background

The communication device is an instrument with transceiving performance; when receiving a signal, the signal can be correctly demodulated only if the signal is received within a certain time error due to protocol requirements and hardware parameters of the equipment, which is also an expression of strong and weak receiving performance of the communication equipment; the existing communication equipment usually does not set a time delay value, and only takes a value in a theoretical stage as a set value, so that some signals of the communication equipment are lost in a normal use process, and the communication quality of the communication equipment is reduced.

Disclosure of Invention

Technical solution in view of the above technical features, the present invention provides a test system, a method, a computer readable storage medium and an electronic device based on a transmission device.

In one aspect, the present invention provides a test system based on a transmission device, wherein: comprises the steps of (a) preparing a mixture of a plurality of raw materials,

the signal forming unit is used for forming signal generation data matched with a signal generation instruction in a state of receiving the signal generation instruction;

the transmission unit is used for controlling the transmission unit to work in a state matched with a transmission instruction in the state of receiving the transmission instruction, and outputting the received signal generation data;

the demodulation unit is used for controlling the demodulation unit to work in a state matched with a driving instruction under the state of receiving the driving instruction, receiving the signal generation data output by the transmission unit, demodulating the signal generation and forming a mark value for output;

and the control unit is used for forming the signal generation instruction, the transmission instruction and the driving instruction according to an external input instruction and forming a delay instruction output according to the mark value and the signal generation data.

Preferably, the test system based on the transmission device is as follows: the signal generation command includes first control frequency data.

Preferably, the test system based on the transmission device is as follows: the transmission command includes first control frequency data, and the second control frequency data matches the first control frequency data.

Preferably, the test system based on the transmission device is as follows: the forming method of the delay instruction comprises the following steps:

N=(T1-T0)/2

wherein N is the delay instruction;

t1 forming a flag value for the transmission data;

t0 is the signal generation data.

In another aspect, the present invention provides a testing method based on a transmission device, wherein any one of the above-mentioned testing systems based on a transmission device is characterized in that: comprises the steps of (a) preparing a mixture of a plurality of raw materials,

forming a signal generation instruction, a transmission instruction and a driving instruction according to an external input instruction in a state of receiving the external input instruction; the signal generation instruction comprises a first working frequency, the transmission instruction comprises a second working frequency, and the first working frequency is matched with the second working frequency;

the signal forming unit forms signal generation data of a first working frequency under the action of the signal generation instruction and outputs the signal generation data to the transmission unit;

under the action of a transmission instruction, the transmission unit works in a second power frequency state, receives the signal generation data, forms transmission data according to the signal generation data, and outputs the transmission data to the demodulation unit;

under the action of the driving instruction, the demodulation unit works in a state matched with the first working frequency or the second working frequency, and forms a flag value to be output according to the transmission data;

and forming a mark value according to the transmission data and forming a delay instruction output according to the signal generation data.

Preferably, the above testing method based on a transmission device further includes:

and forming a flag value and signal generation data according to the transmission data to form a delay instruction output under the condition that the flag value does not match the signal generation data.

Preferably, in the above test method based on a transmission device, the method for forming the delay command includes:

N=(T1-T0)/2

wherein N is the delay instruction;

T1forming a flag value for the transmission data;

T0data is generated for the signal.

In another aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements any one of the above-mentioned methods for testing a transmission device.

Finally, the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the above-mentioned transmission device-based test methods when executing the computer program.

Compared with the prior art, the invention has the advantages that:

a test system based on a transmission device does not need manual intervention, and meanwhile, a time delay instruction (a mark value) of each test does not need to be written into a corresponding transmission unit. When the radio frequency unit obtains a better delay value state, higher transmission quality can be obtained in the using process

Drawings

Fig. 1 is a schematic structural diagram of a test system based on a transmission device according to an embodiment of the present invention;

fig. 2 is a schematic flow chart of a testing method based on a transmission device according to an embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

As shown in fig. 1, in one aspect, the present invention provides a test system based on a transmission device, wherein: comprises the steps of (a) preparing a mixture of a plurality of raw materials,

the signal forming unit is used for forming signal generation data matched with a signal generation instruction in a state of receiving the signal generation instruction; the signal generation command includes first control frequency data, typically signal generation data having an amplitude of-50 dbm. The signal generation instruction generally includes two types of signal generation instructions, one type is an initial signal generation instruction, and the other type is a signal generation instruction formed after a delay instruction is loaded. And in the first test, the signal generation instruction is an initial signal generation instruction, and after the first test, the signal generation instruction is a signal generation instruction loaded with a delay instruction. The signal generation instruction loaded with the delay instruction can delay the signal generation data so as to reduce the receiving delay of the transmission unit.

The transmission unit is used for controlling the transmission unit to work in a state matched with a transmission instruction in the state of receiving the transmission instruction, and outputting the received signal generation data; the state matched with the transmission instruction is a receiving mode or a receiving state, the transmission instruction comprises a second working frequency, and the first working frequency is matched with the second working frequency; and the transmission unit receives the signal generation data in the state that the first working frequency is matched with the second working frequency.

The transmission unit can be a radio frequency unit, an electronic matrix switch is arranged in the radio frequency unit, a control instruction of the electronic matrix switch is formed in the transmission instruction, and the working state in the radio frequency unit can be understood through the on-off of the electronic matrix switch according to the transmission instruction.

The demodulation unit is used for controlling the demodulation unit to work in a state matched with a driving instruction under the state of receiving the driving instruction, receiving the signal generation data output by the transmission unit, demodulating the signal generation and forming a mark value for output;

and the control unit is used for forming the signal generation instruction, the transmission instruction and the driving instruction according to an external input instruction and forming a delay instruction output according to the mark value and the signal generation data. And forming a signal generation instruction according to the delay instruction. The test is terminated until the delay between the flag value and the signal occurrence data is within 5 ns. And forms a delay value for the transmission unit based on the last flag value.

As a further preferred embodiment, the above-mentioned test system based on a transmission device, wherein: the forming method of the delay instruction comprises the following steps:

N=(T1-T0)/2

wherein N is the delay instruction;

t1 forming a flag value for the transmission data;

t0 is the signal generation data.

When T is1-T0In the case where the result of (3) is not more than 5ns, the test is ended. And with the current T1And making a delay reference value of the transmission unit.

A test system based on a transmission device does not need manual intervention, and meanwhile, a time delay instruction (a mark value) of each test does not need to be written into a corresponding transmission unit. When the radio frequency unit obtains a better delay value state, higher transmission quality can be obtained in the using process.

Example two

As shown in fig. 2, in another aspect, the present invention provides a testing method based on a transmission device, wherein any one of the above-mentioned testing systems based on a transmission device is characterized in that: comprises the steps of (a) preparing a mixture of a plurality of raw materials,

step S110, forming a signal generation instruction, a transmission instruction and a driving instruction according to an external input instruction in a state of receiving the external input instruction; the signal generation instruction comprises a first working frequency, the transmission instruction comprises a second working frequency, and the first working frequency is matched with the second working frequency;

step S120, forming signal generation data of a first working frequency by the signal forming unit under the action of the signal generation instruction and outputting the signal generation data to the transmission unit;

step S130, under the action of a transmission instruction, the transmission unit works in a second power frequency state, receives the signal generation data, forms transmission data according to the signal generation data, and outputs the transmission data to a demodulation unit;

step S140, under the action of the driving command, the demodulation unit works in a state of matching with the first operating frequency or the second operating frequency, and forms a flag value according to the transmission data to output;

step S150, judging whether the flag value is matched with the signal generation data;

step S160, in a state that the flag value matches the signal generation data, forming a current delay value of the transmission unit according to the flag value; and when the difference between the flag value and the signal generation data is not more than 5ns, judging that the flag value is matched with the signal generation data.

Step S170, forming a flag value and signal generation data according to the transmission data to form a delay instruction output in a state that the flag value does not match the signal generation data, and forming a signal generation instruction according to the delay instruction.

Further, the method for forming the delay instruction comprises the following steps:

N=(T1-T0)/2

wherein N is the delay instruction;

T1forming a flag value for the transmission data;

T0data is generated for the signal.

The transmission device-based test method can be formed by adopting python language, the transmission device-based test system formed by the python language does not need manual intervention, meanwhile, a time delay instruction (mark value) of each test does not need to be written into a corresponding transmission unit, and a better time delay value can be set for any radio frequency unit by the method. When the radio frequency unit obtains a better delay value state, higher transmission quality can be obtained in the using process.

In another aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements any one of the above-mentioned methods for testing a transmission device.

Finally, the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the above-mentioned transmission device-based test methods when executing the computer program.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.

Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种PCM-DPSK-FM安控接收机指标测试方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!