CN111447027A - Link time delay calibration method, device, storage medium, terminal device and system - Google Patents

Link time delay calibration method, device, storage medium, terminal device and system Download PDF

Info

Publication number
CN111447027A
CN111447027A CN202010096098.0A CN202010096098A CN111447027A CN 111447027 A CN111447027 A CN 111447027A CN 202010096098 A CN202010096098 A CN 202010096098A CN 111447027 A CN111447027 A CN 111447027A
Authority
CN
China
Prior art keywords
link
equipment
tested
links
csi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010096098.0A
Other languages
Chinese (zh)
Inventor
陈永佑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN202010096098.0A priority Critical patent/CN111447027A/en
Publication of CN111447027A publication Critical patent/CN111447027A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/10Position of receiver fixed by co-ordinating a plurality of position lines defined by path-difference measurements, e.g. omega or decca systems

Abstract

The invention discloses a method, a device, a storage medium, a terminal device and a system for calibrating link time delay, comprising the following steps: controlling the equipment to be tested to send a test data packet to the reference equipment; the device to be tested is connected with the reference device through a plurality of links in a one-to-one correspondence mode; acquiring CSI data of a plurality of links of equipment to be tested through time delay test equipment; the CSI data is correspondingly obtained by the time delay test equipment according to the test data packet received by the reference equipment; the CSI data at least comprises CSI phase information; acquiring link time delay data of the equipment to be tested according to the CSI phase information of the links of the equipment to be tested and the pre-acquired CSI phase information of the links of the reference equipment; and performing time delay calibration on the link of the equipment to be tested according to the link time delay data of the equipment to be tested. By adopting the technical scheme of the invention, the accurate time delay calibration of the link can be realized, the calibration time is shortened, and the calibration efficiency is improved.

Description

Link time delay calibration method, device, storage medium, terminal device and system
Technical Field
The present invention relates to the field of wireless positioning technologies, and in particular, to a method, an apparatus, a computer-readable storage medium, a terminal device, and a system for calibrating link delay.
Background
In recent years, the development of indoor positioning technology is more mature, and the wide popularization of indoor Wi-Fi makes the indoor positioning technology based on Wi-Fi widely applied, and typically there are positioning methods based on Received Signal Strength Indication (RSSI) and Channel State Information (CSI), and in an indoor environment, due to the influence of an obstacle, the RSSI generates a certain deviation and is easily affected by the interference of other signals and the indoor multipath effect, so that sufficient accuracy and reliability cannot be provided.
When a positioning method based on the CSI is specifically implemented, because there is generally an error in the acquired CSI raw data and a large influence is generated on the accuracy of the positioning result, a time delay calibration needs to be performed on a communication link, but the calibration method provided by the prior art generally cannot achieve accurate time delay calibration, and the calibration requires a long time and has low efficiency.
Disclosure of Invention
The technical problem to be solved in the embodiments of the present invention is to provide a method, an apparatus, a computer-readable storage medium, a terminal device, and a system for calibrating a link delay, which can implement accurate delay calibration of a link, shorten calibration time, and improve calibration efficiency.
In order to solve the above technical problem, an embodiment of the present invention provides a link delay calibration method, including:
controlling the equipment to be tested to send a test data packet to the reference equipment; the device to be tested comprises a plurality of links; the reference device comprises a number of links; the plurality of links of the equipment to be tested and the plurality of links of the reference equipment are sequentially connected in a one-to-one correspondence manner;
acquiring CSI data of a plurality of links of the equipment to be tested through time delay test equipment; the CSI data is correspondingly obtained by the time delay test equipment according to the test data packet received by the reference equipment; the CSI data at least comprises CSI phase information;
acquiring link time delay data of the equipment to be tested according to the CSI phase information of the links of the equipment to be tested and the pre-acquired CSI phase information of the links of the reference equipment;
and performing time delay calibration on the link of the equipment to be tested according to the link time delay data of the equipment to be tested.
Further, the method pre-acquires CSI phase information of several links of the reference device by:
controlling the reference device to send out a reference data packet;
acquiring CSI data of a plurality of links when the reference equipment sends the reference data packet through the time delay test equipment;
and obtaining CSI phase information of the plurality of links of the reference equipment according to the CSI data of the plurality of links of the reference equipment.
Further, the method further comprises:
and taking the first link of the reference equipment as a reference link, calculating the phase difference of the CSI phase information of each link of the reference equipment relative to the CSI phase information of the reference link, and correspondingly obtaining a phase difference matrix of the reference equipment.
Further, the acquiring the link delay data of the device to be tested according to the CSI phase information of the plurality of links of the device to be tested and the CSI phase information of the plurality of links of the reference device, which is acquired in advance, specifically includes:
obtaining a phase difference matrix of the equipment to be tested according to the CSI phase information of a plurality of links of the equipment to be tested;
obtaining a phase difference matrix of the reference equipment according to pre-acquired CSI phase information of a plurality of links of the reference equipment;
and performing subtraction operation according to the phase difference matrix of the equipment to be tested and the phase difference matrix of the reference equipment, and correspondingly obtaining link time delay data of the equipment to be tested.
Further, the obtaining a phase difference matrix of the device to be tested according to the CSI phase information of the plurality of links of the device to be tested specifically includes:
and taking the first link of the equipment to be tested as a reference link, calculating the phase difference of the CSI phase information of each link of the equipment to be tested relative to the CSI phase information of the reference link, and correspondingly obtaining the phase difference matrix of the equipment to be tested.
Further, the device to be tested comprises N links; the reference device comprises M links; then the process of the first step is carried out,
when N is less than or equal to M, the ith link of the device to be tested is correspondingly connected with the ith link of the reference device; wherein i is 1, 2, …, N;
when N is larger than M, the jth link of the device to be tested is correspondingly connected with the jth link of the reference device, and after the 1 st link to the mth link of the device to be tested are obtained, the M +1 st link to the nth link of the device to be tested are sequentially and correspondingly connected with the 2 nd link to the mth link of the reference device one by one until the link delay data of the N links of the device to be tested are obtained; wherein j is 1, 2, …, M.
In order to solve the above technical problem, an embodiment of the present invention further provides a link delay calibration apparatus, including:
the packet sending control module is used for controlling the equipment to be tested to send a test data packet to the reference equipment; the device to be tested comprises a plurality of links; the reference device comprises a number of links; the plurality of links of the equipment to be tested and the plurality of links of the reference equipment are sequentially connected in a one-to-one correspondence manner;
the CSI data acquisition module is used for acquiring the CSI data of a plurality of links of the equipment to be tested through the time delay test equipment; the CSI data is correspondingly obtained by the time delay test equipment according to the test data packet received by the reference equipment; the CSI data at least comprises CSI phase information;
the link delay data acquisition module is used for acquiring link delay data of the equipment to be tested according to the CSI phase information of the links of the equipment to be tested and the pre-acquired CSI phase information of the links of the reference equipment;
and the link time delay calibration module is used for carrying out time delay calibration on the link of the equipment to be tested according to the link time delay data of the equipment to be tested.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program, when running, controls the device on which the computer-readable storage medium is located to execute any one of the above-mentioned link delay calibration methods.
An embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements any one of the above-mentioned link delay calibration methods when executing the computer program.
The embodiment of the invention also provides a link time delay calibration system, which comprises equipment to be tested, reference equipment, time delay test equipment and the terminal equipment; wherein the content of the first and second substances,
the device to be tested is used for being connected and communicated with the reference device through a radio frequency coaxial cable;
the time delay test equipment is used for being connected and communicated with the reference equipment through a radio frequency coaxial cable;
the terminal device is used for being connected and communicated with the device to be tested, the reference device and the time delay test device through a network cable or a serial port line, and the terminal device is used for realizing the link time delay calibration method.
Compared with the prior art, the embodiment of the invention provides a method, a device, a computer readable storage medium, a terminal device and a system for calibrating the link time delay, a plurality of links of a device to be tested and a plurality of links of a reference device are sequentially connected in a one-to-one correspondence manner, the device to be tested is controlled to send a test data packet to the reference device, the CSI phase information in the CSI data of a plurality of links of the device to be tested is obtained through the time delay test device, acquiring link time delay data of the device to be tested according to the CSI phase information of the links of the device to be tested and the pre-acquired CSI phase information of the links of the reference device, therefore, the time delay calibration is carried out on the link of the equipment to be tested according to the link time delay data of the equipment to be tested, the accurate time delay calibration of the link time delay of the equipment to be tested can be realized, the calibration time can be shortened, and the calibration efficiency is improved.
Drawings
Fig. 1 is a schematic structural diagram of a preferred embodiment of a link delay calibration system provided in the present invention;
fig. 2 is a flowchart of a preferred embodiment of a link delay calibration method provided in the present invention;
fig. 3 is a block diagram of a preferred embodiment of a link delay calibration apparatus provided in the present invention;
fig. 4 is a block diagram of a preferred embodiment of a terminal device provided in 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 any inventive step, are within the scope of the present invention.
An embodiment of the present invention provides a link delay calibration system, which is shown in fig. 1 and is a schematic structural diagram of a preferred embodiment of the link delay calibration system provided by the present invention, where the system includes a device to be tested, a reference device, a delay test device, and a terminal device described in the following embodiments; wherein the content of the first and second substances,
the device to be tested is used for being connected and communicated with the reference device through a radio frequency coaxial cable;
the time delay test equipment is used for being connected and communicated with the reference equipment through a radio frequency coaxial cable;
the terminal device is configured to be connected and communicated with the device to be tested, the reference device, and the delay test device through a network cable or a serial port line, and the terminal device is configured to implement the link delay calibration method according to any one of the following embodiments.
Specifically, in order to perform time delay calibration on the link time delay of the device to be tested, a system topology as shown in fig. 1 may be set up, the device to be tested may be connected and communicated with the reference device through a radio frequency coaxial cable, the time delay test device may be connected and communicated with the reference device through a radio frequency coaxial cable, the terminal device may be connected and communicated with the device to be tested, the reference device, and the time delay test device through a control line (e.g., a network cable or a serial port line), respectively, and the control line is used to transmit an instruction and transmission data sent by the terminal device.
In an actual calibration process, a terminal device first sends an instruction to a device to be tested through a control line to control the device to be tested to send a test data packet to a reference device (or controls the device to be tested to send the test data packet to the reference device in a running rate manner), because a plurality of links of the device to be tested are sequentially connected with a plurality of links of the reference device in a one-to-one correspondence manner (for example, the 1 st link of the device to be tested is correspondingly connected with the 1 st link of the reference device, the 2 nd link of the device to be tested is correspondingly connected with the 2 nd link of the reference device, …, the nth link of the device to be tested is correspondingly connected with the nth link of the reference device), the delay test device can correspondingly obtain CSI data of a plurality of links of the device to be tested through the reference device when the reference device receives the test data packet sent by the device to be tested, and correspondingly obtain CSI phase information contained in, the terminal device collects the CSI phase information of the links of the device to be tested, which is obtained by the time delay test device, through the control line, and correspondingly obtains the link time delay data of the device to be tested according to the collected CSI phase information of the links of the device to be tested and the CSI phase information of the links of the reference device, which is obtained in advance, so that the time delay calibration is carried out on the link time delay of the device to be tested according to the obtained link time delay data of the device to be tested.
It will be appreciated that the schematic diagram of fig. 1 is merely illustrative of the above-described system and is not intended to be limiting, and that the system may include more or less components than those shown, or some components in combination.
An embodiment of the present invention provides a link delay calibration method, and as shown in fig. 2, is a flowchart of a preferred embodiment of the link delay calibration method provided by the present invention, where the method is executed by a terminal device in the foregoing embodiment, and the method includes steps S11 to S14:
step S11, controlling the device to be tested to send a test data packet to the reference device; the device to be tested comprises a plurality of links; the reference device comprises a number of links; the plurality of links of the equipment to be tested and the plurality of links of the reference equipment are sequentially connected in a one-to-one correspondence manner;
step S12, acquiring CSI data of a plurality of links of the equipment to be tested through the time delay test equipment; the CSI data is correspondingly obtained by the time delay test equipment according to the test data packet received by the reference equipment; the CSI data at least comprises CSI phase information;
step S13, acquiring link time delay data of the equipment to be tested according to the CSI phase information of the links of the equipment to be tested and the pre-acquired CSI phase information of the links of the reference equipment;
and step S14, performing time delay calibration on the link of the equipment to be tested according to the link time delay data of the equipment to be tested.
Specifically, the device to be tested comprises a plurality of links, the reference device comprises a plurality of links, all the links of the device to be tested and all the links of the reference device are numbered according to the same rule, the links of the device to be tested and the links of the reference device are sequentially connected in a one-to-one correspondence manner, and the links with the same number are connected together; in the actual calibration process, the terminal device controls the device to be tested to send a test data packet to the reference device, the time delay test device can correspondingly obtain CSI data of a plurality of links of the device to be tested when the reference device receives the test data packet sent by the device to be tested, the terminal device correspondingly obtains CSI phase information contained in the CSI data of the plurality of links of the device to be tested through the time delay test device, correspondingly obtaining link time delay data of the equipment to be tested according to the obtained CSI phase information of the links of the equipment to be tested and the pre-obtained CSI phase information of the links of the reference equipment, so as to carry out time delay calibration on the link time delay of the equipment to be tested according to the obtained link time delay data of the equipment to be tested, for example, the obtained link delay data of the device under test is written into a calibration data memory of the device under test.
It should be noted that the CSI phase information of the multiple links of the reference device may be obtained by the delay test device correspondingly when the reference device sends a data packet, and the terminal device may obtain the CSI phase information of the multiple links of the reference device in advance by the delay test device, and store the CSI phase information of the multiple links of the reference device in the storage medium of the terminal device for subsequent use.
In addition, the device to be tested and the reference device may be any wireless device capable of realizing data transmission in the OFDM mode, and the delay test device may be any wireless device capable of realizing an inherent phase statistical function in the OFDM protocol.
According to the link time delay calibration method provided by the embodiment of the invention, the link time delay data of the equipment to be tested is correspondingly obtained through the CSI phase information of the link of the equipment to be tested and the CSI phase information of the link of the reference equipment, and the link time delay data is used as the link time delay calibration data to calibrate the link time delay of the equipment to be tested, so that the accurate time delay calibration of the link time delay of the equipment to be tested can be realized.
In another preferred embodiment, the method pre-acquires CSI phase information of several links of the reference device by:
controlling the reference device to send out a reference data packet;
acquiring CSI data of a plurality of links when the reference equipment sends the reference data packet through the time delay test equipment;
and obtaining CSI phase information of the plurality of links of the reference equipment according to the CSI data of the plurality of links of the reference equipment.
Specifically, with reference to the above embodiment, when acquiring CSI phase information of a plurality of links of the reference device in advance, the terminal device first controls the reference device to send out the reference data packet, and since the delay test device can correspondingly obtain CSI data of the plurality of links of the reference device when the reference device sends out the reference data packet, the terminal device can correspondingly obtain CSI data of the plurality of links of the reference device through the delay test device, and correspondingly obtain CSI phase information of the plurality of links of the reference device included in the CSI data of the plurality of links of the reference device.
As an improvement of the above, the method further comprises:
and taking the first link of the reference equipment as a reference link, calculating the phase difference of the CSI phase information of each link of the reference equipment relative to the CSI phase information of the reference link, and correspondingly obtaining a phase difference matrix of the reference equipment.
Specifically, with reference to the foregoing embodiment, after obtaining the CSI phase information of the multiple links of the reference device, the terminal device may obtain the phase difference matrix of the reference device in advance according to the CSI phase information of the multiple links of the reference device, for example, with a first link of the reference device as a reference link, calculate a phase difference of the CSI phase information of each link of the reference device relative to the CSI phase information of the reference link, so as to obtain the phase difference matrix of the reference device, in order to facilitate calibration of the link delay of the device to be tested subsequently.
It can be understood that, in the embodiment of the present invention, a specific method for obtaining a phase difference matrix of a reference device is described by taking a first link of the reference device as an example, and a phase difference matrix may also be calculated by taking any other link of the reference device as a reference link, which is not limited in the embodiment of the present invention.
In another preferred embodiment, the obtaining link delay data of the device under test according to the CSI phase information of the plurality of links of the device under test and the CSI phase information of the plurality of links of the reference device obtained in advance specifically includes:
obtaining a phase difference matrix of the equipment to be tested according to the CSI phase information of a plurality of links of the equipment to be tested;
obtaining a phase difference matrix of the reference equipment according to pre-acquired CSI phase information of a plurality of links of the reference equipment;
and performing subtraction operation according to the phase difference matrix of the equipment to be tested and the phase difference matrix of the reference equipment, and correspondingly obtaining link time delay data of the equipment to be tested.
Specifically, with reference to the above embodiment, after acquiring the CSI phase information of the plurality of links of the device to be measured and the CSI phase information of the plurality of links of the reference device, the terminal device first obtains the phase difference matrix of the device to be measured by corresponding calculation according to the CSI phase information of the plurality of links of the device to be measured, obtains the phase difference matrix of the reference device by corresponding calculation according to the CSI phase information of the plurality of links of the reference device, and then performs subtraction operation according to the obtained phase difference matrix of the device to be measured and the obtained phase difference matrix of the reference device, thereby obtaining the link delay data of the device to be measured correspondingly.
It can be understood that, if the phase difference matrix of the reference device is obtained in advance and stored in the storage medium of the terminal device, the terminal device does not need to calculate the phase difference matrix of the reference device again, and only needs to directly obtain the phase difference matrix from the storage medium when the embodiment of the present invention is implemented specifically.
As an improvement of the above scheme, the obtaining a phase difference matrix of the device to be tested according to CSI phase information of a plurality of links of the device to be tested specifically includes:
and taking the first link of the equipment to be tested as a reference link, calculating the phase difference of the CSI phase information of each link of the equipment to be tested relative to the CSI phase information of the reference link, and correspondingly obtaining the phase difference matrix of the equipment to be tested.
Specifically, with reference to the above embodiment, when the terminal device obtains the phase difference matrix of the device to be tested according to the CSI phase information of the multiple links of the device to be tested, the terminal device may use the first link of the device to be tested as a reference link to calculate the phase difference of the CSI phase information of each link of the device to be tested with respect to the CSI phase information of the reference link, so as to obtain the phase difference matrix of the device to be tested.
It should be noted that, because the terminal device performs subtraction according to the phase difference matrix of the device to be measured and the phase difference matrix of the reference device, link delay data of the device to be measured is correspondingly obtained, and the plurality of links of the device to be measured and the plurality of links of the reference device are sequentially connected in a one-to-one correspondence manner, when the phase difference matrix of the device to be measured and the phase difference matrix of the reference device are calculated, the selected reference links should be the same correspondingly, for example, the phase difference matrix of the reference device uses the first link of the reference device as the reference link, and the phase difference matrix of the device to be measured also needs to use the first link of the device to be measured as the reference link.
In yet another preferred embodiment, the device under test includes N links; the reference device comprises M links; then the process of the first step is carried out,
when N is less than or equal to M, the ith link of the device to be tested is correspondingly connected with the ith link of the reference device; wherein i is 1, 2, …, N;
when N is larger than M, the jth link of the device to be tested is correspondingly connected with the jth link of the reference device, and after the 1 st link to the mth link of the device to be tested are obtained, the M +1 st link to the nth link of the device to be tested are sequentially and correspondingly connected with the 2 nd link to the mth link of the reference device one by one until the link delay data of the N links of the device to be tested are obtained; wherein j is 1, 2, …, M.
Specifically, with reference to the above embodiments, in the embodiments of the present invention, it is necessary to connect a plurality of links of a device to be tested and a plurality of links of the reference device in a one-to-one correspondence manner in sequence, and since the number of links of the device to be tested and the number of links of the reference device are not fixed, it cannot be guaranteed that the number of links of the device to be tested and the number of links of the reference device are exactly the same, assuming that the device to be tested includes N links and the reference device includes M links, when N is equal to or less than M (as shown in fig. 1), it is described that the number of links of the device to be tested is not greater than the number of links of the reference device, it is possible to implement that each link of the device to be tested and the link of the reference device are connected in a one-to-one correspondence manner in sequence, that i (i is 1, 2, …, N) links of the, the link time delay calibration of all links of the equipment to be tested can be realized; when N > M, it is described that the number of links of the device under test is greater than the number of links of the reference device, and it is impossible to just connect each link of the device under test to the link of the reference device one by one, at this time, the j (j ═ 1, 2, …, M) th link of the device under test to the j th link of the reference device, the terminal device executes step S11 to step S14, correspondingly obtains link delay data of the 1 st link to the M th link of the device under test, then switches the link connection relationship, because the first link is used as the reference link, the connection relationship of the first link remains unchanged, the M +1 th link to the N (assuming that N <2M) th link of the device under test is connected to the 2 nd link to the M th link of the reference device one by one, at this time, the terminal device repeatedly executes step S11 to step S14, correspondingly obtaining the link delay data of the M +1 th link to the Nth link of the equipment to be tested, and so on until obtaining the link delay data of the N links of the equipment to be tested.
It should be noted that, in order to further shorten the calibration time of the device to be tested, the device whose link number is greater than that of the device to be tested may be selected as the reference device as much as possible, so that the terminal device only needs to execute step S11 to step S14 once to quickly calibrate the link delay of the device to be tested.
The embodiment of the present invention further provides a link delay calibration apparatus, which can implement all the processes of the link delay calibration method described in any of the above embodiments, and the functions and implemented technical effects of each module and unit in the apparatus are respectively the same as those of the link delay calibration method described in the above embodiment, and are not described herein again.
Referring to fig. 3, fig. 3 is a block diagram of a preferred embodiment of a link delay calibration apparatus provided in the present invention, where the apparatus is disposed in a terminal device described in the foregoing embodiment, and the apparatus includes:
the packet sending control module 11 is used for controlling the device to be tested to send a test data packet to the reference device; the device to be tested comprises a plurality of links; the reference device comprises a number of links; the plurality of links of the equipment to be tested and the plurality of links of the reference equipment are sequentially connected in a one-to-one correspondence manner;
a CSI data obtaining module 12, configured to obtain, through a delay test device, CSI data of a plurality of links of the device to be tested; the CSI data is correspondingly obtained by the time delay test equipment according to the test data packet received by the reference equipment; the CSI data at least comprises CSI phase information;
a link delay data obtaining module 13, configured to obtain link delay data of the device to be tested according to CSI phase information of the multiple links of the device to be tested and CSI phase information of the multiple links of the reference device, which is obtained in advance;
and the link time delay calibration module 14 is configured to perform time delay calibration on the link of the device to be tested according to the link time delay data of the device to be tested.
Preferably, the packet sending control module 11 is further configured to control the reference device to send out a reference data packet;
the CSI data obtaining module 12 is further configured to obtain, through the delay test device, CSI data of a plurality of links when the reference device sends the reference data packet;
the CSI data obtaining module 12 is further configured to obtain CSI phase information of the links of the reference device according to CSI data of the links of the reference device.
Preferably, the apparatus further comprises:
and the phase difference matrix acquisition module is used for calculating the phase difference of the CSI phase information of each link of the reference equipment relative to the CSI phase information of the reference link by taking the first link of the reference equipment as a reference link, and correspondingly acquiring the phase difference matrix of the reference equipment.
Preferably, the link delay data obtaining module 13 specifically includes:
the first phase difference matrix acquisition unit is used for acquiring the phase difference matrix of the equipment to be tested according to the CSI phase information of a plurality of links of the equipment to be tested;
the second phase difference matrix obtaining unit is used for obtaining a phase difference matrix of the reference equipment according to the pre-obtained CSI phase information of a plurality of links of the reference equipment;
and the link delay data acquisition unit is used for carrying out subtraction operation according to the phase difference matrix of the equipment to be tested and the phase difference matrix of the reference equipment so as to correspondingly acquire the link delay data of the equipment to be tested.
Preferably, the first phase difference matrix obtaining unit is specifically configured to:
and taking the first link of the equipment to be tested as a reference link, calculating the phase difference of the CSI phase information of each link of the equipment to be tested relative to the CSI phase information of the reference link, and correspondingly obtaining the phase difference matrix of the equipment to be tested.
Preferably, the device under test includes N links; the reference device comprises M links; then the process of the first step is carried out,
when N is less than or equal to M, the ith link of the device to be tested is correspondingly connected with the ith link of the reference device; wherein i is 1, 2, …, N;
when N is larger than M, the jth link of the device to be tested is correspondingly connected with the jth link of the reference device, and after the 1 st link to the mth link of the device to be tested are obtained, the M +1 st link to the nth link of the device to be tested are sequentially and correspondingly connected with the 2 nd link to the mth link of the reference device one by one until the link delay data of the N links of the device to be tested are obtained; wherein j is 1, 2, …, M.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program, when running, controls the device on which the computer-readable storage medium is located to execute the link delay calibration method according to any of the above embodiments.
An embodiment of the present invention further provides a terminal device, as shown in fig. 4, which is a block diagram of a preferred embodiment of the terminal device provided in the present invention, where the terminal device includes a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, and when the computer program is executed, the processor 10 implements the link delay calibration method according to any of the embodiments.
Preferably, the computer program may be divided into one or more modules/units (e.g., computer program 1, computer program 2, … …) that are stored in the memory 20 and executed by the processor 10 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal device.
The Processor 10 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, etc., the general purpose Processor may be a microprocessor, or the Processor 10 may be any conventional Processor, the Processor 10 is a control center of the terminal device, and various interfaces and lines are used to connect various parts of the terminal device.
The memory 20 mainly includes a program storage area that may store an operating system, an application program required for at least one function, and the like, and a data storage area that may store related data and the like. In addition, the memory 20 may be a high speed random access memory, may also be a non-volatile memory, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), and the like, or the memory 20 may also be other volatile solid state memory devices.
It should be noted that the terminal device may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the structural block diagram of fig. 4 is only an example of the terminal device and does not constitute a limitation to the terminal device, and may include more or less components than those shown, or combine some components, or different components.
To sum up, according to the link delay calibration method, apparatus, computer-readable storage medium, terminal device and system provided by the embodiments of the present invention, link delay data of a device to be tested is correspondingly obtained through CSI phase information of a link of the device to be tested and CSI phase information of a link of a reference device, and the link delay data is used as the link delay calibration data to calibrate the link delay of the device to be tested, so that accurate delay calibration of the link delay of the device to be tested can be achieved.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for calibrating a link delay, comprising:
controlling the equipment to be tested to send a test data packet to the reference equipment; the device to be tested comprises a plurality of links; the reference device comprises a number of links; the plurality of links of the equipment to be tested and the plurality of links of the reference equipment are sequentially connected in a one-to-one correspondence manner;
acquiring CSI data of a plurality of links of the equipment to be tested through time delay test equipment; the CSI data is correspondingly obtained by the time delay test equipment according to the test data packet received by the reference equipment; the CSI data at least comprises CSI phase information;
acquiring link time delay data of the equipment to be tested according to the CSI phase information of the links of the equipment to be tested and the pre-acquired CSI phase information of the links of the reference equipment;
and performing time delay calibration on the link of the equipment to be tested according to the link time delay data of the equipment to be tested.
2. The link delay calibration method of claim 1, wherein the method pre-acquires CSI phase information for several links of the reference device by:
controlling the reference device to send out a reference data packet;
acquiring CSI data of a plurality of links when the reference equipment sends the reference data packet through the time delay test equipment;
and obtaining CSI phase information of the plurality of links of the reference equipment according to the CSI data of the plurality of links of the reference equipment.
3. The link delay calibration method of claim 2, wherein the method further comprises:
and taking the first link of the reference equipment as a reference link, calculating the phase difference of the CSI phase information of each link of the reference equipment relative to the CSI phase information of the reference link, and correspondingly obtaining a phase difference matrix of the reference equipment.
4. The method for calibrating link delay according to claim 1, wherein the obtaining link delay data of the device under test according to CSI phase information of a plurality of links of the device under test and CSI phase information of a plurality of links of the reference device obtained in advance specifically includes:
obtaining a phase difference matrix of the equipment to be tested according to the CSI phase information of a plurality of links of the equipment to be tested;
obtaining a phase difference matrix of the reference equipment according to pre-acquired CSI phase information of a plurality of links of the reference equipment;
and performing subtraction operation according to the phase difference matrix of the equipment to be tested and the phase difference matrix of the reference equipment, and correspondingly obtaining link time delay data of the equipment to be tested.
5. The method for calibrating link delay according to claim 4, wherein the obtaining the phase difference matrix of the device under test according to the CSI phase information of the plurality of links of the device under test specifically comprises:
and taking the first link of the equipment to be tested as a reference link, calculating the phase difference of the CSI phase information of each link of the equipment to be tested relative to the CSI phase information of the reference link, and correspondingly obtaining the phase difference matrix of the equipment to be tested.
6. The method for calibrating the link delay according to any one of claims 1 to 5, wherein the device under test comprises N links; the reference device comprises M links; then the process of the first step is carried out,
when N is less than or equal to M, the ith link of the device to be tested is correspondingly connected with the ith link of the reference device; wherein i is 1, 2, N;
when N is larger than M, the jth link of the device to be tested is correspondingly connected with the jth link of the reference device, and after the 1 st link to the mth link of the device to be tested are obtained, the M +1 st link to the nth link of the device to be tested are sequentially and correspondingly connected with the 2 nd link to the mth link of the reference device one by one until the link delay data of the N links of the device to be tested are obtained; wherein j is 1, 2, M.
7. A link delay calibration apparatus, comprising:
the packet sending control module is used for controlling the equipment to be tested to send a test data packet to the reference equipment; the device to be tested comprises a plurality of links; the reference device comprises a number of links; the plurality of links of the equipment to be tested and the plurality of links of the reference equipment are sequentially connected in a one-to-one correspondence manner;
the CSI data acquisition module is used for acquiring the CSI data of a plurality of links of the equipment to be tested through the time delay test equipment; the CSI data is correspondingly obtained by the time delay test equipment according to the test data packet received by the reference equipment; the CSI data at least comprises CSI phase information;
the link delay data acquisition module is used for acquiring link delay data of the equipment to be tested according to the CSI phase information of the links of the equipment to be tested and the pre-acquired CSI phase information of the links of the reference equipment;
and the link time delay calibration module is used for carrying out time delay calibration on the link of the equipment to be tested according to the link time delay data of the equipment to be tested.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the link delay calibration method according to any one of claims 1 to 6.
9. A terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor when executing the computer program implementing the link delay calibration method according to any one of claims 1 to 6.
10. A link delay calibration system comprising a device under test, a reference device, a delay test device and a terminal device according to claim 9; wherein the content of the first and second substances,
the device to be tested is used for being connected and communicated with the reference device through a radio frequency coaxial cable;
the time delay test equipment is used for being connected and communicated with the reference equipment through a radio frequency coaxial cable;
the terminal device is used for being connected and communicated with the device to be tested, the reference device and the time delay test device through a network cable or a serial port line, and the terminal device is used for realizing the link time delay calibration method as claimed in any one of claims 1 to 6.
CN202010096098.0A 2020-02-17 2020-02-17 Link time delay calibration method, device, storage medium, terminal device and system Pending CN111447027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010096098.0A CN111447027A (en) 2020-02-17 2020-02-17 Link time delay calibration method, device, storage medium, terminal device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010096098.0A CN111447027A (en) 2020-02-17 2020-02-17 Link time delay calibration method, device, storage medium, terminal device and system

Publications (1)

Publication Number Publication Date
CN111447027A true CN111447027A (en) 2020-07-24

Family

ID=71648876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010096098.0A Pending CN111447027A (en) 2020-02-17 2020-02-17 Link time delay calibration method, device, storage medium, terminal device and system

Country Status (1)

Country Link
CN (1) CN111447027A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465466A (en) * 2016-06-06 2017-12-12 中国移动通信有限公司研究院 A kind of detection method and device of antenna calibration
CN108650628A (en) * 2018-03-24 2018-10-12 西安电子科技大学 The indoor orientation method that ranging and fingerprint based on Wi-Fi network are combined
CN110736963A (en) * 2019-10-21 2020-01-31 普联技术有限公司 indoor Wi-Fi positioning method, device and storage medium based on CSI
CN110740004A (en) * 2019-10-28 2020-01-31 北京邮电大学 Target state determination method and device, electronic equipment and readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465466A (en) * 2016-06-06 2017-12-12 中国移动通信有限公司研究院 A kind of detection method and device of antenna calibration
CN108650628A (en) * 2018-03-24 2018-10-12 西安电子科技大学 The indoor orientation method that ranging and fingerprint based on Wi-Fi network are combined
CN110736963A (en) * 2019-10-21 2020-01-31 普联技术有限公司 indoor Wi-Fi positioning method, device and storage medium based on CSI
CN110740004A (en) * 2019-10-28 2020-01-31 北京邮电大学 Target state determination method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN111314945B (en) Test method, system and terminal equipment
TWI465073B (en) System and method for using multiple network addresses to establish synchronization of a device under test and test equipment controlling the test
JP2021524721A (en) Antenna calibration method and equipment
WO2012030491A2 (en) Method for testing wireless devices using predefined test segments initiated by over-the-air signal characteristics
CN103188022A (en) Antenna correlation testing method and system
CN114521012B (en) Positioning method, positioning device, terminal equipment, base station and position management server
US20180139634A1 (en) Method and apparatus for probing fronthaul topology
CN110601915A (en) Method and device for testing gateway device
JP2018533270A (en) Method for testing a low power radio frequency (RF) data packet signal transceiver
US11696159B2 (en) Method, apparatus, and non-transitory computer readable medium for testing terminals
CN110831049A (en) Network performance testing method and device
US9319298B2 (en) System and method for data packet transceiver testing after signal calibration and power settling to minimize test time
CN112988489A (en) Method, device, equipment and storage medium for testing radio frequency chip
CN111447027A (en) Link time delay calibration method, device, storage medium, terminal device and system
CN102123422B (en) Method and equipment for detecting fault in communication channel
US20180288633A1 (en) Method for testing a radio communication device to be tested of a gateway in a set of gateways
KR101473144B1 (en) Semiconductor test method and system based on controller area network
CN112422205B (en) Method and device for calibrating SRS radio frequency transmission channel, electronic equipment and storage medium
CN115834432A (en) Data link detection method, device, equipment and storage medium
CN111224723B (en) Calibration method and system of radio frequency front-end module, electronic equipment and storage medium
CN114063029A (en) Method and system for detecting radar performance, computer device and readable storage medium
US20210157696A1 (en) Radio frequency test and measurement device, system and method
KR101989340B1 (en) Data link layer test method and system of CAN communication
CN111464280B (en) Multipath signal processing system, method and device
CN109981394B (en) Communication method and device based on enhanced CAN bus protocol analyzer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20230120

AD01 Patent right deemed abandoned