Baseband board channel resource allocation method, test equipment, upper computer and system
By using the upper computer to determine configuration information in the test equipment and dynamically obtain matching resources, the problem of inflexible resource allocation of baseband board channels in the existing technology is solved, and dynamic resource allocation and efficient utilization in complex combinations are achieved.
Patent Information
- Application Number
- CN202411971851.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-25
AI Technical Summary
The prior art is difficult to realize dynamic allocation of baseband board channel resources under the complex combination of multiple test equipment and multiple baseband board channel resources, resulting in inflexible resource utilization.
The configuration information is determined in the first test device through the host computer, including resource information of at least one baseband board channel resource. If the callable resources of the first test device do not meet the needs, the matching adjustable baseband board channel resource is obtained from the second test device and loaded it to the first test device.
It realizes dynamic allocation of baseband board channel resources under the complex combination of multiple test equipment and multiple baseband board channel resources, which improves the flexible utilization rate of resources.
Smart Images

Figure CN119893682A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and in particular, relates to a baseband board channel resource allocation method, test equipment, host computer and system. Background Art
[0002] In the field of communications, baseband channel resources, as the communication carrier for signal transmission and reception, are the core equipment for communication simulation. By combining the channel resources of multiple baseband boards, higher bandwidth and multi-MIMO test scenario simulation can be achieved.
[0003] However, in the prior art, when faced with a situation where a test device has multiple baseband board channel resources, in order to meet the testing requirements of multiple channels, the baseband board channel resources need to be preset according to the functional positioning requirements, so as to be locked by a management method that strongly associates the physical position, resource number and execution logic of the baseband board. When faced with new testing requirements, the above method can no longer dynamically switch the baseband board channel resources. Therefore, when faced with a complex combination of multiple test devices and multiple baseband board channel resources, the above method is more difficult to achieve flexible allocation of baseband board channel resources.
[0004] Therefore, there is an urgent need for a method to dynamically allocate baseband board channel resources in the case of a complex combination of multiple test devices and multiple baseband board channel resources. Summary of the invention
[0005] The embodiments of the present application provide a baseband board channel resource allocation method, test equipment, host computer and system, which can realize dynamic allocation of baseband board channel resources in the case of a complex combination of multiple test equipment and multiple baseband board channel resources.
[0006] In a first aspect, an embodiment of the present application provides a baseband board channel resource allocation method, which is applied to a first test device, and the method includes:
[0007] Receive configuration information sent by the host computer, wherein the configuration information includes resource information of at least one first baseband board channel resource; the first baseband board channel resource is determined by the host computer from a plurality of baseband board channel resources possessed by the first test device and used to test the target device;
[0008] When it is determined based on the configuration information that the current first callable baseband board channel resources of the first test device do not satisfy the at least one first baseband board channel resources, a second adjustable baseband board channel resource is obtained from the second test device, and the second adjustable baseband board channel resource is loaded into the first test device, so that the first test device tests the target device based on the second adjustable baseband board channel resource; the second adjustable baseband board channel resource is the baseband board channel resource in the second test device, and the second adjustable baseband board channel resource matches the at least one first baseband board channel resource.
[0009] In some embodiments, the second adjustable baseband board channel resource includes a plurality of second baseband board channel resources, and the second test device includes a plurality of second test devices;
[0010] The acquiring a second adjustable baseband board channel resource from the second test device and loading the second adjustable baseband board channel resource to the first test device includes:
[0011] Acquire first resource information of the second adjustable baseband board channel resource from the second test device;
[0012] Based on the first resource information, second resource information of the target baseband board channel resource is obtained, and a resource upload instruction is sent to the target second test device corresponding to the target baseband board channel resource; the second resource information of the target baseband board channel resource is determined by the host computer from the first resource information of the second adjustable baseband board channel resource;
[0013] Receive the target baseband board channel resources fed back by the target second test device based on the resource upload instruction;
[0014] The target baseband board channel resources are loaded into the first test device.
[0015] In some embodiments, the acquiring of the second resource information of the target baseband board channel resource based on the first resource information, and sending a resource upload instruction to the target second test device corresponding to the target baseband board channel resource, includes:
[0016] Sending the first resource information to the host computer;
[0017] receiving a resource loading instruction sent by the host computer, wherein the resource loading instruction is generated by the host computer based on the second resource information determined from the first resource information;
[0018] A resource upload instruction is sent to the target second test device corresponding to the target baseband board channel resource.
[0019] In some embodiments, the step of acquiring the second resource information of the target baseband board channel resource based on the first resource information includes:
[0020] Determine second resource information of the target baseband board channel resource based on the first resource information and the third resource information; the third resource information is the resource information of the first callable baseband board channel resource;
[0021] Sending the first resource information to the host computer includes:
[0022] Sending the first resource information and the third resource information to the host computer;
[0023] The resource loading instruction is generated by the host computer based on the second resource information determined from the first resource information and the third resource information; the resource loading instruction is used to indicate the first resource information or the third resource information;
[0024] The sending a resource upload instruction to a target second test device corresponding to the target baseband board channel resource includes:
[0025] In a case where the resource loading instruction indicates the first resource information, a resource upload instruction is sent to a target second test device corresponding to the target baseband board channel resource;
[0026] The method further comprises:
[0027] In a case where the resource loading instruction indicates the third resource information, the target baseband board channel resources are loaded into the first test device, so that the first test device tests the target device based on the target baseband board channel resources.
[0028] In some embodiments, the configuration information further includes a target test mode, and the target test mode is determined by the host computer from a plurality of test modes possessed by the first test device and used to test the target device; after receiving the configuration information sent by the host computer, the method further includes:
[0029] Obtain a target image program of a target core resource chip type corresponding to the configuration information;
[0030] After loading the second callable baseband board channel resource into the first test device, the method further includes:
[0031] The target image program is installed into the loaded second callable baseband board channel resource.
[0032] In some embodiments, before obtaining the target image program of the target core resource chip type corresponding to the configuration information according to the configuration information, the method includes:
[0033] Convert the image programs of the core resource chip types required by the baseband board channel resources into corresponding binary files respectively;
[0034] The binary files are classified and stored according to the core resource chip type and test mode corresponding to the image program.
[0035] In some embodiments, the above-mentioned obtaining, according to the configuration information, a target image program of a target core resource chip type corresponding to the configuration information includes:
[0036] Determine the target core resource chip type of the required image program according to the resource information of the first baseband board channel resource;
[0037] According to the target core resource chip type and the target test mode, a corresponding target binary file is obtained from the stored binary files, and the target binary file is parsed into a corresponding target image program.
[0038] In a second aspect, an embodiment of the present application provides a baseband board channel resource allocation method, which is applied to a second test device, and the method includes:
[0039] When the first test device determines, based on the configuration information, that the current first callable baseband board channel resources do not satisfy at least one first baseband board channel resource, a second callable baseband board channel resource in the second test device is sent to the first test device; the configuration information includes resource information of the at least one first baseband board channel resource; the first baseband board channel resource is determined by the host computer from a plurality of baseband board channel resources possessed by the first test device and used to test the target device; the second callable baseband board channel resource matches the at least one first baseband board channel resource;
[0040] The first test device is used to load the second callable baseband board channel resources into the first test device, so that the first test device tests the target device based on the second callable baseband board channel resources.
[0041] In some embodiments, the second adjustable baseband board channel resource includes a plurality of second baseband board channel resources, and sending the second adjustable baseband board channel resource in the second test device to the first test device includes:
[0042] Sending the first resource information of the second callable baseband board channel resource in the second test device to the first test device; the first test device is used to obtain the second resource information of the target baseband board channel resource based on the first resource information, and send a resource upload instruction to the target second test device corresponding to the target baseband board channel resource; the second resource information of the target baseband board channel resource is determined by the host computer from the first resource information of the second deployable baseband board channel resource;
[0043] If a resource upload instruction is received from the first test device based on the second resource information, the target baseband board channel resources are fed back to the first test device based on the resource upload instruction; the first test device is used to load the target baseband board channel resources to the first test device when the target baseband board channel resources are received, so that the first test device tests the target device based on the target baseband board channel resources.
[0044] In a third aspect, an embodiment of the present application provides a baseband board channel resource allocation method, which is applied to a host computer, and the method includes:
[0045] In some embodiments, the at least one first baseband board channel resource is determined from a plurality of baseband board channel resources possessed by the first test device and used to test the target device;
[0046] Send configuration information to a first test device; the configuration information includes resource information of at least one first baseband board channel resource; the first test device is used to determine, based on the configuration information, that the current first callable baseband board channel resource of the first test device does not satisfy the at least one first baseband board channel resource, obtain a second adjustable baseband board channel resource from a second test device, and load the second adjustable baseband board channel resource to the first test device, so that the first test device tests the target device based on the second callable baseband board channel resource, the second adjustable baseband board channel resource is a baseband board channel resource in the second test device, and the second adjustable baseband board channel resource matches the at least one first baseband board channel resource.
[0047] In some embodiments, the second adjustable baseband board channel resource includes a plurality of second baseband board channel resources, and the second test device includes a plurality of second test devices; after sending the configuration information to the first test device, the method further includes:
[0048] Receiving first resource information of a second adjustable baseband board channel resource sent by the first test device, wherein the first resource information of the second adjustable baseband board channel resource is obtained by the first test device from the second test device before the first test device obtains the second adjustable baseband board channel resource from the second test device;
[0049] Determine second resource information of a target baseband board channel resource from the first resource information;
[0050] The second resource information is sent to the first test device; the first test device is used to send a resource upload instruction to the target second test device corresponding to the target baseband board channel resources, receive the target baseband board channel resources feedback by the target second test device based on the resource upload instruction, and load the target baseband board channel resources to the first test device, so that the first test device tests the target device based on the target baseband board channel resources.
[0051] In some embodiments, sending the second resource information to the first test device includes:
[0052] generating a resource loading instruction based on the second resource information;
[0053] The resource loading instruction is sent to the first test device; the first test device is used to receive the resource loading instruction and send a resource upload instruction to the target second test device corresponding to the target baseband board channel resource.
[0054] In some embodiments, the receiving of the first resource information of the second adjustable baseband board channel resource sent by the first test device includes:
[0055] Receiving the first resource information and the third resource information sent by the first test device, wherein the third resource information is the resource information of the first callable baseband board channel resources;
[0056] The determining the second resource information of the target baseband board channel resource from the first resource information includes:
[0057] Determine second resource information of a target baseband board channel resource from the first resource information and the third resource information;
[0058] The resource loading instruction is used to indicate the first resource information or the third resource information. The first test device is used to send a resource upload instruction to the target second test device corresponding to the target baseband board channel resources when the resource loading instruction indicates the first resource information, and load the target baseband board channel resources to the first test device when the resource loading instruction indicates the third resource information, so that the first test device tests the target device based on the target baseband board channel resources.
[0059] In a fourth aspect, an embodiment of the present application provides a testing device, the device comprising: a processor and a memory storing computer program instructions;
[0060] When the processor executes the computer program instructions, the baseband board channel resource allocation method as described in the first aspect and the second aspect is implemented.
[0061] In a fifth aspect, an embodiment of the present application provides a host computer, the device comprising: a processor and a memory storing computer program instructions;
[0062] When the processor executes the computer program instructions, the baseband board channel resource allocation method as described in the third aspect is implemented.
[0063] In a sixth aspect, an embodiment of the present application provides a baseband board channel resource allocation system, including a test device as in the fourth aspect and a host computer as in the fifth aspect.
[0064] The embodiment of the present application provides a baseband board channel resource allocation method, test equipment, host computer and system, wherein the host computer determines the resource information of at least one first baseband board channel resource from multiple baseband board channel resources possessed by the first test equipment and used to test the target equipment, and sends configuration information to the first test equipment. When it is determined based on the configuration information that the current first callable baseband board channel resource of the first test equipment does not satisfy at least one first baseband board channel resource, the host computer obtains the second callable baseband board channel resource from the second test equipment, and loads the second callable baseband board channel resource to the first test equipment, so that the first test equipment tests the target equipment based on the second callable baseband board channel resource. In this way, the baseband board channel resources of the first test equipment and the second test equipment are dynamically allocated by interacting and evaluating the baseband board channel resource information with each other. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0066] Figure 1 It is a flowchart of a baseband board channel resource allocation method applied to a first test device provided by an embodiment of the present application;
[0067] Figure 2 It is a flowchart of a baseband board channel resource allocation method applied to a second test device provided by an embodiment of the present application;
[0068] Figure 3 It is a flow chart of a baseband board channel resource allocation method applied to a host computer provided by an embodiment of the present application;
[0069] Figure 4 It is a structural block diagram of a baseband board channel resource allocation system provided by an embodiment of the present application;
[0070] Figure 5 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0071] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0072] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0073] In order to solve the problems of the prior art, an embodiment of the present application provides a baseband board channel resource allocation method, which is implemented by the interaction between a host computer and multiple test devices.
[0074] In this embodiment, the baseband board channel resource allocation method is described with a host computer, a first test device, and a second test device as execution entities, respectively, wherein the first test device is a test device currently connected to a target device to be tested and currently used to test the target device, and the second test device is a test device other than the first test device among multiple test devices.
[0075] In some implementations, the test device may be a tester, and the target device may be an electronic product such as a mobile phone or a tablet to be tested.
[0076] The following first introduces the baseband board channel resource allocation method provided in the embodiment of the present application by taking the first test device as the execution subject, that is, the baseband board channel resource allocation method is applied to the first test device.
[0077] Figure 1 FIG. 1 is a flow chart of a method for allocating baseband channel resources applied to a first test device according to an embodiment of the present application. Figure 1 As shown, the baseband board channel resource allocation method may include but is not limited to the following steps S101-S102:
[0078] Step S101, receiving configuration information sent by a host computer.
[0079] Step S102, when it is determined based on the configuration information that the current first callable baseband board channel resources of the first test device do not satisfy at least one first baseband board channel resource, obtain the second adjustable baseband board channel resources from the second test device, and load the second callable baseband board channel resources to the first test device, so that the first test device tests the target device based on the second callable baseband board channel resources.
[0080] The configuration information includes resource information of at least one first baseband board channel resource, and the first baseband board channel resource is determined by the host computer from a plurality of baseband board channel resources possessed by the first test device and used to test the target device. The resource information may include an identifier representing the resource and an identifier representing the source test device, so as to identify which test device the baseband board channel resource comes from and what channel resource it is.
[0081] In some embodiments, the host computer is used to obtain resource information of multiple baseband board channel resources possessed by the first test device and used to test the target device, and provide the resource information to the display interface for display, so that the user can independently select to determine the resource information of the first baseband board channel resources. In one embodiment, the host computer is also used to obtain status information of multiple baseband board channel resources possessed by the first test device and used to test the target device. The status information can be divided into occupied, recyclable, deployable, etc. The host computer can be used to provide the status information together with the resource information to the display interface for display, so that the user can better select the resource information of the first baseband board channel resources.
[0082] In some embodiments, the host computer may be used to send the configuration information to the first test device in the form of a configuration script. The first test device receives and parses the configuration script sent by the host computer to receive the configuration information.
[0083] The second adjustable baseband board channel resources are baseband board channel resources in the second test device, and the second adjustable baseband board channel resources match the at least one first baseband board channel resource.
[0084] In step S102 of some embodiments, the first test device obtains the current first callable baseband board channel resources. The callable baseband board channel resources can be understood as baseband board channel resources that are not occupied or occupied but recyclable. The configuration information is matched with the resource information of the baseband board channel resources currently callable by the first test device to determine whether the baseband board channel resources currently callable by the first test device meet at least one first baseband board channel resource.
[0085] In one embodiment, if the configuration information is matched with the resource information of the baseband board channel resources currently callable by the first test device, it is determined that the first callable baseband board channel resources include each first baseband board channel resource of the above-mentioned at least one first baseband board channel resource, then the first callable baseband board channel resources satisfy at least one first baseband board channel resource; if the configuration information is matched with the resource information of the baseband board channel resources currently callable by the first test device, it is determined that the first callable baseband board channel resources do not include each first baseband board channel resource of the above-mentioned at least one first baseband board channel resource, then the first callable baseband board channel resources do not satisfy at least one first baseband board channel resource.
[0086] For example, at least one first baseband board channel resource includes resource A, resource B and resource C. If the first callable baseband board channel resource includes resource A and resource B, the first callable baseband board channel resource does not satisfy at least one first baseband board channel resource. If the first callable baseband board channel resource includes resource A, resource B, resource C and resource D, the first callable baseband board channel resource satisfies at least one first baseband board channel resource.
[0087] In one implementation, when it is determined that the baseband board channel resources currently available for the first test device do not satisfy at least one first baseband board channel resource, the first test device sends a resource query instruction to the second test device. After receiving the resource query instruction, the second test device queries the resources in the second test device, and if there are second adjustable baseband board channel resources, the second adjustable baseband board channel resources are uploaded to the first test device, and the first test device receives the second adjustable baseband board channel resources uploaded by the second test device to obtain the second adjustable baseband board channel resources.
[0088] Among them, the second adjustable baseband board channel resources match at least one first baseband board channel resource, which can be understood as the second adjustable baseband board channel resources and part of the first baseband board channel resources in at least one first baseband board channel resource are of the same type, or the second adjustable baseband board channel resources and part of the first baseband board channel resources in at least one first baseband board channel resource can realize the same test function.
[0089] For example, at least one first baseband board channel resource includes resource A, resource B and resource C, and the second callable baseband board channel resource in the second test device includes resource A and resource B, then resource A and resource B are uploaded to the first test device.
[0090] In an embodiment of the present application, the above-mentioned first test device receives and parses the configuration information sent by the upper computer, determines the details of the required resources, and then evaluates the resource status of each connected channel to determine whether the allocation plan can be met, which can effectively avoid resource conflicts and system abnormalities caused by the allocation process.
[0091] In some embodiments, there may be many second adjustable baseband board channel resources queried by the second test device, that is, the second adjustable baseband board channel resources include multiple second baseband board channel resources, and the second baseband board channel resources are baseband board channel resources in the second test device that match at least one first baseband board channel resource. The second adjustable baseband board channel resources may exceed the resource requirements of the first test device. If the second adjustable baseband board channel resources are all used by the first test device, it will cause resource waste. In order to avoid resource waste, step S102 of the embodiment of the present application may include but is not limited to the following steps:
[0092] The first test device obtains first resource information of a second adjustable baseband board channel resource from the second test device.
[0093] The first resource information includes resource information of a plurality of second baseband board channel resources in the second adjustable baseband board channel resources. The second test device may include a plurality of second test devices.
[0094] In some embodiments, the first test device may send a resource query instruction to each second test device in the second test device. For each second test device, the second test device is used to query the resources in the second test device after receiving the resource query instruction. If there are second adjustable baseband board channel resources, the first resource information of the second adjustable baseband board channel resources is uploaded to the first test device. The first test device receives the first resource information of the second adjustable baseband board channel resources from the second test device to obtain the first resource information of the second adjustable baseband board channel resources from the second test device.
[0095] The first test device obtains second resource information of the target baseband board channel resource based on the first resource information, and sends a resource upload instruction to the target second test device corresponding to the target baseband board channel resource.
[0096] The second resource information of the target baseband board channel resource is determined by the host computer from the first resource information of the second adjustable baseband board channel resource. The resource upload instruction can be used to indicate the target baseband board channel resource.
[0097] In some embodiments, the first test device sends the first resource information to the host computer, and the host computer is used to determine the second resource information of the target baseband board channel resources from the first resource information. In response to the host computer determining the second resource information of the target baseband board channel resources from the first resource information, the first test device sends a resource upload instruction to the target second test device corresponding to the target baseband board channel resources.
[0098] For example, the first resource information includes resource information of resource A, resource B, and resource C, wherein resource A, resource B, and resource C come from second test device A, second test device B, and second test device C, respectively. The second resource information of the target baseband board channel resource determined by the upper computer from the first resource information is the resource information of resource A. Then the first test device sends a resource upload instruction to the second test device A corresponding to resource A.
[0099] The first test device receives the target baseband board channel resources fed back by the target second test device based on the resource upload instruction. In some embodiments, the target second test device is used to receive the resource upload instruction, parse the target baseband board channel resources indicated by the resource upload instruction, and feed back the target baseband board channel resources to the first test device.
[0100] For example, the first resource information includes resource information of resource A, resource B, and resource C, wherein resource A, resource B, and resource C come from second test device A, second test device B, and second test device C, respectively. The second resource information of the target baseband board channel resource determined by the upper computer from the first resource information is the resource information of resource A. Then, the first test device sends a resource upload instruction to the second test device A corresponding to resource A. The second test device A receives the resource upload instruction and feeds back resource A to the first test device.
[0101] The first test device loads the target baseband board channel resources to the first test device, so that the first test device uses the target baseband board channel resources to test the target device.
[0102] In an embodiment of the present application, by determining part of the target baseband board channel resources from the second adjustable baseband board channel resources from the host computer, the waste of baseband board channel resources can be effectively avoided and the effective utilization rate of the baseband board channel resources can be improved.
[0103] In some embodiments, the step of the first test device acquiring the second resource information of the target baseband board channel resource based on the first resource information, and sending a resource upload instruction to the target second test device corresponding to the target baseband board channel resource may include but is not limited to the following steps:
[0104] The first test device sends first resource information to the host computer.
[0105] The host computer is used to receive the first resource information, and to determine the second resource information from the first resource information, generate a resource loading instruction based on the second resource information, and send the resource loading instruction to the first test device. In some embodiments, after receiving the first resource information, the host computer displays the first resource information on a display interface, and the user can operate in the display interface to select the second resource information from the first resource information. The host computer generates a resource loading instruction in response to the second resource information selected by the user, and sends the resource loading instruction to the first test device.
[0106] The first test device receives a resource loading instruction sent by the host computer.
[0107] The first test device sends a resource upload instruction to the target second test device corresponding to the target baseband board channel resource, wherein the resource upload instruction sent to the target second test device is used to indicate the corresponding target baseband board channel resource.
[0108] In some embodiments, the first test device receives a resource loading instruction, parses the resource loading instruction, obtains second resource information, determines the corresponding target second test device based on the target baseband board channel resources corresponding to the second resource information, and sends the resource upload instruction to the target second test device.
[0109] In some embodiments, the step of sending the first resource information to the host computer may include but is not limited to the following steps:
[0110] The first test device sends the first resource information and the third resource information to the host computer.
[0111] The third resource information is the resource information of the first callable baseband board channel resources.
[0112] Therefore, the above step of acquiring the second resource information of the target baseband board channel resource based on the first resource information may include but is not limited to the following steps:
[0113] The first test device determines second resource information of the channel resource of the target baseband board based on the first resource information and the third resource information.
[0114] The resource loading instruction is generated by the host computer based on the second resource information determined from the first resource information and the third resource information. Therefore, the resource loading instruction can be used to indicate the first resource information or the third resource information.
[0115] In some embodiments, the above step of sending a resource upload instruction to the target second test device corresponding to the target baseband board channel resource may include but is not limited to the following steps:
[0116] In the case where the resource loading instruction indicates the first resource information, the first test device sends a resource upload instruction to the target second test device corresponding to the target baseband board channel resource.
[0117] The method may include, but is not limited to, the following steps:
[0118] In a case where the resource loading instruction indicates the third resource information, the first test device loads the target baseband board channel resources to the first test device, so that the first test device tests the target device based on the target baseband board channel resources.
[0119] For example, the first resource information includes resource information of resource A and resource B, and the third resource information includes resource information of resource C, wherein the second resource information determined from the first resource information and the third resource information includes resource information of resource A and resource C, then the resource loading instruction indicates both the first resource information and the second resource information, and the first test device sends a resource upload instruction to the target second test device corresponding to resource A, and loads resource C to the first test device.
[0120] The above configuration information also includes a target test mode, which is determined by the host computer from multiple test modes that the first test device has and is used to test the target device. After the first test device receives the configuration information sent by the host computer, it may include but is not limited to the following steps:
[0121] The first testing device obtains a target image program of a target core resource chip type corresponding to the configuration information.
[0122] In one embodiment, after the second callable baseband board channel resources are loaded into the first test device, the target image program is installed into the loaded second callable baseband board channel resources, and finally, the target test mode is obtained, and the target device is tested based on the target test mode and the second callable baseband board channel resources after the target image program is installed.
[0123] In another embodiment, if the target baseband board channel resources are loaded into the first test device, then after the target baseband board channel resources are loaded into the first test device, the target image program is installed into the loaded target baseband board channel resources, and the target device is tested based on the target test mode and the target baseband board channel resources after the target image program is installed.
[0124] In some embodiments, before the step of the first test device acquiring the target image program of the target core resource chip type corresponding to the configuration information, the steps may include but are not limited to:
[0125] The first test device converts the image program of the core resource chip type required for each baseband board channel resource into a corresponding binary file. In some embodiments, all the image programs of the core resource chip type required for each baseband board channel resource that may be used are converted into a corresponding binary file.
[0126] For example, all possible baseband channel resources include resource A, resource B and resource C. The core resource chip types corresponding to resource A, resource B and resource C are CPU, DSP and FPGA respectively. The image programs of CPU, DSP and FPGA will be converted into corresponding binary files respectively.
[0127] The first test device classifies and stores the binary files according to the core resource chip type and the test mode corresponding to the image program. In some embodiments, the binary files are classified according to the core resource chip type and the test mode, a correspondence between the core resource chip type and the test mode and the image program is established, and based on the correspondence, the image program is classified and stored in the first test device.
[0128] For example, the core resource chip types corresponding to image program A, image program B, and image program C are CPU, DSP, and FPGA respectively, the test modes corresponding to image program A, image program B, and image program C are test mode A, test mode B, and test mode C respectively, and the binary files corresponding to image program A, image program B, and image program C are binary file A, binary file B, and binary file C respectively, then they are classified and stored as CPU-test mode A-binary file A, DSP-test mode B-binary file B, and FPGA-test mode C-binary file C.
[0129] In an embodiment of the present application, the image program is converted into a binary file for easy storage in the test device. In addition, the stored image program is classified according to the baseband board core resource chip model category and the test mode category to facilitate quick query and retrieval when used by users.
[0130] In some embodiments, the step of obtaining, according to the configuration information, a target image program of a target core resource chip type corresponding to the configuration information may include, but is not limited to, the following steps:
[0131] The first testing device determines the target core resource chip type of the required image program according to the resource information of the channel resources of the first baseband board.
[0132] The first test device obtains a corresponding target binary file from the stored binary files according to the target core resource chip type and the target test mode, and parses the target binary file into a corresponding target image program.
[0133] In one embodiment, a target binary file with successful matching is obtained by matching the target core resource chip type and the target test mode with the stored binary file, wherein a successful match is considered to be achieved if the corresponding core resource chip type and the test mode are consistent with the target core resource chip type and the target test mode.
[0134] For example, the storage is classified as CPU-test mode A-binary file A, DSP-test mode B-binary file B, and FPGA-test mode C-binary file C. If the target core resource chip type and the target test mode are CPU and test mode A respectively, the corresponding target binary file will be obtained as binary file A, and binary file A will be parsed and restored to image program A.
[0135] In one implementation, before the target image program is sent down and loaded into the baseband board channel resources, the integrity of the target image program is checked and verified. If the check succeeds, the target image program is sent down and loaded into the baseband board channel resources.
[0136] In the embodiment of the present application, in addition to the functions of storing, querying and extracting the image program, it also has the detection and verification of the program integrity, and has an inverse conversion algorithm. By identifying key information, the integrity of the image program is determined to avoid failure to load normally when extracted for use.
[0137] The above is a description of the baseband board channel resource allocation method applied to the first test device. The following is a description of the baseband board channel resource allocation method applied to the second test device.
[0138] Figure 2 FIG. 1 is a flow chart of a method for allocating baseband channel resources applied to a second test device according to an embodiment of the present application. Figure 2 As shown, the baseband board channel resource allocation method may include but is not limited to the following step S201:
[0139] Step S201, when the first test device determines according to configuration information that the current first callable baseband board channel resources do not satisfy at least one first baseband board channel resource, the second callable baseband board channel resources in the second test device are sent to the first test device.
[0140] The above-mentioned configuration information includes resource information of at least one first baseband board channel resource. The above-mentioned first baseband board channel resource is determined by the host computer from multiple baseband board channel resources possessed by the first test device and used to test the target device. The above-mentioned second callable baseband board channel resource matches at least one first baseband board channel resource.
[0141] The above-mentioned first test device is used to load the second callable baseband board channel resources into the first test device, and the first test device tests the target device based on the second callable baseband board channel resources.
[0142] In some embodiments, when the first test device determines that the current first callable baseband board channel resources do not satisfy at least one first baseband board channel resource, the first test device is used to send a resource query instruction to the second test device, the second test device receives the resource query instruction, and queries the second test device whether there is a second adjustable baseband board channel resource. If there is a second adjustable baseband board channel resource, the second adjustable baseband board channel resource is uploaded to the first test device.
[0143] In some embodiments, there may be many second adjustable baseband board channel resources queried by the second test device, that is, the second adjustable baseband board channel resources include multiple second baseband board channel resources, and the second baseband board channel resources are baseband board channel resources in the second test device that match at least one first baseband board channel resource. The second adjustable baseband board channel resources may exceed the resource requirements of the first test device. If the second adjustable baseband board channel resources are all used by the first test device, it will cause resource waste. In order to avoid resource waste, step S201 of the embodiment of the present application may include but is not limited to the following steps:
[0144] The second test device sends first resource information of a second callable baseband board channel resource in the second test device to the first test device.
[0145] In this embodiment, the first resource information includes resource information of a plurality of second baseband board channel resources in the second adjustable baseband board channel resources.
[0146] In some embodiments, the first test device is used to send a resource query instruction to the second test device, the second test device receives the resource query instruction, and sends first resource information of a second callable baseband board channel resource to the first test device.
[0147] The above-mentioned first test device is used to obtain the second resource information of the target baseband board channel resource based on the first resource information, wherein the second resource information of the target baseband board channel resource is determined by the host computer from the first resource information of the second deployable baseband board channel resource. The above-mentioned second test device may include multiple second test devices, and the first test device is used to send a resource upload instruction to the target second test device corresponding to the target baseband board channel resource. The specific method steps refer to the description of the function of this step of the first test device in the aforementioned baseband board channel resource allocation method applied to the first test device, which will not be repeated here.
[0148] If the second test device receives a resource upload instruction sent by the first test device based on the second resource information, the second test device feeds back the target baseband board channel resources to the first test device based on the resource upload instruction.
[0149] The first test device is used to load the target baseband board channel resources into the first test device when receiving the target baseband board channel resources, so that the first test device tests the target device based on the target baseband board channel resources.
[0150] In some embodiments, the host computer is also used to determine the second resource information from the first resource information of the second adjustable baseband board channel resources, generate a resource loading instruction based on the second resource information, and send the resource loading instruction to the first test device. The first test device is also used to receive the resource loading instruction to obtain the second resource information. The first test device is also used to send a resource upload instruction to the target second test device corresponding to the target baseband board channel resource after receiving the resource loading instruction.
[0151] The first test device in the embodiment of the present application can be used to upload the first resource information and the third resource information to the host computer for user selection, and the third resource information is the resource information of the baseband board channel resources currently available to the first test device.
[0152] The host computer receives the first resource information and the third resource information, and selects the second resource information from the first resource information and the third resource information.
[0153] Therefore, the resource loading instruction can be used to indicate the first resource information or the third resource information. If the selected second resource information includes both the first resource information and the third resource information, the resource loading instruction indicates both the first resource information and the third resource information.
[0154] When the resource loading instruction indicates the first resource information, the first test device is used to send a resource upload instruction to the target second test device corresponding to the first target baseband board channel resource. The resource upload instruction is used to indicate the first target baseband board channel resource corresponding to the target second test device. The first target baseband board channel resource is the baseband board channel resource corresponding to the first resource information indicated by the resource loading instruction.
[0155] In the case where the resource loading instruction indicates the third resource information, when the first test device receives the resource loading instruction sent by the host computer, the first test device is used to load the second target baseband board channel resource to the first test device, so that the first test device tests the target device based on the second target baseband board channel resource. The second target baseband board channel resource is the baseband board channel resource corresponding to the third resource information indicated by the resource loading instruction.
[0156] The above is a description of the baseband board channel resource allocation method applied to the second test device. The following is a description of the baseband board channel resource allocation method applied to the host computer.
[0157] In an embodiment of the present application, resource information of at least one first baseband board channel resource is determined by a host computer from a plurality of baseband board channel resources possessed by a first test device and used to test a target device, and configuration information is sent to the first test device. When it is determined based on the configuration information that the current first callable baseband board channel resources of the first test device do not satisfy at least one first baseband board channel resource, a second adjustable baseband board channel resource is obtained from a second test device, and the second callable baseband board channel resource is loaded into the first test device, so that the first test device tests the target device based on the second callable baseband board channel resource.
[0158] Figure 3 FIG. 1 is a flow chart showing a method for allocating baseband channel resources according to an embodiment of the present application. Figure 3 As shown, the baseband board channel resource allocation method may include but is not limited to the following steps S301-S302:
[0159] Step S301: determine at least one first baseband board channel resource from a plurality of baseband board channel resources that are possessed by a first test device and are used to test a target device.
[0160] Step S302: Send configuration information to the first test device.
[0161] In step S301 of some embodiments, the host computer is connected to the first test device. The host computer responds to the test instruction and queries from the first test device the baseband board channel resources that the first test device has and can test the target device, wherein the above test instruction is used to instruct the first test device to test the target device. In one embodiment, the above test instruction can be generated by the user clicking the test operation on the display interface of the host computer. In another embodiment, it can also be generated by setting a timed test in the host computer. For example, the host computer is set to test the target device at 12:00 on December 24, 2024. At 12:00 on December 24, 2024, the timed test setting in the host computer takes effect and the test instruction is received.
[0162] In some embodiments, the host computer determines resource information of at least one first baseband board channel resource from the queried baseband board channel resources of the first test device that can test the target device. In one implementation, the resource information of the first baseband board channel resource can be determined by a preset rule. For example, the preset rule is to determine the resource information of the first baseband board channel resource that matches the test requirement from the baseband board channel resources of the first test device that can test the target device according to the set test requirement. In another implementation, the host computer displays the resource information of the baseband board channel resources of the queried first test device that can test the target device on a display interface. The user can independently select the resource information of at least one first baseband board channel resource from the resource information of various types of baseband board channel resources displayed on the display interface according to the test requirement.
[0163] In the embodiment of the present application, the host computer displays information through a display interface to provide users with a simple visual operation process.
[0164] The above configuration information includes resource information of at least one first baseband board channel resource.
[0165] In some embodiments, the host computer sends configuration information to the first test device based on the resource information of at least one first baseband board channel resource determined in response.
[0166] The first test device is used to determine the baseband board channel resources currently available for the first test device based on the configuration information, and if at least one of the first baseband board channel resources is not satisfied, obtain the second adjustable baseband board channel resources from the second test device, and load the second available baseband board channel resources to the first test device, so that the first test device tests the target device based on the second available baseband board channel resources.
[0167] The second adjustable baseband board channel resource is a baseband board channel resource in the second test device, and the second adjustable baseband board channel resource matches at least one first baseband board channel resource.
[0168] In some embodiments, there may be many second adjustable baseband board channel resources queried by the second test device, that is, the second adjustable baseband board channel resources include multiple second baseband board channel resources, and the second baseband board channel resources are baseband board channel resources in the second test device that match at least one first baseband board channel resource. The second adjustable baseband board channel resources may exceed the resource requirements of the first test device. If the second adjustable baseband board channel resources are all used by the first test device, it will cause resource waste. In order to avoid resource waste, after sending the configuration information to the first test device, the host computer may include but is not limited to the following steps:
[0169] The host computer receives first resource information of a second adjustable baseband board channel resource sent by the first test device.
[0170] In one implementation, the first resource information of the second adjustable baseband board channel resource is acquired by the first test device before acquiring the second adjustable baseband board channel resource from the second test device.
[0171] Specifically, the first resource information may include resource information of a plurality of second baseband board channel resources in the second adjustable baseband board channel resources, and the second test device may include a plurality of second test devices.
[0172] When the first adjustable baseband board channel resources of the first test device do not satisfy at least one first baseband board channel resource, the first test device is used to send a resource query instruction to each second test device in the second test device, and for each second test device, the second test device is used to query the resources in the second test device after receiving the resource query instruction, and if there is a second adjustable baseband board channel resource, the first resource information of the second adjustable baseband board channel resource is uploaded to the first test device, and the first test device is used to receive the first resource information of the second adjustable baseband board channel resource from the second test device.
[0173] The first test device is further used to send first resource information of the second adjustable baseband board channel resources to the host computer, so that the host computer receives the first resource information of the second adjustable baseband board channel resources sent by the first test device.
[0174] The host computer determines second resource information of the target baseband board channel resource from the first resource information.
[0175] In some embodiments, the host computer receives the first resource information and displays the first resource information on a display interface, and the user can operate in the display interface to select the second resource information from the first resource information.
[0176] The host computer sends the second resource information to the first test device.
[0177] The above-mentioned first test device is used to send a resource upload instruction to the target second test device corresponding to the target baseband board channel resources, receive the target baseband board channel resources feedback by the target second test device based on the resource upload instruction, and load the target baseband board channel resources to the first test device.
[0178] Specifically, the first test device is used to receive the second resource information, and parse the second resource information to obtain the target baseband board channel resources indicated by the second resource information, and send a resource upload instruction to the target second test device corresponding to the target baseband board channel resources. The target second test device is used to receive the resource upload instruction and feed back the target baseband board channel resources to the first test device. The first test device is also used to receive the target baseband board channel resources and load the target baseband board channel resources to the first test device.
[0179] In some embodiments, the second resource information is sent to the first test device by generating a resource loading instruction in response to the selected second resource information by the host computer, and sending the resource loading instruction to the first test device. The first test device is used to receive the resource loading instruction and send a resource upload instruction to the target second test device corresponding to the target baseband board channel resource.
[0180] In some embodiments, the first test device of the embodiment of the present application can be used to upload first resource information and third resource information to a host computer for user selection, and the third resource information is resource information of the baseband board channel resources currently available to the first test device.
[0181] The host computer receives the first resource information and the third resource information, and displays the first resource information and the third resource information on a display interface. The user can operate in the display interface to select the second resource information from the first resource information and the third resource information.
[0182] Therefore, the above-mentioned resource loading instruction can be used to indicate the first resource information or the third resource information. If the selected second resource information includes both the first resource information and the third resource information, the resource loading instruction indicating the first resource information will be sent to the target second test device corresponding to the target baseband board channel resource, and the resource loading instruction indicating the third resource information will be sent to the first test device.
[0183] In the case where the resource loading instruction indicates the first resource information, the first test device is used to send a resource upload instruction to the target second test device corresponding to the target baseband board channel resource.
[0184] When the resource loading instruction indicates the third resource information, the first test device is used to load the target baseband board channel resources into the first test device upon receiving the resource loading instruction sent by the host computer, so that the first test device tests the target device based on the target baseband board channel resources.
[0185] In an embodiment of the present application, resource information of at least one first baseband board channel resource is determined by a host computer from a plurality of baseband board channel resources possessed by a first test device and used to test a target device, and configuration information is sent to the first test device. When it is determined based on the configuration information that the current first callable baseband board channel resources of the first test device do not satisfy at least one first baseband board channel resource, a second adjustable baseband board channel resource is obtained from a second test device, and the second callable baseband board channel resource is loaded into the first test device, so that the first test device tests the target device based on the second callable baseband board channel resource.
[0186] In this way, the first test device and the second test device interact and evaluate the baseband board channel resource information to dynamically allocate the baseband board channel resources of the first test device and the second test device.
[0187] In order to better understand the above-mentioned baseband board channel resource allocation method, an embodiment of the present application provides a baseband board channel resource allocation system, which executes the above-mentioned baseband board channel resource allocation method.
[0188] Reference Figure 4 , Figure 4 This is a structural block diagram of a baseband channel resource allocation system provided in an embodiment of the present application. Figure 4 As shown, the system includes a host computer and multiple test devices, the host computer is connected to the multiple test devices, and the multiple test devices are connected to each other. The software programs in the test devices include a pre-selected program database, a resource management center program, and a baseband board resource agent program. The hardware devices in the test devices include a radio frequency board, an interactive board, an AXIe backplane bus (baseband board bus), and a baseband board. Figure 4 In the test equipment, the tester is taken as an example.
[0189] The host computer is connected to the test device through the switch board of the test device, the test devices are connected to each other through the switch board, and the test device is connected to the target device through the radio frequency board.
[0190] The user issues test instructions through the host computer.
[0191] In response to the test instruction, the host computer sends a first resource query instruction to the resource control center program of the first test device.
[0192] The resource control center program of the first test device receives the first resource query instruction, and queries the candidate baseband board channel resources and candidate test modes in the first test device and used to test the target device from each baseband board through the AXIe backplane bus, and uploads the candidate resource information and candidate test mode of the candidate baseband board channel resources to the host computer. Among them, the status information of the candidate baseband board channel resources can also be obtained through the AXIe backplane bus by using the register status query method. The status information can be divided into idle, occupied, abnormal, recyclable, and deployable states, and the status information of the candidate baseband board channel resources is uploaded to the host computer.
[0193] The host computer receives the candidate resource information and the candidate test mode, and displays the candidate resource information and the candidate test mode on the display interface. The user selects the resource information and the target test mode of at least one first baseband board channel resource from the candidate resource information through the display interface. The host computer sends the configuration information to the resource control center program of the first test device in the form of a configuration script. If the resource control center program of the first test device uploads the status information of the candidate baseband board channel resource to the host computer, the host computer displays the status information through the display interface to allow the user to better select resources.
[0194] The resource management and control center program of the first test device receives the configuration script, obtains the configuration information by parsing the configuration script, and evaluates whether the current first callable baseband board channel resources of the first test device meet the above-mentioned at least one first baseband board channel resource based on the configuration information.
[0195] If the current first callable baseband board channel resource of the first test device satisfies at least one of the above-mentioned first baseband board channel resources, the resource management and control center program of the first test device loads the first baseband board channel resource from the baseband board corresponding to the first baseband board channel resource through the AXIe backplane bus, wherein, if the status of the first baseband board channel resource is recyclable, the first baseband board channel resource needs to be recycled to the corresponding baseband board through the AXIe backplane bus before loading.
[0196] If the first callable baseband board channel resources currently available in the first test device do not satisfy at least one of the above-mentioned first baseband board channel resources, the resource management and control center program of the first test device sends a second resource query instruction to the baseband board resource agent program of each second test device through the routing function of the switching board.
[0197] The baseband board resource agent program of the second test device receives the second resource query instruction, and queries whether there is a second callable baseband board channel resource from the baseband board through the baseband board bus of the second test device. If there is a second callable baseband board channel resource, the first resource information of the second callable baseband board channel resource is sent to the resource control center program of the first test device through the routing function of the switching board. Among them, the status information of the second callable baseband board channel resource can also be obtained through the baseband board bus of the second test device, and the status information of the second callable baseband board channel resource is sent to the resource control center program of the first test device.
[0198] The resource control center program of the first test device receives the first resource information, and sends the first resource information of the second callable baseband board channel resource and the third resource information of the first callable baseband board channel resource to the host computer. If the baseband board resource agent program of the second test device sends the status information of the second callable baseband board channel resource to the resource control center program of the first test device, the resource control center program of the first test device also receives the status information of the second callable baseband board channel resource, and sends the status information of the second callable baseband board channel resource to the host computer.
[0199] The host computer receives the first resource information and the third resource information, and displays the first resource information and the third resource information on the display interface. If the resource control center program of the first test device sends the status information of the second callable baseband board channel resource to the host computer, the host computer also displays the status information of the second callable baseband board channel resource on the display interface.
[0200] The user selects the second resource information of the target baseband board channel resource from the first resource information and the third resource information through the display interface. The host computer generates a resource loading instruction based on the second resource information and sends the resource loading instruction to the resource management and control center program of the first test device.
[0201] If the second resource information is the resource information of the baseband channel resource selected from the third resource information, the resource control center program of the first test device receives the resource loading instruction, and loads the target baseband channel resource from the baseband board corresponding to the target baseband channel resource through the AXIe backplane bus. If the second resource information is the resource information of the baseband channel resource selected from the first resource information, the resource control center program of the first test device receives the resource loading instruction, and sends the resource upload instruction to the baseband resource agent program of the second test device through the routing function of the exchange board.
[0202] If the baseband board resource agent program of the second test device receives a resource loading instruction, it obtains the target baseband board channel resources from the baseband board corresponding to the target baseband board channel resources through the AXIe backplane bus, and uploads the target baseband board channel resources to the resource management and control center program of the first test device.
[0203] If the resource control center program of the first test device receives the target baseband board channel resources uploaded by the baseband board resource agent program of the second test device, the target baseband board channel resources are loaded.
[0204] The pre-selected program database of the test equipment is used to convert the image program of the core resource chip type required by each baseband board channel resource into a corresponding binary file, and classify and store the binary file according to the core resource chip type and test mode corresponding to the image program.
[0205] After the resource management and control center program of the first test device parses the configuration script to obtain the configuration information, the resource management and control center program of the first test device determines the target core resource chip type of the required image program according to the resource information of the channel resources of the first baseband board, generates an image program acquisition command according to the target core resource chip type and the target test mode, and sends the image program acquisition command to the pre-selected program database.
[0206] The pre-selected program database of the first test device receives the image program acquisition command, parses the binary file corresponding to the target core resource chip type and the target test mode into the corresponding target image program, and uploads the target image program to the resource management and control center program of the first test device.
[0207] In addition to the functions of storing, querying and extracting image programs, the pre-selected program database also has the function of detecting and verifying the integrity of the program and has an inverse conversion algorithm. It determines the integrity of the image program by identifying key information to avoid failure to load normally when extracted for use.
[0208] The resource management center program of the first test device receives the target image program, and after loading the target second test device, sends the target image program to the target second test device, so that the first test device tests the target device based on the target test mode and the target second test device after loading the target image program.
[0209] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0210] The electronic device may include a processor 501 and a memory 502 storing computer program instructions.
[0211] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0212] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.
[0213] In some embodiments, the memory 502 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0214] If the electronic device is a test device, the processor 501 reads and executes the computer program instructions stored in the memory 502 to implement any one of the baseband board channel resource allocation methods applied to the test device in the above embodiments. If the electronic device is a host computer, the processor 501 reads and executes the computer program instructions stored in the memory 502 to implement any one of the baseband board channel resource allocation methods applied to the host computer in the above embodiments.
[0215] In one example, the electronic device may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.
[0216] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0217] Bus 510 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0218] The embodiment of the present application may be implemented by providing a computer storage medium. The computer storage medium stores computer program instructions; if the computer storage medium is located in the test device, the computer program instructions are executed by the processor to implement any one of the baseband board channel resource allocation methods applied to the test device in the above embodiments; if the computer storage medium is located in the host computer, the computer program instructions are executed by the processor to implement any one of the baseband board channel resource allocation methods applied to the host computer in the above embodiments.
[0219] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0220] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0221] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0222] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0223] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A baseband board channel resource allocation method, characterized in that: Applied to a first test device, the method comprises: Receive configuration information sent by the host computer, wherein the configuration information includes resource information of at least one first baseband board channel resource; the first baseband board channel resource is determined by the host computer from a plurality of baseband board channel resources possessed by the first test device and used to test the target device; When it is determined based on the configuration information that the current first callable baseband board channel resources of the first test device do not satisfy the at least one first baseband board channel resources, a second adjustable baseband board channel resource is obtained from the second test device, and the second adjustable baseband board channel resource is loaded into the first test device, so that the first test device tests the target device based on the second adjustable baseband board channel resource; the second adjustable baseband board channel resource is the baseband board channel resource in the second test device, and the second adjustable baseband board channel resource matches the at least one first baseband board channel resource.
2. The method according to claim 1, characterized in that The second adjustable baseband board channel resources include a plurality of second baseband board channel resources, and the second test equipment includes a plurality of second test equipment; The acquiring a second adjustable baseband board channel resource from the second test device and loading the second adjustable baseband board channel resource to the first test device includes: Acquire first resource information of the second adjustable baseband board channel resource from the second test device; Based on the first resource information, second resource information of the target baseband board channel resource is obtained, and a resource upload instruction is sent to the target second test device corresponding to the target baseband board channel resource; the second resource information of the target baseband board channel resource is determined by the host computer from the first resource information of the second adjustable baseband board channel resource; Receive the target baseband board channel resources fed back by the target second test device based on the resource upload instruction; The target baseband board channel resources are loaded into the first test device.
3. The method according to claim 2, characterized in that The acquiring second resource information of the target baseband board channel resource based on the first resource information, and sending a resource upload instruction to the target second test device corresponding to the target baseband board channel resource, includes: Sending the first resource information to the host computer; receiving a resource loading instruction sent by the host computer, wherein the resource loading instruction is generated by the host computer based on the second resource information determined from the first resource information; A resource upload instruction is sent to the target second test device corresponding to the target baseband board channel resource.
4. The method according to claim 3, characterized in that The acquiring second resource information of the target baseband board channel resource based on the first resource information includes: Determine second resource information of the target baseband board channel resource based on the first resource information and the third resource information; the third resource information is the resource information of the first callable baseband board channel resource; Sending the first resource information to the host computer includes: Sending the first resource information and the third resource information to the host computer; The resource loading instruction is generated by the host computer based on the second resource information determined from the first resource information and the third resource information; the resource loading instruction is used to indicate the first resource information or the third resource information; The sending a resource upload instruction to a target second test device corresponding to the target baseband board channel resource includes: In a case where the resource loading instruction indicates the first resource information, a resource upload instruction is sent to a target second test device corresponding to the target baseband board channel resource; The method further comprises: In a case where the resource loading instruction indicates the third resource information, the target baseband board channel resources are loaded into the first test device, so that the first test device tests the target device based on the target baseband board channel resources.
5. The method according to claim 1, characterized in that: The configuration information further includes a target test mode, where the target test mode is determined by the host computer from a plurality of test modes possessed by the first test device and used to test the target device; After receiving the configuration information sent by the host computer, the method further includes: Obtain a target image program of a target core resource chip type corresponding to the configuration information; After loading the second callable baseband board channel resource into the first test device, the method further includes: The target image program is installed into the loaded second callable baseband board channel resource.
6. The method according to claim 5, characterized in that Before obtaining, according to the configuration information, a target image program of a target core resource chip type corresponding to the configuration information, the method comprises: Convert the image programs of the core resource chip types required by the baseband board channel resources into corresponding binary files respectively; The binary files are classified and stored according to the core resource chip type and test mode corresponding to the image program.
7. The method according to claim 6, characterized in that The step of acquiring a target image program of a target core resource chip type corresponding to the configuration information according to the configuration information includes: Determine the target core resource chip type of the required image program according to the resource information of the first baseband board channel resource; According to the target core resource chip type and the target test mode, a corresponding target binary file is obtained from the stored binary files, and the target binary file is parsed into a corresponding target image program.
8. A baseband board channel resource allocation method, characterized in that: Applied to the second test device, the method comprises: When the first test device determines, based on the configuration information, that the current first callable baseband board channel resources do not satisfy at least one first baseband board channel resource, a second callable baseband board channel resource in the second test device is sent to the first test device; the configuration information includes resource information of the at least one first baseband board channel resource; the first baseband board channel resource is determined by the host computer from a plurality of baseband board channel resources possessed by the first test device and used to test the target device; the second callable baseband board channel resource matches the at least one first baseband board channel resource; The first test device is used to load the second callable baseband board channel resources into the first test device, so that the first test device tests the target device based on the second callable baseband board channel resources.
9. The method according to claim 8, characterized in that The second adjustable baseband board channel resources include a plurality of second baseband board channel resources, and the sending of the second adjustable baseband board channel resources in the second test device to the first test device includes: Sending the first resource information of the second callable baseband board channel resource in the second test device to the first test device; the first test device is used to obtain the second resource information of the target baseband board channel resource based on the first resource information, and send a resource upload instruction to the target second test device corresponding to the target baseband board channel resource; the second resource information of the target baseband board channel resource is determined by the host computer from the first resource information of the second deployable baseband board channel resource; If a resource upload instruction is received from the first test device based on the second resource information, the target baseband board channel resources are fed back to the first test device based on the resource upload instruction; the first test device is used to load the target baseband board channel resources to the first test device when the target baseband board channel resources are received, so that the first test device tests the target device based on the target baseband board channel resources.
10. A baseband board channel resource allocation method, characterized in that: Applied to a host computer, the method includes: Determine at least one first baseband board channel resource from a plurality of baseband board channel resources possessed by the first test device and used to test the target device; Send configuration information to a first test device; the configuration information includes resource information of at least one first baseband board channel resource; the first test device is used to determine, based on the configuration information, that the current first callable baseband board channel resource of the first test device does not satisfy the at least one first baseband board channel resource, obtain a second adjustable baseband board channel resource from a second test device, and load the second adjustable baseband board channel resource to the first test device, so that the first test device tests the target device based on the second callable baseband board channel resource, the second adjustable baseband board channel resource is a baseband board channel resource in the second test device, and the second adjustable baseband board channel resource matches the at least one first baseband board channel resource.
11. The method according to claim 10, characterized in that The second adjustable baseband board channel resources include a plurality of second baseband board channel resources, and the second test device includes a plurality of second test devices; after sending the configuration information to the first test device, the method further includes: Receiving first resource information of a second adjustable baseband board channel resource sent by the first test device, wherein the first resource information of the second adjustable baseband board channel resource is obtained by the first test device from the second test device before the first test device obtains the second adjustable baseband board channel resource from the second test device; Determine second resource information of a target baseband board channel resource from the first resource information; The second resource information is sent to the first test device; the first test device is used to send a resource upload instruction to the target second test device corresponding to the target baseband board channel resources, receive the target baseband board channel resources feedback by the target second test device based on the resource upload instruction, and load the target baseband board channel resources to the first test device, so that the first test device tests the target device based on the target baseband board channel resources.
12. The method according to claim 11, characterized in that The sending the second resource information to the first test device includes: generating a resource loading instruction based on the second resource information; The resource loading instruction is sent to the first test device; the first test device is used to receive the resource loading instruction and send a resource upload instruction to the target second test device corresponding to the target baseband board channel resource.
13. The method according to claim 12, characterized in that The receiving first resource information of the second adjustable baseband board channel resource sent by the first test device includes: Receiving the first resource information and the third resource information sent by the first test device, wherein the third resource information is the resource information of the first callable baseband board channel resources; The determining the second resource information of the target baseband board channel resource from the first resource information includes: Determine second resource information of a target baseband board channel resource from the first resource information and the third resource information; The resource loading instruction is used to indicate the first resource information or the third resource information. The first test device is used to send a resource upload instruction to the target second test device corresponding to the target baseband board channel resources when the resource loading instruction indicates the first resource information, and load the target baseband board channel resources to the first test device when the resource loading instruction indicates the third resource information, so that the first test device tests the target device based on the target baseband board channel resources.
14. A testing device, characterized in that: The test device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the baseband board channel resource allocation method as described in any one of claims 1-9 is implemented.
15. A host computer, characterized in that: The test device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the baseband board channel resource allocation method as described in any one of claims 10-13 is implemented.
16. A baseband board channel resource allocation system, comprising the test device as claimed in claim 14 and the host computer as claimed in claim 15.