Sample size detection method and device, computer equipment and storage medium

The reflected beam is obtained through beam scanning technology, mapping relationships are generated and beam scanning angles are determined, which solves the problem of high detection cost of micro components and achieves efficient and low-cost detection.

CN119545384APending Publication Date: 2025-02-28CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411577001.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The prior art requires a lot of investment costs and testing time in the detection of micro components, resulting in high testing costs.

Method used

By controlling the detection antenna to be beam-scan the detection communication sample, obtain the reflected beam, and generate the mapping relationship between the beam amplitude and the candidate scanning angle based on the reflected beam, and determine the beam scanning angle and sample size.

Benefits of technology

On the premise of ensuring detection accuracy, the inspection cost is reduced, the inspection efficiency is improved, and the investment cost is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119545384A_ABST
    Figure CN119545384A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automatic detection, in particular to a sample size detection method and device, computer equipment and a storage medium. The method comprises the following steps: controlling a detection antenna to perform beam scanning on a to-be-detected communication sample, and acquiring a reflection beam of the to-be-detected communication sample for a scanning beam in the beam scanning process; generating a mapping relation between a beam amplitude corresponding to the communication sample to be detected and a candidate scanning angle according to the reflected beam; determining a beam scanning angle corresponding to the to-be-detected communication sample according to the mapping relation; and determining the sample size of the to-be-detected communication sample according to the beam scanning angle and the vertical distance between the to-be-detected communication sample and the detection antenna. According to the invention, on the premise that the detection precision is ensured, low-cost size detection of the to-be-detected communication sample is realized, the detection efficiency of the to-be-detected communication sample is improved, and the investment cost required for size detection of the to-be-detected communication sample is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automated detection technology, and in particular to a sample size detection method, device, computer equipment and storage medium. Background Art

[0002] As communication frequencies increase, electronic devices are gradually moving toward 5G or even higher frequency wireless communication bands. Their frequency characteristics have high resolution and low attenuation capabilities during transmission, are less affected by the natural environment, and can work under a wider range of conditions. Due to the inverse relationship between frequency wavelength and electrical size, as frequency increases, the electrical size of electronic components decreases, which makes electronic devices develop in the direction of high integration.

[0003] The size of tiny components is not only related to the integrated layout, but also affects the performance of the combined devices. Size detection can greatly control the size of components at the source and provide a good foundation for the overall layout. Therefore, size detection of tiny components is very necessary.

[0004] However, in the prior art, in order to ensure the accuracy of the size detection of tiny components, a large amount of investment cost and detection time are often required, which results in a large amount of detection cost incurred during the size detection process of tiny components. Summary of the invention

[0005] Based on this, it is necessary to provide a sample size detection method, device, computer equipment and storage medium that can reduce the detection cost while ensuring the size detection accuracy in response to the above technical problems.

[0006] In a first aspect, the present application provides a method for detecting sample size. The method comprises:

[0007] Controlling the detection antenna to perform beam scanning on the communication sample to be detected, and during the beam scanning process, obtaining a reflected beam of the communication sample to be detected for the scanning beam;

[0008] Generate a mapping relationship between a beam amplitude corresponding to the communication sample to be detected and a candidate scanning angle according to the reflected beam;

[0009] Determine, according to the mapping relationship, a beam scanning angle corresponding to the communication sample to be detected;

[0010] The sample size of the communication sample to be detected is determined according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

[0011] In one of the embodiments, when the sample center of the communication sample to be detected coincides with the antenna center of the detection antenna, the detection antenna is controlled to perform beam scanning on the communication sample to be detected.

[0012] In one of the embodiments, beam scanning is performed on the sample to be detected by changing the beam phase of the scanning beam output by the detection antenna.

[0013] In one of the embodiments, determining a maximum beam amplitude in the mapping relationship;

[0014] The beam scanning angle corresponding to the sample to be detected is determined according to the candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship.

[0015] In one of the embodiments, at least one candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship is determined;

[0016] The absolute values ​​of the candidate scanning angles are summed to obtain the beam scanning angle corresponding to the communication sample to be detected.

[0017] In one of the embodiments, a candidate size of the communication sample to be detected from the sample center to the sample edge is determined according to the vertical distance and the target angle; wherein the target angle is half of the beam scanning angle;

[0018] Twice the candidate size is used as the sample size of the communication sample to be detected.

[0019] In a second aspect, the present application also provides a sample size detection device. The device comprises:

[0020] A control module, used for controlling the detection antenna to perform beam scanning on the communication sample to be detected, and during the beam scanning process, obtaining a reflected beam of the communication sample to be detected for the scanning beam;

[0021] A generating module, used for generating a mapping relationship between a beam amplitude corresponding to the communication sample to be detected and a candidate scanning angle according to the reflected beam;

[0022] A first determination module, configured to determine, according to the mapping relationship, a beam scanning angle corresponding to the communication sample to be detected;

[0023] The second determination module is used to determine the sample size of the communication sample to be detected according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

[0024] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0025] Controlling the detection antenna to perform beam scanning on the communication sample to be detected, and during the beam scanning process, obtaining a reflected beam of the communication sample to be detected for the scanning beam;

[0026] Generate a mapping relationship between a beam amplitude corresponding to the communication sample to be detected and a candidate scanning angle according to the reflected beam;

[0027] Determine, according to the mapping relationship, a beam scanning angle corresponding to the communication sample to be detected;

[0028] The sample size of the communication sample to be detected is determined according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

[0029] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0030] Controlling the detection antenna to perform beam scanning on the communication sample to be detected, and during the beam scanning process, obtaining a reflected beam of the communication sample to be detected for the scanning beam;

[0031] Generate a mapping relationship between a beam amplitude corresponding to the communication sample to be detected and a candidate scanning angle according to the reflected beam;

[0032] Determine, according to the mapping relationship, a beam scanning angle corresponding to the communication sample to be detected;

[0033] The sample size of the communication sample to be detected is determined according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

[0034] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0035] Controlling the detection antenna to perform beam scanning on the communication sample to be detected, and during the beam scanning process, obtaining a reflected beam of the communication sample to be detected for the scanning beam;

[0036] Generate a mapping relationship between a beam amplitude corresponding to the communication sample to be detected and a candidate scanning angle according to the reflected beam;

[0037] Determine, according to the mapping relationship, a beam scanning angle corresponding to the communication sample to be detected;

[0038] The sample size of the communication sample to be detected is determined according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

[0039] The above-mentioned sample size detection method, device, computer equipment and storage medium receive the reflected beam of the communication sample to be detected with respect to the scanning beam, so as to generate a mapping relationship between the beam amplitude corresponding to the communication sample to be detected and the candidate scanning angle according to the reflected beam, and then determine the beam scanning angle according to the mapping relationship, and determine the sample size of the communication sample to be detected according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna. According to the above content, when performing size detection on the communication sample to be detected, the present application determines the mapping relationship between the beam amplitude and the candidate scanning angle based on the reflected beam of the scanning beam, and determines the beam scanning angle corresponding to the communication sample to be detected through the mapping relationship; wherein, the beam scanning angle can be used to reflect the vertical distance between the communication sample to be detected and the detection antenna, and the corresponding relationship between the sample size of the communication sample to be detected, and then, according to the mapping relationship and the vertical distance, the sample size of the communication sample to be detected is determined; since in the above process, it is only necessary to control the detection antenna to perform beam scanning on the communication sample to be detected, and obtain the reflected beam to realize the size detection of the communication sample to be detected, therefore, the present application realizes low-cost size detection of the communication sample to be detected under the premise of ensuring detection accuracy, improves the detection efficiency of the communication sample to be detected, and reduces the investment cost required for size detection of the communication sample to be detected. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] FIG1 is a diagram showing an application environment of a sample size detection method provided by an embodiment of the present application;

[0041] FIG2 is a schematic diagram of a flow chart of a first sample size detection method provided in an embodiment of the present application;

[0042] FIG3 is a schematic diagram of the structure of a detection antenna provided in an embodiment of the present application;

[0043] FIG4 is a three-dimensional beam diagram of a detection beam generated by a detection antenna provided in an embodiment of the present application;

[0044] FIG5 is a two-dimensional beam diagram of a detection beam generated by a detection antenna provided in an embodiment of the present application;

[0045] FIG6 is a diagram showing a mapping relationship between beam amplitudes corresponding to communication samples to be detected and candidate scanning angles;

[0046] FIG7 is a schematic diagram of a flow chart of a second sample size detection method provided in an embodiment of the present application;

[0047] FIG8 is a schematic flow chart of a third sample size detection method provided in an embodiment of the present application;

[0048] FIG9 is a diagram of a mathematical model for performing beam scanning on a communication sample to be detected provided by an embodiment of the present application;

[0049] FIG10 is a schematic diagram of beam scanning for a detection length of a communication sample to be detected provided by an embodiment of the present application;

[0050] FIG11 is a schematic flow chart of a fourth sample size detection method provided in an embodiment of the present application;

[0051] FIG12 is a schematic diagram of a detection antenna according to an embodiment of the present application performing beam scanning on a sample under test;

[0052] FIG13 is a structural block diagram of a sample size detection device provided in an embodiment of the present application;

[0053] FIG. 14 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0055] The sample size detection method provided in the embodiment of the present application can be applied in the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. By receiving the reflected beam of the communication sample to be detected for the scanning beam, the mapping relationship between the beam amplitude corresponding to the communication sample to be detected and the candidate scanning angle is generated according to the reflected beam, and then the beam scanning angle is determined according to the mapping relationship, and the sample size of the communication sample to be detected is determined according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0056] In one embodiment, as shown in FIG. 2 , a sample size detection method is provided, which is described by taking the method applied to the terminal 102 in FIG. 1 as an example, and includes the following steps:

[0057] S201, controlling the detection antenna to perform beam scanning on the communication sample to be detected, and during the beam scanning process, obtaining a reflected beam of the communication sample to be detected with respect to the scanning beam.

[0058] It should be noted that in order to ensure that the subsequent size detection process can be carried out smoothly for the communication sample to be detected, the detection antenna needs to be initialized and calibrated before controlling the detection antenna to perform beam scanning on the communication sample to be detected, so as to standardize and determine the vertical distance between the communication sample to be detected and the detection antenna, and by adjusting the feeding amplitude and phase of the array antenna to generate a main beam. During the beam scanning process of the communication sample to be detected, the amplitude and phase can be modified in real time to facilitate the scanning of the communication sample to be detected.

[0059] As an example, if the detection antenna adopts an antenna structure of 8×8 array elements, the array element spacing is d=λ / 2, and the structural schematic diagram of the detection antenna is shown in Figure 3, then the three-dimensional beam pattern of the detection beam generated by the detection antenna is shown in Figure 4, and the lateral two-dimensional beam pattern of the detection beam generated by the detection antenna is shown in Figure 5.

[0060] Further explanation: in order to ensure that the sample size of the communication sample to be detected can be accurately determined according to the reflected beam of the communication sample to be detected for the scanning beam, the sample position of the communication sample to be detected needs to be limited to ensure the accuracy of the subsequent measurement results.

[0061] In one embodiment of the present application, a first standard position corresponding to the center line of the sample can be pre-specified. Furthermore, before beam scanning is performed on the communication sample to be detected, it is necessary to ensure that the center line of the communication sample to be detected coincides with the first standard position, thereby ensuring the accuracy of subsequent measurement results.

[0062] In another embodiment of the present application, a second standard position corresponding to the edge line of the sample center line can be pre-specified. Furthermore, before beam scanning is performed on the communication sample to be detected, it is necessary to ensure that a certain edge line of the communication sample to be detected coincides with the second standard position, thereby ensuring the accuracy of subsequent measurement results.

[0063] S202: Generate a mapping relationship between a beam amplitude corresponding to a communication sample to be detected and a candidate scanning angle according to the reflected beam.

[0064] Among them, the mapping relationship between the beam amplitude corresponding to the communication sample to be detected and the candidate scanning angle can be a schematic diagram in which the vertical axis is the beam amplitude and the horizontal axis is the candidate scanning angle.

[0065] In one embodiment of the present application, when it is necessary to generate a mapping relationship between the beam amplitude corresponding to the communication sample to be detected and the candidate scanning angle based on the reflected beam, the beam amplitude and scanning angle of the reflected beam can be analyzed, and the result obtained is the mapping relationship between the beam amplitude corresponding to the communication sample to be detected and the candidate scanning angle.

[0066] As an example, if the detection antenna adopts an antenna structure of 8×8 array elements, the mapping relationship between the beam amplitude corresponding to the communication sample to be detected and the candidate scanning angle is shown in FIG6 .

[0067] S203: Determine the beam scanning angle corresponding to the communication sample to be detected according to the mapping relationship.

[0068] In one embodiment of the present application, when it is necessary to determine the beam scanning angle corresponding to the communication sample to be detected according to the mapping relationship, the beam scanning angle corresponding to the communication sample to be detected can be determined according to the maximum amplitude in the mapping relationship.

[0069] S204, determining a sample size of the communication sample to be detected according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

[0070] It should be noted that since the beam scanning angle can be used to reflect the correspondence between the vertical distance between the communication sample to be detected and the detection antenna, and the sample size of the communication sample to be detected, the sample size of the communication sample to be detected can be determined based on the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

[0071] Specifically, when it is necessary to determine the sample size of the communication sample to be detected, the vertical distance between the communication sample to be detected and the detection antenna, and the correspondence between the sample sizes of the communication sample to be detected can be determined according to the beam scanning angle. Furthermore, since the vertical distance between the communication sample to be detected and the detection antenna is a known parameter, the sample size of the communication sample to be detected can be determined based on the vertical distance between the communication sample to be detected and the detection antenna.

[0072] The above-mentioned sample size detection method receives the reflected beam of the communication sample to be detected for the scanning beam, so as to generate a mapping relationship between the beam amplitude corresponding to the communication sample to be detected and the candidate scanning angle according to the reflected beam, and then determines the beam scanning angle according to the mapping relationship, and determines the sample size of the communication sample to be detected according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna. According to the above content, when performing size detection on the communication sample to be detected, the present application determines the mapping relationship between the beam amplitude and the candidate scanning angle based on the reflected beam of the scanning beam, and determines the beam scanning angle corresponding to the communication sample to be detected through the mapping relationship; wherein, the beam scanning angle can be used to reflect the vertical distance between the communication sample to be detected and the detection antenna, and the corresponding relationship between the sample size of the communication sample to be detected, and then, according to the mapping relationship and the vertical distance, the sample size of the communication sample to be detected is determined; since in the above process, it is only necessary to control the detection antenna to perform beam scanning on the communication sample to be detected, and obtain the reflected beam to realize the size detection of the communication sample to be detected, therefore, the present application realizes low-cost size detection of the communication sample to be detected under the premise of ensuring detection accuracy, improves the detection efficiency of the communication sample to be detected, and reduces the investment cost required for size detection of the communication sample to be detected.

[0073] In one embodiment, when it is necessary to control the detection antenna to perform beam scanning on the communication sample to be detected, in order to reduce the difficulty of subsequent data processing and improve the efficiency of determining the sample size of the communication sample to be detected, the detection antenna can be controlled to perform beam scanning on the communication sample to be detected when the sample center of the communication sample to be detected coincides with the antenna center of the detection antenna.

[0074] Specifically, after placing the communication sample to be detected in the detection area, the center point of the communication sample to be detected is overlapped with the projection center of the detection antenna on the detection table, so as to achieve the overlap of the sample center of the communication sample to be detected with the antenna center of the detection antenna, and then, the operation of controlling the detection antenna to perform beam scanning on the communication sample to be detected is executed.

[0075] Further explanation: in order to ensure smooth beam scanning of the sample to be detected, when controlling the detection antenna to perform beam scanning on the communication sample to be detected, the beam scanning of the sample to be detected can be performed by changing the beam phase of the scanning beam output by the detection antenna.

[0076] The above-mentioned sample size detection method, by changing the beam phase of the scanning beam output by the detection antenna when the sample center of the communication sample to be detected coincides with the antenna center of the detection antenna, performs beam scanning on the sample to be detected, thereby ensuring smooth beam scanning operation on the communication sample to be detected, providing a data basis for subsequent determination of the beam scanning angle corresponding to the communication sample to be detected, ensuring the smooth progress of subsequent processes, and realizing the smooth determination of the sample size of the communication sample to be detected.

[0077] In one embodiment, as shown in FIG. 7 , when it is necessary to determine the beam scanning angle corresponding to the communication sample to be detected according to the mapping relationship, the following contents may be specifically included:

[0078] S701, determining a maximum beam amplitude in a mapping relationship.

[0079] It should be noted that in order to ensure that during the beam scanning process for the communication sample to be detected, if the beam amplitude of a candidate scanning angle in the mapping relationship is the maximum beam amplitude, it is determined that the scanning beam at the candidate scanning angle is performing beam scanning on the communication sample to be detected; on the contrary, if the beam amplitude of a candidate scanning angle in the mapping relationship is not the maximum beam amplitude, it is determined that the scanning beam at the candidate scanning angle is not performing beam scanning on the communication sample to be detected.

[0080] Therefore, the beam scanning angle can be determined by determining the maximum beam amplitude in the mapping relationship, and then, in subsequent operations, according to the candidate scanning angles corresponding to the maximum beam amplitude.

[0081] S702, determining a beam scanning angle corresponding to the sample to be detected according to the candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship.

[0082] It should be noted that when it is necessary to determine the beam scanning angle corresponding to the sample to be detected based on the candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship, it may specifically include the following contents: determine at least one candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship; perform a sum operation on the absolute values ​​of each candidate scanning angle to obtain the beam scanning angle corresponding to the communication sample to be detected.

[0083] In one embodiment of the present application, if the detection antenna adopts an antenna structure of 8×8 array elements, the mapping relationship between the beam amplitude corresponding to the communication sample to be detected and the candidate scanning angle is shown in Figure 6. It can be seen from the mapping relationship that the candidate scanning angle corresponding to the maximum beam amplitude in the mapping relationship is -30° to +30°; therefore, when it is necessary to determine the absolute values ​​of -30° and +30°, the absolute values ​​of -30° and +30° are summed to obtain a beam scanning angle of 60° corresponding to the communication sample to be detected.

[0084] The above-mentioned sample size detection method determines at least one candidate scanning angle corresponding to the maximum beam amplitude in the mapping relationship, and then performs a sum operation on the absolute values ​​of each candidate scanning angle to obtain the beam scanning angle corresponding to the communication sample to be detected, thereby providing data for the subsequent determination of the sample size of the communication sample to be detected, and realizing low-cost size detection for the communication sample to be detected while ensuring detection accuracy, thereby improving the detection efficiency of the communication sample to be detected.

[0085] In one embodiment, as shown in FIG8 , when it is necessary to determine the sample size of the communication sample to be detected according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna, the following contents may be specifically included:

[0086] S801, determining a candidate size of a communication sample to be detected from a sample center to a sample edge according to a vertical distance and a target angle.

[0087] The target angle is half of the beam scanning angle.

[0088] It should be noted that when it is necessary to determine the candidate size of the communication sample to be detected from the sample center to the sample edge, the mathematical model diagram of beam scanning the communication sample to be detected is shown in Figure 9, and the principle diagram of beam scanning the detection length (that is, the sample size) of the communication sample to be detected is shown in Figure 10, wherein the scanning start point and the scanning end point are respectively the scanning positions of the candidate scanning angles corresponding to the maximum values ​​of the two beam amplitudes in the mapping relationship, wherein R is the sample size of the communication sample to be detected; r is the candidate size of the communication sample to be detected from the sample center to the sample edge; l is the vertical distance between the communication sample to be detected and the detection antenna, therefore, it can be seen from the principle of geometry that the detection antenna and the scanning beam form a triangle at this time, since the sample center of the communication sample to be detected coincides with the antenna center of the detection antenna when the detection antenna is controlled to perform beam scanning on the communication sample to be detected, its bilaterally symmetrical structure can simplify the overall operation, the height of the triangle is l, and the vertex angle is half of the beam scanning angle, that is, the target angle α / 2, it can be seen that a right triangle is formed at this time, and the calculation can be completed by the Pythagorean theorem.

[0089] As an example, if the vertical distance l between the communication sample to be detected and the detection antenna is 0.5 mm, and the beam scanning angle α is 60°, then the candidate size r of the communication sample to be detected from the sample center to the sample edge can be determined to be 0.24 mm.

[0090] S802: Using twice the candidate size as the sample size of the communication sample to be detected.

[0091] It should be noted that, as shown in FIG. 9 , since the sample size of the communication sample to be detected is equal to twice the candidate size, twice the candidate size is used as the sample size of the communication sample to be detected.

[0092] As an example, if it is determined that the candidate size r of the communication sample to be detected from the sample center to the sample edge is 0.24 mm, then 2r=0.58 mm is used as the sample size of the communication sample to be detected.

[0093] The above-mentioned sample size detection method determines the candidate size of the communication sample to be detected from the sample center to the sample edge according to the vertical distance and the target angle, and then uses twice the candidate size as the sample size of the communication sample to be detected, thereby realizing low-cost size detection for the communication sample to be detected while ensuring the detection accuracy, improving the detection efficiency for the communication sample to be detected, and reducing the investment cost required for size detection of the communication sample to be detected.

[0094] In one embodiment, as shown in FIG. 11 , when it is necessary to determine the sample size of the communication sample to be detected, the following contents may be included:

[0095] S1101 , when the sample center of the communication sample to be detected coincides with the antenna center of the detection antenna, during the beam scanning process, a reflected beam of the communication sample to be detected with respect to the scanning beam is obtained.

[0096] S1102: Generate a mapping relationship between a beam amplitude corresponding to a communication sample to be detected and a candidate scanning angle according to the reflected beam.

[0097] S1103, determining the maximum beam amplitude in the mapping relationship.

[0098] S1104: Determine at least one candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship.

[0099] S1105, performing a sum operation on the absolute values ​​of the candidate scanning angles to obtain a beam scanning angle corresponding to the communication sample to be detected.

[0100] S1106, determining a candidate size of the communication sample to be detected from the sample center to the sample edge according to the vertical distance and the target angle.

[0101] S1107 , taking twice the candidate size as the sample size of the communication sample to be detected.

[0102] In one embodiment, during the process of size detection on the sample to be tested, the detection antenna is controlled to perform beam scanning on the sample to be tested. The schematic diagram of the detection antenna performing beam scanning on the sample to be tested is shown in Figure 12. According to the reflected beam of the scanning beam, the beam scanning angle corresponding to the communication sample to be tested is determined through the data processing module, and the sample size of the sample to be tested is determined according to the beam scanning angle and the vertical distance between the communication sample to be tested and the detection antenna.

[0103] The above-mentioned sample size detection method receives the reflected beam of the communication sample to be detected for the scanning beam, so as to generate a mapping relationship between the beam amplitude corresponding to the communication sample to be detected and the candidate scanning angle according to the reflected beam, and then determines the beam scanning angle according to the mapping relationship, and determines the sample size of the communication sample to be detected according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna. According to the above content, when performing size detection on the communication sample to be detected, the present application determines the mapping relationship between the beam amplitude and the candidate scanning angle based on the reflected beam of the scanning beam, and determines the beam scanning angle corresponding to the communication sample to be detected through the mapping relationship; wherein, the beam scanning angle can be used to reflect the vertical distance between the communication sample to be detected and the detection antenna, and the corresponding relationship between the sample size of the communication sample to be detected, and then, according to the mapping relationship and the vertical distance, the sample size of the communication sample to be detected is determined; since in the above process, it is only necessary to control the detection antenna to perform beam scanning on the communication sample to be detected, and obtain the reflected beam to realize the size detection of the communication sample to be detected, therefore, the present application realizes low-cost size detection of the communication sample to be detected under the premise of ensuring detection accuracy, improves the detection efficiency of the communication sample to be detected, and reduces the investment cost required for size detection of the communication sample to be detected.

[0104] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0105] Based on the same inventive concept, the embodiment of the present application also provides a sample size detection device for implementing the sample size detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more sample size detection device embodiments provided below can refer to the limitations of the sample size detection method above, and will not be repeated here.

[0106] In one embodiment, as shown in FIG. 13 , a sample size detection device is provided, comprising: a control module 10, a generation module 20, a first determination module 30 and a second determination module 40, wherein:

[0107] The control module 10 is used to control the detection antenna to perform beam scanning on the communication sample to be detected, and during the beam scanning process, obtain the reflection beam of the communication sample to be detected with respect to the scanning beam.

[0108] The generating module 20 is used to generate a mapping relationship between a beam amplitude corresponding to a communication sample to be detected and a candidate scanning angle according to the reflected beam.

[0109] The first determination module 30 is used to determine the beam scanning angle corresponding to the communication sample to be detected according to the mapping relationship.

[0110] The second determination module 40 is used to determine the sample size of the communication sample to be detected according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

[0111] In one embodiment, when the sample center of the communication sample to be detected coincides with the antenna center of the detection antenna, the detection antenna is controlled to perform beam scanning on the communication sample to be detected.

[0112] In one embodiment, beam scanning is performed on the sample to be detected by changing the beam phase of the scanning beam output by the detection antenna.

[0113] In one embodiment, determining a maximum beam amplitude value in the mapping relationship;

[0114] The beam scanning angle corresponding to the sample to be detected is determined according to the candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship.

[0115] In one embodiment, at least one candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship is determined; and the absolute values ​​of the candidate scanning angles are summed to obtain the beam scanning angle corresponding to the communication sample to be detected.

[0116] In one embodiment, the candidate size of the communication sample to be detected from the sample center to the sample edge is determined based on the vertical distance and the target angle; wherein the target angle is half of the beam scanning angle; and twice the candidate size is used as the sample size of the communication sample to be detected.

[0117] The above-mentioned sample size detection device receives the reflected beam of the communication sample to be detected with respect to the scanning beam, so as to generate a mapping relationship between the beam amplitude corresponding to the communication sample to be detected and the candidate scanning angle according to the reflected beam, and then determines the beam scanning angle according to the mapping relationship, and determines the sample size of the communication sample to be detected according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna. According to the above content, when performing size detection on the communication sample to be detected, the present application determines the mapping relationship between the beam amplitude and the candidate scanning angle based on the reflected beam of the scanning beam, and determines the beam scanning angle corresponding to the communication sample to be detected through the mapping relationship; wherein, the beam scanning angle can be used to reflect the vertical distance between the communication sample to be detected and the detection antenna, and the corresponding relationship between the sample size of the communication sample to be detected, and then, according to the mapping relationship and the vertical distance, the sample size of the communication sample to be detected is determined; since in the above process, it is only necessary to control the detection antenna to perform beam scanning on the communication sample to be detected, and obtain the reflected beam to realize the size detection of the communication sample to be detected, therefore, the present application realizes low-cost size detection of the communication sample to be detected under the premise of ensuring detection accuracy, improves the detection efficiency of the communication sample to be detected, and reduces the investment cost required for size detection of the communication sample to be detected.

[0118] Each module in the above-mentioned sample size detection device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0119] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG14. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a sample size detection method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0120] Those skilled in the art will understand that the structure shown in FIG. 14 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0121] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0122] Controlling the detection antenna to perform beam scanning on the communication sample to be detected, and obtaining the reflected beam of the communication sample to be detected for the scanning beam during the beam scanning process;

[0123] Generate a mapping relationship between a beam amplitude corresponding to a communication sample to be detected and a candidate scanning angle according to the reflected beam;

[0124] According to the mapping relationship, determine the beam scanning angle corresponding to the communication sample to be detected;

[0125] The sample size of the communication sample to be detected is determined according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

[0126] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0127] When the sample center of the communication sample to be detected coincides with the antenna center of the detection antenna, the detection antenna is controlled to perform beam scanning on the communication sample to be detected.

[0128] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0129] By changing the beam phase of the scanning beam output by the detection antenna, beam scanning is performed on the sample to be detected.

[0130] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0131] Determine the maximum beam amplitude in the mapping relationship;

[0132] The beam scanning angle corresponding to the sample to be detected is determined according to the candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship.

[0133] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0134] Determine at least one candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship;

[0135] The absolute values ​​of the candidate scanning angles are summed to obtain the beam scanning angle corresponding to the communication sample to be detected.

[0136] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0137] Determine the candidate size of the communication sample to be detected from the sample center to the sample edge according to the vertical distance and the target angle; wherein the target angle is half of the beam scanning angle;

[0138] The twice candidate size is used as the sample size of the communication sample to be detected.

[0139] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0140] Controlling the detection antenna to perform beam scanning on the communication sample to be detected, and obtaining the reflected beam of the communication sample to be detected for the scanning beam during the beam scanning process;

[0141] Generate a mapping relationship between a beam amplitude corresponding to a communication sample to be detected and a candidate scanning angle according to the reflected beam;

[0142] According to the mapping relationship, determine the beam scanning angle corresponding to the communication sample to be detected;

[0143] The sample size of the communication sample to be detected is determined according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

[0144] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0145] When the sample center of the communication sample to be detected coincides with the antenna center of the detection antenna, the detection antenna is controlled to perform beam scanning on the communication sample to be detected.

[0146] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0147] By changing the beam phase of the scanning beam output by the detection antenna, beam scanning is performed on the sample to be detected.

[0148] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0149] Determine the maximum beam amplitude in the mapping relationship;

[0150] The beam scanning angle corresponding to the sample to be detected is determined according to the candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship.

[0151] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0152] Determine at least one candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship;

[0153] The absolute values ​​of the candidate scanning angles are summed to obtain the beam scanning angle corresponding to the communication sample to be detected.

[0154] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0155] Determine the candidate size of the communication sample to be detected from the sample center to the sample edge according to the vertical distance and the target angle; wherein the target angle is half of the beam scanning angle;

[0156] The twice candidate size is used as the sample size of the communication sample to be detected.

[0157] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0158] Controlling the detection antenna to perform beam scanning on the communication sample to be detected, and obtaining the reflected beam of the communication sample to be detected for the scanning beam during the beam scanning process;

[0159] Generate a mapping relationship between a beam amplitude corresponding to a communication sample to be detected and a candidate scanning angle according to the reflected beam;

[0160] According to the mapping relationship, determine the beam scanning angle corresponding to the communication sample to be detected;

[0161] The sample size of the communication sample to be detected is determined according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

[0162] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0163] When the sample center of the communication sample to be detected coincides with the antenna center of the detection antenna, the detection antenna is controlled to perform beam scanning on the communication sample to be detected.

[0164] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0165] By changing the beam phase of the scanning beam output by the detection antenna, beam scanning is performed on the sample to be detected.

[0166] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0167] Determine the maximum beam amplitude in the mapping relationship;

[0168] The beam scanning angle corresponding to the sample to be detected is determined according to the candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship.

[0169] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0170] Determine at least one candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship;

[0171] The absolute values ​​of the candidate scanning angles are summed to obtain the beam scanning angle corresponding to the communication sample to be detected.

[0172] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0173] Determine the candidate size of the communication sample to be detected from the sample center to the sample edge according to the vertical distance and the target angle; wherein the target angle is half of the beam scanning angle;

[0174] The twice candidate size is used as the sample size of the communication sample to be detected.

[0175] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0176] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0177] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0178] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A sample size detection method, characterized in that: The method comprises: Controlling the detection antenna to perform beam scanning on the communication sample to be detected, and during the beam scanning process, obtaining a reflected beam of the communication sample to be detected for the scanning beam; Generate a mapping relationship between a beam amplitude corresponding to the communication sample to be detected and a candidate scanning angle according to the reflected beam; Determine, according to the mapping relationship, a beam scanning angle corresponding to the communication sample to be detected; The sample size of the communication sample to be detected is determined according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

2. The method according to claim 1, characterized in that The controlling detection antenna to perform beam scanning on the communication sample to be detected comprises: When the sample center of the communication sample to be detected coincides with the antenna center of the detection antenna, the detection antenna is controlled to perform beam scanning on the communication sample to be detected.

3. The method according to claim 2, characterized in that The controlling detection antenna to perform beam scanning on the communication sample to be detected comprises: The beam scanning is performed on the sample to be detected by changing the beam phase of the scanning beam output by the detection antenna.

4. The method according to claim 1, characterized in that The determining, according to the mapping relationship, a beam scanning angle corresponding to the communication sample to be detected includes: Determining a maximum beam amplitude in the mapping relationship; The beam scanning angle corresponding to the sample to be detected is determined according to the candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship.

5. The method according to claim 4, characterized in that The determining, according to the candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship, the beam scanning angle corresponding to the sample to be detected includes: Determine at least one candidate scanning angle corresponding to the maximum beam amplitude value in the mapping relationship; The absolute values ​​of the candidate scanning angles are summed to obtain the beam scanning angle corresponding to the communication sample to be detected.

6. The method according to claim 1, characterized in that Determining the sample size of the communication sample to be detected according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna includes: Determine a candidate size of the communication sample to be detected from the sample center to the sample edge according to the vertical distance and the target angle; wherein the target angle is half of the beam scanning angle; Twice the candidate size is used as the sample size of the communication sample to be detected.

7. A sample size detection device, characterized in that: The device comprises: A control module, used for controlling the detection antenna to perform beam scanning on the communication sample to be detected, and during the beam scanning process, obtaining a reflected beam of the communication sample to be detected for the scanning beam; A generating module, used for generating a mapping relationship between a beam amplitude corresponding to the communication sample to be detected and a candidate scanning angle according to the reflected beam; A first determination module, configured to determine, according to the mapping relationship, a beam scanning angle corresponding to the communication sample to be detected; The second determination module is used to determine the sample size of the communication sample to be detected according to the beam scanning angle and the vertical distance between the communication sample to be detected and the detection antenna.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.