Terminal use scene determination method and device, terminal and storage medium
By acquiring the antenna performance parameters at different locations of the terminal and utilizing scene mapping relationships to determine the target usage scenario of the terminal, the problem of low accuracy in determining the terminal usage scenario is solved, and the accuracy is improved.
Patent Information
- Application Number
- CN202310534328.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-11
- Publication Date
- 2024-11-12
AI Technical Summary
The accuracy of determining the usage scenario of the terminal in different usage scenarios is low, and it is greatly affected by the randomness of the contact material and measurement errors.
By obtaining the current operating performance parameters of at least two antennas located at different positions on the terminal, the candidate usage scenarios corresponding to the antennas are determined using the usage scenario mapping relationship, and the target usage scenario of the terminal is determined based on the candidate usage scenarios of multiple antennas.
This reduces inaccuracies caused by accidental contact with materials and measurement errors, and improves the accuracy of determining the target usage scenario.
Smart Images

Figure CN118945260A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of terminal technology, and in particular, to a method, device, terminal and storage medium for determining a terminal usage scenario. Background Art
[0002] During use, the terminal may be in different usage scenarios. For example, the terminal may be held by the user's left hand or right hand, held vertically with both hands or held horizontally with both hands, or in a head-hand model state of answering a call, or in a free space state of being placed in a pocket or on a desktop. In different usage scenarios, it may be necessary to adjust various parameters of the terminal to meet the needs of different usage scenarios. Summary of the invention
[0003] The embodiment of the present application provides a method, device, terminal and storage medium for determining a terminal usage scenario. The technical solution is as follows:
[0004] On the one hand, an embodiment of the present application provides a method for determining a terminal usage scenario, the method comprising:
[0005] Acquire current operating performance parameters of at least two antennas; the at least two antennas are located at different positions of the terminal;
[0006] Based on the current working performance parameters and the usage scenario mapping relationship, determining a candidate usage scenario corresponding to the antenna; the usage scenario mapping relationship is used to characterize the working performance parameter ranges of different antennas under different usage scenarios;
[0007] Based on the candidate usage scenarios corresponding to at least two of the antennas, a target usage scenario of the terminal is determined.
[0008] On the other hand, an embodiment of the present application provides a device for determining a terminal usage scenario, the device comprising:
[0009] An acquisition module, used to acquire current working performance parameters of at least two antennas; the at least two antennas are located at different positions of the terminal;
[0010] A determination module, configured to determine a candidate usage scenario corresponding to the antenna based on the current working performance parameter and a usage scenario mapping relationship; the usage scenario mapping relationship is used to characterize the working performance parameter range of different antennas under different usage scenarios;
[0011] The determination module is further used to determine the target usage scenario of the terminal based on the candidate usage scenarios corresponding to at least two of the antennas.
[0012] On the other hand, an embodiment of the present application provides a terminal, which includes a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the method described in the above aspect.
[0013] On the other hand, an embodiment of the present application provides a computer-readable storage medium, in which at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the method described in the above aspect.
[0014] On the other hand, an embodiment of the present application provides a computer program product, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the method provided in various optional implementations of the above aspects.
[0015] In an embodiment of the present application, by using current working performance parameters of at least two antennas located at different positions of the terminal, candidate usage scenarios corresponding to the antennas are determined from the usage scenario mapping relationship, and the target usage scenario of the terminal is determined based on the candidate usage scenarios corresponding to the at least two antennas. This can reduce inaccuracies caused by factors such as the randomness of contact materials and measurement errors, and improve the accuracy of determining the target usage scenario. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 is a schematic diagram of antennas located at different positions of a terminal provided by an exemplary embodiment of the present application;
[0018] Figure 2 is a schematic diagram of antennas located at different positions of a terminal provided by another exemplary embodiment of the present application;
[0019] Figure 3 is a schematic diagram of measuring antenna impedance provided by an exemplary embodiment of the present application;
[0020] Figure 4 is a flow chart of a method for determining a terminal usage scenario provided by an exemplary embodiment of the present application;
[0021] Figure 5 is a schematic diagram of a scene mapping relationship list 51 provided by an exemplary embodiment of the present application;
[0022] Figure 6 is a schematic diagram of a scene mapping relationship list 61 provided by an exemplary embodiment of the present application;
[0023] Figure 7 is a schematic diagram of determining a working performance parameter range provided by an exemplary embodiment of the present application;
[0024] Figure 8 is a schematic diagram of a scene mapping relationship list 81 provided by an exemplary embodiment of the present application;
[0025] Fig. 9 is a structural block diagram of a device for determining a terminal usage scenario provided by an exemplary embodiment of the present application;
[0026] Fig.10 It is a schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0028] In order to solve the problem of low accuracy in determining terminal usage scenarios, the present application proposes a method for determining terminal usage scenarios, which determines the target usage scenario of the terminal through working performance parameters of at least two antennas located at different positions of the terminal.
[0029] In some embodiments, the number and positions of antennas of a terminal may be configured to meet the needs of determining a usage scenario of the terminal.
[0030] See also Figure 1 , Figure 1 It is a schematic diagram of antennas located at different positions of a terminal provided by an exemplary embodiment of the present application.
[0031] like Figure 1 As shown, there may be 7 antennas located at different positions of the terminal 11, and the 7 antennas are respectively located at the top frame of the terminal 11, the antenna 102 located at the upper left frame of the terminal 11, the antenna 103 located at the upper right frame of the terminal 11, the antenna 104 located at the middle left frame of the terminal 11, the antenna 105 located at the middle right frame of the terminal 11, the antenna 106 located at the lower left frame of the terminal 11 and the antenna 107 located at the lower right frame of the terminal 11.
[0032] See also Figure 2 , Figure 2 It is a schematic diagram of antennas located at different positions of a terminal provided by another exemplary embodiment of the present application.
[0033] like Figure 2 As shown, there may be four antennas located at different positions of the terminal 21, and the four antennas are antenna 201 located at the left middle side frame of the terminal 21, antenna 202 located at the right middle side frame of the terminal 21, antenna 203 located at the left lower side frame of the terminal 21, and antenna 204 located at the right lower side frame of the terminal 21.
[0034] It should be noted that Figure 1 and Figure 2 This is a schematic illustration of the number of antennas and antenna positions. The number of antennas can also be any other integer greater than 2, and the positions of different antennas can be located at any different positions of the terminal. The embodiments of the present application do not limit this.
[0035] In some embodiments, a circuit structure is configured inside the terminal to measure the current operating performance parameters of the antenna.
[0036] Optionally, the current working performance parameter is at least one of antenna impedance and antenna reflection coefficient.
[0037] Exemplarily, when the current working performance parameter is antenna impedance, a circuit structure for detecting antenna impedance may be configured inside the terminal.
[0038] See also Figure 3 , Figure 3 It is a schematic diagram of measuring antenna impedance provided by an exemplary embodiment of the present application.
[0039] like Figure 3 As shown, measuring the antenna impedance includes measuring in the following two states:
[0040] (1) Test state 3a before the terminal leaves the factory. In the test state 3a, the measurement circuit includes a transmitting component 31, a detection component 32, and a feedback loop 33. The circuit connection between the antenna 34 to be measured and the detection component 32 is in a disconnected state.
[0041] (2) Use state 3b when the user uses the terminal. In the use state 3b, the measurement circuit includes a transmitting component 31, a detecting component 32, a feedback loop 33 and an antenna 34 to be measured.
[0042] In a possible implementation, the antenna impedance of the antenna 34 to be measured can be calculated through the calibration technology of the vector network analyzer based on the first impedance, the second impedance, the third impedance measured in the test state 3a, and the fourth impedance measured in the use state 3b.
[0043] Exemplarily, the calibration technology of the vector network analyzer can be a SOLT model calibration method (Short-Open-Load-Through calibration, short-circuit-open-load-through model method). The first impedance is the impedance measured on the feedback loop 33 when the detection component 32 is in a short-circuit state in the test state 3a; the second impedance is the impedance measured on the feedback loop 33 when the detection component 32 is in an open-circuit state in the test state 3a; the third impedance is the impedance measured on the feedback loop 33 when the detection component 32 is in a load state in the test state 3a; and the fourth impedance is the impedance measured on the feedback loop 33 when the detection component 32 is in a through state in the use state 3b.
[0044] It should be noted that the antenna impedance of the antenna 34 to be measured can also be measured based on other methods, for example, it can be determined by the SOLR model calibration method (Short-Open-Load-Reciprocal calibration) of the vector network analyzer calibration technology, or by other circuit structure measurements, and the embodiments of the present application are not limited to this.
[0045] See also Figure 4 , Figure 4 1 is a flow chart of a method for determining a terminal usage scenario provided by an exemplary embodiment of the present application. The method comprises the following steps:
[0046] Step 401, obtaining current working performance parameters of at least two antennas; the at least two antennas are located at different positions of the terminal.
[0047] Optionally, the at least two antennas are 2, 5, 7 or other numbers of antennas.
[0048] Exemplarily, at least two antennas may be arranged according to Figure 1 or Figure 2 The number and position shown may be configured, or other numbers and positions may be configured, and the embodiments of the present application are not limited to this.
[0049] The current operating performance parameters are real-time operating parameters of the antenna.
[0050] Optionally, the current operating performance parameter is antenna impedance. In some embodiments, the antenna impedance can be determined based on a Smith chart on a vector network analyzer.
[0051] Optionally, the current working performance parameter is VSWR (Voltage Standing Wave Radio). In some embodiments, the voltage standing wave ratio can be calculated and determined based on the ratio between the transmitted and reflected voltage standing waves.
[0052] Optionally, the current working performance parameter is an antenna reflection coefficient. In some embodiments, the antenna reflection coefficient may be calculated and determined based on a ratio of a maximum voltage amplitude to a minimum voltage amplitude.
[0053] Step 402, based on the current working performance parameters and the usage scenario mapping relationship, determine the candidate usage scenario corresponding to the antenna; the usage scenario mapping relationship is used to characterize the working performance parameter ranges of different antennas in different usage scenarios.
[0054] Optionally, the scenario mapping relationship may be stored as a list of operating performance parameter ranges of different antennas in different usage scenarios (referred to as a scenario mapping relationship list).
[0055] See also Figure 5 , Figure 5 It is a schematic diagram of a scene mapping relationship list 51 provided by an exemplary embodiment of the present application.
[0056] like Figure 5 As shown, the scene mapping relationship list 51 stores the working performance parameter ranges corresponding to antennas 1 to 6 in use scenarios 1 to 4. Taking use scenario 1 as an example, the scene mapping relationship list 51 stores the working performance parameter range 511 of antenna 1 in use scenario 1, the working performance parameter range 512 of antenna 2 in use scenario 1, ..., the working performance parameter range 516 of antenna 6 in use scenario 1.
[0057] It should be noted that Figure 5 This is a schematic diagram of the scene mapping relationship list. The number of scenes and the number of antennas used in the scene mapping relationship list may also be other values, which is not limited in the embodiments of the present application.
[0058] Optionally, the scene mapping relationship may be stored in other ways other than a list, such as chain storage, index storage, etc., which is not limited in the embodiments of the present application.
[0059] The candidate usage scenario is a possible usage scenario corresponding to the current working performance parameter of the antenna. The candidate usage scenario can be one or more possible usage scenarios.
[0060] Step 403: Determine the target usage scenario of the terminal based on the candidate usage scenarios corresponding to at least two antennas.
[0061] In a possible implementation, the intersection of candidate usage scenarios corresponding to all antennas may be used as the target usage scenario of the terminal. For example, there are 4 antennas at different locations of the terminal, where the candidate usage scenarios corresponding to antenna 1 are usage scenarios 1, 2, and 3; the candidate usage scenarios corresponding to antenna 2 are usage scenarios 1, 2, and 4; the candidate usage scenarios corresponding to antenna 3 are usage scenarios 2 and 3; the candidate usage scenarios corresponding to antenna 4 are usage scenarios 2 and 4, and the intersection is usage scenario 2, then it is determined that the target usage scenario of the terminal is usage scenario 2.
[0062] To summarize, by using the current working performance parameters of at least two antennas located at different positions of the terminal, the candidate usage scenarios corresponding to the antennas are determined from the usage scenario mapping relationship, and the target usage scenario of the terminal is determined based on the candidate usage scenarios corresponding to at least two antennas. This can reduce inaccuracies caused by factors such as the randomness of contact materials and measurement errors, and improve the accuracy of determining the target usage scenarios.
[0063] To determine the candidate usage scenarios corresponding to the antenna, the operating performance parameter ranges of the antenna under different usage scenarios can be found from the usage scenario mapping relationship, and the candidate usage scenarios can be determined based on the operating performance parameter ranges and the current operating performance parameters. Different operating performance parameter ranges correspond to different usage scenarios.
[0064] Optionally, when the current performance parameter is antenna impedance, since antenna impedance is a two-dimensional complex number (such as R+jI, where the real part R represents resistance and the imaginary part I represents reactance), the operating performance parameter range can be an area on a two-dimensional complex plane.
[0065] Optionally, when the current working performance parameter is voltage standing wave ratio, since voltage standing wave ratio is one-dimensional data, the working performance parameter range can be a set on the number axis.
[0066] See also Figure 6 , Figure 6 It is a schematic diagram of a scene mapping relationship list 61 provided by an exemplary embodiment of the present application.
[0067] like Figure 6 As shown, the scene mapping relationship list 61 stores the working performance parameter ranges corresponding to antennas 1 to 3 in usage scenarios 1 to 4. Taking antenna 1 as an example, different working performance parameter ranges correspond to different usage scenarios, for example, working performance parameter range 611a corresponds to usage scenario 1, working performance parameter range 621a corresponds to usage scenario 2, and so on.
[0068] Regarding the method of determining the candidate usage scenarios corresponding to the antenna, there may be the following two situations.
[0069] (1) In a possible scenario, the current operating performance parameter belongs to one or more corresponding operating performance parameter ranges. In this case, the usage scenarios corresponding to the one or more operating performance parameter ranges including the current operating performance parameter can be used as candidate usage scenarios corresponding to the antenna.
[0070] Taking antenna 1 as an example, if the current working performance parameter is antenna impedance, the value is 50Ω+j·30Ω, and the working performance parameter range 611a and the working performance parameter range 621a both include 50Ω+j·30Ω, so usage scenario 1 and usage scenario 2 can be used together as candidate usage scenarios corresponding to antenna 1.
[0071] In this implementation, by taking the usage scenarios corresponding to one or more working performance parameter ranges including the current working performance parameters as the candidate usage scenarios corresponding to the antenna, possible candidate usage scenarios can be screened out to avoid missing possible scenarios, thereby improving the accuracy of the target usage scenarios.
[0072] (2) In a possible scenario, there is no working performance parameter range that includes the current working performance parameter in the scenario mapping relationship. In this case, the candidate usage scenario corresponding to the antenna can be determined based on the working performance parameter reference value.
[0073] like Figure 6 As shown, the scene mapping relationship list 61 also stores working performance parameter reference values corresponding to different working performance parameter ranges, for example, working performance parameter reference value 611b corresponding to working performance parameter range 611a, working performance parameter reference value 621b corresponding to working performance parameter range 621a, and so on.
[0074] In some embodiments, the reference value of the working performance parameter can be determined based on samples. For example, by collecting multiple working performance parameters of the antenna of different people in the same usage scenario as multiple samples, the reference value of the working performance parameter of the antenna in the usage scenario can be determined. The different people can be people of different ages, genders, body shapes, etc.
[0075] Optionally, the operating performance parameter reference value may be an average value of multiple samples. For example, when the current performance parameter is antenna impedance, the operating performance parameter reference value may be the center point of a two-dimensional complex plane region corresponding to the multiple samples.
[0076] Optionally, the working performance parameter reference value may also be other reference values used to characterize characteristics of multiple samples.
[0077] In the absence of a working performance parameter range that includes the current working performance parameter, determine the difference between the current working performance parameter and the working performance parameter reference value; and based on the ascending order of the difference, determine the usage scenarios corresponding to the first n working performance parameter reference values as candidate usage scenarios corresponding to the antenna, where n is a positive integer.
[0078] Taking antenna 1 as an example, if the current working performance parameter is antenna impedance, the value is 200Ω+j·300Ω, in the four working performance parameter ranges corresponding to antenna 1 (working performance parameter ranges 611a, 621a, 631a and 641a), there is no working performance parameter range that includes the current working performance parameter. Therefore, the difference between the current working performance parameter and the four working performance parameter reference values (working performance parameter reference values 611b, 621b, 631b and 641b) can be calculated. Exemplarily, if the four differences are 30Ω+j·40Ω, 70Ω+j·80Ω, -20Ω+j·60Ω, -40Ω+j·50Ω, respectively, and n=2, the four differences can be arranged in ascending order of module length, and the usage scenarios (usage scenarios 1 and 3) corresponding to the first two working performance parameter reference values (working performance parameter ranges 611a and 631a) are determined as candidate usage scenarios corresponding to the antenna.
[0079] In this embodiment, on the one hand, by determining the range of working performance parameters through multiple samples, errors caused by differences in human tissue (for example, due to gender, age, and body shape, etc.) can be reduced, thereby improving the accuracy of the target usage scenario; on the other hand, in the absence of a working performance parameter range that includes the current working performance parameter, candidate usage scenarios are determined based on the difference between the current working performance parameter and the working performance parameter reference value, thereby avoiding the situation where the target usage scenario cannot be determined due to factors such as measurement errors.
[0080] To determine the working performance parameter range corresponding to the antenna, the working performance parameters corresponding to different people in different usage scenarios can be collected as multiple samples before the terminal leaves the factory, and the working performance parameter range is determined based on the multiple samples and stored in the usage scenario mapping relationship.
[0081] The following uses the working performance parameter of antenna impedance as an example to illustrate how to determine the working performance parameter range based on multiple samples.
[0082] In a possible implementation, a plurality of sample antenna impedances may be collected, and a boundary of the operating performance parameter range may be determined based on a target sample antenna impedance among the sample antenna impedances.
[0083] The multiple sample antenna impedances refer to antenna impedances collected by different people in the same usage scenario. For example, the multiple sample antenna impedances may be eight antenna impedances corresponding to antenna 1 collected when eight people hold the terminal with both hands.
[0084] The target sample antenna impedance refers to the peripheral sample antenna impedance after outlier filtering. For example, the sample antenna impedance can be filtered out to remove invalid samples that are too far away from the reference value of the working performance parameter, and the peripheral samples in the remaining sample antenna impedance are used as the target sample antenna impedance.
[0085] See also Figure 7 , Figure 7 It is a schematic diagram for determining the range of working performance parameters provided by an exemplary embodiment of the present application.
[0086] like Figure 7 As shown, 8 sample antenna impedances corresponding to antenna 1 obtained by collecting 8 people holding the terminal with both hands are plotted on the complex plane as sample 1, sample 2, ..., sample 8. The average value of the 8 sample antenna impedances is calculated as the reference value of the working performance parameter, and the 8 sample antenna impedances are filtered outliers based on the reference value of the working performance parameter, that is, the samples whose distance from the reference value of the working performance parameter is greater than the preset threshold are discarded. After calculation, the distance between sample 7 and sample 8 and the reference value of the working performance parameter is greater than the preset threshold, so sample 7 and sample 8 are discarded, leaving samples 1 to 6. Figure 7 In the figure, sample 4 is located in the closed area enclosed by samples 1, 2, 3, 5 and 6. Samples 1, 2, 3, 5 and 6 are peripheral samples. Therefore, samples 1, 2, 3, 5 and 6 are taken as target sample antenna impedances.
[0087] In this embodiment, outlier filtering is performed on the sample antenna impedance based on the working performance parameter reference value, which can filter out samples that differ too much from the working performance parameter reference value (for example, invalid samples caused by excessive measurement errors, etc.), thereby improving the credibility of the samples and increasing the accuracy of the working performance parameter range.
[0088] The method for determining the working performance parameter range based on the target sample antenna impedance may include at least one of the following methods.
[0089] (1) The operating performance parameter range refers to the closed area enclosed by the target sample antenna impedance.
[0090] like Figure 7 As shown, a closed area 710 formed by connecting sample 1, sample 2, sample 6, sample 3 and sample 5 in sequence is used as the working performance parameter range.
[0091] (2) The working performance parameter range refers to the union of the closed area enclosed by the target sample antenna impedance and the outer extended area corresponding to the target sample antenna impedance.
[0092] The outer expansion area refers to an area centered on the target sample antenna impedance and having a reference value of a working performance parameter as an outer expansion range.
[0093] Optionally, the outward expansion area is circular or in other shapes.
[0094] For example, Figure 7 As shown, the target sample antenna impedances (sample 1, sample 2, sample 3, sample 5 and sample 6) correspond to expansion areas 721, 722, 723, 724 and 725. The expansion area 721 is a circular area with sample 1 as the center and the working performance parameter reference value as the radius.
[0095] In a possible implementation, the union of the closed area 710 , the expanded area 721 , the expanded area 722 , the expanded area 723 , the expanded area 724 , and the expanded area 725 may be used as the working performance parameter range.
[0096] In this embodiment, by taking the union of the outward expansion area and the closed area as the working performance parameter range, the limitation of the number of sample collection can be overcome to a certain extent, and the working performance parameter range can be appropriately increased, thereby further reducing the problem of inaccurate determination of the target usage scenario caused by factors such as human tissue differences or measurement errors.
[0097] In different usage scenarios, it may be necessary to adjust various parameters of the terminal to meet the needs of different usage scenarios. For example, when the scenario in which the terminal is located changes from a user holding the terminal with both hands to a head-hand model scenario in the state of answering a call, the antenna needs to be tuned to improve the efficiency of the antenna, increase the radiation power and radiation range of the antenna, and thus better meet the needs of users to answer calls.
[0098] Optionally, antenna tuning includes impedance tuning and / or aperture tuning. In some embodiments, impedance tuning and / or aperture tuning can be achieved by adding a tuning component between the switch and the antenna.
[0099] When the antenna is in different tuning states (i.e., in different antenna impedances and / or antenna apertures), the operating performance parameter range corresponding to the antenna may be different. Therefore, the operating performance parameter range corresponding to the antenna in the usage scenario mapping relationship can be determined based on the current tuning state of the antenna.
[0100] See also Figure 8 , Figure 8 It is a schematic diagram of a scene mapping relationship list 81 provided by an exemplary embodiment of the present application.
[0101] like Figure 8As shown, the scene mapping relationship list 81 stores the working performance parameter ranges corresponding to antennas 1 to 3 in usage scenarios 1 to 2 and in different tuning states. Taking antenna 1 as an example, the scene mapping relationship list 81 stores the working performance parameter range 8111 of antenna 1 in usage scenario 1 and tuning state 1, the working performance parameter range 8112 in usage scenario 1 and tuning state 2, and the working performance parameter range 8113 in usage scenario 1 and tuning state 3. In addition, the scene mapping relationship list 81 also stores the working performance parameter ranges of antenna 1 in different tuning states (tuning state 1, tuning state 4, and tuning state 5) in usage scenario 2. Among them, different usage scenarios may have the same or different tuning states.
[0102] In some embodiments, based on the current tuning state of the antenna (including the current antenna impedance and the current antenna aperture), the operating performance parameter range corresponding to the current tuning state can be determined from the scene mapping relationship list 81. For example, the current tuning state of antenna 1 is tuning state 1, corresponding to the operating performance parameter range 8111.
[0103] In this embodiment, the working performance parameter range corresponding to the antenna is determined by the current tuning state of the antenna, so that the value of the working performance parameter range can be applicable to the current tuning state, and the subsequent determination of candidate usage scenarios and the target usage scenario of the terminal is more accurate.
[0104] In some embodiments, after determining the target usage scenario of the terminal, at least two antennas may be tuned based on the target tuning state corresponding to the target usage scenario. For example, when it is determined that the target usage scenario of the terminal is a head-hand model scenario in the state of answering a call, the antenna may be impedance tuned and / or aperture tuned through a tuning component according to the target antenna impedance and target antenna aperture corresponding to the head-hand model scenario, so as to improve the efficiency of the antenna, increase the radiation power and radiation range of the antenna, and thus better meet the needs of the user to answer a call.
[0105] The candidate usage scenarios corresponding to at least two antennas do not necessarily have an intersection. For example, the candidate usage scenarios for antenna 1 are usage scenario 1 and usage scenario 2; the candidate usage scenarios for antenna 2 are usage scenario 1, usage scenario 3, and usage scenario 4; the candidate usage scenario for antenna 3 is usage scenario 5. At this time, the candidate usage scenarios corresponding to the three antennas do not have an intersection.
[0106] Therefore, in a possible implementation manner, the number of occurrences of candidate usage scenarios corresponding to at least two antennas may also be determined; and the candidate usage scenario with the highest number of occurrences may be determined as the target usage scenario of the terminal.
[0107] In the above example, the occurrence number of usage scenario 1 is 2, and the occurrence numbers of usage scenario 2, usage scenario 3, usage scenario 4 and usage scenario 5 are only 1. Therefore, usage scenario 1 with the highest occurrence number is used as the target usage scenario of the terminal.
[0108] In a possible implementation manner, when the candidate usage scenarios corresponding to at least two antennas do not have an intersection, the target usage scenario of the terminal may also be determined as a FS (Free Space) state.
[0109] In this embodiment, by using the usage scenario with the highest number of occurrences as the target usage scenario of the terminal, the deviation caused by measurement errors and the like can be reduced to a certain extent, making the determination of the target usage scenario more reasonable and accurate.
[0110] In some embodiments, the candidate usage scenarios corresponding to the antenna may be determined by measuring one or more current operating performance parameters of the antenna.
[0111] Optionally, the current operating performance parameter is antenna impedance. In some embodiments, the antenna impedance can be determined based on a Smith chart on a vector network analyzer.
[0112] Optionally, the current working performance parameter is VSWR (Voltage Standing Wave Radio). In some embodiments, the voltage standing wave ratio can be calculated and determined based on the ratio between the transmitted and reflected voltage standing waves.
[0113] Optionally, the current working performance parameter is an antenna reflection coefficient. In some embodiments, the antenna reflection coefficient may be calculated and determined based on a ratio of a maximum voltage amplitude to a minimum voltage amplitude.
[0114] In some embodiments, the usage scenario mapping relationship may include only a working performance parameter range corresponding to one working performance parameter, or may include working performance parameter ranges corresponding to two or more working performance parameters. For example, it may include both the antenna reflection coefficient parameter range and the antenna impedance parameter range, and determine the candidate usage scenarios corresponding to the antenna based on two or more working performance parameter ranges.
[0115] By determining the candidate usage scenarios corresponding to the antenna through different current working performance parameters, on the one hand, measurements can be performed based on different detection devices to reduce measurement errors, so that the target usage scenario of the terminal is finally determined more accurately; on the other hand, different working performance parameters can be used for subsequent adjustments to various parameters of the terminal. For example, the numerical measurement results of the antenna impedance can be used to tune the antenna later.
[0116] See also Fig. 9 , Fig. 9 This is a structural block diagram of a device for determining a terminal usage scenario provided by an exemplary embodiment of the present application. The device includes:
[0117] The acquisition module 901 is used to acquire current working performance parameters of at least two antennas; the at least two antennas are located at different positions of the terminal;
[0118] A determination module 902 is used to determine a candidate usage scenario corresponding to the antenna based on the current working performance parameter and the usage scenario mapping relationship; the usage scenario mapping relationship is used to characterize the working performance parameter range of different antennas under different usage scenarios;
[0119] The determination module 902 is used to determine the target usage scenario of the terminal based on the candidate usage scenarios corresponding to at least two of the antennas.
[0120] Optionally, the determination module 902 is used to:
[0121] Determine a working performance parameter range corresponding to the antenna in the usage scenario mapping relationship, where different working performance parameter ranges correspond to different usage scenarios;
[0122] A usage scenario corresponding to a working performance parameter range that includes the current working performance parameter is determined as the candidate usage scenario corresponding to the antenna.
[0123] Optionally, the usage scenario mapping relationship includes a work performance parameter reference value corresponding to a work performance parameter range, and the work performance parameter reference value is determined based on a sample. The determination module 902 is used to:
[0124] In the absence of a working performance parameter range including the current working performance parameter, determining a difference between the current working performance parameter and the working performance parameter reference value;
[0125] Based on the ascending order of the differences, the usage scenarios corresponding to the first n reference values of the working performance parameters are determined as the candidate usage scenarios corresponding to the antenna, where n is a positive integer.
[0126] Optionally, the current working performance parameter is antenna impedance, the working performance parameter reference value is an average value of sample antenna impedances, the boundary of the working performance parameter range is determined based on a target sample antenna impedance among the sample antenna impedances, and the target sample antenna impedance is a peripheral sample antenna impedance after outlier filtering.
[0127] Optionally, the operating performance parameter range refers to a closed area enclosed by the target sample antenna impedance;
[0128] or,
[0129] The working performance parameter range refers to a closed area enclosed by the target sample antenna impedance and a union area of an extended area corresponding to the target sample antenna impedance; the extended area refers to an area centered on the target sample antenna impedance and where the working performance parameter reference value is the extended range.
[0130] Optionally, the usage scenario mapping relationship is used to characterize the operating performance parameter ranges of different antennas in different tuning states under different usage scenarios, and the determination module 902 is used to:
[0131] Based on the current tuning state of the antenna, a working performance parameter range corresponding to the antenna in the usage scenario mapping relationship is determined.
[0132] Optionally, the determination module 902 is used to:
[0133] Determining the number of occurrences of the candidate usage scenarios corresponding to at least two of the antennas;
[0134] The candidate usage scenario with the highest number of occurrences is determined as the target usage scenario in which the terminal is located.
[0135] Optionally, the current operating performance parameter includes at least one of antenna impedance and antenna reflection coefficient.
[0136] Optionally, the device further comprises a tuning module, and the tuning module is used for:
[0137] Based on the target tuning state corresponding to the target usage scenario, antenna tuning is performed on at least two of the antennas.
[0138] See also Fig.10 , Fig.10 It is a schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application.
[0139] The terminal may execute the method for determining the terminal usage scenario of the above embodiment. The terminal may be a terminal device having at least two antennas, such as a smart phone, a laptop, a tablet computer, etc. having at least two antennas. The terminal may also be referred to as a user equipment, a portable terminal, or other names. The terminal may include one or more of the following components: a processor 1010, a memory 1020, an antenna 1 (1031), an antenna 2 (1032), a measurement component 1 (1041), and a measurement component 2 (1042).
[0140] Optionally, the processor 1010 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 1020, and calling data stored in the memory 1020. Optionally, the processor 1010 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1010 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a baseband chip. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content that needs to be displayed on the touch display; the NPU is used to implement artificial intelligence (AI) functions; and the baseband chip is used to process wireless communications. It is understandable that the above-mentioned baseband chip may not be integrated into the processor 1010, but may be implemented by a separate chip.
[0141] The memory 1020 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 1020 includes a non-transitory computer-readable storage medium. The memory 1020 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 1020 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data created according to the use of the electronic device (such as audio data, a phone book), etc.
[0142] Antenna 1 (1031) and antenna 2 (1032) are antennas located at different positions of the terminal. Antenna 1 (1031) and antenna 2 (1032) are used to receive electromagnetic waves sent by the base station and convert them into weak AC current signals, or convert AC current amplified by the power amplifier into electromagnetic wave signals. Optionally, antenna 1 (1031) and / or antenna 2 (1032) are external antennas, such as monopole antennas, helical antennas, PCB printed helical antennas, etc. Optionally, antenna 1 (1031) and / or antenna 2 (1032) are built-in antennas, such as microstrip patch antennas, slot antennas, IFA antennas and inverted L antennas, ceramic antennas, etc. In some embodiments, the terminal may also include a larger number of antennas.
[0143] Measuring component 1 (1041) and measuring component 2 (1042) are components used to measure the working performance parameters of antenna 1 (1031) and antenna 2 (1032), respectively. Exemplarily, when the working performance parameter is antenna impedance, measuring component 1 (1041) and measuring component 2 (1042) may be vector network analyzers. In some embodiments, measuring component 1 (1041) and measuring component 2 (1042) may be the same or different components. In addition, those skilled in the art will appreciate that the structure of the terminal shown in the above-mentioned figures does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0144] The embodiment of the present application also provides a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement the method described in the above embodiment. Optionally, the computer-readable storage medium may include: ROM, RAM, solid state drive (SSD, Solid State Drives) or optical disk, etc. Among them, RAM may include resistance random access memory (ReRAM, Resistance Random Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).
[0145] The embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in various optional implementations of the above aspects.
[0146] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for determining a terminal usage scenario, characterized in that: The method comprises: Acquire current operating performance parameters of at least two antennas; the at least two antennas are located at different positions of the terminal; Based on the current working performance parameters and the usage scenario mapping relationship, determining a candidate usage scenario corresponding to the antenna; the usage scenario mapping relationship is used to characterize the working performance parameter ranges of different antennas under different usage scenarios; Based on the candidate usage scenarios corresponding to at least two of the antennas, a target usage scenario of the terminal is determined.
2. The method according to claim 1, characterized in that: The determining, based on the current working performance parameter and the usage scenario mapping relationship, a candidate usage scenario corresponding to the antenna includes: Determine a working performance parameter range corresponding to the antenna in the usage scenario mapping relationship, where different working performance parameter ranges correspond to different usage scenarios; A usage scenario corresponding to a working performance parameter range that includes the current working performance parameter is determined as the candidate usage scenario corresponding to the antenna.
3. The method according to claim 2, characterized in that The usage scenario mapping relationship includes a work performance parameter reference value corresponding to the work performance parameter range, and the work performance parameter reference value is determined based on the sample; The determining, based on the current working performance parameter and the usage scenario mapping relationship, a candidate usage scenario corresponding to the antenna further includes: In the absence of a working performance parameter range including the current working performance parameter, determining a difference between the current working performance parameter and the working performance parameter reference value; Based on the ascending order of the differences, the usage scenarios corresponding to the first n reference values of the working performance parameters are determined as the candidate usage scenarios corresponding to the antenna, where n is a positive integer.
4. The method according to claim 3, characterized in that The current working performance parameter is antenna impedance, the working performance parameter reference value is an average value of sample antenna impedances, the boundary of the working performance parameter range is determined based on a target sample antenna impedance among the sample antenna impedances, and the target sample antenna impedance is a peripheral sample antenna impedance after outlier filtering.
5. The method according to claim 4, characterized in that The operating performance parameter range refers to a closed area enclosed by the target sample antenna impedance; or, The working performance parameter range refers to a closed area enclosed by the target sample antenna impedance and the union area of the extended area corresponding to the target sample antenna impedance. The extended area refers to an area centered on the target sample antenna impedance and where the working performance parameter reference value is the extended range.
6. The method according to claim 2, characterized in that The usage scenario mapping relationship is used to characterize the working performance parameter ranges of different antennas in different tuning states under different usage scenarios; The determining the working performance parameter range corresponding to the antenna in the usage scenario mapping relationship includes: Based on the current tuning state of the antenna, a working performance parameter range corresponding to the antenna in the usage scenario mapping relationship is determined.
7. The method according to claim 1, characterized in that The determining, based on the candidate usage scenarios corresponding to at least two of the antennas, a target usage scenario of the terminal, includes: Determining the number of occurrences of the candidate usage scenarios corresponding to at least two of the antennas; The candidate usage scenario with the highest number of occurrences is determined as the target usage scenario in which the terminal is located.
8. The method according to claim 1, characterized in that The current operating performance parameter includes at least one of antenna impedance and antenna reflection coefficient.
9. The method according to claim 1, characterized in that: The method further comprises: Based on the target tuning state corresponding to the target usage scenario, antenna tuning is performed on at least two of the antennas.
10. A device for determining a terminal usage scenario, characterized in that: The device comprises: An acquisition module, used to acquire current working performance parameters of at least two antennas; the at least two antennas are located at different positions of the terminal; A determination module, configured to determine a candidate usage scenario corresponding to the antenna based on the current working performance parameter and a usage scenario mapping relationship; the usage scenario mapping relationship is used to characterize the working performance parameter range of different antennas under different usage scenarios; The determination module is further used to determine the target usage scenario of the terminal based on the candidate usage scenarios corresponding to at least two of the antennas.
11. A terminal, characterized in that: The terminal includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the method for determining the terminal usage scenario as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and the instruction is loaded and executed by the processor to implement the method for determining the terminal usage scenario according to any one of claims 1 to 9.
13. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium; the processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the method for determining the terminal usage scenario as described in any one of claims 1 to 9.
