Equipment positioning method, mobile terminal and storage medium

By adopting a dual processor architecture on mobile terminals, the low-power FreeRTOS system is used to manage the positioning and navigation function of the mobile terminal, and only wake up the high-power Android system when needed, solving the problem of insufficient battery life when using positioning and navigation functions in traditional mobile terminals, achieving longer battery life.

CN120034952APending Publication Date: 2025-05-23GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510219500.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2020-12-21
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

Traditional mobile communication devices have weak battery life when using positioning and navigation functions, mainly because the Android system consumes a lot of power during positioning and navigation.

Method used

A mobile terminal with a dual processor architecture, one processor (first system) is used to run a high-power Android system and the other (second system) is used to run a low-power FreeRTOS system. When the positioning navigation function is triggered, the second system wakes up the first system and sends a positioning enable command to enable the first system to turn on the positioning function; when the function is turned off, the first system switches to the sleep state.

Benefits of technology

By adopting a dual processor architecture on mobile terminals, the high-power processor is only awakened when needed, which significantly reduces the power consumption of mobile terminals and improves battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120034952A_ABST
    Figure CN120034952A_ABST
Patent Text Reader

Abstract

The invention relates to a device positioning method, a mobile terminal and a storage medium. The mobile terminal comprises a first processor and a second processor, the first processor is used for running a first system, the second processor is used for running a second system, and the running power consumption of the first processor is larger than that of the second processor. The method comprises the following steps: when a second system detects that a positioning navigation function of the mobile terminal is triggered, awakening a first system, and sending a positioning starting instruction to the awakened first system; and the first system starts a positioning navigation function according to the positioning starting instruction, and obtains positioning information of the mobile terminal. By adopting the method, the power consumption of the mobile terminal can be reduced, and the cruising ability of the mobile terminal is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This invention patent application is a divisional application of the Chinese invention patent application with application date of December 21, 2020, application number 2020115216729, and name “Device Positioning Method, Mobile Terminal and Storage Medium”. Technical Field

[0002] The present application relates to the technical field of mobile terminals, and in particular to a device positioning method, a mobile terminal and a storage medium. Background Art

[0003] With the widespread use of mobile communication devices in daily life, mobile communication devices have become a must-have product for everyone, such as mobile phones, watches, etc. Functions such as positioning and navigation are very core functions of mobile communication devices.

[0004] At present, the positioning and navigation functions of most mobile communication devices rely on the powerful Android system, which uses the powerful computing function of the Android system to achieve positioning and navigation. However, the Android system consumes a lot of power when performing positioning and navigation, which makes the battery life of mobile communication devices relatively weak.

[0005] Therefore, traditional mobile communication devices have the problem of weak battery life when using positioning and navigation functions. Summary of the invention

[0006] Based on this, it is necessary to provide a device positioning method and a mobile terminal that can improve the battery life of a mobile communication device when using the positioning and navigation functions of the mobile communication device in response to the above technical problems.

[0007] and storage media.

[0008] In a first aspect, a device positioning method is provided, which is applied to a mobile terminal, wherein the mobile terminal includes a first processor and a second processor, wherein the first processor is used to run a first system, and the second processor is used to run a second system, and the operating power consumption of the first processor is greater than the operating power consumption of the second processor, and the method includes:

[0009] When the second system detects that the positioning and navigation function of the mobile terminal is triggered, the second system wakes up the first system and sends a positioning start instruction to the woken-up first system;

[0010] The first system turns on the positioning navigation function according to the positioning turn-on instruction, and obtains the positioning information of the mobile terminal.

[0011] In one embodiment, the method further comprises:

[0012] When the second system detects that the positioning and navigation function is turned off, it sends a positioning-off instruction to the first system;

[0013] The first system turns off the positioning and navigation function according to the positioning-off instruction and switches to the sleep state.

[0014] In one embodiment, the method further includes:

[0015] When the second system detects that the positioning and navigation function is turned off, it controls the display to stop showing the map.

[0016] In one embodiment, the method further includes:

[0017] The first system transmits the positioning information to the second system;

[0018] The second system controls the display to show the map and shows the positioning information on the map.

[0019] In one embodiment, the positioning information includes the current location information and compass information of the mobile terminal. The current location information of the mobile terminal includes the longitude information and latitude information of the mobile terminal. The second system controls the display to show the map and shows the positioning information on the map, including:

[0020] The second system controls the display to show the map, marks the current location information of the mobile terminal on the map according to the longitude information and latitude information of the mobile terminal, and shows the compass information.

[0021] In one embodiment, the method further includes:

[0022] The second system sends a first control right switching instruction to the first system; the first control right switching instruction is used to instruct the first system to control the display of the mobile terminal;

[0023] The first system controls the display to show the map and shows the positioning information on the map.

[0024] In one embodiment, the method further includes:

[0025] When the first system detects that the positioning and navigation function is turned off, it sends a second control right switching instruction to the second system; the second control right switching instruction is used to instruct the second system to control the display of the mobile terminal.

[0026] In one embodiment, the method further includes:

[0027] The second system receives the positioning information of the mobile terminal sent by the first system at a preset frequency within a preset time period; the positioning information of the mobile terminal includes the timestamp information of each current position of the mobile terminal.

[0028] The second system generates a driving trajectory of the mobile terminal according to the timestamp information of each current position of the mobile terminal and the current position information corresponding to each piece of timestamp information, and controls a display of the mobile terminal to display a map and display the driving trajectory on the map.

[0029] In one embodiment, the processing capability of the first processor is higher than that of the second processor.

[0030] In a second aspect, a mobile terminal is provided, which includes a first processor and a second processor. The first processor is used to run a first system, and the second processor is used to run a second system, and the operating power consumption of the first processor is greater than that of the second processor.

[0031] The first system is used to execute the steps performed by the first system in the above device positioning method.

[0032] The second system is used to execute the steps performed by the second system in the above device positioning method.

[0033] In a third aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the device positioning method described in the first aspect above is implemented.

[0034] In the above device positioning method, mobile terminal, and storage medium, the mobile terminal includes a first processor and a second processor. The first processor is used to run a first system, and the second processor is used to run a second system, and the operating power consumption of the first processor is greater than that of the second processor. When the second system detects that the positioning and navigation function of the mobile terminal is triggered, it can wake up the first system and send a positioning start instruction to the awakened first system, so that the first system enables the positioning and navigation function according to the positioning start instruction and obtains the positioning information of the mobile terminal. In this way, when the positioning and navigation function of the mobile terminal is not triggered, the first system will always be in a sleep state, with less power consumption. Only when the positioning and navigation function of the mobile terminal is triggered, the second system of the mobile terminal wakes up the first system to enable the positioning and navigation function, thereby reducing the power consumption of the mobile terminal and improving the battery life of the mobile terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is an application environment diagram of the device positioning method in one embodiment.

[0036] Figure 2 A schematic diagram of a flow chart of a device positioning method in an embodiment;

[0037] Figure 3 It is a flowchart of a device positioning method in another embodiment;

[0038] Figure 4 It is a flowchart of a device positioning method in another embodiment;

[0039] Figure 5 It is a flowchart of a device positioning method in another embodiment;

[0040] Figure 6 It is a flowchart of a device positioning method in another embodiment;

[0041] Figure 7 It is a flowchart of a device positioning method in another embodiment;

[0042] Figure 8 It is a flowchart of a device positioning method in another embodiment;

[0043] Fig. 9 FIG. 4 is a diagram showing the internal structure of a mobile terminal in one embodiment. DETAILED DESCRIPTION

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

[0045] The device positioning method provided in this application can be applied to Figure 1 In the mobile terminal shown. The mobile terminal may include a first processor 101, a second processor 102 and a display 103. Among them, the first processor 101 may be a high-performance processor running on the Android system; the second processor 102 may be a low-power processor running on the FreeRTOS system; the first processor 101 and the second processor 102 are respectively connected to the display 103. The mobile terminal can receive user-triggered operations through the display 103, and process the user-triggered operations through the first processor 101 or the second processor 102. The display 103 can also display the processing results of the first processor 101 or the second processor 102.

[0046] In one embodiment, Figure 2 As shown, a device positioning method is provided, which is applied to Figure 1Taking the mobile terminal in the example as an example, the mobile terminal includes a first processor and a second processor, the first processor is used to run the first system, the second processor is used to run the second system, and the running power consumption of the first processor is greater than the running power consumption of the second processor; the method includes the following steps:

[0047] S201, when the second system detects that the positioning and navigation function of the mobile terminal is triggered, the second system wakes up the first system and sends a positioning start instruction to the woken-up first system.

[0048] The mobile terminal may be a mobile phone, a watch, a bracelet, a tablet computer, etc. The first system of the mobile terminal may be a high-performance system running an Android system; the second system of the mobile terminal may be a low-power system running a FreeRTOS system. Accordingly, the first system may be an Android system, and the second system may be a FreeRTOS system.

[0049] Specifically, the second system run by the second processor of the mobile terminal wakes up the first system when it detects that the positioning and navigation function of the mobile terminal is triggered, and sends a positioning start instruction to the first system after being awakened. Optionally, the positioning and navigation function of the mobile terminal can be triggered by the user or by the software of the mobile terminal itself. Optionally, the processing capacity of the first system of the mobile terminal is higher than that of the second system. Exemplarily, the processing capacity of the first system of the mobile terminal is higher than that of the second system, which can be that the computing capacity of the first system is stronger than that of the second system, or the processing speed of the first system is higher than that of the second system. Optionally, the second system can send a wake-up instruction to the first system to wake up the first system when it detects that the positioning and navigation function of the mobile terminal is triggered. It should be noted that when the second system sends a wake-up instruction to the first system to wake up the first system, the second system can determine that the first system has been awakened after issuing the wake-up instruction, or it can determine that the first system has been awakened according to the returned signal by receiving the signal returned by the second system.

[0050] S202: The first system starts the positioning navigation function according to the positioning start instruction and obtains the positioning information of the mobile terminal.

[0051] Specifically, the first system run by the first processor of the mobile terminal turns on the positioning and navigation function according to the positioning turn-on instruction sent by the second system, and obtains the positioning information of the mobile terminal. Optionally, the first system of the mobile terminal can turn on the GPS (Global Positioning System) module and / or Beidou module of the mobile terminal according to the positioning turn-on instruction sent by the second system, thereby turning on the positioning and navigation function and obtaining the positioning information of the mobile terminal.

[0052] In the above-mentioned device positioning method, the mobile terminal includes a first processor and a second processor, the first processor is used to run the first system, the second processor is used to run the second system, and the operating power consumption of the first processor is greater than the operating power consumption of the second processor. When the second system operated by the second processor detects that the positioning and navigation function of the mobile terminal is triggered, it can wake up the first system and send a positioning start instruction to the awakened first system, so that the first system turns on the positioning and navigation function according to the positioning start instruction and obtains the positioning information of the mobile terminal. In this way, when the positioning and navigation function of the mobile terminal is not triggered, the first system will always be in a dormant state and consume less power. Only when the positioning and navigation function of the mobile terminal is triggered, the second system of the mobile terminal will wake up the first system to turn on the positioning and navigation function of the first system, thereby reducing the power consumption of the mobile terminal and improving the battery life of the mobile terminal.

[0053] After the first system turns on the positioning navigation function according to the positioning turn-on instruction and obtains the positioning information of the mobile terminal, it is also necessary to turn off the turned-on positioning navigation function. Figure 3 As shown, the above method also includes:

[0054] S301: When the second system detects that the positioning and navigation function is turned off, it sends a positioning turn-off instruction to the first system.

[0055] Specifically, when the second system executed by the second processor of the mobile terminal detects that the positioning and navigation function is turned off, it sends a positioning turn-off instruction to the first system. Optionally, the second system may send the positioning turn-off instruction to the first system through the dual-core communication system. Optionally, the positioning and navigation function of the mobile terminal may be turned off by a turn-off instruction triggered by a user, or the positioning and navigation function of the mobile terminal may be automatically turned off by the mobile terminal itself when the running software is exited.

[0056] S302: The first system turns off the positioning and navigation function according to the positioning turn-off instruction and switches to a sleep state.

[0057] Specifically, the first system run by the first processor of the mobile terminal turns off the positioning and navigation functions according to the positioning shutdown instruction sent by the second system, and switches to a dormant state. Optionally, the first system of the mobile terminal can turn off the GPS module and / or Beidou module of the mobile terminal according to the positioning shutdown instruction sent by the second system, thereby turning off the positioning and navigation functions. Optionally, the first system of the mobile terminal can switch its own state to a dormant state within a preset time period after turning off the positioning and navigation functions. Exemplarily, the preset time period can be 2 seconds, 5 seconds, etc., but the preset time period cannot exceed 10 seconds.

[0058] In the present embodiment, when the second system running on the mobile terminal detects that the positioning and navigation function is turned off, the second system running on the mobile terminal can send a positioning shutdown instruction to the first system, so that the first system can shut down the positioning and navigation function according to the shutdown instruction and switch to sleep. In this way, when the positioning and navigation function of the mobile terminal is not triggered, the first system can remain in sleep mode and consume less power. The first system will only turn on the positioning and navigation function when the positioning and navigation function of the mobile terminal is triggered, thereby reducing the power consumption of the mobile terminal and improving the battery life of the mobile terminal.

[0059] In the scenario where the second system detects that the positioning and navigation function is turned off, in one embodiment, the method further includes: when the second system detects that the positioning and navigation function is turned off, controlling the display to stop displaying the map.

[0060] Specifically, when the second system operated by the second processor of the mobile terminal detects that the positioning and navigation function is turned off, the display stops displaying the map. Optionally, when the second system detects that the positioning and navigation function is turned off, the display may send a stop instruction to the display of the mobile terminal to control the display to stop displaying the map. Exemplarily, the stop instruction may be an instruction pre-established between the second system and the display. For example, the stop instruction sent by the second system to the display may be "1", and when the display recognizes "1", the display stops displaying the map.

[0061] In this embodiment, when the second system run by the second processor of the mobile terminal detects that the positioning and navigation function is turned off, it controls the display to stop displaying the map, so that the display can display other content, thereby expanding the use scenarios of the display of the mobile terminal.

[0062] In the above scenario where the first system obtains the location information of the mobile terminal, the obtained location information needs to be displayed. Optionally, the first system can display the obtained location information of the mobile terminal, or the second system can hand over the control to the first system, and the first system can display the location information of the mobile terminal. The following will describe these two display methods in detail.

[0063] First, in one embodiment, Figure 4 As shown, the above method also includes:

[0064] S401, the first system transmits positioning information to the second system.

[0065] Specifically, the first system executed by the first processor of the mobile terminal transmits the acquired positioning information to the second system. Optionally, the first system may transmit the acquired positioning information to the second system through the dual-core communication system. Optionally, the first system may pre-process the acquired positioning information, remove error information in the acquired positioning information, and transmit the pre-processed positioning information to the second system.

[0066] S402, the second system controls the display to display a map, and displays positioning information on the map.

[0067] Specifically, the second system run by the second processor of the mobile terminal controls the display to display a map and displays the positioning information of the mobile terminal on the map. Optionally, the positioning information of the mobile terminal includes the current location information and compass information of the mobile terminal, and the current location information of the mobile terminal includes the longitude information and latitude information of the mobile terminal. The second system can control the display to display a map, and mark the current location information of the mobile terminal on the map according to the longitude information and latitude information of the mobile terminal, and display the compass information. Optionally, the second system can send a map display instruction to the display to control the display to display a map.

[0068] In this embodiment, the first system run by the first processor of the mobile terminal transmits the acquired positioning information to the second system, and the second system controls the display to display the map and display the positioning information on the map. Since the operating power consumption of the second system is less than the operating power consumption of the first system, the second system controls the display to display the map and display the positioning information on the map, which can reduce the power consumption of the mobile terminal and extend the battery life of the mobile terminal.

[0069] Second, in one embodiment, Figure 5 As shown, the above method also includes:

[0070] S501, the second system sends a first control right switching instruction to the first system; the first control right switching instruction is used to instruct the first system to control the display of the mobile terminal.

[0071] Specifically, the second system executed by the second processor of the mobile terminal sends a first control right switching instruction to the first system, instructing the first system to control the display of the mobile terminal. Optionally, the second system of the mobile terminal can send the first control right switching instruction to the first system via the dual-core communication system.

[0072] S502, the first system controls the display to display a map, and displays positioning information on the map.

[0073] Specifically, the first system executed by the first processor of the mobile terminal controls the display to display a map, and displays the above-mentioned positioning information on the map. Optionally, the positioning information of the mobile terminal includes the current position information and compass information of the mobile terminal, and the current position information of the mobile terminal includes the longitude information and latitude information of the mobile terminal. The first system can control the display to display a map, and mark the current position information of the mobile terminal on the map according to the longitude information and latitude information of the mobile terminal, and display the compass information.

[0074] In this embodiment, the second system run by the second processor of the mobile terminal sends a first control switching instruction to the first system, which can instruct the first system to control the display of the mobile terminal, and then the first system can control the display of the mobile terminal to display the map, and display the positioning information of the mobile terminal on the map. Since the performance of the first system is relatively strong, the first system can quickly display the map and display the positioning information of the mobile terminal on the map.

[0075] In the above scenario where the second system hands over the control right to the first system, when the positioning and navigation function of the mobile terminal is turned off, the first system needs to return the control right of the display to the second system to save the power consumption of the mobile terminal. Based on the above embodiment, in one embodiment, the above method further includes: when the first system detects that the positioning and navigation function is turned off, the first system sends a second control right switching instruction to the second system; the second control right switching instruction is used to instruct the second system to control the display of the mobile terminal.

[0076] Specifically, when the first system executed by the first processor of the mobile terminal detects that the positioning and navigation function of the mobile terminal is turned off, the first system sends a second control right switching instruction to the second system; wherein the second control right switching instruction is used to instruct the second system to control the display of the mobile terminal. Optionally, the first system can send the second control right switching instruction to the second system via the dual-core communication system.

[0077] In the present embodiment, when the first system operated by the first processor of the mobile terminal detects that the positioning and navigation functions of the mobile terminal are turned off, the first system sends a second control right switching instruction to the second system, instructing the second system to control the display of the mobile terminal. In this way, when the positioning and navigation functions of the mobile terminal are turned off, the display of the mobile terminal is controlled by the second system, and the operating power consumption of the second system is relatively low, and the power consumption is less. Therefore, the power consumption of the mobile terminal can be reduced and the battery life of the mobile terminal can be improved.

[0078] In some scenarios, the display of the mobile terminal can also display the driving track of the mobile terminal within a preset time period on a map. Figure 6 As shown, the above method also includes:

[0079] S601, the second system receives the positioning information of the mobile terminal sent by the first system at a preset frequency within a preset time period; the positioning information of the mobile terminal includes timestamp information of each current position of the mobile terminal.

[0080] Specifically, the second system operated by the second processor of the mobile terminal receives the positioning information of the mobile terminal sent by the first system at a preset frequency within a preset time period. The positioning information of the mobile terminal includes the timestamp information of each current position of the mobile terminal. The timestamp information of each current position of the mobile terminal is used to uniquely indicate the time at a certain moment within the preset time period. Optionally, the preset time period may be 1 minute, 2 minutes, etc. Optionally, the preset frequency may be 100 Hz, etc.

[0081] S602, the second system generates a driving track of the mobile terminal according to the timestamp information of each current position of the mobile terminal and the current position information corresponding to each timestamp information, and controls the display of the mobile terminal to display a map, and displays the driving track on the map.

[0082] Specifically, the second system run by the second processor of the mobile terminal generates the driving track of the mobile terminal according to the timestamp information of each current position of the mobile terminal and the current position information corresponding to each timestamp information, and controls the display of the mobile terminal to display a map, and displays the driving track of the mobile terminal on the map. Optionally, the current position information corresponding to each timestamp information includes the longitude information and latitude information of the mobile terminal corresponding to each timestamp. The second system can control the display of the mobile terminal to display a map, and according to the longitude information and latitude information of the mobile terminal corresponding to each timestamp, mark the current position information corresponding to each timestamp on the map according to the timestamp information of each current position of the mobile terminal and the current position information corresponding to each timestamp information, and display the driving track of the mobile terminal.

[0083] In this embodiment, the second system run by the second processor of the mobile terminal receives the positioning information of the mobile terminal sent by the first system at a preset frequency within a preset time period, so that the second system can generate a driving trajectory of the mobile terminal according to the timestamp information of each current position of the mobile terminal and the current position information corresponding to each timestamp information, and control the display of the mobile terminal to display a map and display the generated driving trajectory on the map, so that the driving trajectory of the mobile terminal can be intuitively seen on the map, which is convenient for timely acquisition of the driving trajectory of the mobile terminal; in addition, the display of the mobile terminal can display the driving trajectory of the mobile terminal on the map, which improves the practicality of the mobile terminal and expands the usage scenarios of the mobile terminal.

[0084] In the device positioning method provided by the present application, the second system running by the second processor of the mobile terminal can control the display to display the map and display the positioning information of the mobile terminal on the map, or the first system running by the first processor of the mobile terminal can control the display to display the map and display the positioning information of the mobile terminal on the map. When it is detected that the positioning navigation function is turned off, the control of the display is returned to the second system. To facilitate the understanding of those skilled in the art, the device positioning method provided by the present application is described in detail in combination with two complete embodiments below:

[0085] The first type is that when the mobile terminal is positioning, the display of the mobile terminal is always controlled by the second system. In this case, Figure 7 As shown, the method may include:

[0086] S1, when the second system detects that the positioning and navigation function of the mobile terminal is triggered, it wakes up the first system and sends a positioning start instruction to the woken-up first system.

[0087] S2, the first system turns on the positioning navigation function according to the positioning turn-on instruction, and obtains the positioning information of the mobile terminal.

[0088] S3, the first system transmits the positioning information to the second system; the positioning information includes the current location information and compass information of the mobile terminal, and the current location information of the mobile terminal includes the longitude information and latitude information of the mobile terminal.

[0089] S4, the second system controls the display to display a map, and marks the current location information of the mobile terminal on the map according to the longitude information and latitude information of the mobile terminal, and displays the current location information of the mobile terminal and a compass.

[0090] S5, when the second system detects that the positioning and navigation function is turned off, it controls the display to stop displaying the map and sends a positioning turn-off instruction to the first system.

[0091] S6, the first system turns off the positioning and navigation function according to the positioning turn-off instruction and switches to a dormant state.

[0092] In the second case, when the mobile terminal needs to be positioned, the first system of the mobile terminal controls the display to display a map and displays the positioning information of the mobile terminal on the map. In this case, Figure 8 As shown, the method may include:

[0093] S1, when the second system detects that the positioning and navigation function of the mobile terminal is triggered, it wakes up the first system and sends a positioning start instruction to the woken-up first system.

[0094] S2, the first system turns on the positioning navigation function according to the positioning turn-on instruction, and obtains the positioning information of the mobile terminal.

[0095] S3, the second system sends a first control right switching instruction to the first system; the first control right switching instruction is used to instruct the first system to control the display of the mobile terminal.

[0096] S4, the first system controls the display to display a map, and displays the positioning information on the map.

[0097] S5, when the first system detects that the positioning and navigation function is turned off, the first system sends a second control right switching instruction to the second system; the second control right switching instruction is used to instruct the second system to control the display of the mobile terminal.

[0098] S6, the first system turns off the positioning and navigation function according to the positioning turn-off instruction and switches to a dormant state.

[0099] In the above two methods, in some scenarios, it may be necessary to obtain the driving trajectory of the mobile terminal and display the obtained driving trajectory of the mobile terminal. In this scenario, the above method further includes:

[0100] S7, the second system receives the positioning information of the mobile terminal sent by the first system within a preset time period at a preset frequency; the positioning information of the mobile terminal includes timestamp information of each current position of the mobile terminal.

[0101] S8, the second system generates a driving track of the mobile terminal according to the timestamp information of each current position of the mobile terminal and the current position information corresponding to each timestamp information, and controls the display of the mobile terminal to display a map, and displays the driving track on the map.

[0102] It should be noted that for the descriptions in the above S1-S8, reference may be made to the relevant descriptions in the above embodiments, and the effects are similar, so this embodiment will not be repeated here.

[0103] It should be understood that although Figure 2-8 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-8 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0104] In one embodiment, a mobile terminal is provided. The mobile terminal may be a wearable device, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The mobile terminal includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the mobile terminal includes a first processor and a second processor, which are used to provide computing and control capabilities. The memory of the mobile terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the mobile terminal is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a device positioning method is implemented. The display screen of the mobile terminal can be a liquid crystal display screen or an electronic ink display screen, and the input device of the mobile terminal can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the shell of the mobile terminal, or an external keyboard, touchpad or mouse, etc.

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

[0106] In one embodiment, a mobile terminal is provided, including a memory and a processor, the processor including a first processor and a second processor, the first processor is used to run a first system, the second processor is used to run a second system, and the running power consumption of the first processor is greater than the running power consumption of the second processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0107] When the second system detects that the positioning and navigation function of the mobile terminal is triggered, the second system wakes up the first system and sends a positioning start instruction to the woken first system;

[0108] The first system turns on the positioning navigation function according to the positioning turn-on instruction and obtains the positioning information of the mobile terminal.

[0109] The implementation principle and technical effect of the mobile terminal provided in the above embodiment are similar to those of the above method embodiment, and will not be repeated here.

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

[0111] When the second system detects that the positioning and navigation function of the mobile terminal is triggered, the second system wakes up the first system and sends a positioning start instruction to the woken first system;

[0112] The first system turns on the positioning navigation function according to the positioning turn-on instruction and obtains the positioning information of the mobile terminal.

[0113] The computer-readable storage medium provided in the above embodiment has similar implementation principles and technical effects as those of the above method embodiment, and will not be described in detail here.

[0114] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

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

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

Claims

1. A device positioning method, applied to a mobile terminal, It is characterized in that The mobile terminal includes a first processor and a second processor, the first processor is used to run a first system, and the second processor is used to run a second system; the method includes: When the second system detects that the positioning and navigation function of the mobile terminal is triggered, the second system wakes up the first system and sends a positioning start instruction to the woken-up first system; The first system turns on the positioning navigation function according to the positioning turn-on instruction, and obtains the positioning information of the mobile terminal.

2. The method according to claim 1, It is characterized in that The method further comprises: When the second system detects that the positioning and navigation function is turned off, the second system sends a positioning turn-off instruction to the first system; The first system turns off the positioning navigation function according to the positioning turning off instruction.

3. The method according to claim 2, It is characterized in that The method further comprises: When the second system detects that the positioning and navigation function is turned off, it controls the display to stop displaying the map.

4. The method according to claim 1 or 2, It is characterized in that The method further comprises: The first system transmits the positioning information to the second system; The second system controls the display to display a map, and displays the positioning information on the map.

5. The method according to claim 4, It is characterized in that The positioning information includes current position information and compass information of the mobile terminal, the current position information of the mobile terminal includes longitude information and latitude information of the mobile terminal, and the second system controls a display to display a map, and displays the positioning information on the map, including: The second system controls the display to display a map, and marks the current location information of the mobile terminal on the map according to the longitude information and latitude information of the mobile terminal, and displays the compass information.

6. The method according to claim 1, It is characterized in that The method further comprises: The second system hands over the control right of the display to the first system, and the first system displays the positioning information of the mobile terminal.

7. The method according to claim 6, It is characterized in that The method further comprises: When the positioning and navigation function of the mobile terminal is turned off, the first system returns the control right of the display to the second system.

8. The method according to claim 1, It is characterized in that The method further comprises: The second system receives the positioning information of the mobile terminal sent by the first system at a preset frequency within a preset time period; the positioning information of the mobile terminal includes timestamp information of each current position of the mobile terminal; The second system generates a driving trajectory of the mobile terminal according to the timestamp information of each current position of the mobile terminal and the current position information corresponding to each timestamp information, controls the display of the mobile terminal to display a map, and displays the driving trajectory on the map.

9. The method according to claim 1, It is characterized in that The operating power consumption of the first processor is greater than the operating power consumption of the second processor; the processing capability of the first processor is higher than the processing capability of the second processor.

10. A device positioning method, applied to a mobile terminal, It is characterized in that The mobile terminal includes a first processor and a second processor, the first processor is used to run a first system, and the second processor is used to run a second system; the method includes: When the first system obtains the location information of the mobile terminal, The first system transmits the positioning information to the second system, and the second system controls a display to display a map and displays the positioning information on the map; or, The second system hands over the control right of the display to the first system, and the first system displays the positioning information of the mobile terminal.

11. The method according to claim 10, It is characterized in that The method further comprises: When the second system detects that the positioning and navigation function is turned off, the second system sends a positioning turn-off instruction to the first system; The first system turns off the positioning navigation function according to the positioning turning off instruction.

12. A mobile terminal, comprising a first processor and a second processor, wherein the first processor is used to run a first system, and the second processor is used to run a second system. It is characterized in that The first system is used to perform the steps performed by the first system in the method according to any one of claims 1 to 11; The second system is used to execute the steps performed by the second system in the method according to any one of claims 1 to 11.

13. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by one or more processors, the steps of the method according to any one of claims 1 to 11 are implemented.