Digital conversion method and device

文档序号:955216 发布日期:2020-10-30 浏览:12次 中文

阅读说明:本技术 一种数字化转换方法及装置 (Digital conversion method and device ) 是由 申天柏 于 2020-06-24 设计创作,主要内容包括:本申请公开了一种数字化转换方法及装置,其中,该方法包括:获取测试配置信息,测试配置信息包括至少一个元素组合,至少一个元素组合包括至少一个测试元素值,一个或多个元素组合还包括限定条件的标识,测试配置信息还包括至少一个限定条件的内容,限定条件的标识用于指示标识对应的限定条件的内容;根据一个或多个所述元素组合中的限定条件的标识指示的限定条件的内容,以及每个所述元素组合包括的至少一个测试元素值,从所述至少一个元素组合中确定目标元素组合,得到目标配置信息。通过该方法,可以使得射频一致性测试文档数字化后的代码简单、易维护、易扩展。(The application discloses a digital conversion method and a digital conversion device, wherein the method comprises the following steps: acquiring test configuration information, wherein the test configuration information comprises at least one element combination, the at least one element combination comprises at least one test element value, one or more element combinations further comprise an identification of a limiting condition, the test configuration information further comprises the content of the at least one limiting condition, and the identification of the limiting condition is used for indicating the content of the corresponding limiting condition; and determining a target element combination from at least one element combination according to the content of the defined condition indicated by the identification of the defined condition in one or more element combinations and at least one test element value included in each element combination, and obtaining target configuration information. By the method, the digitalized code of the radio frequency consistency test document can be simple, easy to maintain and easy to expand.)

1. A method of digital conversion, the method comprising:

acquiring test configuration information, wherein the test configuration information comprises at least one element combination, the at least one element combination comprises at least one test element value, one or more element combinations further comprise an identification of a defined condition, and the test configuration information further comprises the content of at least one defined condition, and the identification of the defined condition is used for indicating the content of the defined condition corresponding to the identification;

and determining a target element combination from at least one element combination according to the content of the defined condition indicated by the identification of the defined condition in one or more element combinations and at least one test element value included in each element combination, and obtaining target configuration information.

2. The method of claim 1, wherein obtaining at least one combination of elements comprises:

converting a configuration table in a test document into a first code text, the configuration table including the at least one test element value and an identification of one or more qualifying conditions;

obtaining at least one group of test element values according to each test element value in the first code text;

and determining the at least one element combination according to the at least one group of test element values and the identification of the limiting condition corresponding to the one or more test element values.

3. The method of claim 2, wherein obtaining the content of the at least one qualifying condition comprises:

converting a qualification table in the test document into second code text, wherein the qualification table comprises the content of at least one qualification;

and acquiring the content of one or more defined conditions from the second code text.

4. The method according to any one of claims 1 to 3, wherein the determining, according to the content of the qualification indicated by the identification of the qualification in the one or more element combinations and at least one test element value included in each element combination, a target element combination from the at least one element combination to obtain target configuration information comprises:

If the first element combination comprises the identification of the limiting condition, judging whether at least one test element value in the first element combination meets the content of the limiting condition corresponding to the identification of the limiting condition, wherein the first element combination is any one element combination in the at least one element combination; if so, determining the first element combination as the target element combination;

and if the first element combination does not comprise the identification of the limiting condition, determining the first element combination as the target element combination to obtain the target configuration information.

5. The method according to any one of claims 1 to 3, wherein before determining a target element combination from the at least one element combination according to the content of the qualification indicated by the identification of the qualification in the one or more element combinations and the at least one test element value included in each element combination, and obtaining the target configuration information, the method further comprises:

judging whether at least one test element value in a second element combination meets a preset condition, wherein the second element combination is any one element combination in the at least one element combination;

And if not, deleting the second element combination from the test configuration information.

6. The method of claim 1, further comprising:

acquiring limit information, wherein the limit information is used for indicating a standard range of a test result;

and matching the target configuration information with the limit information to obtain configuration limit information.

7. The method of claim 6, wherein the obtaining limit information comprises:

converting a test standard document into a third code text, wherein the test standard document comprises configuration information and standard information, the configuration information comprises at least one standard element value, the standard information comprises the content of at least one standard condition, and one or more standard element values comprise the identification of the standard condition;

and processing the configuration information according to the standard information to obtain the limit information.

8. A digital conversion apparatus, comprising:

an obtaining unit, configured to obtain test configuration information, where the test configuration information includes at least one element combination, where the element combination includes at least one test element value, one or more element combinations further include an identifier of a constraint, and the test configuration information further includes content of at least one constraint;

And the processing unit is used for determining a target element combination from at least one element combination according to the content of the limiting condition corresponding to one or more element combinations and at least one test element included in each element combination.

9. A digitizer device comprising a processor, a memory and a user interface, the processor, the memory and the user interface being interconnected, wherein the memory is configured to store a computer program comprising program instructions, and the processor is configured to invoke the program instructions to perform the digitizer method according to any one of claims 1-7.

10. A computer-readable storage medium having stored thereon one or more instructions adapted to be loaded by a processor and to perform the method of digital conversion of any of claims 1 to 7.

Technical Field

The present application relates to the field of communications technologies and computer technologies, and in particular, to a digital conversion method and apparatus.

Background

The radio frequency conformance test needs to be performed using an automated tool for radio frequency conformance testing, which is standardized by a radio frequency conformance test document provided by the third Generation partnership project (3 GPP). In the development process of the automation tool, the parameter configuration of each chapter test item in the radio frequency consistency document and the condition limitation attached to the parameter configuration need to be digitalized (namely, converted into code text) so as to be recognized by the automation tool.

At present, the digital conversion of the radio frequency consistency test document combines different limiting conditions and different test elements in each chapter and embodies the logical relationship between the limiting conditions and the test elements through a plurality of judgment sentences.

For example, given a defined condition: for a frequency band meeting a first condition, when the carrier type is a first carrier, testing in a medium-low frequency domain at a first carrier position and testing in a high frequency at a second carrier position; when the carrier type is a second type carrier, a high frequency test at a first carrier position and a middle-low frequency test at a second carrier position are required. In this definition, four elements are involved: frequency band, carrier type, carrier location, frequency domain. The current processing method is to use multilayer judgment statements for nesting, and the expression form is roughly as follows:

if the limiting conditions are further complicated, more judgment steps are needed, so that the digitally obtained codes are too bulky, difficult to maintain and poor in expansibility.

Disclosure of Invention

The application discloses a digitization conversion method and a digitization conversion device, which can enable codes of a radio frequency consistency test document after digitization to be simple, easy to maintain and easy to expand.

In a first aspect, an embodiment of the present application provides a method for digital conversion, where the method includes:

acquiring test configuration information, wherein the test configuration information comprises at least one element combination, the at least one element combination comprises at least one test element value, one or more element combinations further comprise an identification of a limiting condition, the test configuration information further comprises the content of the at least one limiting condition, and the identification of the limiting condition is used for indicating the content of the corresponding limiting condition;

and determining a target element combination from at least one element combination according to the content of the defined condition indicated by the identification of the defined condition in one or more element combinations and at least one test element value included in each element combination, and obtaining target configuration information.

In one embodiment, a configuration table in a test document is converted into a first code text, the configuration table including at least one test element value and an identification of one or more qualifying conditions; obtaining at least one group of test element values according to each test element value in the first code text; and determining at least one element combination according to the at least one group of test element values and the identification of the limiting condition corresponding to one or more test element values.

In one embodiment, a qualification table in the test document is converted into second code text, wherein the qualification table comprises the content of at least one qualification; and acquiring the content of one or more defined conditions from the second code text.

In an embodiment, if the first element combination includes an identifier of a constraint condition, determining whether at least one test element value in the first element combination satisfies the content of the constraint condition corresponding to the identifier of the constraint condition, where the first element combination is any one element combination in the at least one element combination; if so, determining the first element combination as a target element combination; and if the first element combination does not comprise the identification of the limiting condition, determining the first element combination as a target element combination to obtain target configuration information.

In an embodiment, according to the content of a limiting condition corresponding to one or more element combinations and each element combination including at least one test element, determining a target element combination from the at least one element combination, and before obtaining target configuration information, determining whether at least one test element value in a second element combination satisfies a preset condition, where the second element combination is any one element combination in the at least one element combination; if not, deleting the second element combination from the test configuration information.

In one embodiment, limit information is obtained, and the limit information is used for indicating a standard range of a test result; and matching the target element combination with the limit information to obtain configuration limit information.

In one embodiment, a test standard document is converted into a third code text, the test standard document comprises configuration information and standard information, the configuration information comprises at least one standard element value, the standard information comprises the content of at least one standard condition, and one or more standard element values comprise the identification of the standard condition; and processing the configuration information according to the standard information to obtain limit value information.

In a second aspect, an embodiment of the present application provides a digital conversion apparatus, including:

the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring test configuration information, the test configuration information comprises at least one element combination, the at least one element combination comprises at least one test element value, one or more element combinations further comprise an identification of a limiting condition, the test configuration information further comprises the content of the at least one limiting condition, and the identification of the limiting condition is used for indicating the content of the corresponding limiting condition;

and the processing unit is used for determining a target element combination from at least one element combination according to the content of the limiting condition indicated by the identification of the limiting condition in one or more element combinations and at least one test element value included in each element combination to obtain target configuration information.

In a third aspect, an embodiment of the present application provides a digital conversion apparatus, which includes a processor, a memory, and a user interface, where the processor, the memory, and the user interface are connected to each other, where the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the digital conversion method described in the first aspect.

In a fourth aspect, the present application provides a computer-readable storage medium, where one or more instructions are stored in the computer-readable storage medium, and the one or more instructions are adapted to be loaded by a processor and execute the digital conversion method described in the first aspect.

In the embodiment of the application, the digital conversion device acquires test configuration information, the test configuration information comprises at least one element combination, the at least one element combination comprises at least one test element value, the one or more element combinations further comprise an identifier of a limiting condition, the test configuration information further comprises content of the at least one limiting condition, and the identifier of the limiting condition is used for indicating the content of the corresponding limiting condition; and determining a target element combination from at least one element combination according to the content of the defined condition indicated by the identification of the defined condition in one or more element combinations and at least one test element value included in each element combination, and obtaining target configuration information. By the method, the digitalized code of the radio frequency consistency test document can be simple, easy to maintain and easy to expand.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

Fig. 1 is a system architecture diagram of a digital conversion method according to an embodiment of the present application;

fig. 2 is a schematic flowchart of a digital conversion method according to an embodiment of the present application;

FIG. 3a is a diagram illustrating a configuration table in a test document according to an embodiment of the present application;

fig. 3b is a schematic diagram of test configuration information provided in an embodiment of the present application;

FIG. 4 is a diagram illustrating element relationships in the content of a constraint provided in an embodiment of the present application;

fig. 5 is a schematic diagram of a unit of a digital conversion apparatus according to an embodiment of the present application;

fig. 6 is a simplified schematic diagram of an entity structure of a digital conversion apparatus according to an embodiment of the present disclosure.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.

In order to better understand the embodiments of the present application, the following description refers to the terms and the technical knowledge involved in the embodiments of the present application:

radio Frequency (RF) conformance testing: the method is an important test for the mobile terminal before business in the communication field industry, and is also a test which is very concerned by operators, mobile phone manufacturers and the like. Various mobile communication protocol standards clearly define the behaviors and reactions of the mobile phone and the network in various states, and a consistency test checks whether the behaviors of the mobile phone are consistent with the protocol standard regulations. RF conformance testing is performed based on RF conformance testing documents provided by the third generation partnership Project (3rd generation partnership Project, 3 GPP). The RF conformance test documentation provides a high degree of authority over the test elements, test conditions and test criteria of the device under test. The RF conformance test is performed by a dedicated instrument, which may be a comprehensive tester.

Procedure for RF conformance testing: the tested equipment and the comprehensive testing instrument establish communication connection; configuring different test parameters by the comprehensive tester; the comprehensive tester checks whether the signal sent by the tested equipment is normal or whether the tested equipment can normally receive the signal.

Restriction conditions (Note): is the part of the radio frequency conformance document where the test elements are conditionally defined. Each Note is a limiting condition, and can indicate a condition that one or more test elements related to the Note need to meet, so that the element combination related to the Note can be subjected to screening and filtering, and target configuration information formed by the target element combination is obtained. Wherein, the Note can include static, dynamic, semi-static and negligible four types. The static Note is a condition that does not relate to the capability or information of a User Equipment (UE). Dynamic notes are then conditions related to the capabilities or information of the UE. The semi-static Note indicates that the higher-order data (determining paramlist) includes both static elements and dynamic elements. The deterministic paramlist is a list for storing elements that determine whether a Note is true, and each element includes an element type name, an upper limit, a lower limit, or a value space. An ignorable Note is a requirement that some notes describe, and the conversion process is performed by default.

In addition, when notes are entered into the code text, a corresponding Note data structure is required to store each Note. The data structure includes the name (noteCasename) of the configuration list where the Note is located, the Note number (noteNumber), the Note text description content (notcontent), and whether the Note text description content is global (isglobal). Here, the global Not means that the Note acts on the entire configuration table. The four data are the underlying data in the Note data structure.

It should be noted that the high-level data is parsed from the Note text description (noteconent). The Note corresponds to a condition of the target element combination, and whether the condition is satisfied is determined by the element involved in the noteconent. When each element in the target combination of elements is within the required range, then this Note is true, i.e., the target combination of elements is allowed. Since the noteconent may be arbitrary text, sufficient accumulation is needed for semantic segmentation and parsing of arbitrary text, the current high-order data is filled in manually, named DeterminationParamList. The target element combination can be a configuration combination, which refers to a plurality of element combinations obtained by arranging and combining test elements in a configuration table of a test document according to different values. In general, the notes are only valid when the elements in the DeterminationParamList are all required to be within the required range, that is, the relationship between the elements is logical and. However, there are some cases, such as when both element a and element B are true, or both element C and element D are true, and Note can be true as long as either of these two states is satisfied. In order to cope with this situation, a member is also required in the Note data structure, and the member is used for describing the relationship of each element. This member is named calcbol. The CalcBool member is a delegate-type of data that receives incoming methods from outside the data structure and can handle binary relationships between any number of elements.

In order to better understand the embodiments of the present application, a system architecture to which the embodiments of the present application can be applied is described below.

Referring to fig. 1, fig. 1 is a system architecture diagram of a digital conversion method according to an embodiment of the present disclosure. The system architecture as shown in fig. 1 includes a UI, a 3GPP module, and a Unibusiness module. The 3GPP module further includes a conversion module and a static Note processing module, and original data in a test document provided by the 3GPP can be converted into target configuration information through the two modules, where the target configuration information may also be referred to as a target configuration list, and the original data may include a configuration table and a constraint table. The test elements to which the test document relates, the value of each test element, and the combination of a plurality of test elements by taking different values are described in the configuration table. The constraint table is a table including at least one constraint content. The target configuration list is sent to the Unibusiness module through an external interface, and a small part of information in the target configuration category is sent to the UI through an Extensible Markup Language (XML) for display, and a user may operate the small part of information through display content of the UI interface, for example, check or edit related information. Finally, the edited small part of information is also sent to the Unibussiness module. And the edited small part of information can become UI information, and the Unibussiness module can screen and filter the target configuration list according to the UI information. The Unibussiness module also comprises a dynamic Note processing module, a measurement operation module and an instrument interface. The dynamic Note module may further conditionally define the target configuration information according to the capability of the terminal device or a condition related to the information, and the dynamic Note may be included in a test standard document provided by 3 GPP.

In the current art, it is common practice to use separate codes to process different chapters for digitizing test documents provided by 3 GPP. In three stages of generating a test sequence, establishing communication and executing a test process related to the RF consistency test, various judgment sentences need to be added to process different limiting conditions, so that the method can cause the finally obtained code to be bloated, difficult to maintain and poor in expansibility.

In order to make the digitized code of the radio frequency consistency test document simple, easy to maintain and easy to expand, an embodiment of the present application provides a digitization conversion method and apparatus, and the digitization conversion method and apparatus provided by the embodiment of the present application are further described in detail below.

Referring to fig. 2, fig. 2 is a schematic flowchart of a digital conversion method according to an embodiment of the present disclosure. The main body of the embodiment may be a digital conversion device, and the embodiment may be implemented in a 3GPP module. The digital conversion method can comprise the following steps:

210. acquiring test configuration information, wherein the test configuration information comprises at least one element combination, the at least one element combination comprises at least one test element value, one or more element combinations further comprise an identification of a limiting condition, the test configuration information further comprises the content of the at least one limiting condition, and the identification of the limiting condition is used for indicating the content of the corresponding limiting condition.

The digitizer may obtain test configuration information, which may be a table in the form of a code. The table includes at least one combination of elements, each combination of elements further including at least one test element value. Wherein the at least one test element value may be provided by a test document of 3 GPP. Each element value in the at least one test element value may be a value, a value range, or a type of the test element corresponding to the test element value. For example, if the test element is a frequency, the corresponding test element value may be a specific value, such as 5MHz, 10MHz, or a value range of low frequency, intermediate frequency, high frequency, or the like; for another example, if the test element is a modulation scheme, the corresponding test element value may be of QPSK, 16QAM, or the like. One or more element combinations may also include an identifier of a constraint condition, that is, one element combination may or may not include an identifier of a constraint condition. The test configuration information further includes content of at least one limiting condition, and the content of the at least one limiting condition may be acquired by the digital conversion apparatus according to an identifier of the limiting condition included in one or more element combinations. The identification of the qualification is used to indicate the content identifying the corresponding qualification. If one element combination in at least one element combination comprises the identification of the limiting condition, the digital conversion device can acquire the content of the limiting condition indicated by the identification of the limiting condition.

The digitizer obtains test configuration information, and in effect obtains at least one combination of elements, and the content of at least one constraint, respectively. The obtaining of the at least one combination of elements is based on a configuration table in the test document, and the obtaining of the content of at least the defining condition is based on a limit condition table in the test document.

The digital conversion device obtains at least one element combination, and may convert a configuration table in a test document provided by 3GPP into a first code text, where the configuration table includes at least one test element value and an identifier of one or more limiting conditions. The configuration table is converted into the first code text, which can be manually input or obtained by identifying and converting in a manual intelligent mode such as machine learning. The configuration table is converted into a first code text, and the digital conversion device can identify the configuration table without hindrance. The configuration table lists test elements for the device under test, such as test conditions, test channels, test bandwidth, and the like. The configuration table also provides each test element value, i.e., the value, value range, or category of explicit test elements that each test element can take. The configuration table includes initial conditions and channel bandwidth test parameters, and the test element included in the initial conditions (initialconditionings) includes all test element values of the test element, such as test element a in fig. 3 a. The Test Parameters (Test Parameters for XXX) of a certain Test object may comprise a plurality of Test elements, which may appear in combination, such as Test element B and Test element C in FIG. 3 a. The digital conversion device can obtain at least one group of test element values according to each test element value in the first code text. The device can select one test element value from each test element in sequence to be combined to obtain a group of test element values; then, a test element value different from the last one is selected from each test element to be combined to obtain another group of test element values, at least one group of finally obtained test element values can cover all permutation and combination, and each group of test element values is not repeated with the other group of test element values. After obtaining the at least one set of test element values, the digitizer may determine at least one combination of elements based on the at least one set of test element values and the identification of the qualifying condition corresponding to the one or more test element values. The digitizer will strip the identification of the qualifying condition when obtaining at least one set of test element values from each test element value in the first code text, i.e., the obtained at least one set of test element values does not include the identification of the qualifying condition. The digitizer associates the identification of the qualifying condition with the at least one set of test element values after obtaining the at least one set of test element values. It should be noted that the identifier of the constraint may be present anywhere in the configuration table, and when the identifier of the constraint and a certain test element value are present at the same place in the configuration table, the identifier represents a group of test element values including the test element value, and is associated with the content of the constraint indicated by the identifier of the constraint. The device then manages the set of test element values with the identification of the qualifying condition, and an element combination is obtained. In addition, for the constraint conditions that do not appear in the configuration table but only appear in the constraint condition table, the constraint conditions are global, that is, each element combination obtained by the digital conversion device contains the identification of the global constraint condition. In the case where a set of test element values is associated with an identification of a qualifying condition, the set of test element values associated with the identification of the qualifying condition may then be an element combination that includes the set of test element values and the identification of the qualifying condition.

For example, the configuration table as shown in FIG. 3a provides three test elements, A, B, C. Wherein the test element values of test element a may include a1, a2, a 3; test element values for test element B may include B1, B2; the test element values of test element C may include C1, C2. And the combination of test element B and test element C is given in the configuration table. The digitizer may take a1 from test element a and B1, C1 from test element B and test element C to obtain a first set of test element values: a1, b1, c 1; a1 from A, B1, C2 from B and C, gave a second set of test element values: a1, b1, c2, and so on. The final digitizer can determine 12 sets of test element values. As shown in fig. 3a, c1 and Note1 (constraint 1) in the combination of test element values b2 and c1 occur at the same place in the configuration table, then a group of test element values including b2, c1 would be associated with Note1, such as a1, b2, c 1; multiple sets of test element values, a2, b2, c1, are all associated with Note 1. Similarly, c2 in the combination of b2 and c2 also appears in the same place in the configuration table as Note1, and a set of test element values including b2, c2 would all be associated with Note1, such as a1, b2, c 2; a2, b2, c2, and the like. The digital conversion device can obtain a1, b1 and c 1; a1, b1, c 2; a1, b2, c1, Note 1; a1, b2, c2, Note1 and other element combinations. Further, Note2 in fig. 3a does not appear in the configuration table but appears in the constraint table, the scope of Note2 may be global, and one Note2 is added to each element combination in the at least one element combination, as shown in fig. 3 b.

The digital conversion device obtains the content of at least one limiting condition, and can convert a limiting condition table in the test document into a second code text, wherein the limiting condition table comprises the content of at least one limiting condition. And further acquiring the content of one or more defined conditions from the second code text. At least one element combination acquired by the digital conversion device can comprise an identification of a limiting condition, the identification of the limiting condition is stored in the element combination in a character string type format, and the content of the corresponding limiting condition needs to be acquired in the second code text. The data structure of the content of the constraint condition in the second text code is a caseNote class, and the caseNote class includes a specific test element for determining whether the constraint condition is satisfied, that is, a direct logical relationship between the test elements. In the converted second text code, the contents of at least one of the qualifiers are all stored in a List < caseNote > NoteList.

220. And determining a target element combination from at least one element combination according to the content of the defined condition indicated by the identification of the defined condition in one or more element combinations and at least one test element value included in each element combination, and obtaining target configuration information.

Specifically, if the first element combination includes the identifier of the limitation condition, it is determined whether at least one test element value in the first element combination satisfies the content of the limitation condition corresponding to the identifier of the limitation condition, where the first element combination is any one element combination in the at least one element combination. If so, determining the first element combination as the target element combination. The content of the qualification may give a condition that an element combination including an identification of the qualification corresponding to the content of the qualification needs to satisfy, or a relationship between individual test elements. When the digital conversion device judges that the element combination meets the content of the limited condition, the element combination can be determined as a target element combination; and if the element combination does not meet the content of the limiting condition, filtering the element combination. And if the first element combination does not comprise the identification of the limiting condition, determining the first element combination as a target element combination to obtain the target configuration information. That is, for an identified element combination that does not include a qualifying condition, it can be directly determined as a target element combination.

Before filtering the element combination according to the content of the constraint condition, the logical relationship of the content of the constraint condition needs to be clarified. The logical relationship of how to explicitly define the contents of the conditions is described below with reference to examples. For example, in fig. 3a, the content of Note1 (constraint 1) is clarified. The content of Note1 may be: for test element C, taken as C1, the a1 and a2 tests on b1 are required; for test element C, taking C1, the a3 test on b2 is also required; for test element C, taken at C2, the a3 test on b1 is required; for test element C, taking C2, the a1 and a2 tests on b2 are also required. From the contents of Note1, it can be known that: c is C1, it may be a configuration of a1 and a2 on b1, or a configuration of a3 on b 2; when C is C2, it may be a3 configuration on b1, or a1 and a2 configurations on b 2. States allowed by the three test elements can be obtained, namely { (C1& & B1& & a1) | (C1& & B2& & a2) } | { (C2& & B1& & a2) | (C2& & B2& & a1) }. Wherein, C1 represents that the test element C takes C1, and C2 represents that the test element C takes C2; b1 represents that the test element B takes B1, and B2 represents that the test element B takes B2; a1 indicates that test element A takes a1 and a2, and A2 indicates that test element A takes A3. The logical relationship is shown in fig. 4. According to the logical relationship, a section of code corresponding to the content of Note1 can be obtained:

Known as Ndp0_ N1_ C1, Ndp1_ N1_ C2, Ndp2_ N1_ B1, Ndp3_ N1_ B2, Ndp4_ N1_ A1, Ndp5_ N1_ A2. Wherein Ndp0_ N1_ C1 indicates the state of Note1 where test element C takes the test element value C1; ndp2_ N1_ B1 indicates the state of Note1 where test element B takes the test element value B1, and so on. The following codes can be obtained from Ndp1 to Ndp 5:

wherein In [0] & & In [2] & & In [4] represents the state of C1& & B1& & A1, In [0] & & In [3] & & In [5] represents the state of C1& & B2& & A2, and so on. Similarly, Note2 (qualifier 2) as shown in fig. 3a can also be converted into corresponding code by the above method.

In a possible implementation manner, the content of one constraint may include an identifier of another constraint, and the processing method is similar to the above example, and it is only necessary to use the content of the constraint indicated by the identifier of another constraint to clarify the logical relationship of the test element values therein.

The digitizer may further determine a target combination of elements from the at least one combination of elements based on the content of the defined condition. Inheriting the test element A, B, C and its corresponding test element value in the above example shown in fig. 3a and 3b, and the content of Note1, it can be known that, in at least one element combination, the identified element combination containing Note1 is a1, b2, c 1; a2, b2, c 1; a3, b2, c 1; a1, b2, c 2; a2, b2, c 2; a3, b2, c 2. The digitizer may determine the combination of elements, i.e., a3, b2, c1, of the content satisfying Note1 from among the combinations of elements. Note2 is also included in each element combination shown in fig. 3b, which indicates that if the combination of a3, b2 and c1 also satisfies the content of Note2, the digital conversion apparatus may determine a3, b2, c1, Note1 and Note2 as the target element combination, and add the target element combination to the target configuration information. Correspondingly, the digital conversion device can filter and screen each other element combination, and finally complete target configuration information can be obtained.

In a possible implementation manner, before determining a target element combination from at least one element combination according to the content of a limiting condition corresponding to one or more element combinations and each element combination including at least one test element and obtaining target configuration information, the digital conversion apparatus determines whether at least one test element value in a second element combination satisfies a preset condition, where the second element combination is any one element combination in the at least one element combination; if not, deleting the second element combination from the test configuration information. The combination feasibility of at least one test element value in each element combination can be filtered and screened through the preset condition, and the preset condition can be set by research personnel or can be defaulted by a digital conversion device. The digital conversion device can sequentially carry out multilayer circulation on each test element value in each element combination according to the preset condition, carry out frequency band inspection, bandwidth inspection and the like, and filter out the element combinations which do not accord with the preset condition. That is, at least one element combination needs to be filtered through combination feasibility and also through the content of the defined condition, so as to finally obtain the target configuration information.

The digitizer needs to obtain, in addition to the target configuration information, limit information indicating a standard range of the test result. That is to say, when the comprehensive tester detects the device to be tested, the comprehensive tester needs to perform the detection according to the test conditions and the test element values provided by the target configuration information, and the comprehensive tester finally detects whether the signal sent by the device to be tested is normal or whether the device to be tested can normally receive the signal, and thus the judgment needs to be performed according to the limit value information. The digital conversion device acquires the limit value information, and can convert a test standard document into a third code text, wherein the test standard document comprises configuration information and standard information. Wherein the configuration information comprises at least one standard element value, the standard information comprises content of at least one standard condition, and the one or more standard element values comprise an identification of the standard condition, which may indicate the content of the standard condition. The digital conversion device can process the configuration information according to the standard information to obtain the limit value information. The at least one criterion element value may indicate a criterion value of the test result and an allowable error (Tolerance) of the criterion value of the test result. The content of the at least one criterion condition included in the criterion information may include content of a dynamic criterion condition (dynamic Note). The Tolerance in the configuration information may include an identifier of a standard condition, which indicates that the Tolerance needs to satisfy the content of the corresponding standard condition. The standard conditions can further expand or reduce the error range of the Tolerance.

After the digital conversion device obtains the limit information, the target configuration information and the limit information can be paired to obtain the configuration limit information. That is, the digitizer may combine the limit information with the target configuration information, and each combination of elements in the target configuration information corresponds to a standard range of the test result, and the correspondence is provided by the 3GPP document. After the limit information is paired with one or more element combinations in the target configuration information, the configuration limit information can be obtained.

For example, in the first band, the comprehensive tester considers that the power received by the device to be tested is 23dBm and the Tolerance is plus or minus 2.7dBm, i.e. 20.3dBm to 25.7dBm, according to the configuration limit information, the Tolerance also includes a Note identifier, if the content of the Note is: for the power received to the device under test on the first band, a range of plus or minus 1.5dBm may be added to the current Tolerance. Namely Tolerance is changed into 4.2dBm, and the comprehensive tester considers that the power of the tested equipment receiving 18.8 dBm-27.2 dBm all meets the standard.

According to the embodiment of the application, the digital conversion device stores the content of each limiting condition and the relation between each limiting condition by using a universal data structure and is also described by using a function, so that the aim of generalization can be fulfilled. And the digital conversion device screens and filters at least one element combination according to the contents of different limiting conditions to obtain target configuration information. The device can also obtain limit value information according to a test standard document in the test document, and the limit value information and the target configuration information are paired to finally obtain the configuration limit value information. Because the function is used for describing the content of each limiting condition and the relation between each limiting condition, the finally obtained code is simple and easy to understand, and meanwhile, the code is easy to maintain and has stronger expansibility.

Referring to fig. 5, fig. 5 is a schematic diagram of a unit of a digital conversion apparatus according to an embodiment of the present disclosure. The digitizer shown in fig. 5 may be used to perform some or all of the functions described above in the method embodiment of fig. 2. The device can be an automatic testing tool, can also be a device in the automatic testing tool, or can be a device matched with the automatic testing tool for use. The logical structure of the apparatus may include: an acquisition unit 510 and a processing unit 520. Wherein:

an obtaining unit 510, configured to obtain test configuration information, where the test configuration information includes at least one element combination, where the at least one element combination includes at least one test element value, the one or more element combinations further include an identifier of a constraint condition, and the test configuration information further includes content of the at least one constraint condition, and the identifier of the constraint condition is used to indicate the content of the corresponding constraint condition;

a processing unit 520, configured to determine a target element combination from the at least one element combination according to the content of the constraint condition indicated by the identification of the constraint condition in one or more element combinations and at least one test element value included in each element combination, so as to obtain target configuration information.

In a possible implementation manner, the processing unit 520 is further configured to convert a configuration table in the test document into a first code text, where the configuration table includes at least one test element value and an identifier of one or more limiting conditions; obtaining at least one group of test element values according to each test element value in the first code text; and determining at least one element combination according to the at least one group of test element values and the identification of the limiting condition corresponding to one or more test element values.

In a possible implementation manner, the processing unit 520 is further configured to convert a constraint condition table in the test document into a second code text, where the constraint condition table includes contents of at least one constraint condition; and acquiring the content of one or more defined conditions from the second code text.

In a possible implementation manner, if the first element combination includes an identifier of a constraint condition, the processing unit 520 is further configured to determine whether at least one test element value in the first element combination satisfies a content of the constraint condition corresponding to the identifier of the constraint condition, where the first element combination is any one element combination in the at least one element combination; if so, determining the first element combination as a target element combination; and if the first element combination does not comprise the identification of the limiting condition, determining the first element combination as a target element combination to obtain target configuration information.

In a possible implementation manner, before determining a target element combination from at least one element combination according to the content of a limiting condition corresponding to one or more element combinations and each element combination includes at least one test element and obtaining target configuration information, the processing unit 520 is further configured to determine whether at least one test element value in a second element combination satisfies a preset condition, where the second element combination is any one element combination in the at least one element combination; if not, deleting the second element combination from the test configuration information.

In a possible implementation manner, the obtaining unit 510 is further configured to obtain limit information, where the limit information is used to indicate a standard range of a test result; and matching the target element combination with the limit information to obtain configuration limit information.

In a possible implementation manner, the processing unit 520 is further configured to convert a test standard document into a third code text, where the test standard document includes configuration information and standard information, the configuration information includes at least one standard element value, the standard information includes content of at least one standard condition, and one or more standard element values include an identifier of the standard condition; and processing the configuration information according to the standard information to obtain limit value information.

In the embodiment of the application, the digital conversion device can acquire a first code text corresponding to a configuration table and a second code text corresponding to a limiting condition table in a test document through an acquisition unit, the code texts include all configuration parameters of the two tables, and the codes describe the configuration parameters, the content of each limiting condition and the relationship among each limiting condition by using functions, and the logical relationship in each function is clear and concise, so that the codes are simpler and have readability.

Referring to fig. 6, fig. 6 is a simplified schematic diagram of an entity structure of a digital conversion apparatus provided in an embodiment of the present application, where the apparatus includes a processor 610, a memory 620, and a communication interface 630, and the processor 610, the memory 620, and the communication interface 630 are connected through one or more communication buses.

The processor 610 is configured to support the digitizer to perform the corresponding functions of the method of fig. 2. The processor 610 may be a Central Processing Unit (CPU), a Network Processor (NP), a hardware chip, or any combination thereof.

The memory 620 is used to store program codes and the like. Memory 620 may include volatile memory (volatile), such as Random Access Memory (RAM); the memory 620 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 620 may also comprise a combination of the above types of memory.

Communication interface 630 is used for transceiving data, information, or messages, etc., and may also be described as a transceiver, transceiving circuitry, etc.

In the embodiment of the present application, when the digitizer is applied to an automated test tool, the processor 610 may call the program code stored in the memory 620 to perform the following operations:

the processor 610 may call program code stored in the memory 620 to obtain test configuration information, the test configuration information including at least one element combination, the at least one element combination including at least one test element value, the one or more element combinations further including an identification of a qualification, the test configuration information further including content of the at least one qualification, the identification of the qualification indicating the content of the corresponding qualification;

the processor 610 may invoke program code stored in the memory 620 to determine a target combination of elements from the at least one combination of elements based on the content of the qualification indicated by the identification of the qualification in the one or more combinations of elements and the at least one test element value included in each of the combinations of elements, resulting in target configuration information.

In one possible implementation, the processor 610 may invoke program code stored in the memory 620 to convert a configuration table in the test document to a first code text, the configuration table including at least one test element value, and an identification of one or more qualifying conditions; obtaining at least one group of test element values according to each test element value in the first code text; and determining at least one element combination according to the at least one group of test element values and the identification of the limiting condition corresponding to one or more test element values.

In one possible implementation, the processor 610 may call the program code stored in the memory 620 to convert a qualification table in the test document into a second code text, the qualification table including contents of at least one qualification; and acquiring the content of one or more defined conditions from the second code text.

In a possible implementation manner, if the first element combination includes the identifier of the constraint condition, the processor 610 may call the program code stored in the memory 620, and then determine whether at least one test element value in the first element combination satisfies the content of the constraint condition corresponding to the identifier of the constraint condition, where the first element combination is any one element combination in the at least one element combination; if so, determining the first element combination as a target element combination; and if the first element combination does not comprise the identification of the limiting condition, determining the first element combination as a target element combination to obtain target configuration information.

In a possible implementation manner, according to the content of the limiting condition corresponding to one or more element combinations and each element combination including at least one test element, before determining a target element combination from the at least one element combination and obtaining target configuration information, the processor 610 may call a program code stored in the memory 620 to determine whether at least one test element value in a second element combination satisfies a preset condition, where the second element combination is any one element combination in the at least one element combination; if not, deleting the second element combination from the test configuration information.

In a possible implementation manner, the obtaining unit 510 is further configured to obtain limit information, where the limit information is used to indicate a standard range of a test result; and matching the target element combination with the limit information to obtain configuration limit information.

In one possible implementation, the processor 610 may invoke program code stored in the memory 620 to convert a test standard document to third code text, the test standard document including configuration information and standard information, the configuration information including at least one standard element value, the standard information including content of at least one standard condition, the one or more standard element values including an identification of the standard condition; and processing the configuration information according to the standard information to obtain limit value information.

It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment.

The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.

The units in the processing equipment of the embodiment of the invention can be merged, divided and deleted according to actual needs.

In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.

Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种机车信号发码方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!