Terminal equipment, operation method and device thereof, electronic equipment and storage medium
By designing a positioning module in the terminal device that can run independently when the main system is shut down, the problem of low integration between the existing positioning products and terminal devices is solved, and higher systemicity and independence are achieved, and the application scenarios of the equipment are expanded.
Patent Information
- Application Number
- CN202311345004.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-17
- Publication Date
- 2025-04-25
AI Technical Summary
The integration of existing positioning products and terminal equipment is low, and it cannot achieve systematic and independent functions. It usually requires relying on terminal equipment to work.
Design a terminal device whose positioning module can run independently when the main system is shut down. By obtaining the target state parameters to match the operation mode, it ensures that the positioning module can also work normally when the main system is shut down.
It improves the systemicity and independence of the terminal equipment, so that the positioning module can run independently when the main system is shut down, and enhances the flexibility and application scenarios of the equipment.
Smart Images

Figure CN119893422A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of positioning technology, and in particular to a terminal device and an operating method, device, electronic device and storage medium thereof. Background Art
[0002] With the rapid development of Internet technology, wireless communication technology has also made great progress. For example, UWB ultra-wideband technology achieves wireless transmission by sending and receiving extremely narrow pulses at the nanosecond level. Compared with narrowband communication technology, UWB has the advantages of ultra-wideband, low power, concealment and security, so it has been widely used in the field of positioning.
[0003] However, current positioning products are mainly IoT products, which are less integrated with terminal devices. Even if integrated into terminal devices, they can usually only realize a peripheral functional module, and the usage scenarios are relatively single, such as UWB car keys or accessories. Due to the low integration degree between positioning products and terminal devices, they usually need to rely on terminal devices to work, so the systematization and independence of integrated products cannot be realized. Summary of the invention
[0004] In view of this, in order to solve the above-mentioned technical problems or part of the technical problems, the present application provides a terminal device and its operating method, device, electronic device and storage medium.
[0005] In a first aspect, the present application provides a terminal device, including:
[0006] A main system, configured to execute a first operation according to a first instruction;
[0007] 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.
[0008] In a second aspect, the present application further provides an operation method of a terminal device, which is applied to the terminal device according to any one of the first aspects, and the method includes:
[0009] Get the running status of the main system;
[0010] When it is determined that the main system is in a shutdown state, obtaining a target state parameter of the terminal device;
[0011] The operation mode of the terminal device is matched according to the target state parameter.
[0012] In a third aspect, the present application further provides an operating device of a terminal device, the device comprising:
[0013] A status acquisition unit, used to acquire the operating status of the main system;
[0014] 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;
[0015] A mode matching unit is used to match the operation mode of the terminal device according to the target state parameter.
[0016] In a fourth aspect, the present application further 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 via the communication bus;
[0017] Memory, used to store computer programs;
[0018] The processor is used to implement the operating method of the terminal device as described in any one of the second aspects when executing the program stored in the memory.
[0019] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the terminal device operating method as described in any one of the second aspects is implemented.
[0020] The embodiment of 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, wherein the target working state includes running or not running. The terminal device provided by the present application has a positioning module that can run independently when the main system is shut down, without relying on the running state of the main system, thereby ensuring the systematicness and independence of the terminal product. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] 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.
[0022] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0023] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0024] Figure 1A schematic diagram of the structure of a terminal device 100 provided in an embodiment of the present application;
[0025] Figure 2 Provided for the embodiments of this application Figure 1 A schematic diagram of the structure of the central main system 10;
[0026] Figure 3 Provided for the embodiments of this application Figure 1 A schematic diagram of the structure of the middle positioning module 20;
[0027] Figure 4 A schematic diagram of the structure of a positioning module 20 provided in another embodiment of the present application;
[0028] Figure 5 A schematic diagram of the structure of a terminal device 100 provided in another embodiment of the present application;
[0029] Figure 6 A schematic diagram of the structure of the functional modules of the multiplexing peripheral module 40 provided in an embodiment of the present application;
[0030] Figure 7 Provided for the embodiments of this application Figure 5 A schematic diagram of the circuit structure of the control module 30;
[0031] Figure 8 Another embodiment of the present application provides Figure 5 A schematic diagram of the circuit structure of the control module 30;
[0032] Fig. 9 A schematic diagram of a flow chart of an operation method of a terminal device provided in an embodiment of the present application;
[0033] Fig.10 A schematic diagram of a flow chart of an operation method of a terminal device provided in another embodiment of the present application;
[0034] Fig.11 An example of voltage design when entering the second operating mode provided in an embodiment of the present application;
[0035] Fig.12 A schematic diagram of the structure of an operating device of a terminal device provided in one embodiment of the present application;
[0036] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0038] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0039] 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 and making the terminal device more widely used and more flexible.
[0040] See also Figure 1 , Figure 1 FIG. 1 is a schematic diagram of the structure of a terminal device 100 provided in this embodiment. Figure 1 As shown, the terminal device 100 includes:
[0041] The main system 10 is used to perform a first operation according to a first instruction;
[0042] The positioning module 20 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.
[0043] In this embodiment, the terminal device mainly refers to a mobile intelligent terminal that can realize 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.
[0044] The "first instruction" and "first operation" are for the main system. In one embodiment, the first instruction may be generated according to a user operation request, and the first operation is an operation performed on the main system according to the first instruction, thereby realizing a certain function of the terminal device. Taking the terminal device as a smart phone as an example, assuming that the first instruction is a photo-taking instruction, a message-sending instruction, or a Baidu entry instruction, when the user needs to use the terminal device to take a photo, send a message, or Baidu related entries, a corresponding request operation can be generated so that the main system can realize the corresponding operation according to the first instruction.
[0045] The "second instruction" and the target working state are for the positioning module, and the second instruction is used to indicate whether the positioning module is working. In existing terminal products, the positioning module must rely on the control of the main system to ensure that the positioning function is realized, because the existing methods of realizing the positioning function all rely on the control of the main system. When the main system is not working, positioning is naturally impossible. Unlike the existing equipment, in this embodiment, when the main system is shut down, the positioning module can still decide whether to run according to the second instruction, so it can realize independent work after the main system is shut down.
[0046] In summary, the terminal device provided by this embodiment can independently operate its positioning module when the main system is shut down, without relying on the operating status of the main system, thereby ensuring the systematization and independence of the terminal product. At the same time, the user can independently choose whether the positioning module works, thereby improving the flexibility of device use.
[0047] See also Figure 2 , Figure 2 A schematic diagram of the structure of the main system 10 is provided. Figure 2 It can be seen that, in one embodiment, the main system 10 includes:
[0048] The first processor 101 is used to exchange data with the positioning module 20 when the main system 10 is in the boot state. The first processor 101 is the CPU unit of the main system 10, which is mainly used to interpret instructions and process data, such as operating the controller according to the first instruction and executing the instruction according to the corresponding first operation to realize the common functions that the main system can realize.
[0049] 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 users with different modes of controlling the positioning module 20 through the upper-level APP application and select the corresponding human-computer interaction interface.
[0050] The PMIC 102 is configured to supply power to the first processor 101 .
[0051] PMIC (Power Management IC) is a special-purpose integrated circuit whose main function is to manage power for the main system. It is characterized by high integration and can encapsulate multiple power management functions in one chip, making multi-power application scenarios more efficient and smaller in size. At the same time, PMIC102 can also detect the battery usage status of the terminal device when the main system is running.
[0052] 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.
[0053] In one embodiment, the structural diagram of the positioning module 20 is as follows: Figure 3 Specifically, the positioning module 20 includes:
[0054] A second processor 201, a positioning module 202 and a primary power supply circuit 203;
[0055] The second processor 201 is used to control the positioning module 202 to perform the positioning operation;
[0056] The primary power supply circuit 203 is used to supply power to the positioning module 202 and the second processor 202 .
[0057] 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 a dormant 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.
[0058] It should be noted that the positioning module 20 usually needs to have the characteristic of being able to standby for a long time when it enters the working state. For example, in the emergency rescue scene, it must provide a long-term positioning function to ensure the successful completion of the rescue work, that is, the requirement for the positioning module 20 is that the standby power consumption is as small as possible. Therefore, in a preferred embodiment, the second processor 201 can select a CPU with sufficient performance and significantly better standby power consumption than the first processor 101 of the main system, such as a low-power MCU.
[0059] In one embodiment, the second processor 201 needs to be configured with:
[0060] 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 realize CPU control of UWB baseband chip and data transmission.
[0061] GPIO: handshake signal between terminal device and positioning module CPU, button 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.
[0062] Sensor-type data processing and application capabilities.
[0063] 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 turned on or off. Optionally, the primary power circuit 203 can use a buck topology DC-DC or a buck-boost topology DC-DC.
[0064] When the topological DC-DC structure is used, if the DC-DC input is lower than the output voltage, the UWB standby time can be further extended by buck-boost. For example, if the DC-DC output is 3.3V, even if the battery voltage is low, the main system 10 of the terminal device cannot be turned on, but the buck-boost topological DC-DC can be used as the primary power circuit 203 to output 3.3V, ensuring that the positioning module 20 can work for a longer time and complete basic functions such as positioning and alarm.
[0065] See also Figure 4 , Figure 4 FIG. 2 is a schematic diagram of the structure of a positioning module 20 provided in another embodiment. Figure 4 It can be known that the positioning module 202 includes: a baseband unit 2021 and a radio frequency antenna unit 2022 .
[0066] Among them, the baseband unit 2021 is responsible for completing the signal modulation and demodulation of the broadband signal and the communication signal processing, and the radio frequency antenna unit 2022 is responsible for the wireless signal transmission and reception.
[0067] In one embodiment, the positioning module 202 adopts a UWB functional module. It should be noted that UWB is UltraWide Band technology. Different from the existing narrowband communication technology, wireless transmission is achieved by sending and receiving extremely narrow pulses with nanosecond level. The UWB pulse time width is extremely short within 2ns, and the rising and falling edges are very fast. Even in a noisy environment, the rising and falling edges are still clear, so the anti-noise ability is strong. According to the Fourier transform theorem, the shorter the time domain pulse, the wider the spectrum, and the available bandwidth of UWB can reach 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.
[0068] By adopting the UWB function, high-precision positioning can be achieved, with low average power consumption and good security. Usually, the UWB function module needs a wireless communication module similar to Bluetooth to cooperate with the anchor point to achieve interactive communication.
[0069] 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 if the main system is shut down. At the same time, due to the use of a low-power MCU, ultra-long standby can be achieved, and due to the use of UWB positioning, precise positioning can be achieved. 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 when natural disasters occur, which greatly increases the scope of use of the device.
[0070] In a possible implementation, the positioning module 20 further includes a secondary power supply circuit 204, such as Figure 4 shown.
[0071] 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, a stable voltage output can be guaranteed to protect the equipment and ensure its normal operation, which is equivalent to optimizing the efficiency and stability of the power supply system.
[0072] In one embodiment, the secondary power supply circuit 204 can use several low-voltage difference linear regulated power supplies, namely LDO power supplies, 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.
[0073] 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 the stable operation of the system.
[0074] In a possible implementation, the positioning module 20 further includes a battery detection module 205, such as Figure 4 The battery detection module 205 is used to detect the battery voltage of the terminal device when the working state of the positioning module 20 is running, so as to better maintain or shut down the positioning module 20. In one embodiment, the battery in the terminal device is usually reused by the main system 10 and the positioning module 20. The two share the same battery, which can reduce the volume of the terminal device product and reduce the design cost.
[0075] In the above embodiment, the structures of the main system and the positioning module in the terminal device are described respectively, and the terminal device provided according to the above embodiment can realize that no matter whether the main system is in the on state or the off state, the positioning module can realize independent operation. In another embodiment, in order to further reduce the cost of the equipment and make the system performance of the integrated product better, as many reusable functions as possible can be provided.
[0076] See also Figure 5 , Figure 5 A schematic diagram of the structure of a terminal device 100 provided in one embodiment of the present application. Figure 5 It can be seen that the terminal device 100 also includes:
[0077] Multiplexing peripheral module 40; The multiplexing peripheral module 40 is provided with an interface, and the main system 10 and / or the positioning module 20 is connected to the multiplexing peripheral module 40 through the interface to realize the reusable function.
[0078] Specifically, in one embodiment, 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;
[0079] 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;
[0080] 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;
[0081] 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;
[0082] 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.
[0083] Figure 6 The functional implementation of some specific modules of the multiplexing peripheral module 40 is provided, including but not limited to these modules. Figure 6 It can be seen that the indicator light module can use an LED module, which can provide different information according to different flashing rhythms. The audio and video module can use 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 power button and volume button on the main system side; it is used for SOS combination key detection and triggering alarm when the positioning module 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.
[0084] Therefore, in this embodiment, the positioning module can realize many functional reuse and integration with the terminal product, such as reuse with the terminal audio amplifier and speaker to realize prompt sound or other auditory warnings; reuse indicator lights to realize the working status indication of the positioning module; reuse with ordinary buttons to trigger SOS alarm in the form of combination keys to realize human-computer interaction; reuse batteries to realize long-term standby of the positioning module. These integrated design solutions greatly improve the functional experience and practical value of high-precision positioning functions on terminal products.
[0085] In summary, the terminal device realizes the control of UWB high-precision positioning, emergency alarm prompt sound, safety mode startup detection, safety module indicator light control and human body status monitoring. And no matter whether the terminal main system is in the on or off state, the positioning module can realize independent operation and realize the fusion multiplexing function, which improves the availability of the terminal device.
[0086] Please continue reading Figure 5 The terminal device 100 also includes a control module 30, and the control module 30 is used to trigger the primary power circuit to enter an enabled state.
[0087] In one embodiment, the terminal device 100 provided in the present application can implement different operating modes, including a first operating mode and a second operating mode;
[0088] The first operation mode includes that when the main system is in operation, the positioning module is in operation or shutdown; when the main system is in shutdown, the positioning module is in shutdown;
[0089] The second operation mode includes that when the main system is in the operation state, the positioning module is in the operation state or the shutdown state; when the main system is in the shutdown state, the positioning module is in the operation state.
[0090] 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.
[0091] See also Figure 7 , Figure 7 : is a circuit diagram of a control module 30. The control module 30 includes:
[0092] Transistors and resistors;
[0093] 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;
[0094] 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.
[0095] Specifically, the base of the transistor in this embodiment may be connected to the first processor or the PMIC of the main system.
[0096] In this circuit design, the enable of the primary power circuit is controlled by battery power supply, so as long as the battery voltage is sufficient, the primary power circuit can be guaranteed to have normal output. Considering that the positioning module may be out of control, the on and off of the primary power circuit is controlled by the signal line at the same time to play the role of resetting the power enable.
[0097] This embodiment can keep the primary power circuit (DC-DC topology) enabled and output voltage through the battery voltage after the main system of the terminal device is shut down. Until the battery voltage drops to a level that the DC-DC capacity cannot support, such as below 2.5V, the primary power circuit will no longer be able to supply power to the positioning module, that is, the primary power circuit is turned on and off.
[0098] See also Figure 8 , Figure 8 A circuit diagram of another implementation of the control module 30 is provided. Figure 8 As shown, the control module 30 includes:
[0099] Logic OR gate;
[0100] 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,
[0101] 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.
[0102] Specifically, one input end of the logic OR gate in this embodiment may be connected to the first processor or the PMIC of the main system.
[0103] Through this circuit design, after the main system of the terminal device is shut down, the primary power circuit of the positioning module can be controlled through a logic OR gate. Before shutting down, the main system of the terminal device outputs a high level through the signal line, thereby triggering the enable state of the primary power circuit, so that the primary power circuit can maintain normal power supply; after the positioning module works normally, a high level is output through the second processor, and at this time, the enable state of the primary power circuit is triggered by the second processor, so that the primary power circuit can maintain normal power supply. At this time, the main system of the terminal device no longer needs to output a signal to control the primary power circuit, and the control is transferred to the positioning module.
[0104] Through this implementation method, we can not only achieve Figure 7 The same effect as the control circuit shown in the figure can be achieved. At the same time, 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 to reduce the total shutdown leakage current of the dual systems, and the operation of the terminal equipment can be further optimized.
[0105] The above embodiment illustrates the structure of the terminal device provided by the present application. Figure 9-10 The operation method of the terminal device is described in detail.
[0106] See also Fig. 9 , Fig. 9 A method for operating a terminal device is provided, which is applied to the terminal device, and the method comprises:
[0107] S10, obtaining the operating status of the main system;
[0108] S20, when it is determined that the main system is in the shutdown state, obtaining a target state parameter of the terminal device;
[0109] 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.
[0110] In one embodiment, the target state parameters include:
[0111] Status parameters of the terminal device and / or environmental parameters of the environment in which the terminal device is located;
[0112] The state parameter includes at least one of a battery voltage of the terminal device and an operating time of the positioning module;
[0113] The environmental parameter includes at least one of light intensity, environmental temperature and environmental humidity.
[0114] It can be understood that the battery voltage, the working time of the positioning module, and whether the positioning module needs to be turned on in the environment will 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.
[0115] S30. Matching an operation mode of the terminal device according to the target state parameter.
[0116] In one embodiment, matching the operation mode of the terminal device according to the target state parameter includes:
[0117] 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;
[0118] 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 a shutdown state, the positioning module is in a power-on state.
[0119] In this embodiment, the "preset condition" refers to the target state parameter, which 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 not enough to support the operation of the positioning module. At this time, the terminal device should adopt the first operating mode, and if the battery voltage is still sufficient and is greater than the above 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 preset value, it can be considered that the preset condition is met.
[0120] If the target state parameter is only the working time of the positioning module, then the relationship between the working time of the positioning module and the preset time range can be used to determine whether to shut down. When the working time of the positioning module is outside the preset time range, the first operation mode is used to shut down the positioning module, because the working time at this time cannot reach the expected range, and the positioning module is not operated for the protection of the device. On the contrary, if the working time of the positioning module is within the preset time range, the second operation mode is directly used to keep the positioning function of the device turned on.
[0121] As for environmental parameters, it is necessary to judge whether the surrounding environment has entered a state where the positioning module needs to be started according to the size of the environmental parameters. For example, when working in a mine, the surrounding light is dim, the humidity is high, and the temperature is relatively low. In order to ensure the safety of miners, the second operating mode should be adopted in time to realize the positioning function of the equipment with ultra-long standby. If it is judged that the surrounding environment does not need to turn on the positioning function, then the first operating mode should be adopted to keep the positioning module turned off to reduce the energy consumption of the equipment.
[0122] In one embodiment, when it is determined that the main system is in the power-on state, it can be determined whether to turn on the positioning module according to user needs. For example, when the main system is powered on to realize the basic functions of the terminal device, the user still has the need for positioning, then the positioning module can be requested to be turned on; if the positioning module is not required in the environment, or in order to reduce the energy consumption of the device, it can be achieved by turning off the positioning module.
[0123] See also Fig. 9 , Fig. 9 A specific operation mode of the terminal equipment is given. Fig. 9 It can be seen that after the terminal is turned on, the user can first configure the terminal device to decide 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 is impossible to support the main system and the positioning system at the same time. The main system will shut down first, and the terminal device is only used to implement the positioning function. Furthermore, as the positioning module runs, the battery voltage will further decrease, so the battery voltage VBAT will be collected to compare with a preset value, such as 3.65V. When the voltage is above 3.65V, the terminal device can be guaranteed to work in the second operating mode, and UWB can achieve an ultra-long standby of more than 300h at this time; on the other hand, if the battery voltage is reduced to a certain value, such as 3.4V, then the battery can no longer support the continued use of the positioning module. At this time, the terminal device should switch from the second operating mode to the first operating mode, thereby reducing energy consumption and protecting the device.
[0124] Therefore, through the operation mode provided in this embodiment, the following effects can be achieved:
[0125] 1) Regardless of the first operating mode or the second operating mode, the positioning module can be turned on or off when the machine is turned on. Although it is a dual system, the positioning module can be flexibly controlled. When the main system is working, the influence of the positioning module power consumption on the main system standby can be avoided.
[0126] 2) Regardless of whether the main system is turned on or off, the positioning module has the ability to work independently. This provides conditions for the independent use of the positioning module and ultra-long standby time, because the battery power can be fully used for the independent operation of the positioning module.
[0127] In one embodiment, when a user enters an environment where dangerous factors exist, such as an underground mining area, the user can set it to an 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 autonomously 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.
[0128] In summary, the operation mode of the above terminal device can set whether to turn on the positioning module according to user needs when the main system is turned on, and can match the device to adopt the first operation mode or the second operation mode according to the collected state parameters when the main system is turned off. Moreover, even if the user forgets to operate, the positioning function can be turned on more autonomously to achieve an ultra-long standby rescue mode. Therefore, this operation mode has the advantages of high flexibility and wide application range.
[0129] In one embodiment, when entering the second operating mode, according to the design of the hardware system, in order to allow the UWB to be in standby mode for as long as possible and to give full play to the positioning, detection triggering, alarm and other functions of the positioning module, some solutions can be used to implement the system design.
[0130] Solution 1: Set different shutdown voltages for the main system, appropriately reduce the working time of the terminal device main system, and shut down the terminal device system early. This change has a limited impact on the standby time of the main system, but it can save more power for the positioning module. In the design of specific projects, the measurement and design found that it is of great help to improve the standby time of the subsystem. Among them, the actual design of the power consumption and standby examples of working mode 2 in specific projects can be referred to Fig.11 .
[0131] Solution 2: Use a primary power supply circuit with smaller Iq and higher low-load efficiency, such as Buck-Boost with better performance, to realize the power mining after the battery is lower than 3.3V.
[0132] Solution 3: Use silicon negative electrode batteries with greater capacity at low voltage to tap into the battery's capacity below 3.3V.
[0133] Therefore, through this embodiment, UWB high-precision positioning and ultra-long standby functions can be achieved, thereby improving the availability of terminal products.
[0134] See also Fig.12 , Fig.12 This is a schematic diagram of the structure of an operating device of a terminal device provided in an embodiment of the present application. Fig.12 As shown, the device specifically includes:
[0135] Status acquisition unit 01, used to acquire the operating status of the main system;
[0136] The parameter acquisition unit 02 is used to acquire the target state parameter of the terminal device when it is determined that the main system is in the shutdown state;
[0137] The mode matching unit 03 is used to match the operation mode of the terminal device according to the target state parameter.
[0138] In a possible implementation manner, the pattern matching unit 03 is further configured to:
[0139] 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;
[0140] 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 a shutdown state, the positioning module is in a power-on state.
[0141] In a possible implementation manner, the target state parameter includes: a state parameter of the terminal device and / or an environmental parameter of an environment in which the terminal device is located;
[0142] The state parameter includes at least one of a battery voltage of the terminal device and an operating time of the positioning module;
[0143] The environmental parameter includes at least one of light intensity, environmental temperature and environmental humidity.
[0144] The operating device of the terminal device provided in this embodiment may be as follows Fig.12 The device shown in , which can perform the following Figure 9-10 All steps of the operation method of the terminal device in the Figure 9-10 For details, please refer to the technical effects of the operation method of the terminal device shown in Figure 9-10 For the sake of brevity, the relevant description is not repeated here.
[0145] See also Fig.13 , Fig.13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.13 The electronic device 600 shown 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. It is understood that the bus system 605 is used to achieve connection and communication between these components. In addition to the 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, the bus system 605 is not shown in FIG. Fig.13 Various buses are labeled as bus system 605 .
[0146] The user interface 603 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0147] It can be understood that 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 (SDRAM), and so on.
[0148] DRAM, SLDRAM) and Direct Rambus RAM (DRRAM). The memory 602 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0149] In some implementations, 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 an application 6022 .
[0150] The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 6022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present application can be included in the application 6022.
[0151] In the embodiment of the present application, by calling the program or instruction stored in the memory 602, specifically, the program or instruction stored in the application 6022, the processor 601 is used to execute the steps of the operation method of the terminal device provided in each method embodiment, for example, including:
[0152] Get the running status of the main system;
[0153] When it is determined that the main system is in a shutdown state, obtaining a target state parameter of the terminal device;
[0154] The operation mode of the terminal device is matched according to the target state parameter.
[0155] In a possible implementation, matching the operation mode of the terminal device according to the target state parameter includes:
[0156] 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;
[0157] 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 a shutdown state, the positioning module is in a power-on state.
[0158] In a possible implementation manner, the target state parameters include:
[0159] Status parameters of the terminal device and / or environmental parameters of the environment in which the terminal device is located;
[0160] The state parameter includes at least one of a battery voltage of the terminal device and an operating time of the positioning module;
[0161] The environmental parameter includes at least one of light intensity, environmental temperature and environmental humidity.
[0162] The control method disclosed in the above embodiment of the present application can be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 601 or the instruction in the form of software. The above processor 601 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, 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.
[0163] It is understood that the embodiments described herein may be implemented in 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 (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.
[0164] 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.
[0165] The electronic device provided in this embodiment may be Fig.13 The electronic device shown in FIG. 1 may perform the following steps: Figure 9-10 All steps of the operation method of the terminal device in the Figure 9-10 For details, please refer to the technical effects of the operation method of the terminal device shown in Figure 9-10 For the sake of brevity, the relevant description is not repeated here.
[0166] The embodiment of the present application also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0167] When one or more programs in the storage medium can be executed by one or more processors, the operating method of the above-mentioned terminal device can be implemented.
[0168] The processor is used to execute the operation program of the terminal device stored in the memory to implement the steps of the operation method of the terminal device, for example, including:
[0169] Get the running status of the main system;
[0170] When it is determined that the main system is in a shutdown state, obtaining a target state parameter of the terminal device;
[0171] The operation mode of the terminal device is matched according to the target state parameter.
[0172] In a possible implementation, matching the operation mode of the terminal device according to the target state parameter includes:
[0173] 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;
[0174] 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 a shutdown state, the positioning module is in a power-on state.
[0175] In a possible implementation manner, the target state parameters include:
[0176] Status parameters of the terminal device and / or environmental parameters of the environment in which the terminal device is located;
[0177] The state parameter includes at least one of a battery voltage of the terminal device and an operating time of the positioning module;
[0178] The environmental parameter includes at least one of light intensity, environmental temperature and environmental humidity.
[0179] The 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 with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0180] The steps of the method or algorithm 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.
[0181] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only the specific implementation method of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A terminal device, characterized in that: include: 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, characterized in that: 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, characterized in that: 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, characterized in that: It also includes a control module, which is used to trigger the primary power supply circuit to enter an enabled state.
5. The terminal device according to claim 4, characterized in that: 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, characterized in that: 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, characterized in that: The positioning module also includes: A secondary power supply circuit performs voltage reduction / stabilization processing on the output voltage of the primary power supply circuit and then supplies power to the positioning module and the second processor; wherein, The secondary power supply circuit includes a low voltage difference linear voltage regulated power supply.
8. The terminal device according to claim 3, characterized in that: 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, characterized in that: It also includes multiplexing peripheral modules; 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, characterized in that: 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, characterized in that: 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 method for operating a terminal device according to claim 11, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: It includes 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; Memory, 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 to 13 when executing the program stored in the memory.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: 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.