CN115348201B - Calibration scheduling method and related device - Google Patents

Calibration scheduling method and related device Download PDF

Info

Publication number
CN115348201B
CN115348201B CN202210960660.9A CN202210960660A CN115348201B CN 115348201 B CN115348201 B CN 115348201B CN 202210960660 A CN202210960660 A CN 202210960660A CN 115348201 B CN115348201 B CN 115348201B
Authority
CN
China
Prior art keywords
calibration
target
state
slot
dut
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210960660.9A
Other languages
Chinese (zh)
Other versions
CN115348201A (en
Inventor
杨毅
龚文浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210960660.9A priority Critical patent/CN115348201B/en
Publication of CN115348201A publication Critical patent/CN115348201A/en
Application granted granted Critical
Publication of CN115348201B publication Critical patent/CN115348201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/21Monitoring; Testing of receivers for calibration; for correcting measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Data Mining & Analysis (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

The embodiment of the application discloses a calibration scheduling method and a related device, wherein the method comprises the following steps: displaying the state of at least one calibration slot, selecting the calibration slot in an unlocked state as a target calibration slot according to the occupied state of the calibration slot, and updating the target calibration slot into a locked state; if the target DUT is detected to be connected into the target calibration slot, adding a calibration request of the target calibration slot into a calibration request queue; traversing the calibration request queue to obtain a target calibration request, performing calibration operation on the target DUT according to the target calibration request, generating a calibration report and sending the calibration report to a user; updating the locked state of the target calibration slot to an unlocked state. Therefore, reasonable occupation and scheduling of resources can be realized by visualizing the state information of the calibration slot to the user; the calibration request is added into the calibration request queue to schedule and manage the calibration tasks, so that a preset calibration plan is supported, the calibration operation efficiency is improved, and the waste of human resources is reduced.

Description

Calibration scheduling method and related device
Technical Field
The application relates to the technical field of electronic equipment, in particular to a calibration scheduling method and a related device.
Background
The radio frequency component is widely applied to core components of electronic equipment such as radio frequency communication and the like, and in the testing process of the electronic product, the radio frequency component needs to be calibrated so as to reduce testing errors brought in the testing process of tested equipment (device under test, DUT). In the existing calibration method, a special radio frequency calibration device is generally adopted to perform radio frequency calibration on the DUTs, and one calibration device can calibrate only one DUT at the same time. And the use state and the calibration progress of the calibration equipment need to be confirmed manually, so that the waste of manpower resources and the low calibration efficiency are caused.
Therefore, there is a need for a calibration and scheduling method that solves the above-mentioned problems.
Disclosure of Invention
The embodiment of the application provides a calibration scheduling method and a related device, which can realize the full utilization of calibration resources and the reasonable scheduling of calibration tasks, thereby improving the calibration work efficiency and reducing the waste of human resources.
In a first aspect, an embodiment of the present application provides a calibration scheduling method, which is applied to a calibration scheduling system, where the calibration scheduling system includes a processor, including:
Displaying the state of at least one calibration slot, wherein the calibration slot is used for placing a device under test DUT, and the state comprises an occupied state;
Selecting a target calibration slot with the occupied state being an unlocked state from the at least one calibration slot according to the occupied state;
Updating the unlocked state of the target calibration slot to a locked state;
If the target DUT is detected to be connected into the target calibration slot, adding a calibration request of the target calibration slot into a calibration request queue;
traversing the calibration request queue to obtain a target calibration request, and executing a calibration operation on the target DUT according to the target calibration request and generating a calibration report, wherein the target calibration request comprises the calibration request;
And sending the calibration report to a user, and updating the locking state of the target calibration slot to the unlocking state.
In a second aspect, an embodiment of the present application provides a calibration scheduling apparatus, where the apparatus includes a display unit, a selection unit, an update unit, a detection unit, a traversal unit, and a transmission unit,
The display unit is used for displaying the state of at least one calibration slot, wherein the calibration slot is used for placing the device under test DUT, and the state comprises an occupied state;
The selecting unit is used for selecting a target calibration slot with the occupied state being an unlocked state from the at least one calibration slot according to the occupied state;
The updating unit is used for updating the unlocked state of the target calibration slot to be a locked state;
the detection unit is used for adding a calibration request of the target calibration slot into a calibration request queue if detecting that the target DUT in the DUTs accesses the target calibration slot;
The traversing unit is used for traversing the calibration request queue to obtain a target calibration request, and executing a calibration operation on the target DUT according to the target calibration request and generating a calibration report, wherein the target calibration request comprises the calibration request;
and the sending unit is used for sending the calibration report to a user and updating the locking state of the target calibration slot to the unlocking state.
In a third aspect, embodiments of the present application provide a calibration scheduling system comprising at least one calibration slot, a processor, a programmable attenuator, and at least one calibration device; wherein,
The at least one calibration slot is used for placing the DUT (device under test), wherein each calibration slot in the at least one calibration slot comprises a corresponding USB (universal serial bus) wire, a power wire and a radio frequency wire;
The processor is connected with the at least one calibration slot and is used for displaying the state of the at least one calibration slot, wherein the state comprises an occupied state; the target calibration slot with the occupied state being an unlocked state is selected from the at least one calibration slot according to the occupied state; and updating the unlocked state of the target calibration slot to a locked state; the system is also used for adding the calibration request of the target calibration slot into a calibration request queue if the target DUT in the DUTs is detected to be accessed into the target calibration slot; the system is further used for traversing the calibration request queue to obtain a target calibration request, and executing calibration operation on the target DUT according to the target calibration request and generating a calibration report, wherein the target calibration request comprises the calibration request; the method is also used for sending the calibration report to a user and updating the locking state of the target calibration slot to the unlocking state;
The program-controlled attenuator is used for communicating a radio frequency channel between the target DUT and the target calibration equipment and sending at least one radio frequency signal to the target DUT and the target calibration equipment through the target radio frequency channel; the program-controlled attenuator is respectively connected with the processor, the at least one calibration device and the at least one calibration groove;
The at least one calibration device is configured to receive the at least one radio frequency signal and to send output data to the processor.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, the programs including instructions for performing steps in any of the methods of the first aspect of the embodiments of the present application.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform part or all of the steps as described in any of the methods of the first aspect of the embodiments of the present application.
In a sixth aspect, embodiments of the present application provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in any of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that in the embodiment of the present application, the state of at least one calibration slot is displayed, where the calibration slot is used for placing the DUT, and the state includes an occupied state; then, according to the occupied state, selecting a target calibration slot with the occupied state being an unlocked state from at least one calibration slot and updating the target calibration slot to be a locked state; if the target DUT is detected to be connected into the target calibration slot, adding a calibration request of the target calibration slot into a calibration request queue; traversing the calibration request queue to obtain a target calibration request, performing calibration operation on the target DUT according to the target calibration request, and generating a calibration report; and sending a calibration report to a user, and updating the locking state of the target calibration slot to be an unlocking state. Therefore, reasonable occupation and scheduling of resources can be realized by visualizing the state information of the calibration slot to the user; the calibration request is added into the calibration request queue to schedule and manage the calibration tasks, so that a preset calibration plan is supported, the calibration operation efficiency is improved, and the waste of human resources is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1A is a flow chart of an existing calibration scheme provided by an embodiment of the present application;
FIG. 1B is a schematic diagram of a calibration scheduling system according to an embodiment of the present application;
FIG. 1C is a schematic hardware architecture diagram of a calibration scheduling system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a calibration scheduling method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of implementing calibration scheduling by user interaction with a system according to an embodiment of the present application;
FIG. 4 is a flow chart of a calibration operation performed by a calibration schedule according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 6 is a schematic diagram of a functional unit structure of a calibration scheduling device according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to better understand the aspects of the embodiments of the present application, the following description will first describe electronic devices, related terms, concepts and related contexts to which the embodiments of the present application may relate.
The electronic device may be a portable electronic device that also contains other functions such as personal digital assistant and/or music player functions, such as a cell phone, tablet computer, wearable electronic device with wireless communication capabilities (e.g., a smart watch), etc. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices that are equipped with IOS systems, android systems, microsoft systems, or other operating systems. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be appreciated that in other embodiments, the electronic device described above may not be a portable electronic device, but rather a desktop computer.
Referring to fig. 1A, fig. 1A shows a flow chart of a conventional calibration scheme, as shown in fig. 1A, where the conventional scheme specifically includes the following flow chart: manually checking the environment of the calibration equipment, waiting for the unmanned use of the calibration state environment, namely waiting for the idle of the calibration state equipment; if the idle calibration equipment exists currently, connecting the DUT to a test environment; controlling the calibration equipment to calibrate; and checking the calibration result, and disassembling the DUT.
In the calibration flow, the time length of the actual working of the calibration equipment is greatly influenced by the information sharing degree and the working efficiency of people on the whole flow. For example: the user cannot know the state of the calibration equipment in advance before calibration, and may need to frequently go to the site to check and wait; after calibration is finished, the DUT is not disassembled in time by a user, so that other users cannot know the calibration state and cannot continue to calibrate, the situation of waiting for each other is caused, and the resource waste of the calibration equipment is caused.
In order to solve the above problems, the present application proposes a calibration scheduling method, which is applicable to a calibration scheduling system. The calibration scheduling system described above may be loaded in an electronic device, such as a schematic configuration of one of the calibration scheduling systems shown in fig. 1B. The method specifically comprises the following steps: a processor, a calibration device, a programmable attenuator, a power hub, a USB hub, and a plurality of calibration slots. The processor is respectively connected with the calibration equipment, the program-controlled attenuator, the power hub and the USB hub. And provides a graphical interface (GRAPHICAL USER INTERFACE, GUI) externally through a web service.
Specifically, the calibration scheduling system includes a plurality of calibration slots for placing DUTs, corresponding to DUT1, DUT2, and DUTs shown in FIG. 1B. Each calibration slot is connected with the program controlled attenuator through a Radio Frequency (RF) wire, a power hub (power hub) through a power wire and a USB hub (USB hub) through a USB. The program-controlled attenuator is used for communicating the radio frequency channel between the calibration equipment and the DUT, so as to realize the communication between the calibration equipment and the DUT. The calibration device is configured to receive a calibration signal and perform a calibration operation according to the received calibration signal, wherein the calibration signal is configured to instruct the calibration device to start performing the calibration operation, and the calibration operation includes generating at least one radio frequency signal and transmitting the at least one radio frequency signal to a calibration slot corresponding to the DUT.
In particular, the processor may run a calibration scheduler and provide network web services; powering the DUT via the power line of each calibration slot; communicating with the DUT in each calibration slot through the USB wire of each calibration slot; the radio frequency line through each calibration slot communicates with the radio frequency channel of the DUT.
In one possible example, the processor may display the status of at least one calibration slot, wherein the calibration slot is used to place a device under test DUT, the status including an occupied status; then, according to the occupied state, selecting a target calibration slot with the occupied state being an unlocked state from at least one calibration slot and updating the target calibration slot to be a locked state; if the target DUT is detected to be connected into the target calibration slot, adding a calibration request of the target calibration slot into a calibration request queue; traversing the calibration request queue to obtain a target calibration request, performing calibration operation on the target DUT according to the target calibration request, and generating a calibration report; and sending a calibration report to a user, and updating the locking state of the target calibration slot to be an unlocking state. Therefore, the reasonable occupation and scheduling of resources can be realized by visualizing the state information of the calibration slot to a user and updating the occupation state of the calibration slot in time after the calibration slot is used up; the calibration request is added into the calibration request queue to schedule and manage the calibration tasks, so that a preset calibration plan is supported, the calibration operation efficiency is improved, and the waste of human resources is reduced.
For a better understanding of the calibration and dispatch system described in fig. 1B, please refer to fig. 1C, fig. 1C is a schematic hardware structure diagram of a calibration and dispatch system provided by an embodiment of the present application, where the calibration and dispatch system includes a plurality of cabinets, and the cabinets include at least one calibration slot, a processor, a program-controlled attenuator, and at least one calibration device; wherein,
The at least one calibration slot is used for placing the DUT (device under test), wherein each calibration slot in the at least one calibration slot comprises a corresponding USB wire, a power wire power and a radio frequency wire RF;
The processor is connected with the at least one calibration slot and is used for displaying the state of the at least one calibration slot, wherein the state comprises an occupied state; the target calibration slot with the occupied state being an unlocked state is selected from the at least one calibration slot according to the occupied state; and updating the unlocked state of the target calibration slot to a locked state; the system is also used for adding the calibration request of the target calibration slot into a calibration request queue if the target DUT in the DUTs is detected to be accessed into the target calibration slot; the system is further used for traversing the calibration request queue to obtain a target calibration request, and executing calibration operation on the target DUT according to the target calibration request and generating a calibration report, wherein the target calibration request comprises the calibration request; the method is also used for sending the calibration report to a user and updating the locking state of the target calibration slot to the unlocking state;
The program-controlled attenuator is used for communicating a radio frequency channel between the target DUT and the target calibration equipment and sending at least one radio frequency signal to the target DUT and the target calibration equipment through the target radio frequency channel;
The calibration device is configured to receive the at least one radio frequency signal and send output data to the processor.
It can be seen that, according to the system provided by the embodiment of the application, through adding a plurality of calibration slots in a limited calibration environment, DUTs on the calibration slots are switched by using a USB hub, a power hub, a program controlled attenuator and the like to calibrate sequentially, namely, through adding a calibration buffer mechanism, the buffer queue is realized to correspond to the number of the calibration slots. The system supports a user to display the state of the calibration slot to the whole staff through web services provided by the processor, and improves the transparency of the use condition of the calibration resources, so that the calibration queuing is more efficient and easier to manage. And adding or replacing a new DUT according to the status of the calibration slot, supporting the preset calibration request. That is, the DUT calibration plan is deployed in advance without affecting the calibration of the calibration equipment, waiting for the system to schedule the entered calibration tasks. Therefore, the utilization rate of the calibration equipment can be improved, and the calibration efficiency is further improved.
The present application will be described in detail with reference to specific examples.
Referring to fig. 2, fig. 2 is a flow chart of a calibration scheduling method according to an embodiment of the present application, which is applied to the calibration scheduling system shown in fig. 1B, wherein the calibration scheduling system includes a processor, as shown in fig. 2, and the calibration scheduling method specifically includes the following steps:
S201, displaying the state of at least one calibration slot, wherein the calibration slot is used for placing the DUT, and the state comprises an occupied state.
Illustratively, a graphical interface (GRAPHICAL USER INTERFACE, GUI) provided by the processor shown in fig. 1B displays the status of at least one calibration slot, wherein the status information of a calibration slot includes an occupancy status of the calibration slot, which may be used to characterize whether the calibration slot is used.
Specifically, if the current calibration slot is empty, i.e. not used, the occupied state of the current calibration slot is an unlocked state; if the DUT is placed in the current calibration slot, i.e., is used, then the occupancy state of the current calibration slot is a locked state.
Illustratively, a user may query and display the occupancy status of all calibration slots through a GUI interface provided by the processor, and determine the calibration slots in the unlocked state based on the occupancy status.
It should be noted that, the calibration scheduling method described in the embodiment of the present application may be executed by a processor in the calibration slot scheduling system as shown in fig. 1B, which is not described in detail later.
In another possible example, the processor may poll the occupancy state of the current calibration slot to obtain a list of calibration slots for which the current occupancy state is an unlocked state. When the query information of the user is received, the unlocked calibration slot list is displayed to the user directly through the GUI interface, so that the user can intuitively know the calibration slot information which can be selected to be used currently.
S202, selecting a target calibration slot with the occupied state being an unlocked state from the at least one calibration slot according to the occupied state.
Illustratively, the calibration operation is performed by selecting the calibration slot in which the unlocked state is selected as the target calibration slot by the occupancy state of the calibration slot acquired in step S201.
It should be noted that the number of the target calibration slots may be one or more, and may be specifically adapted according to the number of calibration slots in the current unlocked state and the calibration requirement of the user, which is not specifically limited herein; in the present application, a plurality may refer to two or more, and will not be described in detail later.
S203, updating the unlocked state of the target calibration slot to be a locked state.
Specifically, the processor may receive that the user selects one or more calibration slots in the GUI interface as the target calibration slot, which indicates that the current target calibration slot is occupied, so that the processor needs to update the occupancy state of the target calibration slot from the unlocked state to the locked state in time, so as to avoid the problem of repeated selection of the subsequent user, and facilitate the user to acquire the state information of the latest calibration slot in time.
S204, if the target DUT in the DUTs is detected to be accessed into the target calibration slot, adding the calibration request of the target calibration slot into a calibration request queue.
Illustratively, after detecting that the user accesses the target DUT to the target calibration slot through the USB wire, the power wire, and the radio frequency wire corresponding to the target calibration slot, the processor displays prompt information on the GUI interface, where the prompt information is used to display a calibration request entered by the user into the target DUT. Wherein the calibration request may include calibration configuration information of the target DUT, including in particular but not limited to at least one of: identification information of the target DUT, calibration items of the target DUT, calibration mail reception addresses, and the like. The identification information of the target DUT is used for uniquely characterizing the device, the calibration item of the target DUT is used for characterizing the calibration item selected by the user aiming at the target requirement, wherein the calibration item is used for only the standard which is selected by the user aiming at the target DUT and needs to be calibrated, and the calibration item specifically comprises but is not limited to: any one of signals of the 3G network, the 4G network, and the 5G network, and frequency bands of signals of the 3G network, the 4G network, and the 5G network. In addition, the user may select calibration content according to the test requirements, specifically calibration content including, but not limited to, items as shown in table 1, a calibration mail reception address for the user to receive a calibration report.
TABLE 1
IOT Interoperation test Interoperability Test
KPI Key performance index Key Performance Indicator
USB Universal serial bus Universal Serial Bus
Further, the processor adds the calibration request to a calibration request queue.
S205, traversing the calibration request queue to obtain a target calibration request, and executing a calibration operation on the target DUT according to the target calibration request and generating a calibration report, wherein the target calibration request comprises the calibration request.
The processor traverses the calibration request queue, illustratively, through a calibration scheduler. And sequentially carrying out task scheduling according to the enqueuing time of each calibration request, and executing the calibration task.
Specifically, the processor obtains a target calibration request from a calibration request queue, wherein the target calibration request includes a calibration request corresponding to the target DUT. And performing a calibration operation on the target DUT according to the relevant configuration information in the calibration request and generating a calibration report.
S206, sending the calibration report to a user, and updating the locking state of the target calibration slot to be the unlocking state.
Further, the calibration report is sent to the calibration mail receiving address entered by the user in the configuration information entered for calibrating the DUT, and the lock state of the target calibration slot is updated to the unlock state.
It can be seen that the calibration scheduling method described in the embodiments of the present application shows the state of at least one calibration slot, where the calibration slot is used for placing a DUT, and the state includes an occupied state; then, according to the occupied state, selecting a target calibration slot with the occupied state being an unlocked state from at least one calibration slot and updating the target calibration slot to be a locked state; if the target DUT is detected to be connected into the target calibration slot, adding a calibration request of the target calibration slot into a calibration request queue; traversing the calibration request queue to obtain a target calibration request, performing calibration operation on the target DUT according to the target calibration request, and generating a calibration report; and sending a calibration report to a user, and updating the locking state of the target calibration slot to be an unlocking state. Therefore, the reasonable occupation and scheduling of resources can be realized by visualizing the state information of the calibration slot to a user and updating the occupation state of the calibration slot in time after the calibration slot is used up; the calibration request is added into the calibration request queue to schedule and manage the calibration tasks, so that a preset calibration plan is supported, the calibration operation efficiency is improved, and the waste of human resources is reduced.
In one possible example, the performing a calibration operation on the target DUT and generating a calibration report according to the target calibration request may include the steps of: acquiring use information of at least one calibration device, and selecting a target calibration device according to the use information, wherein the at least one calibration device is connected with the processor, the use information is used for indicating whether the corresponding calibration device is idle, and the target calibration device is used for the target DUT to perform the calibration operation; and controlling the target calibration equipment to execute the calibration operation on the target DUT and generate the calibration report.
Specifically, each calibration slot has a corresponding USB line, power line, and radio frequency line, and each USB line, power line, and radio frequency line is connected to a USB hub, power hub, and programmable attenuator, respectively. After the processor detects that a user accesses the target DUT into the target calibration slot through the USB wire, the power wire and the radio frequency wire of the calibration slot, the processor is connected with the target DUT through the USB wire corresponding to the control target calibration slot, charges the target DUT through the control power wire, and controls the program controlled attenuator to be communicated with a radio frequency channel between the target DUT and the calibration equipment through the radio frequency wire. Wherein the radio frequency line comprises one or more.
Further, the processor performs power control on the DUT to be calibrated by controlling the USB hub, the USB connecting the processor and the target DUT by controlling the power hub, and controlling the program controlled attenuator according to the configuration information of the target DUT as described in step S204.
Further, the processor obtains usage information for at least one calibration device, wherein the usage information is used to indicate whether each calibration device is currently in an idle state. If there are currently one or more calibration devices in an idle state, a calibration device that is a target DUT is selected from the one or more calibration devices.
Further, the processor controls the target calibration device to begin performing calibration operations and generates a final calibration report.
It can be seen that in this example, the processor controls the USB line, the power line, and the radio frequency line corresponding to the calibration slot to control the connection of the lines of the target DUT, and further, the calibration device in the idle state is selected according to the usage information of the calibration device to perform the calibration operation on the target DUT. Therefore, the DUT on the switching calibration groove can be sequentially calibrated by utilizing the USB hub, the power hub, the program-controlled attenuator and the like, namely, a calibration buffer mechanism is increased, the resources of the calibration equipment are fully utilized, the reasonable allocation and utilization of the resources are realized, and the calibration efficiency is improved.
In one possible example, the states further include a connected state and a calibrated state; after the target DUT is detected to be present in the DUTs and is accessed into the target calibration slot, the method may comprise the steps of: updating the connection state of the target calibration slot to a hardware connected state and updating the calibration state to a wait for calibration state.
Illustratively, the state of each calibration slot further includes a connected state and a calibrated state. The connection state comprises a hardware connected state and a hardware unconnected state; the calibration state includes at least one of: waiting for calibration, calibrating, completing calibration, etc., are not limited herein.
When the processor detects that a user accesses the target DUT to the target calibration slot, the connection state of the target calibration slot is updated to be the hardware connected state, and the calibration state is updated to be the waiting calibration state.
It can be seen that in this example, the progress of the current calibration operation and the use condition of the calibration resources can be more intuitively reflected by timely updating the calibration slot state.
In one possible example, the controlling the target calibration device to perform the calibration operation on the target DUT may include the steps of: a target calibration channel communicated between the target calibration device and the target DUT, wherein the target calibration channel is a radio frequency channel between the target calibration device and the target DUT communicated through the programmable attenuator, and the programmable attenuator is respectively connected with the processor, the at least one calibration device and the at least one calibration slot; transmitting a calibration signal to the target calibration device, wherein the calibration signal is used for instructing the target calibration device to generate at least one radio frequency signal and transmitting the at least one radio frequency signal to the target DUT through the target quasi channel; receiving a first output data set and a second output data set, wherein the first output data set is used for indicating a set formed by corresponding output data after the target DUT receives each radio frequency signal in the at least one radio frequency signal, and the second output data set is used for indicating a set formed by output data generated by the target calibration equipment for each radio frequency signal in the at least one radio frequency signal; calculating a difference absolute value set between the first output data set and the second output data set, and generating a calibration report after performing the calibration operation on the target DUT according to the difference absolute value set, wherein the calibration operation comprises compensation or correction on the target DUT, the calibration report comprises identification information of the target DUT, parameter information before calibration and parameter information after calibration, the difference absolute value set comprises a plurality of difference absolute values, and any one difference absolute value is obtained by calculating a difference value between first output data in the first output data set and second output data in the corresponding second output data set; and sending the calibration report to the user, updating the occupied state of the target calibration slot to an unlocked state, and updating the calibration state to the calibrated state.
Each calibration slot is illustratively connected to a programmable attenuator by at least one radio frequency line, and the programmable attenuator is connected to the calibration apparatus by a radio frequency line. When the DUT to be calibrated is the target DUT, the processor controls the radio frequency line communication between the radio frequency line of the calibration slot corresponding to the target DUT and the program-controlled attenuator and controls the radio frequency line communication between the target calibration equipment and the program-controlled attenuator according to the configuration information in the calibration request. In this way, target calibration channel communication between the target calibration device and the target DUT is achieved.
Further, the processor instructs the target calibration device to begin performing the calibration operation by sending a calibration signal to the target calibration device. And after the target calibration equipment receives the calibration signal, generating at least one radio frequency signal, and transmitting the at least one radio frequency signal to a target calibration slot corresponding to the target DUT through the target calibration channel.
In one possible example, when at least one radio frequency signal passes through the programmable attenuator, the programmable attenuator may implement transmission of the input signal with less distortion by itself absorbing a portion of the input signal, based on the actual radio frequency source signal before the target DUT is input, and the programmable attenuator may also act as a means of equalizing the signal level within the transmission line. The actual function may be adapted according to the specific calibration scenario, and is not particularly limited herein.
Further, the processor receives a first output data set and a second output data set from the calibration device and the target DUT for the received at least one radio frequency signal output. The first output data set is used for indicating a set formed by corresponding output data after the target DUT receives each radio frequency signal in at least one radio frequency signal, and the second output data set is used for indicating a set formed by output data generated by the target calibration device for each radio frequency signal in at least one radio frequency signal.
Further, the processor takes the second data output data set output by the calibration device as a standard data set, and calculates the absolute value of the difference value of the data corresponding to the standard data set in the first output data set. And determining the absolute value of the difference value of the target DUT according to the absolute value of the difference value, and obtaining a difference value set formed by the absolute value of the difference value corresponding to each signal in at least one radio frequency signal.
Further, the processor performs a calibration operation on the target DUT based on the determined error value. And generates a corresponding calibration report. Among other things, calibration operations for a target DUT include, but are not limited to: compensation or correction.
In this example, the radio frequency channel between the calibration device and the target DUT is connected through the program-controlled attenuator, so that the calibration device and the target DUT receive the same radio frequency signal through the radio frequency channel, and further perform calibration operation on the target DUT according to the comparison result of the first output data set and the second output data set.
In one possible example, the set of absolute difference values includes at least one absolute difference value; after said calculating the absolute value set of differences between said first output data set and said second output data set, the steps of: comparing the magnitude relation between each difference absolute value in the at least one difference absolute value and a preset threshold value, and marking the radio frequency signal corresponding to the difference absolute value which is larger than the preset threshold value in the at least one difference absolute value as an abnormal signal; and controlling the target calibration equipment to send the abnormal signal to the target DUT, and calculating the absolute value of the difference value between the first output data and the second output data corresponding to the abnormal signal.
The setting of the preset threshold value may be preset by a system default or by a user when entering a calibration request according to data in an actual application scenario of the target DUT, which is not limited herein. The preset threshold value is a maximum error value between the first output data and the second output data, which are determined by the calibration data acquired through multiple calibration operations in an actual application scene. If the maximum error value is exceeded, an abnormality may exist in the current output result.
In an exemplary embodiment, when the processor controls the target calibration device to send one or more radio frequency signals to the target DUT through the target calibration channel, in a practical scenario, the difference absolute value is abnormal due to the influence of factors such as calibration environment, level state, and the like, which may cause the situation that one or more radio frequency signals have data abnormality corresponding to the data output by the calibration device and the target DUT.
Illustratively, by comparing the absolute value of the difference with a preset threshold, it is determined whether an abnormal state exists in the calibration device corresponding to the currently input radio frequency signal and the data output by the target DUT. If the difference between the currently input radio frequency signal and the preset threshold value is larger, namely, the difference is larger than the preset threshold value, determining that an abnormal state exists in the calibration process corresponding to the currently input radio frequency signal.
Further, the processor re-sends the calibration signal to the target calibration device, wherein the calibration signal is used for indicating the target calibration device to send the radio frequency signal to the target DUT through the target calibration channel again, the radio frequency signal is the abnormal signal determined in the step, and the processor receives first output data and second output data returned by the calibration device and the target DUT aiming at the abnormal signal and calculates the absolute value of the difference value of the first output data and the second output data. And if the absolute value of the current difference value is smaller than the preset threshold value, executing calibration operation on the target DUT according to the absolute value of the difference value. And if the absolute value of the difference value calculated at present is larger than a preset threshold value, marking the detection result corresponding to the radio frequency signal as abnormal data. And storing the abnormal data into a calibration report, wherein the abnormal data comprises an abnormal signal, and a first output data and a second output data detection result corresponding to the abnormal signal.
In this example, whether the output data corresponding to the current radio frequency signal has an abnormal state is determined by comparing the absolute value of the difference with a preset threshold, whether the radio frequency signal needs to be sent again is determined according to the determination result, and whether calibration is performed is determined according to the detection result corresponding to the resending of the radio frequency signal. Therefore, the accuracy of calibration can be improved, calibration abnormality caused by the influence of environment or other factors is avoided, if abnormal data appear, the abnormal data are reserved in a calibration report, so that a user can intuitively know the calibration condition of the target DUT according to the calibration report, and further, whether recalibration or performance optimization of the target DUT is needed is determined.
In one possible example, after the sending of the calibration report to the user, the method may comprise the steps of: if the target DUT is detected to be disconnected from the target calibration slot, updating the hardware connected state of the connection state of the target calibration slot to a hardware unconnected state and updating the use information of the target calibration device to an idle state; if the fact that the user submits the calibration request of the target DUT again is detected, updating the occupied state of the target calibration slot to be the locking state, and updating the calibration state to be the state to be calibrated; and controlling the target calibration channel to be communicated again, and carrying out the calibration operation on the target DUT again through the target calibration equipment.
Illustratively, after the processor has sent the calibration report to the user, if the user considers that the current calibration effort has reached the target expectation based on the received calibration report, it is possible to proceed to retrieve the target DUT, i.e., disconnect the target DUT from the target calibration slot.
Further, after detecting that the target DUT is disconnected from the target calibration slot, the processor updates the connection state of the target calibration slot from the hardware connected state to the hardware unconnected state, where the state of the target calibration slot is: unlocked state + hardware unconnected state + waiting for calibration state.
Further, the processor updates the usage information of the target calibration device to an idle state. That is, both the target calibration slot and the target calibration device are available for the next calibration operation.
Illustratively, after the processor has sent the calibration report to the user, if the user, after receiving the calibration report, considers that the current calibration effect does not reach the target expectations, then the calibration request for the target DUT may be optionally submitted again without disconnecting from the current target calibration slot.
Further, after the processor receives the calibration request, the calibration request does not need to be added to the calibration request queue again. The target calibration device and the target DUT are again brought into communication by controlling the calibration device and the calibration process is repeated.
It can be seen that in this example, after the processor sends the calibration report to the user, the processor updates the status information of the calibration slot and the calibration device accordingly by detecting the corresponding measures taken after the user confirms the calibration report, so as to realize timely release of resources. In addition, if the processor detects that the user resubmisses a calibration request for the DUT, the calibration operation can be performed again on the target DUT directly by controlling the original target calibration device. In this way, the need for the processor to retrieve the calibration request of the target DUT again by traversing and to find a new calibration device again for the calibration operation is avoided. The efficiency of calibration and the rational utilization of calibration resources are improved.
In order to better understand the above process, a flowchart of implementing calibration scheduling by user interaction with the system according to the embodiment of the present application as shown in fig. 3 is explained below.
Specifically, please refer to fig. 3, which specifically includes the following steps:
S301, a user logs in a calibration web service.
Illustratively, a user obtains status information of the calibration slots through a GUI interface of the web service, and determines whether there are calibration slots in an "unlocked state" based on the status information. If there is an "unlocked" calibration slot, then the target calibration slot is selected from among them. If the target calibration slot does not exist, waiting for the next query result to select the target calibration slot.
S302, the processor responds to the selection operation of a user to update the occupied state of the target calibration slot to be a locking state.
S303, a user inputs a calibration request in a GUI interface, wherein the calibration request comprises calibration configuration information of the target DUT.
S304, the processor adds the calibration request of the target DUT into a calibration request queue.
S305, the calibration scheduler traverses the calibration request queue to acquire the calibration request of the target DUT.
S306, the processor controls the calibration operation to be executed on the target DUT, and a calibration report is generated. And sends the calibration report to the user mailbox.
Further, the processor sets the occupancy state of the target calibration slot to an "unlocked state".
After receiving the calibration report, the user determines whether recalibration is required.
S307, if not, the target DUT is detached from the target calibration slot, and the system detects that the target DUT is disconnected.
Further, the processor updates the connection state of the target calibration slot to "hardware disconnected" and updates the usage information of the target calibration device to "idle state".
Further, if yes, returning to the GUI interface to submit the calibration request again.
It can be seen that in the embodiment of the present application, the status of at least one calibration slot is displayed to the user; then, according to the occupied state, a user selects a target calibration slot with the occupied state being an unlocked state from at least one calibration slot and updates the target calibration slot to be a locked state; if the processor detects that a target DUT in the DUT is accessed into the target calibration slot, adding a calibration request of the target calibration slot into a calibration request queue; traversing the calibration request queue through a calibration scheduler to obtain a target calibration request, performing calibration operation on the target DUT according to the target calibration request, and generating a calibration report; the processor sends a calibration report to the user and updates the locked state of the target calibration slot to an unlocked state. Further, whether to perform calibration again may be decided according to the selection of the user. Therefore, reasonable occupation and scheduling of resources can be realized by visualizing the state information of the calibration slot to the user; the calibration request is added into the calibration request queue to schedule and manage the calibration tasks, so that a preset calibration plan is supported, the calibration operation efficiency is improved, and the waste of human resources is reduced.
Further, to better describe the above calibration procedure, a flowchart of performing a calibration operation by using a calibration schedule according to the embodiment of the present application will be provided in conjunction with fig. 4. Referring to fig. 4, the method specifically includes the following steps:
s401, acquiring a target calibration request from a calibration request queue through a calibration scheduling program.
S402, acquiring the use information of the calibration equipment.
Specifically, it is determined whether an idle state calibration device exists based on the usage information.
Specifically, if there is an idle state calibration device, a target calibration device is selected from the idle state calibration devices. If no idle calibration device exists, the calibration device information is acquired in real time until it is determined that an available calibration device exists.
S403, initializing a target calibration slot and target calibration equipment according to configuration information of the target DUT in the calibration request.
S404, starting the calibration operation and generating a calibration report.
S405, calibration is finished.
Specifically, after the calibration is finished, the processor updates the usage information of the target calibration device to an "idle state", updates the calibration state of the target calibration slot to a "calibration complete", and sends a calibration report to the user.
It can be seen that during the calibration process, the calibration scheduler is run to obtain the target calibration request from the calibration request queue, and the calibration device uses the usage information of the calibration device to select the target calibration device in the idle state for calibration operation, and generate the calibration report. And after the calibration is finished, updating and releasing the state information of the calibration equipment and the calibration slot to realize the state update and release of the calibration scheduling system resources so as to carry out the next calibration operation. Therefore, the efficiency of calibration can be improved, the calibration resources can be reasonably utilized, the time cost of people is saved, and the user experience is improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device, as shown, the electronic device including a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the electronic device being applied to a calibration scheduling system, the programs including instructions for:
Displaying the state of at least one calibration slot, wherein the calibration slot is used for placing a device under test DUT, and the state comprises an occupied state;
Selecting a target calibration slot with the occupied state being an unlocked state from the at least one calibration slot according to the occupied state;
Updating the unlocked state of the target calibration slot to a locked state;
If the target DUT is detected to be connected into the target calibration slot, adding a calibration request of the target calibration slot into a calibration request queue;
traversing the calibration request queue to obtain a target calibration request, and executing a calibration operation on the target DUT according to the target calibration request and generating a calibration report, wherein the target calibration request comprises the calibration request;
And sending the calibration report to a user, and updating the locking state of the target calibration slot to the unlocking state.
It can be seen that the electronic device described in the embodiments of the present application can be configured to display the status of at least one calibration slot, where the calibration slot is used for placing a DUT, and the status includes an occupied status; then, according to the occupied state, selecting a target calibration slot with the occupied state being an unlocked state from at least one calibration slot and updating the target calibration slot to be a locked state; if the target DUT is detected to be connected into the target calibration slot, adding a calibration request of the target calibration slot into a calibration request queue; traversing the calibration request queue to obtain a target calibration request, performing calibration operation on the target DUT according to the target calibration request, and generating a calibration report; and sending a calibration report to a user, and updating the locking state of the target calibration slot to be an unlocking state. Therefore, reasonable occupation and scheduling of resources can be realized by visualizing the state information of the calibration slot to the user; the calibration request is added into the calibration request queue to schedule and manage the calibration tasks, so that a preset calibration plan is supported, the calibration operation efficiency is improved, and the waste of human resources is reduced.
In one possible example, the program performs a calibration operation on the target DUT according to the target calibration request and generates a calibration report, the program comprising instructions for:
Acquiring use information of at least one calibration device, and selecting a target calibration device according to the use information, wherein the at least one calibration device is connected with the processor, the use information is used for indicating whether the at least one calibration device is idle, and the target calibration device is used for the target DUT to perform the calibration operation;
and controlling the target calibration equipment to execute the calibration operation on the target DUT and generate the calibration report.
In one possible example, the states further include a connected state and a calibrated state;
After detecting that a target DUT of the DUTs has accessed the target calibration slot, the program includes instructions for:
updating the connection state of the target calibration slot to connected and updating the calibration state to waiting for detection.
In one possible example, the controlling the target calibration device to perform the calibration operation on the target DUT includes instructions for:
A target calibration channel communicated between the target calibration device and the target DUT, wherein the target calibration channel is a radio frequency channel between the target calibration device and the target DUT communicated through the programmable attenuator, and the programmable attenuator is respectively connected with the processor, the at least one calibrator and the at least one calibration slot;
After the program-controlled attenuator is controlled to generate at least one radio frequency signal, the at least one radio frequency signal is sent to the target DUT and the target calibration equipment through the target test channel;
receiving a first output data set and a second output data set, wherein the first output data set and the second output data set refer to a set formed by corresponding output data after the target calibration equipment and the target DUT receive each radio frequency signal in the at least one radio frequency signal;
calculating an absolute value set of difference values between the first output data set and the second output data set, and generating the calibration report after performing the calibration operation on the target DUT according to the absolute value set of difference values, wherein the calibration operation comprises compensation or correction on the target DUT, and the calibration report comprises identification information of the target DUT, parameter information before calibration and parameter information after calibration;
And sending the calibration report to the user, updating the occupied state of the target calibration slot to an unlocked state, and updating the calibration state to be calibrated.
In one possible example, the set of absolute difference values includes at least one absolute difference value;
after said calculating an absolute value set of differences between said first output data set and said second output data set, the program comprises instructions for:
comparing each difference absolute value in the at least one difference absolute value with a preset threshold value, and marking a radio frequency signal corresponding to the difference absolute value which is larger than the preset threshold value in the at least one difference absolute value as an abnormal signal;
Controlling the program controlled attenuator to send the abnormal signal to the target calibration device and the target DUT again, and calculating the absolute value of the difference between the first output data and the second output data.
In one possible example, after the sending of the calibration report to the user, the program comprises instructions for:
If the target DUT is detected to be disconnected from the target calibration slot, updating the connected state of the target calibration slot to be unconnected and updating the use information of the target calibration device to be in an idle state;
If the fact that the user submits the calibration request of the target DUT again is detected, updating the occupied state of the target calibration slot to be the locking state, and updating the calibration state to be the state to be calibrated;
and controlling the target calibration channel to be communicated again, and carrying out the calibration operation on the target DUT again through the target calibration equipment.
The foregoing description of the embodiments of the present application has been presented primarily in terms of a method-side implementation. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional units of the electronic device according to the method example, for example, each functional unit can be divided corresponding to each function, and two or more functions can be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice.
In case of dividing each functional module with corresponding each function, fig. 6 shows a functional unit structure diagram of a calibration scheduling apparatus, and as shown in fig. 6, the calibration scheduling apparatus 600 is applied to an electronic device, and the calibration scheduling apparatus 600 may include a display unit 601, a selection unit 602, an update unit 603, a detection unit 604, a traversal unit 605 and a transmission unit 606, wherein,
The display unit 601 may be used to support the electronic device to perform step S201 described above, and/or other processes for the techniques described herein.
The selection unit 602 may be used to support the electronic device to perform step S202 described above, and/or other processes for the techniques described herein.
The updating unit 603 may be used to support the electronic device to perform step S203 described above, and/or other processes for the techniques described herein.
The detection unit 604 may be used to support the electronic device to perform step S204 described above, and/or other processes for the techniques described herein.
The traversal unit 605 may be used to support the electronic device to perform step S205 described above, and/or other processes for the techniques described herein.
The sending unit 606 may be used to support the electronic device to perform step S206 described above, and/or other processes for the techniques described herein.
It can be seen that, according to the calibration scheduling device provided by the embodiment of the application, the state of at least one calibration slot can be displayed through the display unit, wherein the calibration slot is used for placing the DUT, and the state comprises an occupied state; then the selecting unit selects a target calibration slot with an unoccluded state from at least one calibration slot according to the occupied state, and updates the target calibration slot to a locked state through the updating unit; if the detection unit detects that a target DUT in the DUTs is accessed into the target calibration slot, adding a calibration request of the target calibration slot into a calibration request queue; traversing the calibration request queue through a traversing unit to obtain a target calibration request, and performing calibration operation on the target DUT according to the target calibration request and generating a calibration report; the transmitting unit transmits a calibration report to the user and updates the locked state of the target calibration slot to the unlocked state. Therefore, reasonable occupation and scheduling of resources can be realized by visualizing the state information of the calibration slot to the user; the calibration request is added into the calibration request queue to schedule and manage the calibration tasks, so that a preset calibration plan is supported, the calibration operation efficiency is improved, and the waste of human resources is reduced.
In one possible example, the selecting unit 602 is specifically configured to perform a calibration operation on the target DUT according to the target calibration request and generate a calibration report:
Acquiring use information of at least one calibration device, and selecting a target calibration device according to the use information, wherein the at least one calibration device is connected with the processor, the use information is used for indicating whether the at least one calibration device is idle, and the target calibration device is used for the target DUT to perform the calibration operation;
and controlling the target calibration equipment to execute the calibration operation on the target DUT and generate the calibration report.
In one possible example, the states further include a connected state and a calibrated state;
After detecting that a target DUT among the DUTs has accessed the target calibration slot, the updating unit 603 is specifically configured to:
updating the connection state of the target calibration slot to a hardware connected state and updating the calibration state to wait for detection.
In one possible example, the controlling the target calibration device performs the calibration operation on the target DUT, and the detecting unit 604 is specifically configured to:
controlling a programmable attenuator to be communicated with a target calibration channel between the target calibration device and the target DUT, wherein the target calibration channel is a radio frequency channel between the target calibration device and the target DUT, which are communicated through the programmable attenuator, and the programmable attenuator is respectively connected with the processor, the at least one calibration device and the at least one calibration slot;
transmitting a calibration signal to the target calibration device, wherein the calibration signal is used for instructing the target calibration device to generate at least one radio frequency signal and transmitting the at least one radio frequency signal to the target DUT through the target quasi channel;
receiving a first output data set and a second output data set, wherein the first output data set is used for indicating a set formed by corresponding output data after the target DUT receives each radio frequency signal in the at least one radio frequency signal, and the second output data set is used for indicating a set formed by output data generated by the target calibration equipment for each radio frequency signal in the at least one radio frequency signal;
Calculating an absolute set of differences between the first output data set and the second output data set, and generating the calibration report after performing the calibration operation on the target DUT according to the absolute set of differences, wherein the calibration operation comprises at least one of: compensating and correcting the target DUT, wherein the calibration report comprises identification information of the target DUT, parameter information before calibration and parameter information after calibration, the difference absolute value set comprises a plurality of difference absolute values, and any one difference absolute value is obtained by calculating a difference value between first output data in the first output data set and second output data in the second output data set;
And sending the calibration report to the user, updating the occupied state of the target calibration slot to the unlocked state, and updating the calibration state to the calibrated state.
In one possible example, the set of absolute difference values includes at least one absolute difference value;
after the calculating of the absolute value set of the difference between the first output data set and the second output data set, the above-mentioned detecting unit 604 is specifically configured to:
comparing the magnitude relation between each difference absolute value in the at least one difference absolute value and a preset threshold value, and marking the radio frequency signal corresponding to the difference absolute value which is larger than the preset threshold value in the at least one difference absolute value as an abnormal signal;
And controlling the target calibration equipment to send the abnormal signal to the target DUT, and calculating the absolute value of the difference value between the first output data and the second output data corresponding to the abnormal signal.
In one possible example, after the calibration report is sent to the user, the detection unit 604 is specifically configured to:
If the target DUT is detected to be disconnected from the target calibration slot, updating the connected state of the connection state of the target calibration slot to an unconnected state and updating the use information of the target calibration device to an idle state;
If the fact that the user submits the calibration request of the target DUT again is detected, updating the occupied state of the target calibration slot to be the locking state, and updating the calibration state to be the state to be calibrated;
and controlling the target calibration channel to be communicated again, and carrying out the calibration operation on the target DUT again through the target calibration equipment.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The electronic device provided in this embodiment is configured to execute the calibration scheduling method, so that the same effect as that of the implementation method can be achieved.
In case an integrated unit is employed, the electronic device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage an action of the electronic device, for example, may be configured to support the electronic device to perform the step performed by the detecting unit 604. The memory module may be used to support the electronic device to execute stored program code, data, etc. And the communication module can be used for supporting the communication between the electronic device and other devices.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital Signal Processing (DSP) and a combination of microprocessors, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other electronic equipment.
The embodiment of the application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program makes a computer execute part or all of the steps of any one of the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform part or all of the steps of any one of the methods described in the method embodiments above. The computer program product may be a software installation package, said computer comprising an electronic device.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, such as the above-described division of units, merely a division of logic functions, and there may be additional manners of dividing in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned method of the various embodiments of the present application. And the aforementioned memory includes: a usb disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
The foregoing has outlined rather broadly the more detailed description of embodiments of the application, wherein the principles and embodiments of the application are explained in detail using specific examples, the above examples being provided solely to facilitate the understanding of the method and core concepts of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A calibration scheduling method applied to a calibration scheduling system, the calibration scheduling system comprising a processor, comprising:
Displaying the state of at least one calibration slot, wherein the calibration slot is used for placing a device under test DUT, and the state comprises an occupied state;
Selecting a target calibration slot with the occupied state being an unlocked state from the at least one calibration slot according to the occupied state;
Updating the unlocked state of the target calibration slot to a locked state;
If the target DUT is detected to be connected into the target calibration slot, adding a calibration request of the target calibration slot into a calibration request queue;
traversing the calibration request queue to obtain a target calibration request, and executing a calibration operation on the target DUT according to the target calibration request and generating a calibration report, wherein the target calibration request comprises the calibration request;
And sending the calibration report to a user, and updating the locking state of the target calibration slot to the unlocking state.
2. The method of claim 1, wherein said performing a calibration operation on said target DUT in accordance with said target calibration request and generating a calibration report comprises:
Acquiring use information of at least one calibration device, and selecting a target calibration device according to the use information, wherein the at least one calibration device is connected with the processor, the use information is used for indicating whether the corresponding calibration device is idle, and the target calibration device is used for the target DUT to perform the calibration operation;
and controlling the target calibration equipment to execute the calibration operation on the target DUT and generate the calibration report.
3. The method of claim 2, wherein the states further comprise a connected state and a calibrated state;
After detecting that a target DUT of the DUTs has access to the target calibration slot, the method further comprises:
Updating the connection state of the target calibration slot to a hardware connected state and updating the calibration state to a wait for calibration state.
4. The method of claim 3, wherein said controlling said target calibration device to perform said calibration operation on said target DUT comprises:
controlling a programmable attenuator to be communicated with a target calibration channel between the target calibration device and the target DUT, wherein the target calibration channel is a radio frequency channel between the target calibration device and the target DUT, which are communicated through the programmable attenuator, and the programmable attenuator is respectively connected with the processor, the at least one calibration device and the at least one calibration slot;
transmitting a calibration signal to the target calibration device, wherein the calibration signal is used for instructing the target calibration device to generate at least one radio frequency signal and transmitting the at least one radio frequency signal to the target DUT through the target calibration channel;
receiving a first output data set and a second output data set, wherein the first output data set is used for indicating a set formed by corresponding output data after the target DUT receives each radio frequency signal in the at least one radio frequency signal, and the second output data set is used for indicating a set formed by output data generated by the target calibration equipment for each radio frequency signal in the at least one radio frequency signal;
Calculating an absolute set of differences between the first output data set and the second output data set, and generating the calibration report after performing the calibration operation on the target DUT according to the absolute set of differences, wherein the calibration operation comprises at least one of: compensating and correcting the target DUT, wherein the calibration report comprises identification information of the target DUT, parameter information before calibration and parameter information after calibration, the difference absolute value set comprises a plurality of difference absolute values, and any one difference absolute value is obtained by calculating a difference value between first output data in the first output data set and second output data in the second output data set;
And sending the calibration report to the user, updating the occupied state of the target calibration slot to the unlocked state, and updating the calibration state to the calibrated state.
5. The method of claim 4, wherein the set of absolute difference values comprises at least one absolute difference value;
After said calculating the absolute value set of differences between said first output data set and said second output data set, said method further comprises:
comparing the magnitude relation between each difference absolute value in the at least one difference absolute value and a preset threshold value, and marking the radio frequency signal corresponding to the difference absolute value which is larger than the preset threshold value in the at least one difference absolute value as an abnormal signal;
And controlling the target calibration equipment to send the abnormal signal to the target DUT, and calculating the absolute value of the difference value between the first output data and the second output data corresponding to the abnormal signal.
6. The method of claim 5, wherein after the sending the calibration report to the user, the method further comprises:
if the target DUT is detected to be disconnected from the target calibration slot, updating the hardware connected state of the connection state of the target calibration slot to a hardware unconnected state and updating the use information of the target calibration device to an idle state;
If the user is detected to submit the calibration request of the target DUT again, updating the occupied state of the target calibration slot to the locking state, and updating the calibration state to the waiting calibration state;
and controlling the target calibration channel to be communicated again, and carrying out the calibration operation on the target DUT again through the target calibration equipment.
7. A calibration scheduling system, characterized in that the calibration scheduling system comprises at least one calibration tank, a processor, a programmable attenuator and at least one calibration device; wherein,
The at least one calibration slot is used for placing the DUT (device under test), wherein each calibration slot in the at least one calibration slot comprises a corresponding USB (universal serial bus) wire, a power wire and a radio frequency wire;
The processor is connected with the at least one calibration slot and is used for displaying the state of the at least one calibration slot, wherein the state comprises an occupied state; the target calibration slot with the occupied state being an unlocked state is selected from the at least one calibration slot according to the occupied state; and updating the unlocked state of the target calibration slot to a locked state; the system is also used for adding the calibration request of the target calibration slot into a calibration request queue if the target DUT in the DUTs is detected to be accessed into the target calibration slot; the system is further used for traversing the calibration request queue to obtain a target calibration request, and executing calibration operation on the target DUT according to the target calibration request and generating a calibration report, wherein the target calibration request comprises the calibration request; the method is also used for sending the calibration report to a user and updating the locking state of the target calibration slot to the unlocking state;
The program-controlled attenuator is used for communicating a radio frequency channel between the target DUT and the target calibration equipment and sending at least one radio frequency signal to the target DUT and the target calibration equipment through the target radio frequency channel; the program-controlled attenuator is respectively connected with the processor, the at least one calibration device and the at least one calibration groove;
The at least one calibration device is configured to receive the at least one radio frequency signal and to send output data to the processor.
8. A calibration scheduling device is characterized in that the device comprises a display unit, a selection unit, an updating unit, a detection unit, a traversing unit and a sending unit, wherein,
The display unit is used for displaying the state of at least one calibration slot, wherein the calibration slot is used for placing the device under test DUT, and the state comprises an occupied state;
The selecting unit is used for selecting a target calibration slot with the occupied state being an unlocked state from the at least one calibration slot according to the occupied state;
The updating unit is used for updating the unlocked state of the target calibration slot to be a locked state;
the detection unit is used for adding a calibration request of the target calibration slot into a calibration request queue if detecting that the target DUT in the DUTs accesses the target calibration slot;
The traversing unit is used for traversing the calibration request queue to obtain a target calibration request, and executing a calibration operation on the target DUT according to the target calibration request and generating a calibration report, wherein the target calibration request comprises the calibration request;
and the sending unit is used for sending the calibration report to a user and updating the locking state of the target calibration slot to the unlocking state.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-6.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.
CN202210960660.9A 2022-08-10 2022-08-10 Calibration scheduling method and related device Active CN115348201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210960660.9A CN115348201B (en) 2022-08-10 2022-08-10 Calibration scheduling method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210960660.9A CN115348201B (en) 2022-08-10 2022-08-10 Calibration scheduling method and related device

Publications (2)

Publication Number Publication Date
CN115348201A CN115348201A (en) 2022-11-15
CN115348201B true CN115348201B (en) 2024-05-10

Family

ID=83951323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210960660.9A Active CN115348201B (en) 2022-08-10 2022-08-10 Calibration scheduling method and related device

Country Status (1)

Country Link
CN (1) CN115348201B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102437888A (en) * 2011-12-16 2012-05-02 摩比天线技术(深圳)有限公司 Calibration method and detection method for standing-wave ratio warning circuit
CN202948065U (en) * 2012-12-17 2013-05-22 厦门众盛精密电路有限公司 Auxiliary test tool
CN106849982A (en) * 2016-12-31 2017-06-13 歌尔科技有限公司 A kind of superhet and the method and apparatus for improving its accuracy of measurement
US10242546B1 (en) * 2016-12-30 2019-03-26 Equinix, Inc. Electronic monitoring of cabinet statuses
CN112567653A (en) * 2018-11-30 2021-03-26 华为技术有限公司 Calibration method and device for radio frequency channel
CN216133343U (en) * 2021-08-26 2022-03-25 厦门唯质电气科技有限公司 Batch aging test equipment for motor controllers

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8700252B2 (en) * 2010-07-27 2014-04-15 Ford Global Technologies, Llc Apparatus, methods, and systems for testing connected services in a vehicle
US9167459B2 (en) * 2013-03-08 2015-10-20 Litepoint Corporation System and method for confirming radio frequency (RF) signal connection integrity with multiple devices under test (DUTs) to be tested concurrently
US10345418B2 (en) * 2015-11-20 2019-07-09 Teradyne, Inc. Calibration device for automatic test equipment
US20190285666A1 (en) * 2018-03-13 2019-09-19 Tektronix, Inc. Test and Measurement Management

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102437888A (en) * 2011-12-16 2012-05-02 摩比天线技术(深圳)有限公司 Calibration method and detection method for standing-wave ratio warning circuit
CN202948065U (en) * 2012-12-17 2013-05-22 厦门众盛精密电路有限公司 Auxiliary test tool
US10242546B1 (en) * 2016-12-30 2019-03-26 Equinix, Inc. Electronic monitoring of cabinet statuses
CN106849982A (en) * 2016-12-31 2017-06-13 歌尔科技有限公司 A kind of superhet and the method and apparatus for improving its accuracy of measurement
CN112567653A (en) * 2018-11-30 2021-03-26 华为技术有限公司 Calibration method and device for radio frequency channel
CN216133343U (en) * 2021-08-26 2022-03-25 厦门唯质电气科技有限公司 Batch aging test equipment for motor controllers

Also Published As

Publication number Publication date
CN115348201A (en) 2022-11-15

Similar Documents

Publication Publication Date Title
CN107566053B (en) Method and system for testing radio frequency index and computer readable storage medium
CN111314945B (en) Test method, system and terminal equipment
US9424221B2 (en) Automated cabling process for a complex environment
CN110611876B (en) Indoor asset management method, device and system
CN102147733A (en) Method for loading procedure to satellite borne remote terminal computer by using 1553B serial data bus
US20140349585A1 (en) System and method for the calibration and verification of wireless networks with control network
EP4191905A1 (en) Test method and device
CN113655727A (en) Control method and device for household electrical appliance
JP2019176367A (en) Apparatus, system and method for mobile terminal test
CN115348201B (en) Calibration scheduling method and related device
CN110913362A (en) Method and device for realizing wireless signal test through client and test equipment
CN114090047A (en) Software upgrading method and device
CN111371593B (en) Service deployment method, device, electronic equipment and storage medium
CN113132522A (en) Test method, device, server and medium
CN109921862B (en) Test method, test device and test system
CN111464984A (en) Communication method and device
CN111885588B (en) Method and device for executing electronic card management service
EP3116146B1 (en) Channel correction apparatus and method
CN105188071A (en) Method, device and system for testing terminal power consumption
CN111615116B (en) Mobile terminal test device and support combination acquisition method thereof
CN114665990B (en) Wireless repeater testing method and device, electronic equipment and medium
CN104581825A (en) Resource status acquisition method, device and system
CN112437430B (en) Service data transmission method and device
CN114024783B (en) Power calibration method, device, PSE, electronic equipment and readable storage medium
CN111130589B (en) Electronic equipment and power calibration method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant