Information Determination Method, Apparatus, Device, and Storage Medium
The external protection accessories detected by the built-in SAR sensor of the terminal solves the problem of narrow resource consumption and detection range in the prior art, and achieves extensive detection and parameter optimization.
Patent Information
- Application Number
- CN202110302805.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-22
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2041-03-22
AI Technical Summary
In the prior art, mobile terminals need to install additional peripheral circuits to detect external protection accessories, resulting in resource consumption and narrow detection range.
The SAR signal is obtained by calculating the detection parameter value to determine whether external protection accessories are provided, and not limited to specific categories.
It realizes that external protective accessories are widely detected without increasing resource consumption, and terminal operating parameters are adjusted according to the accessory category to optimize user experience.
Smart Images

Figure CN115112965B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of smart terminal technology, and in particular to a method, apparatus, device, and storage medium for determining information. Background Art
[0002] During the use of a mobile terminal by a user, improper use may easily cause the mobile terminal to be worn out, so the mobile terminal is often provided with external protective accessories to protect the mobile terminal.
[0003] In related technologies, terminals detect external protective accessories based on peripheral circuits. This is accomplished by providing a potential detection node on the terminal's exterior and presetting within the terminal the type of external protective accessory that matches the potential parameters. When the terminal obtains the potential parameters through the potential detection node, it can further determine the type of the external protective accessory.
[0004] However, the related art requires setting up peripheral circuits for the terminal, which not only consumes additional resources, but also the external protection accessories detected are of a specific category, and the scope of application of the related art is too narrow. Summary of the Invention
[0005] This application provides an information determination method, apparatus, device, and storage medium, which enable a terminal to determine whether it is equipped with external protective accessories. The technical solution is as follows:
[0006] According to one aspect of the present application, a method for determining information is provided. The method is applied to a terminal provided with an electromagnetic absorption ratio (SAR) sensor, and the method includes:
[0007] Acquire SAR signals through SAR sensors;
[0008] Calculating detection parameter values of the SAR sensor according to the SAR signal;
[0009] In response to the detection parameter value of the SAR sensor being within a preset value range, it is determined that an external protection accessory is provided on the terminal.
[0010] According to another aspect of the present application, there is provided an information determination device, the information determination device comprising:
[0011] An acquisition module, used for acquiring SAR signals through a SAR sensor;
[0012] A processing module, used for calculating a detection parameter value of the SAR sensor according to the SAR signal;
[0013] The determination module is configured to determine whether an external protection accessory is provided on the terminal in response to a detection parameter value of the SAR sensor being within a preset value range.
[0014] According to one aspect of the present application, a computer device is provided, comprising: a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the above information determination method.
[0015] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the above information determination method.
[0016] According to another aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the above-mentioned information determination method.
[0017] The beneficial effects of the technical solutions provided in the embodiments of the present application include at least:
[0018] The SAR sensor acquires a SAR signal, then calculates a detection parameter value of the SAR sensor based on the SAR signal. Finally, in response to the SAR sensor detection parameter value being within a preset value range, the terminal determines that an external protective case is installed. This method is implemented using the terminal's built-in sensors, eliminating the need for additional circuitry. It not only detects external protective accessories while consuming minimal resources, but also detects accessories that are not limited to specific categories. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. 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 any creative work.
[0020] Figure 1 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;
[0021] Figure 2 is a flow chart of an information determination method provided by an exemplary embodiment of the present application;
[0022] Figure 3 This is a schematic diagram of the correspondence between external protective accessories and touch thresholds provided by an exemplary embodiment of the present application;
[0023] Figure 4 is a structural block diagram of an information determination device provided by an exemplary embodiment of the present application;
[0024] Figure 5 The figure is a schematic structural diagram of a computer device according to an exemplary embodiment. DETAILED DESCRIPTION
[0025] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0026] First, a brief introduction to the terms involved in the embodiments of this application is given:
[0027] SAR (Specific Absorption Rate) sensor: A SAR sensor is a built-in sensor in a terminal that detects the relative position (primarily distance) between the terminal and the human body. When the terminal is close to the human body or head, the terminal's antenna transmit power is reduced to reduce the amount of energy radiated to the human body. In this application, the terminal's housing information can affect the SAR sensor's determination of the relative position between the terminal and the ground. Therefore, the SAR sensor can be used to determine the terminal's external protective accessories.
[0028] Detection parameter: refers to information related to the SAR signal obtained by the SAR sensor. In one embodiment, the detection parameter may include at least one of the current, voltage, charge, and capacitance of the SAR signal. It is worth noting that this application does not limit the type of detection parameter. The detection parameter is only used to represent changes in the SAR signal. Based on basic physics, it can be obtained that capacitance can be converted into other detection parameters such as current, voltage, charge, etc.
[0029] Figure 1 1 is a structural block diagram of a computer system according to an exemplary embodiment of the present application. The computer system 100 may include a SAR sensor 101 , a central processing unit 102 , and a memory 103 .
[0030] The SAR sensor 101 is provided in the terminal and is used to detect the relative state between the human body and the terminal. Upon receiving the SAR signal, the SAR sensor 101 converts the SAR signal into detection parameter data and sends the detection parameter data to the central processor 102.
[0031] The central processing unit 102 is provided in the terminal and is used to process various data. Based on the detection parameter data received by the central processing unit 102 from the SAR sensor 101, the central processing unit 102 sends a call instruction to the memory 103, which is used to call the external protection accessory data and operating parameter data stored in the memory.
[0032] Memory 103 is provided within the terminal and is used to store various data. Based on the mapping relationships between detection parameter data and external protection accessory data, and the mapping relationships between external protection accessory data and operating parameter data stored on memory 103, memory 103 receives call instructions sent by central processing unit 102 and returns the external protection accessory data and operating parameter data to central processing unit 102.
[0033] In one embodiment, the SAR sensor 101, the central processing unit 102 and the memory 103 are provided on the terminal in the form of an integrated circuit, and the connection between them includes: Figure 1 The connection method shown is Figure 1 This is just an example connection.
[0034] The device types of the above-mentioned terminals may include: at least one of: a smartphone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4), a laptop computer, and a desktop computer. Those skilled in the art will appreciate that the number of the above-mentioned terminals may be more or less. For example, the above-mentioned terminal may be only one, or the above-mentioned terminals may be dozens, hundreds, or even more. The embodiments of the present application do not limit the number and device types of the terminals.
[0035] To determine whether the terminal is equipped with external protection accessories, perform the following steps: Figure 2 The method shown is applied in a terminal provided with a SAR sensor. Figure 2 This is a flow chart of an information determination method provided by an exemplary embodiment of the present application. Figure 2 As shown, the method may include:
[0036] Step 201, obtaining a SAR signal through a SAR sensor;
[0037] The terminal obtains SAR signals through the SAR sensor. Based on the electromagnetic waves returned by the terminal to the ground, the returned electromagnetic waves are input into the SAR sensor. The above-mentioned returned electromagnetic waves are SAR signals.
[0038] Step 202, calculating a detection parameter value of the SAR sensor according to the SAR signal;
[0039] The detection parameters may include at least one of capacitance, voltage, current and charge. Based on basic physics knowledge, capacitance, voltage, current and charge may also be converted into other physical parameters. This application does not limit the type of physical parameters. The following uses the detection parameter as an example of capacitance to ground.
[0040] In one embodiment, the terminal calculates the ground capacitance value of the SAR sensor according to the SAR signal.
[0041] In one embodiment, the terminal may calculate the ground capacitance value of the SAR sensor according to the SAR signal, including the following two steps:
[0042] First, calculate the ground distance information of the terminal based on the SAR signal;
[0043] Based on basic physics knowledge, the terminal-to-ground distance information can be obtained by performing signal analysis on the above-mentioned SAR signal.
[0044] Optionally, the terminal further calculates the dielectric constant of the terminal to the ground according to the SAR signal.
[0045] Based on basic physics knowledge, the dielectric constant of the terminal to the ground can be obtained by performing signal analysis on the above SAR signal.
[0046] Second, the terminal-to-ground distance information is converted into the ground capacitance of the SAR sensor.
[0047] Basic physics shows that the distance between the terminal and the ground affects the change in the SAR sensor's capacitance to the ground. The smaller the distance between the terminal and the ground, the greater the SAR sensor's capacitance to the ground, and the larger the distance between the terminal and the ground, the smaller the SAR sensor's capacitance to the ground. In other words, the SAR sensor's capacitance to the ground is inversely proportional to the distance between the terminal and the ground.
[0048] Optionally, the terminal-to-ground distance information is converted into the ground capacitance of the SAR sensor.
[0049] The above discussion has completed the relationship between the terminal-to-ground distance and the SAR sensor's capacitance to ground. The following discussion will focus on the relationship between the dielectric constant between the terminal and ground and the SAR sensor's capacitance to ground.
[0050] Basic physics shows that the dielectric constant between the terminal and ground affects the change in the SAR sensor's capacitance to ground. The larger the dielectric constant between the terminal and ground, the greater the SAR sensor's capacitance to ground. The smaller the dielectric constant between the terminal and ground, the smaller the SAR sensor's capacitance to ground. In other words, the SAR sensor's capacitance to ground is directly proportional to the dielectric constant between the terminal and ground.
[0051] Optionally, the terminal-to-ground distance information and the terminal's dielectric constant are converted into a SAR sensor's capacitance to the ground.
[0052] Step 203 : In response to the detection parameter value of the SAR sensor being within a preset value range, it is determined that an external protection accessory is provided on the terminal.
[0053] The preset value range includes a value range preset by the terminal, and it is determined that the terminal is provided with an external protection accessory based on a corresponding relationship between the detection parameter value and the value range.
[0054] In one embodiment, it is determined that an external protection accessory is provided on the terminal according to the ground capacitance value of the SAR sensor.
[0055] In one embodiment, the terminal determines that an external protection accessory is provided on the terminal according to the detection parameter value of the SAR sensor being within a preset value range.
[0056] In one embodiment, in response to the detection parameter value of the SAR sensor belonging to the no-accessory value range, it is determined that the terminal is not provided with an external protection accessory; illustratively, the no-accessory value range is 1000±100.
[0057] In one embodiment, the preset value range includes n value subranges, where n is a positive integer not less than 1; in response to the detection parameter value of the SAR sensor belonging to the i-th value subrange, it is determined that the terminal is equipped with an external protective accessory of the i-th category, where i is not greater than n and i is a positive integer not less than 1.
[0058] In one embodiment, in response to the detection parameter value of the SAR sensor belonging to the i-th value sub-range, illustratively, the i-th value sub-range is 1200±30, the terminal determines that the terminal is provided with an external protection accessory.
[0059] In an optional embodiment, in response to a detection parameter value of the SAR sensor falling within the i-th value sub-range and lasting for a duration reaching a threshold, it is determined that the terminal is equipped with an external protective accessory. For example, if the detection parameter value of the SAR sensor falls within the range of 1200±30 and lasts for 1 hour, it is determined that the terminal is equipped with an external protective accessory.
[0060] In an optional embodiment, n can be 2, that is, the preset value range can include a first value sub-range and a second value sub-range. In response to the detection parameter value of the SAR sensor falling within the first value sub-range (i.e., i can be 1), it is determined that the terminal is equipped with a first category of external protection accessories; in response to the detection parameter value of the SAR sensor falling within the second value sub-range (i.e., i can be 2), it is determined that the terminal is equipped with a second category of external protection accessories. The first and second value sub-ranges are merely illustrative. In possible implementations, n can also be other positive integers such as 3 or 4. In other words, the preset value range can also be set to include other value sub-ranges such as a third value sub-range and a fourth value sub-range, and the value sub-ranges match the categories of external protection accessories.
[0061] Illustratively, in response to the detection parameter value of the SAR sensor belonging to the first value sub-range, the first value sub-range is 1200±30, and it is determined that the terminal is provided with external protection accessories of the first category; in response to the detection parameter value of the SAR sensor belonging to the second value sub-range, the second value sub-range is 1500±50, and it is determined that the terminal is provided with external protection accessories of the second category.
[0062] Illustratively, in response to the detection parameter value of the SAR sensor belonging to the first value sub-range, the first value sub-range is 1200±30 and the duration is not less than one hour, it is determined that the terminal is equipped with a first category of external protection accessories; in response to the detection parameter value of the SAR sensor belonging to the second value sub-range, the second value sub-range is 1500±50 and the duration is not less than one hour, it is determined that the terminal is equipped with a second category of external protection accessories.
[0063] Optionally, the external protective accessories may include at least one of a protective cover, a protective film, and an earphone jack plug.
[0064] Taking a mobile phone as an example, the above-mentioned external protective accessories may include at least one of a mobile phone case, a mobile phone film, and an earphone jack plug. Different categories of external protective accessories may include at least one of external protective accessories of different sizes, external protective accessories of different thicknesses, external protective accessories of different colors, and external protective accessories of different materials. In one embodiment, the material of the first category of external protective accessories may be metal; in one embodiment, the material of the second category of external protective accessories may be silicone. In one embodiment, the material of the third category of external protective accessories may be glass (for example, such as tempered glass). In one embodiment, the material of the fourth category of external protective accessories may be ceramic.
[0065] In summary, the SAR sensor acquires a SAR signal, then calculates a SAR sensor detection parameter value based on the SAR signal. Finally, in response to the SAR sensor detection parameter value being within a preset value range, the terminal determines that an external protective case is installed. This method is implemented using the terminal's built-in sensors, eliminating the need for additional circuitry. Not only does it detect external protective accessories while consuming minimal resources, but the detected external protective accessories are not limited to specific categories.
[0066] based on Figure 2 In the optional embodiment shown, step 204 may be further included after step 203 .
[0067] Step 204 : In response to the terminal being provided with an external protection accessory, configuring operating parameters adapted to the external protection accessory.
[0068] The operating parameters may include at least one of antenna parameters, display parameters and touch parameters.
[0069] In one embodiment, the antenna parameters can be used to adjust the antenna's transmission power. Schematically, when the terminal determines that there are no external protective accessories on the current terminal surface, the terminal lowers the antenna's transmission power; when the terminal determines that there is a metal shell on the current terminal surface, the terminal increases the antenna's transmission power.
[0070] In one embodiment, the display parameters can be used to adjust the display screen state of the terminal. For example, when the terminal determines that there are no external protective accessories on the current terminal surface, the terminal controls the display screen to display a first interface; when the terminal determines that there is a metal casing on the current terminal surface, the terminal controls the display screen to display a second interface.
[0071] In one embodiment, the touch parameters refer to parameters set in the terminal regarding touch operations, wherein the touch parameters may include at least one of a touch threshold, a touch duration, and a touch count.
[0072] In one embodiment, in response to the terminal being equipped with an external protection accessory of category i, the configuration is configured to adapt to the i-th operating parameter of the external protection accessory of category i. Exemplarily, in response to the terminal being equipped with an external protection accessory of category one, the configuration is configured to adapt to the antenna parameters and touch parameters of the external protection accessory of category one.
[0073] In one embodiment, in response to the terminal being provided with an external protective accessory of the i-th category, an i-th touch parameter adapted to the external protective accessory of the i-th category is configured.
[0074] In one embodiment, the above method for setting touch parameters may include at least the following two cases:
[0075] First, in response to the terminal being provided with a first category of external protection accessories, configuring a first touch parameter adapted to the first category of external protection accessories;
[0076] Illustratively, the terminal determines that the terminal is provided with a metal external protection accessory, and configures a touch threshold adapted to the metal external protection accessory to be 1000.
[0077] Second, in response to the terminal being provided with an external protective accessory of a second category, a second touch parameter adapted to the external protective accessory of the second category is configured.
[0078] Illustratively, the terminal determines that the terminal is provided with a silicone external protection accessory, and configures a touch threshold adapted to the silicone external protection accessory to be 1200.
[0079] It's worth noting that the first touch parameters corresponding to the first category of external protective accessories and the second touch parameters corresponding to the second category of external protective accessories are for illustrative purposes only. In an exemplary application scenario, multiple categories of external protective accessories may correspond to a set of touch parameters. For example, when the terminal determines that the current external protective accessory is a Class A external protective accessory or a Class B external protective accessory, the first touch parameters are configured.
[0080] In one embodiment, the touch threshold is the threshold that determines whether the touch screen reports a touch event to the processor when it detects a signal change. For example, the touch screen reports a touch event to the processor when the peak value of the signal generated by the user's touch operation is no less than the touch threshold. Alternatively, the touch screen reports a touch event to the processor when the peak value of the signal generated by the user's touch operation is no less than the touch threshold and the duration exceeds a preset touch duration.
[0081] That is, the touch threshold can be used to set the touch sensitivity of the touch screen. For example, when the touch threshold is small, in response to the user lightly touching the touch screen of the terminal, the touch screen reports the touch event to the processor, and the corresponding touch sensitivity of the touch screen is high; when the touch threshold is large, in response to the user lightly touching the touch screen of the terminal, the touch screen cannot report the touch event to the processor, and the corresponding touch sensitivity of the touch screen is low.
[0082] In one embodiment, the touch threshold is stored inside the terminal; in one embodiment, the touch threshold can be implemented as at least one of the maximum capacitance, maximum voltage, maximum current and maximum charge of the signal generated by the user operation. This application does not limit the above physical parameter types.
[0083] Indicative, Figure 3 The corresponding relationship between the external protection accessories and the touch threshold provided by an exemplary embodiment of the present application is shown.
[0084] When the terminal is not equipped with external protection accessories, the touch screen touch threshold is S1; when the terminal is equipped with external protection accessory 1, the touch screen touch threshold is S2; when the terminal is equipped with external protection accessory 2, the touch screen touch threshold is S3;
[0085] Figure 3 The first line 301 indicates the user's touch operation process when the terminal is not equipped with external protective accessories. When the peak value of the signal generated by the user's touch operation is not less than the touch screen touch threshold S1, the touch screen reports the touch event to the processor.
[0086] Figure 3 The second line 302 indicates the user's touch operation process when the terminal is equipped with the external protection accessory 1. When the peak value of the signal generated by the user's touch operation is not less than the touch screen touch threshold S2, the touch screen reports the touch event to the processor.
[0087] Figure 3 The third line 303 indicates the user's touch operation process when the terminal is equipped with the external protection accessory 2. When the peak value of the signal generated by the user's touch operation is not less than the touch screen touch threshold S3, the touch screen reports the touch event to the processor.
[0088] In summary, in response to the terminal being equipped with an external protection accessory, the operating parameters adapted to the external protection accessory are configured. The above solution enables the terminal's operating parameters to adapt to different scenarios, that is, to configure corresponding operating parameters in different scenarios, further optimizing the user's operating experience.
[0089] Figure 4 This is a structural block diagram of an information determination device of an exemplary embodiment of the present application. Figure 4 As shown, the information determination device may include:
[0090] An acquisition module 401 acquires a SAR signal through a SAR sensor;
[0091] The processing module 402 calculates the detection parameter value of the SAR sensor according to the SAR signal;
[0092] The determination module 403 determines that an external protection accessory is provided on the terminal in response to the detection parameter value of the SAR sensor being within a preset value range.
[0093] In one embodiment, the processing module 402 is further configured to calculate a ground capacitance value of the SAR sensor according to the SAR signal.
[0094] In one embodiment, the determining module 403 is further configured to determine that an external protection accessory is provided on the terminal in response to the ground capacitance value of the SAR sensor being within a preset value range.
[0095] In one embodiment, the processing module 402 is further configured to calculate the ground distance information of the terminal according to the SAR signal.
[0096] In one embodiment, the processing module 402 is further configured to convert the ground distance information of the terminal into a ground capacitance value of the SAR sensor.
[0097] In one embodiment, the preset value range includes n value sub-ranges, where n is a positive integer not less than 1.
[0098] In one embodiment, the determination module 403 is further configured to determine, in response to the detection parameter value of the SAR sensor belonging to the i-th value sub-range, that the terminal is provided with an external protective accessory of the i-th category, where i is not greater than n and i is a positive integer not less than 1.
[0099] In one embodiment, the determining module 403 is further configured to determine that the terminal is equipped with an external protective accessory of the i-th category in response to the detection parameter value of the SAR sensor belonging to the i-th value sub-range and the duration thereof reaching a threshold.
[0100] In one embodiment, the information determination device further includes a configuration module 404 .
[0101] In one embodiment, the configuration module 404 is configured to configure operating parameters adapted to the external protection accessory in response to the terminal being provided with the external protection accessory.
[0102] The operating parameters include at least one of antenna parameters, display parameters and touch parameters.
[0103] In one embodiment, the configuration module 404 is further configured to configure an i-th operating parameter adapted to the i-th category of external protection accessories in response to the terminal being provided with the i-th category of external protection accessories.
[0104] The operating parameters include at least one of antenna parameters, display parameters and touch parameters.
[0105] It should be noted that the information determination device provided in the above embodiment is merely illustrated by the division of the aforementioned functional modules. In actual applications, the aforementioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the information determination device provided in the above embodiment and the information determination method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0106] In summary, the device provided in this embodiment acquires SAR signals via a SAR sensor. The terminal then calculates the SAR sensor's detection parameter value based on the SAR signal. Finally, in response to the SAR sensor's detection parameter value being within a preset value range, the terminal determines that an external protective case is installed. This device is implemented using the terminal's built-in sensors, eliminating the need for additional circuitry. This device not only detects external protective accessories while consuming minimal resources, but also detects accessories that are not limited to specific categories. This device enables the terminal to obtain information about external protective accessories, allowing the terminal to adjust operating parameters based on this information. This allows the terminal to configure corresponding operating parameters for different scenarios, further optimizing the user experience.
[0107] Figure 5 The following is a block diagram of an electronic device 500 according to an exemplary embodiment of the present application. The electronic device 500 may be a portable mobile terminal, such as a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer, or a desktop computer. The electronic device 500 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, or other similar names.
[0108] Typically, the electronic device 500 includes a processor 501 and a memory 502 .
[0109] The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0110] The memory 502 may include one or more computer-readable storage media, which may be non-transitory. The memory 502 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 502 is used to store at least one instruction, which is used to be executed by the processor 501 to implement the acceleration method for off-domain network resources provided in the method embodiment of the present application.
[0111] In some embodiments, electronic device 500 may optionally include a peripheral device interface 503 and at least one peripheral device. Processor 501, memory 502, and peripheral device interface 503 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 503 via a bus, signal lines, or circuit boards. For example, the peripheral device may include at least one of a radio frequency circuit 504, a display screen 505, a camera assembly 506, an audio circuit 507, a positioning assembly 508, and a power supply 509.
[0112] The peripheral device interface 503 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 501 and the memory 502. In some embodiments, the processor 501, the memory 502, and the peripheral device interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral device interface 503 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0113] The radio frequency circuit 504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 504 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 504 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 504 can communicate with other terminals via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 504 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0114] The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, or any combination thereof. When the display screen 505 is a touch screen display, the display screen 505 is also capable of collecting touch signals on or above the surface of the display screen 505. The touch signals can be input as control signals to the processor 501 for processing. In this case, the display screen 505 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there can be one display screen 505, disposed on the front panel of the electronic device 500; in other embodiments, there can be at least two display screens 505, disposed on different surfaces of the electronic device 500 or in a foldable design; in other embodiments, the display screen 505 can be a flexible display, disposed on a curved or foldable surface of the electronic device 500. The display screen 505 can even be configured as a non-rectangular irregular shape, i.e., a special-shaped screen. The display screen 505 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0115] The camera assembly 506 is used to capture images or videos. Optionally, the camera assembly 506 includes a front camera and a rear camera. Typically, the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 506 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0116] The audio circuit 507 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals to be input into the processor 501 for processing, or input into the radio frequency circuit 504 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there can be multiple microphones, which are respectively arranged in different parts of the electronic device 500. The microphone can also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker can be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signals into sound waves audible to humans, but also convert the electrical signals into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 507 may also include a headphone jack.
[0117] The positioning component 508 is used to locate the current geographic location of the electronic device 500 to implement navigation or LBS (Location Based Service). The positioning component 508 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, or Russia's Galileo system.
[0118] Power supply 509 is used to power the various components in electronic device 500. Power supply 509 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 509 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0119] In some embodiments, the electronic device 500 further includes one or more sensors 510 , including but not limited to: an acceleration sensor 511 , a gyroscope sensor 512 , a pressure sensor 513 , a fingerprint sensor 514 , an optical sensor 515 , and a proximity sensor 516 .
[0120] The accelerometer 511 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the electronic device 500. For example, the accelerometer 511 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 501 can control the display screen 505 to display the user interface in a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 511. The accelerometer 511 can also be used to collect game or user motion data.
[0121] The gyroscope sensor 512 can detect the orientation and rotation angle of the electronic device 500. It can work in conjunction with the accelerometer 511 to collect the user's 3D movements of the electronic device 500. Based on the data collected by the gyroscope sensor 512, the processor 501 can implement the following functions: motion sensing (for example, changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0122] The pressure sensor 513 can be set on the side frame of the electronic device 500 and / or the lower layer of the display screen 505. When the pressure sensor 513 is set on the side frame of the electronic device 500, it can detect the user's grip signal of the electronic device 500, and the processor 501 performs left and right hand recognition or shortcut operations based on the grip signal collected by the pressure sensor 513. When the pressure sensor 513 is set on the lower layer of the display screen 505, the processor 501 controls the operable controls on the UI interface based on the user's pressure operation on the display screen 505. The operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0123] The fingerprint sensor 514 is used to collect the user's fingerprint, and the processor 501 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations, which include unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 514 can be set on the front, back, or side of the electronic device 500. When a physical button or manufacturer logo is set on the electronic device 500, the fingerprint sensor 514 can be integrated with the physical button or manufacturer logo.
[0124] The optical sensor 515 is used to detect ambient light intensity. In one embodiment, the processor 501 can control the display brightness of the display screen 505 based on the ambient light intensity detected by the optical sensor 515. For example, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is decreased. In another embodiment, the processor 501 can also dynamically adjust the shooting parameters of the camera assembly 506 based on the ambient light intensity detected by the optical sensor 515.
[0125] Proximity sensor 516, also known as a distance sensor, is typically located on the front panel of electronic device 500. Proximity sensor 516 is used to detect the distance between the user and the front of electronic device 500. In one embodiment, when proximity sensor 516 detects that the distance between the user and the front of electronic device 500 is gradually decreasing, processor 501 controls display screen 505 to switch from the screen-on state to the screen-off state. When proximity sensor 516 detects that the distance between the user and the front of electronic device 500 is gradually increasing, processor 501 controls display screen 505 to switch from the screen-off state to the screen-on state.
[0126] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the electronic device 500, and the electronic device 500 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0127] The present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, code set or instruction set. The at least one instruction, the at least one program, the code set or instruction set is loaded and executed by a processor to implement the information determination method provided by the above method embodiment.
[0128] The present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the information determination method provided in the above method embodiment.
[0129] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0130] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0131] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for determining information, characterized in that: Applied to a terminal provided with an electromagnetic absorption ratio (SAR) sensor, the method includes: Acquire a SAR signal through the SAR sensor; Calculating a detection parameter value of the SAR sensor according to the SAR signal; In response to a detection parameter value of the SAR sensor being within a preset value range, determining that the terminal is provided with an external protection accessory includes: in response to a detection parameter value of the SAR sensor being within an i-th value sub-range, determining that the terminal is provided with an external protection accessory of an i-th category; Among them, the preset value range includes n value sub-ranges, the external protection accessories include n categories, the n value sub-ranges match the n categories, n is a positive integer not less than 2, i is not greater than n, and i is a positive integer between 1 and n.
2. The method according to claim 1, characterized in that In response to the detection parameter value of the SAR sensor being within a preset value range, determining that the terminal is provided with an external protection accessory includes: Calculating a ground capacitance value of the SAR sensor according to the SAR signal; In response to the ground capacitance value of the SAR sensor being within the preset value range, it is determined that the terminal is provided with the external protection accessory.
3. The method according to claim 2, characterized in that Calculating the ground capacitance value of the SAR sensor according to the SAR signal includes: Calculating the ground distance information of the terminal according to the SAR signal; The ground distance information of the terminal is converted into a ground capacitance value of the SAR sensor.
4. The method according to claim 1, wherein The step of determining that the terminal is provided with an external protective accessory of the i-th category in response to the detection parameter value of the SAR sensor belonging to the i-th value sub-range includes: In response to the detection parameter value of the SAR sensor belonging to the i-th value sub-range and the duration thereof reaching a threshold, it is determined that the terminal is provided with the i-th category external protective accessory.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to the terminal being provided with the external protection accessory, configuring to adapt to operating parameters of the external protection accessory; The operating parameters include at least one of antenna parameters, display parameters and touch parameters.
6. The method according to claim 1 or 4, characterized in that The method further comprises: In response to the terminal being provided with the external protection accessory of the i-th category, configuring an i-th operating parameter adapted to the external protection accessory of the i-th category; The operating parameters include at least one of antenna parameters, display parameters and touch parameters.
7. An information determination device, characterized in that: Applicable to a terminal provided with an electromagnetic absorption ratio (SAR) sensor, the device includes: An acquisition module, configured to acquire a SAR signal through the SAR sensor; a processing module, configured to calculate a detection parameter value of the SAR sensor according to the SAR signal; a determining module, configured to determine, in response to a detection parameter value of the SAR sensor being within a preset value range, that the terminal is provided with an external protection accessory, comprising: determining, in response to a detection parameter value of the SAR sensor being within an i-th value sub-range, that the terminal is provided with an external protection accessory of an i-th category; Among them, the preset value range includes n value sub-ranges, the external protection accessories include n categories, the n value sub-ranges match the n categories, n is a positive integer not less than 2, i is not greater than n, and i is a positive integer between 1 and n.
8. The device according to claim 7, characterized in that The processing module is further configured to calculate a ground capacitance value of the SAR sensor based on the SAR signal; The determining module is further configured to determine that an external protection accessory is provided on the terminal in response to the ground capacitance value of the SAR sensor being within a preset value range.
9. The device according to claim 7, characterized in that The determining module is further configured to determine that the terminal is equipped with the external protective accessory of the i-th category in response to the detection parameter value of the SAR sensor belonging to the i-th value sub-range and the duration thereof reaching a threshold.
10. The device according to any one of claims 7 to 9, characterized in that The apparatus further comprises a configuration module; The configuration module is configured to configure operating parameters adapted to the external protection accessory in response to the terminal being provided with the external protection accessory; The operating parameters include at least one of antenna parameters, display parameters and touch parameters.
11. The device according to claim 7 or 9, characterized in that The device also includes a configuration module; The configuration module is configured to configure an i-th operating parameter adapted to the i-th category of the external protection accessory in response to the terminal being provided with the i-th category of the external protection accessory; The operating parameters include at least one of antenna parameters, display parameters and touch parameters.
12. A computer device, characterized in that: The computer device includes: a processor and a memory, the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the information determination method according to any one of claims 1 to 6.
13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the information determination method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Detection method and mobile terminal
CN108307020A
Prompting method and device and electronic equipment
CN111427531A