Terminal device and running method and apparatus therefor, electronic device, and storage medium
By designing positioning modules that can operate independently in terminal equipment, the problem of low degree of integration between existing positioning products and terminal equipment is solved, and the system independence and flexibility of terminal equipment is realized, and it is suitable for a variety of scenarios.
Patent Information
- Application Number
- PCT/CN2024/101688
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-15
- Filing Date
- 2024-06-26
- Publication Date
- 2025-05-22
AI Technical Summary
The low degree of integration between existing positioning products and terminal equipment causes the positioning system to be unable to work independently when the main system is shut down, and lacks systematic and independent functions.
A terminal device is designed that includes a main system and a positioning module. The positioning module can run independently when the main system is shut down. By obtaining the target status parameters to match the operation mode, it ensures that the positioning module can work independently when needed.
It improves the system independence and flexibility of terminal devices, so that the positioning module can run independently when the main system is shut down, suitable for a variety of scenarios, and enhances the use range and functional experience of the device.
Smart Images

Figure CN2024101688_22052025_PF_FP_ABST
Abstract
Description
Terminal device and operation method, device, electronic device and storage medium thereof
[0001] Related applications
[0002] This application claims priority to Chinese patent application No. 202311524516.1 filed on November 15, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of positioning technology, and in particular to a terminal device and its operating method, device, electronic device and storage medium. Background Art
[0004] With the rapid development of the internet, wireless communication technologies have also made significant progress. For example, ultra-wideband (UWB) technology achieves wireless transmission by sending and receiving extremely narrow nanosecond pulses. Compared to narrowband communication technologies, UWB combines ultra-wideband with advantages such as low power consumption, stealth, and security. Consequently, it has been widely used in the field of positioning.
[0005] However, current positioning products primarily focus on IoT devices, with limited integration into end devices. Even when integrated into end devices, they typically only implement a peripheral functional module, with limited use cases, such as UWB car keys or accessories. Due to the low degree of integration between positioning products and end devices, they often rely on end devices to function, thus failing to achieve the systematic and independent functionality of integrated products.
[0006] Summary of the Invention
[0007] The present application provides a terminal device and its operating method, apparatus, electronic device and storage medium.
[0008] In the first aspect, the present application provides a terminal device, including: a main system, used to perform a first operation according to a first instruction; a positioning module, used to determine a target working state according to a second instruction when the main system is in a shutdown state, and the target working state includes running or not running.
[0009] In the second aspect, the present application also provides a method for operating a terminal device, which is applied to a terminal device as described in any one of the first aspects, and the method includes: obtaining the operating status of the main system; when it is determined that the main system is in a shutdown state, obtaining the target state parameters of the terminal device; and matching the operating mode of the terminal device according to the target state parameters.
[0010] In a third aspect, the present application also provides an operating device for a terminal device, the device comprising: a status acquisition unit for acquiring the operating status of a main system; a parameter acquisition unit for acquiring target status parameters of the terminal device when it is determined that the main system is in a shutdown state; and a pattern matching unit for matching the operating mode of the terminal device according to the target status parameters.
[0011] In a fourth aspect, the present application also provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; the memory is used to store computer programs; and the processor is used to implement the operation method of the terminal device as described in any one of the second aspects when executing the program stored in the memory.
[0012] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the operating method of the terminal device as described in any one of the second aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0015] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0016] FIG1 is a schematic structural diagram of a terminal device 100 provided in an embodiment of the present application;
[0017] FIG2 is a schematic structural diagram of the main system 10 in FIG1 provided in an embodiment of the present application;
[0018] FIG3 is a schematic structural diagram of the positioning module 20 in FIG1 provided in an embodiment of the present application;
[0019] FIG4 is a structural diagram of a positioning module 20 provided in another embodiment of the present application;
[0020] FIG5 is a schematic structural diagram of a terminal device 100 provided in another embodiment of the present application;
[0021] FIG6 is a schematic structural diagram of the functional modules of the multiplexing peripheral module 40 provided in an embodiment of the present application;
[0022] FIG7 is a schematic diagram of the circuit structure of the control module 30 in FIG5 provided in an embodiment of the present application;
[0023] FIG8 is a schematic diagram of the circuit structure of the control module 30 in FIG5 provided in another embodiment of the present application;
[0024] FIG9 is a schematic diagram of a flow chart of an operating method of a terminal device provided in an embodiment of the present application;
[0025] FIG10 is a schematic diagram of a flow chart of an operating method of a terminal device provided in yet another embodiment of the present application;
[0026] FIG11 is a voltage design example when entering the second operating mode according to an embodiment of the present application;
[0027] FIG12 is a schematic structural diagram of an operating device of a terminal device provided by one embodiment of the present application;
[0028] FIG13 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0030] The disclosure below provides many different embodiments or examples for implementing different structures of the present application. In order to simplify the disclosure of the present application, the components and settings of specific examples are described below. Of course, these are merely examples and are not intended to limit the present application. In addition, the present application may repeat reference numbers and / or letters in different examples. Such repetition is for the purpose of simplicity and clarity and does not in itself indicate the relationship between the various embodiments and / or settings discussed.
[0031] At present, in terminal products with positioning functions, the positioning system is usually a peripheral module with a single usage scenario and must rely on the operation of the main system to start, so the system independence is poor. In order to solve this problem, the embodiment of the present application first provides a terminal device, which can ensure that the positioning module can work independently when the main system is shut down, thereby improving the system independence of the terminal device, making the application scenarios of the terminal device more extensive and more flexible.
[0032] Referring to Figure 1 , which is a schematic diagram of the structure of a terminal device 100 provided in this embodiment, the terminal device 100 includes: a main system 10 for executing a first operation according to a first instruction; and a positioning module 20 for determining a target operating state according to a second instruction when the main system is in a shutdown state, the target operating state including either running or not running.
[0033] In this embodiment, the terminal device mainly refers to a mobile intelligent terminal capable of realizing the positioning function, including but not limited to smart phones, smart bracelets, handheld processing devices, tablet computers, mobile notebooks, virtual reality devices, and integrated handheld game consoles.
[0034] The "first instruction" and "first operation" are for the main system. In one embodiment, the first instruction may be generated based on a user operation request, and the first operation is an operation performed on the main system based on the first instruction, thereby realizing a certain function of the terminal device. Taking the terminal device as an example, assuming that the first instruction is a photo-taking instruction, a message-sending instruction, or a Baidu search entry instruction, when the user uses the terminal device to take a photo, send a message, or search for a Baidu search entry, a corresponding request operation may be generated, allowing the main system to perform the corresponding operation based on the first instruction.
[0035] The "second instruction" and target operating state are for the positioning module; the second instruction indicates whether the positioning module is operational. In existing terminal products, the positioning module must rely on the control of the main system to ensure its positioning function. Because existing methods for implementing positioning functions rely on the main system, positioning is naturally impossible when the main system is inoperative. Unlike existing devices, in this embodiment, even when the main system is shut down, the positioning module can still determine whether to operate based on the second instruction, thus enabling independent operation even after the main system is shut down.
[0036] In summary, the terminal device provided by this embodiment has a positioning module that can operate independently when the main system is shut down, without relying on the main system's operating status, ensuring the systematization and independence of the terminal product. Furthermore, the user can independently choose whether the positioning module is working, increasing the flexibility of device use.
[0037] Referring to Figure 2, a schematic diagram of the structure of the main system 10 is provided. As shown in Figure 2, in one embodiment, the main system 10 includes a first processor 101, configured to exchange data with the positioning module 20 when the main system 10 is powered on. The first processor 101 is the CPU unit of the main system 10 and is primarily responsible for interpreting instructions and processing data. For example, it operates a controller according to a first instruction and executes instructions according to a corresponding first operation to implement common functions of the main system.
[0038] When the main system 10 is in the power-on state, the first processor 101 is also responsible for interactive control or data communication with the positioning module 20. In one embodiment, the first processor 101 can also provide the user with different modes of controlling the positioning module 20 through the upper-layer APP and select the corresponding human-computer interaction interface.
[0039] The PMIC 102 is configured to supply power to the first processor 101 .
[0040] A PMIC (Power Management IC) is a specialized integrated circuit whose primary function is to manage power for the main system. Its high integration density allows it to integrate multiple power management functions into a single chip, enabling more efficient and compact multi-power applications. Furthermore, the PMIC102 can monitor the battery status of terminal devices while the main system is running.
[0041] Therefore, the main system implements basic operations on the main system side through the first processor 101, and generates data interaction with the positioning module 20, and can perform power management through the PMIC 102, including power supply, battery detection and other operations.
[0042] In one embodiment, the structural diagram of the positioning module 20 is shown in Figure 3. The positioning module 20 includes: a second processor 201, a positioning module 202, and a primary power circuit 203; wherein the second processor 201 is used to control the positioning module 202 to perform positioning operations; the primary power circuit 203 is used to power the positioning module 202 and the second processor 202.
[0043] In this embodiment, the second processor 201 is the CPU unit of the positioning module. When the main system of the terminal device is in sleep or even shut down state, if the positioning module 20 wants to continue to provide the positioning function, it needs independent system CPU control to continue working.
[0044] The positioning module 20 typically needs to be able to operate in standby mode for extended periods of time. For example, in emergency rescue scenarios, long-term positioning is essential to ensure the successful completion of rescue operations. This means that the positioning module 20 must consume as little standby power as possible. Therefore, in one optional embodiment, the second processor 201 can be a CPU with sufficient performance and significantly lower standby power consumption than the primary system's first processor 101, such as a low-power MCU.
[0045] In one embodiment, the second processor 201 needs to be configured with: a communication control interface: such as SPI, I2C / I3C, UART, USB and other common types, to enable the terminal device to detect its working status or issue control instructions; to enable the CPU to control the UWB baseband chip and transmit data.
[0046] GPIO: handshake signal between terminal device and positioning module CPU, key detection port of positioning module CPU, reset output of positioning module CPU to UWB baseband chip, indicator light control, Audio PA control and other ports.
[0047] Sensor-type data processing and application capabilities.
[0048] In a specific embodiment, the primary power circuit 203 needs to supply power to the positioning module 20 regardless of whether the main system 10 is powered on or off. In one embodiment, the primary power circuit 203 can use a buck topology DC-DC or a buck-boost topology DC-DC.
[0049] When using a topological DC-DC structure, if the DC-DC input voltage is lower than the output voltage, a buck-boost circuit can be used to further extend the UWB standby time. For example, if the DC-DC output is 3.3V, even if the battery voltage is low and the terminal device's main system 10 cannot power on, a buck-boost DC-DC topology can be used as the primary power supply circuit 203 to achieve a 3.3V output, ensuring that the positioning module 20 can operate longer and complete basic functions such as positioning and alarm.
[0050] 4 , which is a schematic structural diagram of a positioning module 20 according to another embodiment, shows that the positioning module 202 includes a baseband unit 2021 and a radio frequency antenna unit 2022 .
[0051] Among them, the baseband unit 2021 is responsible for completing the signal modulation and demodulation of broadband signals and communication signal processing, and the radio frequency antenna unit 2022 is responsible for wireless signal transmission and reception.
[0052] In one embodiment, the positioning module 202 adopts a UWB functional module. UWB stands for Ultra Wide Band technology. Unlike existing narrowband communication technologies, UWB achieves wireless transmission by sending and receiving extremely narrow pulses at the nanosecond level. The UWB pulse time width is extremely short, within 2ns, and the rising and falling edges are very rapid. Even in a noisy environment, the rising and falling edges are still clear, so it has strong noise resistance. According to the Fourier transform theorem, the shorter the time domain pulse, the wider the spectrum. UWB can use a bandwidth of more than 500MHz. While having ultra-wideband, UWB power is still relatively low, so the power spectrum density is very low, the signal strength is much lower than the noise, and it has excellent concealment and security.
[0053] By adopting the UWB function, high-precision positioning can be achieved with low average power consumption and good security. Usually, the UWB function module requires a wireless communication module similar to Bluetooth to achieve interactive communication with the anchor point.
[0054] In summary, the positioning module 20 provided in this embodiment, because it includes its own CPU and primary power circuit, can ensure independent operation even when the main system is shut down. Furthermore, due to the use of a low-power MCU, it can achieve ultra-long standby time, and due to the use of UWB positioning, it can achieve precise positioning. Therefore, by integrating the positioning module 20 into the terminal device, the independence of the terminal device's positioning function is enhanced, and it can be used in special work scenarios, such as underground mining operations or searching for survivors during natural disasters, thus greatly expanding the scope of use of the device.
[0055] In a possible implementation, the positioning module 20 further includes a secondary power supply circuit 204 , as shown in FIG. 4 .
[0056] Among them, the secondary power supply circuit 204 can step down / stabilize the output voltage of the primary power supply circuit 203, and then supply power to the positioning module 202 and the second processor 201. After stepping down / stabilizing the voltage, it can ensure stable voltage output to protect the equipment and ensure its normal operation, which is equivalent to optimizing the efficiency and stability of the power supply system.
[0057] In one embodiment, the secondary power supply circuit 204 can adopt several low-voltage difference linear regulated power supplies. The low-voltage difference linear regulated power supply is also known as an LDO power supply, which can provide a stable DC power supply. Its working principle is to detect the voltage difference between the input voltage and the output voltage through the error amplifier, and output a positive difference voltage, which will increase the current flowing through the transistor, thereby increasing the voltage at the load end, thereby achieving the purpose of regulating the output voltage.
[0058] This embodiment uses an LDO power supply to achieve the functions of stabilizing the output voltage, suppressing the ripple voltage, and eliminating the AC noise generated by the power supply, thereby ensuring stable operation of the system.
[0059] In one possible implementation, the positioning module 20 further includes a battery detection module 205, as shown in FIG4 . The battery detection module 205 is configured to detect the battery voltage of the terminal device when the positioning module 20 is in the operating state, thereby effectively maintaining or shutting down the positioning module 20. In one embodiment, the battery in the terminal device is typically shared by the main system 10 and the positioning module 20. Sharing the same battery can reduce the size of the terminal device and lower design costs.
[0060] In the above embodiments, the structures of the main system and positioning module in the terminal device are described separately. The terminal device provided by these embodiments can achieve independent operation of the positioning module regardless of whether the main system is in the on or off state. In another embodiment, to further reduce device costs and enhance system performance after the integrated product, as many reusable functions as possible can be provided.
[0061] Please refer to Figure 5, which is a schematic diagram of the structure of a terminal device 100 according to one embodiment of the present application. As shown in Figure 5, the terminal device 100 further includes a multiplexing peripheral module 40. Multiplexing peripheral module 40 is provided with an interface through which the main system 10 and / or the positioning module 20 access the multiplexing peripheral module 40 to implement reusable functions.
[0062] In one embodiment, the multiplexed peripheral module includes at least one of an indicator light module, an audio and video module, a button detection module and a sensor module; the indicator light module is used to indicate the charging status when running on the main system side, and is used to indicate the positioning status when running on the positioning module side; the audio and video module is used for audio or video output when running on the main system side, and is used for alarm prompts when running on the positioning module side; the button detection module is used for button function detection when running on the main system side, and is used for SOS combination key detection when running on the positioning module side; the sensor module is used as a pedometer when running on the main system side, and is used for safety function detection when running on the positioning module side.
[0063] Figure 6 provides the functional implementation of some specific modules of the multiplexed peripheral module 40, including but not limited to these modules. According to Figure 6, the indicator light module can adopt an LED module, which can provide different information according to different flashing rhythms. The audio and video module can adopt an SPK driver module, which is used for ordinary audio output on the main system side and for high-volume alarm on the positioning module side. The key detection module is actually a specific manifestation of human-computer interaction. It is used for key function detection such as the power button and volume button on the main system side; it is used for SOS combination key detection and triggering alarms when the positioning module side is running; the sensor module can be an acceleration sensor module, which is used for functions such as pedometer on the main system side; it is used for pedometer, fall detection and other safety detection functions on the positioning module side.
[0064] Therefore, in this embodiment, the positioning module can achieve multiple functional integration with the terminal product. For example, it can be reused with the terminal's audio amplifier and speaker to provide prompt sounds or other auditory warnings; reuse the indicator light to indicate the positioning module's operating status; reuse with ordinary buttons to trigger SOS alarms in the form of key combinations to achieve human-computer interaction; and reuse the battery to achieve long standby time for the positioning module. These integrated design solutions greatly improve the functional experience and practical value of high-precision positioning functions in terminal products.
[0065] In summary, the terminal device implements functions such as UWB high-precision positioning, emergency alarm tone, safety mode activation detection, safety module indicator light control, and human status monitoring. Furthermore, regardless of whether the terminal's main system is on or off, the positioning module can operate independently and achieve integrated multiplexing, thus improving the terminal's usability.
[0066] Continuing to refer to FIG. 5 , the terminal device 100 further includes a control module 30 , which is configured to trigger the primary power circuit to enter an enabled state.
[0067] In one embodiment, the terminal device 100 provided in the present application can implement different working modes, including a first operating mode and a second operating mode; the first operating mode includes that when the main system is in an operating state, the positioning module is in an operating state or an off state; when the main system is in an off state, the positioning module is in an off state; the second operating mode includes that when the main system is in an operating state, the positioning module is in an operating state or an off state; when the main system is in an off state, the positioning module is in an operating state.
[0068] In order to achieve the coexistence and compatibility of the two modes, the embodiment of the present application provides a control module 30 to implement system power supply control.
[0069] Referring to Figure 7, which is a circuit diagram of one type of control module 30, the control module 30 includes a transistor and a resistor; the transistor's base is connected to the main system, its collector is connected to the enable terminal of the primary power circuit, and its emitter is connected to ground; one end of the resistor is connected to the output terminal of the battery of the terminal device, and the other end is connected to the collector of the transistor.
[0070] In this embodiment, the base of the transistor may be connected to the first processor or the PMIC of the main system.
[0071] In this circuit design, the primary power circuit is enabled by battery power control. This ensures normal output as long as the battery voltage is sufficient. Considering the possibility of the positioning module being out of control, a signal line is also used to control the primary power circuit's on / off state, resetting the power enable.
[0072] This embodiment allows the primary power circuit (DC-DC topology) to remain enabled and maintain voltage output through the battery voltage after the terminal device's main system is shut down. This occurs until the battery voltage drops to a level beyond the DC-DC's capabilities, such as below 2.5V. At this point, the primary power circuit is no longer able to power the positioning module, effectively switching the primary power circuit on and off.
[0073] Referring to Figure 8 , a circuit diagram of another implementation of the control module 30 is provided. As shown in Figure 8 , the control module 30 includes a logic OR gate; one input of the logic OR gate is connected to the main system, the other input is connected to the second processor, and the output of the logic OR gate is connected to the enable terminal of the primary power circuit. When the main system is powered on, the main system triggers the primary power circuit to enter an enabled state; when the main system is powered off, the second processor triggers the primary power circuit to enter an enabled state.
[0074] In this embodiment, one input end of the logic OR gate may be connected to the first processor or the PMIC of the main system.
[0075] This circuit design allows the positioning module's primary power circuit to be controlled via a logic OR gate after the terminal device's main system is shut down. Before shutting down, the terminal device's main system outputs a high level through the signal line, triggering the enable state of the primary power circuit, allowing it to maintain normal power supply. Once the positioning module is operating normally, the second processor outputs a high level, which in turn triggers the enable state of the primary power circuit, allowing it to maintain normal power supply. At this point, the terminal device's main system no longer needs to output signals to control the primary power circuit; control is transferred to the positioning module.
[0076] Through this implementation method, not only can the same effect as the control circuit shown in Figure 7 be achieved, but also after the main system is shut down, if the user does not need to enter the positioning mode, that is, when the positioning module is not used after the main system is shut down, the positioning module can also be turned off, so as to reduce the total shutdown leakage current of the dual systems, and further optimize the operation of the terminal device.
[0077] The above embodiment illustrates the structure of the terminal device provided by the present application. The operation method of the terminal device will be described in detail below with reference to Figures 9-10.
[0078] Referring to FIG9 , FIG9 provides an operating method of a terminal device, which is applied to the terminal device, and includes: S10, obtaining the operating status of the main system; S20, when it is determined that the main system is in a shutdown state, obtaining the target state parameters of the terminal device.
[0079] In this embodiment, the target state parameters of the terminal device are mainly collected when the main system is shut down, in order to determine how the positioning module operates according to different target state parameters.
[0080] In one embodiment, the target state parameters include: state parameters of the terminal device and / or environmental parameters of the environment in which the terminal device is located; the state parameters include at least one of the battery voltage of the terminal device and the working time of the positioning module; the environmental parameters include at least one of light intensity, ambient temperature and ambient humidity.
[0081] The battery voltage, the operating time of the positioning module, and whether the positioning module needs to be turned on in the environment all affect the operating mode of the positioning module. Therefore, after the main system is shut down, it is necessary to collect these parameters to determine the operating mode adopted by the device.
[0082] S30: Match the operating mode of the terminal device according to the target state parameter.
[0083] In one embodiment, matching the operating mode of the terminal device according to the target state parameter includes: when it is determined that the target state parameter meets the preset conditions, determining that the terminal device adopts the first operating mode; the first operating mode is when the main system is in the shutdown state, the positioning module is in the shutdown state; when it is determined that the target state parameter does not meet the preset conditions, determining that the terminal device adopts the second operating mode; the second operating mode is when the main system is in the shutdown state, the positioning module is in the power-on state.
[0084] In this embodiment, the "preset condition" refers to the target state parameter and can be a numerical range of the parameter or a preset value. For example, if the collected state parameter is only the battery voltage, when the battery voltage drops to a certain level, that is, less than a preset value, it is considered that the battery is insufficient to support the operation of the positioning module. In this case, the terminal device should adopt the first operating mode. If the battery voltage is still sufficient and is greater than the above-mentioned preset value, the second operating mode should be adopted to keep the positioning module in a working state. Therefore, it can be seen that when the battery voltage drops to a certain preset value, the preset condition is considered to be met.
[0085] If the target status parameter is only the operating time of the positioning module, the relationship between the operating time and a preset operating range can be used to determine whether to shut down the positioning module. If the operating time is outside the preset operating range, the first operating mode is used to shut down the positioning module. This is because the operating time is no longer within the required range, and the positioning module is not operated for device protection. Conversely, if the operating time is within the preset operating range, the second operating mode is used to keep the positioning function of the device enabled.
[0086] Environmental parameters are used to determine whether the surrounding environment requires the positioning module to be activated. For example, when working underground in a mine, the ambient light is dim, the humidity is high, and the temperature is relatively low. To ensure the safety of miners, the second operating mode should be used to enable the device's extended standby positioning function. If the surrounding environment determines that the positioning function is not required, the first operating mode should be used to keep the positioning module powered off, thereby reducing energy consumption.
[0087] In one embodiment, when it is determined that the main system is powered on, a user can determine whether to enable the positioning module based on user needs. For example, if the main system is powered on and can perform basic terminal functions, and the user still needs positioning, the positioning module can be enabled. If the user is not in an environment requiring the positioning module, or to reduce device energy consumption, the positioning module can be disabled.
[0088] Referring to FIG9 , FIG9 illustrates a specific operating mode of a terminal device. As shown in FIG9 , after the terminal is powered on, the user can first configure the terminal device to determine whether to use the UWB positioning function. At this time, the main system (AP system) will be in operation. After a period of time, as the battery voltage decreases, it can no longer support both the main system and the positioning system. The main system will shut down first, and the terminal device will only be used for positioning. As the positioning module operates, the battery voltage will further decrease. Therefore, the battery voltage VBAT will be collected and compared with a preset value, such as 3.65V. When the voltage is above 3.65V, the terminal device can operate in the second operating mode, and UWB can now achieve an ultra-long standby time of more than 300 hours. On the other hand, if the battery voltage drops to a certain value, such as 3.4V, the battery can no longer support the continued use of the positioning module. In this case, the terminal device should switch from the second operating mode to the first operating mode, thereby reducing energy consumption and protecting the device.
[0089] Therefore, the following effects can be achieved through the operation mode provided by this embodiment.
[0090] 1) Regardless of the first or second operating mode, the positioning module can be turned on or off when the system is powered on. Although it is a dual system, the positioning module can be flexibly controlled. When the main system is working, the positioning module power consumption can be prevented from affecting the main system standby.
[0091] 2) The positioning module has the ability to work independently regardless of whether the main system is turned on or off. This allows for independent use of the positioning module and allows for ultra-long standby times, as the battery charge can be fully utilized for independent operation of the positioning module.
[0092] In one embodiment, when a user enters an environment where there are dangerous factors, such as an underground mining area, the user can set it to autonomous rescue mode through the main system interface. For example, if the user does not operate the terminal device for a certain period of time, it can automatically enter the second operating mode after the timeout and turn on the positioning function. This ensures that even if the user forgets to operate, high-precision positioning data communication services can be automatically provided, thereby providing greater convenience for rescue work.
[0093] In summary, the aforementioned terminal device's operating mode allows the user to configure whether to enable the positioning module when the main system is powered on. When the main system is powered off, the device can select either the first or second operating mode based on collected status parameters. Furthermore, even if the user forgets to enable the positioning function, the device can still automatically enable the positioning function, enabling an extremely long standby mode for rescue. Therefore, this operating mode offers the advantages of high flexibility and wide applicability.
[0094] In one embodiment, when entering the second operating mode, according to the design of the hardware system, in order to allow the UWB to standby for as long as possible and to play the positioning, detection triggering, alarm and other functions of the positioning module, some solutions can be used to implement the system design.
[0095] Solution 1: Setting different main system shutdown voltages can reduce the terminal device's main system operating time and shut down the terminal system earlier. This change has a limited impact on the main system's standby time, but it can save more power for the positioning module. In specific project designs, measurement and design have shown that this significantly helps improve subsystem standby time. For an example of power consumption and standby mode in a specific project design using Operating Mode 2, see Figure 11.
[0096] Solution 2: By using a primary power supply circuit with smaller Iq and higher low-load efficiency, such as the better-performing Buck-Boost, the battery power can be mined after it drops below 3.3V.
[0097] Option 3: By using a silicon negative electrode battery with a larger capacity at low voltage, the battery's capacity can be mined after it drops below 3.3V.
[0098] Therefore, through this embodiment, UWB high-precision positioning and ultra-long standby functions can be achieved, thereby improving the availability of terminal products.
[0099] Please refer to Figure 12, which is a schematic diagram of the structure of an operating device for a terminal device provided in an embodiment of the present application. As shown in Figure 12, the device specifically includes: a state acquisition unit 01 for acquiring the operating state of the main system; a parameter acquisition unit 02 for acquiring the target state parameters of the terminal device when it is determined that the main system is in the shutdown state; and a pattern matching unit 03 for matching the operating mode of the terminal device based on the target state parameters.
[0100] In one possible implementation, the pattern matching unit 03 is further used to: when it is determined that the target state parameter meets the preset conditions, determine that the terminal device adopts the first operating mode; the first operating mode is when the main system is in the shutdown state, the positioning module is in the shutdown state; when it is determined that the target state parameter does not meet the preset conditions, determine that the terminal device adopts the second operating mode; the second operating mode is when the main system is in the shutdown state, the positioning module is in the power-on state.
[0101] In one possible implementation, the target state parameters include: state parameters of the terminal device and / or environmental parameters of the environment in which the terminal device is located; the state parameters include at least one of the battery voltage of the terminal device and the working time of the positioning module; the environmental parameters include at least one of light intensity, ambient temperature and ambient humidity.
[0102] The operating device of the terminal device provided in this embodiment may be a device as shown in Figure 12, which can execute all steps of the operating method of the terminal device as shown in Figures 9-10, thereby achieving the technical effect of the operating method of the terminal device as shown in Figures 9-10. For details, please refer to the relevant description of Figures 9-10. For the sake of brevity, it will not be repeated here.
[0103] Referring to Figure 13, Figure 13 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in Figure 13, the electronic device 600 includes: at least one processor 601, a memory 602, at least one network interface 604 and other user interfaces 603. The various components in the electronic device 600 are coupled together via a bus system 605. The bus system 605 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 605 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various buses are labeled as bus system 605 in Figure 13.
[0104] The user interface 603 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touchpad, or a touch screen).
[0105] The memory 602 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDRSDRAM), enhanced synchronous DRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 602 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0106] In some embodiments, the memory 602 stores the following elements, executable units, or data structures, or a subset thereof, or an extended set thereof: an operating system 6021 and application programs 6022 .
[0107] The operating system 6021 includes various system programs, such as a framework layer, a core library layer, and a driver layer, for implementing various basic services and processing hardware-based tasks. The application 6022 includes various application programs, such as a media player and a browser, for implementing various application services. The program implementing the method of the embodiment of the present application can be included in the application 6022.
[0108] In an embodiment of the present application, by calling the program or instruction stored in the memory 602, which may be the program or instruction stored in the application 6022, the processor 601 is used to execute the steps of the terminal device operation method provided by each method embodiment, for example, including: obtaining the operating status of the main system; when it is determined that the main system is in the shutdown state, obtaining the target state parameters of the terminal device; and matching the operating mode of the terminal device according to the target state parameters.
[0109] In a possible implementation, matching the operating mode of the terminal device according to the target state parameter includes: when it is determined that the target state parameter meets the preset conditions, determining that the terminal device adopts the first operating mode; the first operating mode is when the main system is in the shutdown state, the positioning module is in the shutdown state; when it is determined that the target state parameter does not meet the preset conditions, determining that the terminal device adopts the second operating mode; the second operating mode is when the main system is in the shutdown state, the positioning module is in the power-on state.
[0110] In a possible embodiment, the target state parameters include: state parameters of the terminal device and / or environmental parameters of the environment in which the terminal device is located; the state parameters include at least one of the battery voltage of the terminal device and the working time of the positioning module; the environmental parameters include at least one of light intensity, ambient temperature and ambient humidity.
[0111] The control methods disclosed in the above embodiments of the present application can be applied to or implemented by processor 601. Processor 601 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in processor 601 or by software instructions. The above processor 601 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software units in the decoding processor. The software units can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 602 , and the processor 601 reads the information in the memory 602 and completes the steps of the above method in combination with its hardware.
[0112] The embodiments described herein may be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or a combination thereof.
[0113] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0114] The electronic device provided in this embodiment may be an electronic device as shown in Figure 13, which can execute all steps of the operating method of the terminal device as shown in Figures 9-10, and thus achieve the technical effect of the operating method of the terminal device as shown in Figures 9-10. For details, please refer to the relevant description of Figures 9-10. For the sake of brevity, they are not repeated here.
[0115] The present application also provides a storage medium (computer-readable storage medium). The storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and the memory may also include a combination of the aforementioned types of memory.
[0116] When one or more programs in the storage medium can be executed by one or more processors, the operating method of the terminal device can be implemented.
[0117] The processor is used to execute the operating program of the terminal device stored in the memory to implement the steps of the above-mentioned terminal device operating method, for example, including: obtaining the operating status of the main system; when it is determined that the main system is in the shutdown state, obtaining the target state parameters of the terminal device; and matching the operating mode of the terminal device according to the target state parameters.
[0118] In a possible implementation, matching the operating mode of the terminal device according to the target state parameter includes: when it is determined that the target state parameter meets the preset conditions, determining that the terminal device adopts the first operating mode; the first operating mode is when the main system is in the shutdown state, the positioning module is in the shutdown state; when it is determined that the target state parameter does not meet the preset conditions, determining that the terminal device adopts the second operating mode; the second operating mode is when the main system is in the shutdown state, the positioning module is in the power-on state.
[0119] In a possible embodiment, the target state parameters include: state parameters of the terminal device and / or environmental parameters of the environment in which the terminal device is located; the state parameters include at least one of the battery voltage of the terminal device and the working time of the positioning module; the environmental parameters include at least one of light intensity, ambient temperature and ambient humidity.
[0120] Professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0121] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0122] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of this application. It should be understood that the above description is only the specific implementation methods of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application should be included in the scope of protection of this application.
Claims
1. A terminal device, comprising: A main system, configured to execute a first operation according to a first instruction; The positioning module is used to determine a target working state according to a second instruction when the main system is in a shutdown state, wherein the target working state includes running or not running.
2. The terminal device according to claim 1, wherein: The main system includes: A first processor, configured to perform data interaction with the positioning module when the main system is in a powered-on state; The PMIC is used to supply power to the first processor.
3. The terminal device according to claim 1, wherein: The positioning module comprises: A second processor, a positioning module and a primary power supply circuit; The second processor is used to control the positioning module to perform a positioning operation; The primary power supply circuit is used to supply power to the positioning module and the second processor.
4. The terminal device according to claim 3, further comprising a control module, wherein: The control module is used to trigger the primary power circuit to enter an enabled state.
5. The terminal device according to claim 4, wherein: The control module comprises: Transistors and resistors; The base of the transistor is connected to the main system, the collector is connected to the enable terminal of the primary power supply circuit, and the emitter is connected to the ground terminal; One end of the resistor is connected to the output end of the battery of the terminal device, and the other end is connected to the collector of the transistor.
6. The terminal device according to claim 4, wherein: The control module comprises: Logic OR gate; One input end of the logic OR gate is connected to the main system, the other input end is connected to the second processor, and the output end of the logic OR gate is connected to the enable end of the primary power supply circuit; wherein, When the main system is in the on state, the primary power supply circuit is triggered by the main system to enter the enabled state; when the main system is in the off state, the primary power supply circuit is triggered by the second processor to enter the enabled state.
7. The terminal device according to claim 3, wherein: The positioning module also includes: The secondary power supply circuit performs voltage reduction / stabilization processing on the output voltage of the primary power supply circuit and then The positioning module and the second processor are powered; wherein, The secondary power supply circuit includes a low voltage difference linear voltage regulated power supply.
8. The terminal device according to claim 3, wherein: The positioning module also includes: The battery detection module is used to detect the battery voltage of the terminal device when the working state of the positioning module is running.
9. The terminal device according to claim 1 further comprises a multiplexing peripheral module; wherein: The multiplexing peripheral module is provided with an interface, and the main system and / or the positioning module is connected to the multiplexing peripheral module through the interface to realize the reusable function.
10. The terminal device according to claim 9, wherein: The multiplexed peripheral module includes at least one of an indicator light module, an audio and video module, a key detection module and a sensor module; The indicator light module is used to indicate the charging status when running on the main system side, and to indicate the positioning status when running on the positioning module side; Audio and video module, used for audio or video output when running on the main system side, and for alarm prompts when running on the positioning module side; The key detection module is used for key function detection when running on the main system side, and for SOS key combination detection when running on the positioning module side; The sensor module is used as a pedometer when running on the main system side and is used for safety function detection when running on the positioning module side.
11. A method for operating a terminal device, applied to the terminal device according to any one of claims 1 to 10, wherein: The method comprises: Get the running status of the main system; When it is determined that the main system is in a shutdown state, obtaining a target state parameter of the terminal device; The operation mode of the terminal device is matched according to the target state parameter.
12. The operating method of the terminal device according to claim 11, wherein: Matching the operation mode of the terminal device according to the target state parameter includes: When it is determined that the target state parameter meets the preset condition, it is determined that the terminal device adopts the first operation mode; the first operation mode is that when the main system is in the shutdown state, the positioning module is in the shutdown state; When it is determined that the target state parameter does not meet the preset condition, it is determined that the terminal device adopts a second operation mode; the second operation mode is that when the main system is in the shutdown state, the positioning module is in the power-on state.
13. The operating method of the terminal device according to claim 11, wherein: The target state parameters include: Status parameters of the terminal device and / or environmental parameters of the environment in which the terminal device is located; The state parameter includes at least one of a battery voltage of the terminal device and an operating time of the positioning module; The environmental parameter includes at least one of light intensity, environmental temperature and environmental humidity.
14. An operating device of a terminal device, wherein: The device comprises: A status acquisition unit, used to acquire the operating status of the main system; A parameter acquisition unit, configured to acquire a target state parameter of a terminal device when it is determined that the main system is in a shutdown state; A mode matching unit is used to match the operation mode of the terminal device according to the target state parameter.
15. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface, and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is used to implement the operating method of the terminal device described in any one of claims 11-13 when executing the program stored in the memory.
16. A computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the operating method of the terminal device as described in any one of claims 11 to 13 is implemented.
Citation Information
Patent Citations
Terminal positioning method and device, storage medium and electronic device
CN109996185A
Data processing method, device and system and computer readable storage medium
CN111781616A
Power supply enable circuit
US20210011535A1