Positioning method, device and electronic equipment

By acquiring and processing satellite signals to determine the fault of the receiving device or resource module in the electronic equipment, the problem of low positioning efficiency of the electronic equipment is solved, the stability and accuracy of the positioning system are achieved, and accurate positioning can still be ensured in the event of a fault. .

CN113484883BActive Publication Date: 2024-10-29VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110753714.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-02
Publication Date
2024-10-29
Estimated Expiration
2041-07-02

AI Technical Summary

Technical Problem

The existing technology has low positioning efficiency when positioning electronic devices. Especially when the electronic device's own positioning system fails, accurate positioning cannot be performed, resulting in position loss and positioning application failure.

Method used

By acquiring the first satellite signal and restarting the resource module when it meets the preset conditions, or acquiring the second satellite signal and transmitting it to the resource module through a backup path, the fault of the receiving device or resource module is determined and solved to ensure the reliability of the positioning system. stability and accuracy.

Benefits of technology

It improves the positioning efficiency and stability of electronic equipment, ensures that it can continue to receive satellite signals and perform accurate positioning even in the event of a failure, and reduces users' navigation troubles at high speeds or in unfamiliar areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113484883B_ABST
    Figure CN113484883B_ABST
Patent Text Reader

Abstract

The present application discloses a positioning method, device and electronic device, belonging to the field of communication technology. The method mainly includes obtaining a first satellite signal when the electronic device location information is not detected, the first satellite signal is a signal output by a receiving device and is an input signal of a first resource module in the electronic device; when the first satellite signal meets a first preset condition, the first resource module is restarted to locate the electronic device through the first satellite signal; when the first satellite signal does not meet the first preset condition, a second satellite signal is obtained, and the second satellite signal is transmitted to the first resource module through a target path, the second satellite signal is a signal output by an antenna in the electronic device and is a signal input by the receiving device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a positioning method, device and electronic equipment. Background Art

[0002] Positioning systems have a wide range of applications. For example, in scenarios such as navigation, shopping, finance, the Internet of Things, and engineering construction, positioning systems are needed to obtain current location data.

[0003] Currently, when positioning an electronic device, it is necessary to use the positioning system of the electronic device itself to complete the positioning. However, when the positioning system of the electronic device itself fails, the electronic device cannot be positioned, resulting in low positioning efficiency. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a positioning method, apparatus, device and storage medium, which can solve the current problem of low positioning efficiency.

[0005] In a first aspect, an embodiment of the present application provides a positioning method, which is applied to an electronic device. The method may include:

[0006] In the case where the location information of the electronic device is not detected, a first satellite signal is acquired, where the first satellite signal is a signal output by a receiving device and is an input signal of a first resource module in the electronic device;

[0007] When the first satellite signal meets the first preset condition, restarting the first resource module to locate the electronic device based on the first satellite signal;

[0008] When the first satellite signal does not meet the first preset condition, a second satellite signal is acquired and transmitted to the first resource module through a target path. The second satellite signal is a signal output by an antenna in the electronic device and a signal input by the receiving device.

[0009] In a second aspect, an embodiment of the present application provides a positioning device, which is applied to an electronic device, and the device may include:

[0010] An acquisition module, used to acquire a first satellite signal when the electronic device location information is not detected, where the first satellite signal is a signal output by the receiving device and is an input signal of a first resource module in the electronic device;

[0011] a processing module, configured to restart the first resource module when the first satellite signal meets a first preset condition, so as to locate the electronic device based on the first satellite signal;

[0012] The transmission module is used to obtain a second satellite signal when the first satellite signal does not meet the first preset condition, and transmit the second satellite signal to the first resource module through a target path. The second satellite signal is a signal output by an antenna in the electronic device and a signal input by the receiving device.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the positioning method shown in the first aspect.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the positioning method shown in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the audio processing method shown in the first aspect.

[0016] In an embodiment of the present application, when the location information of the electronic device is not detected, it is necessary to determine whether the problem is with the receiving device of the entity that receives the satellite signal in the electronic device or with the first resource module that processes the satellite signal. Thus, by obtaining whether the first satellite signal sent from the receiving device to the first resource module meets the preset conditions, the part where the problem occurs is determined, and targeted solutions are attached. Among them, when the first satellite signal meets the first preset condition, it is determined that the problem is with the first resource module when the positioning is abnormal. In this way, it is necessary to restart the first resource module to locate the electronic device based on the first satellite signal transmitted by the entity device. On the contrary, when the first satellite signal does not meet the first preset condition, it is determined that the problem is with the entity device when the positioning is abnormal. In this way, it is necessary to obtain the second satellite signal sent from the antenna to the receiving device, and transmit the second satellite signal to the first resource module to locate the electronic device based on the second satellite signal. In this way, the stability of the positioning system of the electronic device itself can be guaranteed, so as to continuously receive satellite signals, ensure the accuracy of positioning the electronic device, and improve the positioning efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a positioning architecture provided in an embodiment of the present application;

[0018] Figure 2 One of the structural schematic diagrams of a satellite positioning system in an electronic device provided in an embodiment of the present application;

[0019] Figure 3A second structural diagram of a satellite positioning system in an electronic device provided in an embodiment of the present application;

[0020] Figure 4 A flowchart of a positioning method provided in an embodiment of the present application;

[0021] Figure 5 The third structural diagram of a satellite positioning system in an electronic device provided in an embodiment of the present application;

[0022] Figure 6 A schematic diagram of the structure of a positioning device provided in an embodiment of the present application;

[0023] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0024] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0026] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0027] At present, after years of development, satellite positioning technology has been applied in many fields, such as measurement, transportation, rescue, agriculture, entertainment, modern military and other fields. In particular, with the development and rapid popularization of electronic devices, satellite positioning is ubiquitous. Users holding electronic devices are equivalent to holding a global positioning system (GPS) receiver. In this way, positioning based on electronic devices has formed new navigation scenarios, such as takeaway positioning, sports health, map navigation and other navigation scenarios. Among them, when it comes to map navigation scenarios, the GPS system reports the location to the application every second, and the map refreshes the map based on the location, displays the speed, prompts key intersections, and reminds the remaining sections. The sources of these functions require a stable location source, especially on highways or unfamiliar roads. The stability of the GPS positioning system is extremely high. Once the location is lost, it is easy for users to feel anxious on highways, and in unfamiliar areas, detours will occur, resulting in a huge waste of time and energy. In addition, if the stability of the GPS positioning system is poor, it will also cause the failure of positioning-related applications, and the electronic device cannot be positioned, resulting in low positioning efficiency, which can threaten life and property in serious cases.

[0028] Based on this, the embodiment of the present application provides a positioning method to improve the stability of the positioning system of the electronic device itself, so that the electronic device can continuously and stably report the position to improve the positioning efficiency. Figure 1-Figure 2 , the positioning method provided in the embodiment of the present application is described in detail through specific embodiments and their application scenarios.

[0029] The present application embodiment proposes a positioning architecture, such as Figure 1As shown, the processing architecture may include an electronic device 10 and a global navigation satellite system 11. The electronic device 10 may include a receiving device 101 for receiving satellite signals sent by the global navigation satellite system 11, a first resource module 102 for processing satellite signals, and a signal detection module 103. The receiving device 101 is a physical device for receiving satellite signals in the electronic device 10. The signal detection module 103 may be arranged between the receiving device 101 and the first resource module 102, and is used to obtain satellite signals such as the first satellite signal and the second satellite signal, and trigger the execution of the positioning process according to the satellite signal, and provide a physical device function when the receiving device fails, to ensure that the received satellite signal can be transmitted to the first resource module, so as to maintain the stability of the positioning system of the electronic device itself, so that it can accurately locate the electronic device; or, when the first resource module fails, trigger the restart (or repair) of the first resource module, so that the restarted (or repaired) first resource module can process the satellite signal, and similarly, the stability of the positioning system of the electronic device itself can be maintained, so that it can accurately locate the electronic device.

[0030] Based on this, the embodiments of the present application are combined Figure 2 The positioning system of the electronic device 10 itself is described in detail.

[0031] like Figure 2 As shown, the electronic device 10 may include a receiving device 101 , a first resource module 102 and a signal detection module 103 .

[0032] The receiving device 101 may include an antenna, a low noise amplifier (LNA), a band-pass filter 1 (BPF), a downconverter, a band-pass filter 2, an automatic gain control (AGC), an analog to digital converter (ADC) and a tracking module connected in sequence. The antenna is used to receive satellite signals sent by the global navigation satellite system 11, and transmit them to the low noise amplifier for signal amplification processing, then pass through the band-pass filter 1 for signal filtering, then pass through the downconverter for frequency reduction processing, then pass through the band-pass filter 2 for continuous filtering, then pass through the AGC for signal gain adjustment, then pass through the ADC for analog-to-digital conversion, analog signal to digital signal, and finally capture the satellite signal through the tracking module.

[0033] The receiving device 101 transmits the satellite signal to the first resource module 102 via the detection module 103. The first resource module 102 may include a measurement module, a location module and a reporting module. The measurement module measures the satellite signal sent by the detection module 103 (including pseudorange measurement, carrier measurement, etc.), and then transmits it to the location module to calculate the location of the electronic device, and then reports the location through the reporting module, so that the electronic device can be located based on the satellite signal through the first resource module.

[0034] Based on the above architecture, the electronic device obtains a first satellite signal without detecting the location information of the electronic device. The first satellite signal is a satellite signal sent by the global navigation satellite system to the electronic device. The first satellite signal is obtained by the signal detection module 103 at the stage of sending from the receiving device 101 to the first resource module for processing the first satellite signal. Here, the receiving device 101 is a physical device in the electronic device that receives satellite signals.

[0035] Next, when the first satellite signal meets the first preset condition, such as the existence of a satellite signal and no obvious jitter in the satellite signal strength, it is determined that an abnormality has occurred in part of the first resource module 102. In this way, the first resource module can be restarted to locate the electronic device based on the satellite signal through the first resource module.

[0036] On the contrary, when the first satellite signal does not meet the first preset condition, such as the strength of the satellite signal is lower than a certain threshold or there is no satellite signal, it is determined that the receiving device 101 is partially abnormal. In this way, the second satellite signal can be obtained through the signal detection module 103, and the second satellite signal is transmitted to the first resource module through the backup line, i.e., the target path, built by the signal detection module 103. The second satellite signal is obtained at the stage of being sent from the antenna in the electronic device to the receiving device, i.e., the signal output by the antenna and the signal input by the receiving device. Figure 3 , which may be the stage from antenna output to LNA involved above. Thus, the positioning method provided in the embodiment of the present application can accurately determine the physical device with a specific fault and provide a backup line so that it can effectively transmit the satellite signal received by the antenna to the first resource module, so as to locate the electronic device based on the satellite signal through the first resource module. In this way, the stability of the positioning system of the electronic device itself can be guaranteed, so as to continuously receive satellite signals, ensure the accuracy of positioning the electronic device, and improve the positioning efficiency.

[0037] In summary, when the location information of the electronic device is not detected, it is necessary to determine whether the problem is with the receiving device of the entity that receives the satellite signal in the electronic device or with the first resource module that processes the satellite signal. In this way, by obtaining whether the first satellite signal sent from the receiving device to the first resource module meets the preset conditions, the part where the problem occurs is determined, and targeted solutions are attached. Among them, when the first satellite signal meets the first preset condition, it is determined that the problem is with the first resource module when the positioning is abnormal. In this way, it is necessary to restart the first resource module to locate the electronic device based on the first satellite signal transmitted by the entity device. On the contrary, when the first satellite signal does not meet the first preset condition, it is determined that the problem is with the entity device when the positioning is abnormal. In this way, it is necessary to obtain the second satellite signal sent from the antenna to the receiving device, and transmit the second satellite signal to the first resource module to locate the electronic device based on the second satellite signal. In this way, the stability of the positioning system of the electronic device itself can be guaranteed, so as to continuously receive satellite signals, ensure the accuracy of positioning the electronic device, and improve the positioning efficiency.

[0038] It should be noted that the positioning method provided in the embodiment of the present application can be applied not only to the above-mentioned positioning scenario for maintaining the satellite positioning stability of the electronic device itself, but also to any positioning device for maintaining the satellite positioning stability.

[0039] According to the above application scenarios, the following Figure 4 The positioning method provided in the embodiment of the present application is described in detail.

[0040] Figure 4 A flowchart of a positioning method provided in an embodiment of the present application.

[0041] like Figure 4 As shown, this positioning method can be applied to Figures 1 to 3 The electronic device shown, based on this, can specifically include the following steps:

[0042] Step 410, when the electronic device location information is not detected, when the electronic device location information is not detected, obtain a first satellite signal, the first satellite signal is a signal output by the receiving device, and is an input signal of the first resource module in the electronic device. Step 420, when the first satellite signal meets the first preset condition, restart the first resource module to locate the electronic device based on the first satellite signal. Step 430, when the first satellite signal does not meet the first preset condition, obtain a second satellite signal, and transmit the second satellite signal to the first resource module through the target path, the second satellite signal is a signal output by the antenna in the electronic device, and is a signal input by the receiving device.

[0043] In this way, when the location information of the electronic device is not detected, it is necessary to determine whether the problem is with the receiving device of the entity that receives the satellite signal in the electronic device or with the first resource module that processes the positioning signal. Thus, by obtaining whether the first satellite signal sent from the receiving device to the first resource module meets the preset conditions, the part where the problem occurs is determined, and targeted solutions are attached. Among them, when the first satellite signal meets the first preset condition, it is determined that the problem is with the first resource module when the positioning is abnormal. In this way, it is necessary to restart the first resource module to locate the electronic device based on the first satellite signal transmitted by the entity device. On the contrary, when the first satellite signal does not meet the first preset condition, it is determined that the problem is with the entity device when the positioning is abnormal. In this way, it is necessary to obtain the second satellite signal sent from the antenna to the receiving device, and transmit the second satellite signal to the first resource module to locate the electronic device based on the second satellite signal. In this way, the stability of the positioning system of the electronic device itself can be guaranteed, so as to continuously receive satellite signals, ensure the accuracy of positioning the electronic device, and improve the positioning efficiency.

[0044] The above steps are described in detail below:

[0045] First, involving step 410, in one or more optional embodiments, the satellite signal, namely the first satellite signal, is a satellite signal sent by a global navigation satellite system to the electronic device, and the receiving device is a physical device in the electronic device that receives the satellite signal.

[0046] Next, referring to step 420, in one or more optional embodiments, before the step of restarting the first resource module involved in step 420, the positioning method may further include steps 3201 to 3204, as specifically shown below.

[0047] Step 3201: Obtain a first output result output by a first resource module.

[0048] Step 3202: When the first output result satisfies the second preset condition, determine an abnormal resource module in the first resource module.

[0049] Step 3203: When preset adjustment information corresponding to the abnormal resource module is stored, the abnormal resource module is adjusted based on the preset adjustment information to obtain a second resource module.

[0050] Step 3204: Position the electronic device using the second resource module and the first satellite signal.

[0051] Exemplarily, when it is detected that the electronic device has no position information reported, it is confirmed whether the satellite signal is lost. If there is a first satellite signal and the signal strength of the first satellite signal does not show obvious jitter compared with the historical satellite signal, it means that there is no abnormality in the partial path from the receiving device to the first resource module, and it is determined that an abnormal resource module appears inside the first resource module, which makes it impossible to locate the electronic device. At this time, the repair operation is started, that is, the first resource module is restarted and the position is recalculated. When no output result is detected after restarting, it is determined that there is an abnormal resource module in the first resource module, and then the abnormal resource module is adjusted based on the preset adjustment information.

[0052] Furthermore, the opposite possibility to step 3203, that is, after step 3202, the positioning method may also include: when no preset adjustment information corresponding to the abnormal resource module is stored, displaying a second prompt information, the second prompt information is used to prompt that there is an abnormal resource module in the first resource module, and prompting the user to adjust the abnormal resource module.

[0053] Secondly, with respect to step 430, according to the number of receiving devices and the locations where satellite signals are acquired, the embodiments of the present application provide the following two positioning examples, as shown below.

[0054] Example 1, such as Figure 5 As shown, if the first satellite signal is sent from the receiving device to the first resource module that processes the first satellite signal, that is, detection point 1, then if there is no satellite signal at detection point 1, it can be preliminarily determined that the abnormal part is the receiving device part.

[0055] Example 2: If the receiving device is a plurality of receiving devices, step 430 may specifically include:

[0056] Step 3304: Detect the third satellite signal at the output end of each of the plurality of receiving devices. Here, the receiving device connected to the antenna may be Figure 5 The low noise amplifier 502 in the process begins to traverse each receiving device in turn.

[0057] Step 3305: When it is detected that the third satellite signal output by the first receiving device among the multiple receiving devices does not meet the fourth preset condition, the third satellite signal output by the second receiving device is transmitted to the first resource module through the target path; wherein the second receiving device is the receiving device before the first receiving device.

[0058] For example, Figure 5As shown, the receiving device 101 may include a low noise amplifier 502, a band pass filter 503, a downconverter 504, a band pass filter 505, an automatic gain control 506, an analog-to-digital converter 507, and a tracking module 508. Here, the detection point 6 between the band pass filter 503 and the downconverter 504 and the detection point 3 between the automatic gain control 506 and the analog-to-digital converter 507 are taken as examples for description.

[0059] When it is detected that the detection point 6 does not contain the third satellite signal, it is determined that the bandpass filter 503 fails, and the third satellite signal output by the second receiving device, i.e., the low noise amplifier 502, is transmitted to the first resource module through the target path 7. Similarly, when it is detected that the detection point 3 does not contain the third satellite signal, it is determined that the automatic gain control 506 fails, and the second satellite signal output by the second receiving device, i.e., the bandpass filter 505, is transmitted to the first resource module through the target path 4.

[0060] In addition, in one or more possible embodiments, after step 3304, the positioning method may further include:

[0061] Detecting a number of receiving devices whose third satellite signal outputted from an output terminal of each receiving device does not satisfy a fourth preset condition, where the number of receiving devices is used to indicate the number of faulty devices in the plurality of receiving devices;

[0062] When the first component quantity value satisfies the fifth preset condition, a third prompt information is displayed, where the third prompt information is used to prompt that there is a faulty component among the multiple receiving components, so as to prompt the user to repair the faulty component.

[0063] For example, Figure 5 As shown, the receiving device 101 may include a low noise amplifier 502, a band pass filter 503, a downconverter 504, a band pass filter 505, an automatic gain control 506, an analog-to-digital converter 507, and a tracking module 508. Here, the detection point 6 between the band pass filter 503 and the downconverter 504 and the detection point 3 between the automatic gain control 506 and the analog-to-digital converter 507 are taken as examples for description.

[0064] When it is detected that detection point 6 does not include the second satellite signal, it is determined that the bandpass filter 505 is faulty, and the value of the number of marked devices is 1. Next, when it is detected that detection point 3 does not include the satellite signal, it is determined that the automatic gain control 506 is faulty, and the value of the number of marked devices is 2. When the value of the number of devices is the same as the number of physical devices included in the receiving device 101, it is prompted that there are faulty devices in the multiple receiving devices, so as to prompt the user to repair the faulty devices; or when the value of the number of devices is greater than or equal to half of the number of physical devices included in the receiving device 101, the existing faulty devices are counted to prompt the user to repair the faulty devices.

[0065] In addition, in order to ensure that the satellite signal is transmitted to the first resource module so as to locate the electronic device based on the satellite signal through the first resource module, the signal detection module in the embodiment of the present application can provide a function of replacing the faulty device in addition to detecting the faulty device to ensure that the satellite signal is transmitted to the first resource module. For example, when it is detected that the detection point 6 does not contain the satellite signal, it is determined that the bandpass filter 503 is faulty, and the detection switch 7 corresponding to the previous entity device of the bandpass filter 503, that is, the low noise amplifier 502, is turned on through the target path 7, so that it is connected to the first resource module 102 through the switch 7, and the satellite signal is transmitted to the first resource module 102 through the path where the switch 7 is located. Similarly, if it is detected that the detection point 3 does not contain the satellite signal, it is determined that the automatic gain control 506 is faulty, and the detection switch 4 corresponding to the previous entity device of the automatic gain control 506, that is, the bandpass filter 505, is turned on through the target path 4, so that it is connected to the first resource module 102 through the switch 4, and the satellite signal is transmitted to the first resource module 102 through the path where the switch 4 is located.

[0066] Based on this, in addition to determining that the abnormal part is the receiving device part in the above method, there is another possibility that environmental factors affect the electronic device's reception of satellite signals. Based on this, step 30 may specifically include:

[0067] Step 3301, when it is detected that the second satellite signal does not meet the third preset condition, it can be determined whether the electronic device is in the first area according to the most recently determined location information of the electronic device, and the first area may include an area blocking the satellite signal. Here, the third preset condition may include being lower than a preset threshold value such as 1.

[0068] Step 3302: When it is determined that the electronic device is in the first area, continuously acquire the second satellite signal, and transmit the acquired second satellite signal to the first resource module through the target path.

[0069] On the contrary, that is, after determining whether the electronic device is in the first area, the positioning method provided by the embodiment of the present application may further include: when it is determined that the electronic device is not in the first area, determining that the antenna is a faulty component.

[0070] In one or more possible embodiments, after step 3302, the positioning method may further include:

[0071] The third prompt information is displayed, and the third prompt information is used to prompt that the receiving device is not faulty and the electronic device is in the first area. For example, if the electronic device is in a target area such as a tunnel and cannot receive satellite signals, it means that it is indeed affected by the environment. The electronic device may be working in a non-GPS environment, resulting in weak signals. This is a normal phenomenon. When the device moves to an environment with signals, the satellite signals are recaptured through the receiving device.

[0072] Therefore, when the electronic device location information is not detected, it is necessary to determine whether the problem is with the receiving device of the entity that receives the satellite signal in the electronic device or with the first resource module that processes the satellite signal. Therefore, by obtaining whether the first satellite signal sent from the receiving device to the first resource module meets the preset conditions, the part where the problem occurs is determined, and targeted solutions are attached. Among them, when the first satellite signal meets the first preset condition, it is determined that the problem is with the first resource module when the positioning is abnormal. In this way, it is necessary to restart the first resource module to locate the electronic device based on the first satellite signal transmitted by the entity device. On the contrary, when the first satellite signal does not meet the first preset condition, it is determined that the problem is with the entity device when the positioning is abnormal. In this way, it is necessary to obtain the second satellite signal sent from the antenna to the receiving device, and transmit the second satellite signal to the first resource module to locate the electronic device based on the second satellite signal. In this way, the stability of the positioning system of the electronic device itself can be guaranteed, so as to continuously receive satellite signals, ensure the accuracy of positioning the electronic device, and improve the positioning efficiency.

[0073] It should be noted that the positioning method provided in the embodiment of the present application can be executed by a positioning device or a control module in the positioning device for executing the positioning method. In the embodiment of the present application, the positioning device provided in the embodiment of the present application is described by taking the positioning method executed by the positioning device as an example.

[0074] Based on the same inventive concept, the present application also provides a positioning device. Figure 6 Provide detailed explanation.

[0075] Figure 6 A schematic diagram of the structure of a positioning device provided in an embodiment of the present application.

[0076] like Figure 6As shown, the positioning device 60 is used as follows Figures 1 to 3 The electronic device shown may specifically include:

[0077] The acquisition module 601 is used to acquire a first satellite signal when the electronic device location information is not detected, where the first satellite signal is a signal output by a receiving device and is an input signal of a first resource module in the electronic device;

[0078] The processing module 602 is used to restart the first resource module when the first satellite positioning information meets the first preset condition, so as to locate the electronic device based on the first satellite signal;

[0079] The transmission module 603 is used to obtain a second satellite signal when the first satellite signal does not meet the first preset condition, and transmit the second satellite signal to the first resource module through a target path. The second satellite signal is a signal output by an antenna in an electronic device and a signal input by a receiving device.

[0080] The positioning device 60 is described in detail below, as shown below:

[0081] In one or more possible embodiments, the positioning device 60 further includes a determination module, an adjustment module and a positioning module; wherein,

[0082] The acquisition module is further used to acquire a first output result output by the first resource module;

[0083] A determination module, configured to determine an abnormal resource module in the first resource module when the first output result satisfies a second preset condition;

[0084] An adjustment module, used to adjust the abnormal resource module according to preset adjustment information corresponding to the abnormal resource module to obtain a second resource module;

[0085] The positioning module is used to locate the electronic device through the second resource module and the first satellite signal.

[0086] In another or more possible embodiments, the transmission module 603 is specifically configured to, when it is detected that the second satellite signal of the antenna does not meet the third preset condition, determine whether the electronic device is in the first area;

[0087] When it is determined that the electronic device is in the first area, the second satellite signal is continuously acquired, and the acquired second satellite signal is transmitted to the first resource module through the target path.

[0088] In one or more possible embodiments, the transmission module 603 is specifically configured to, when the receiving device is a plurality of receiving devices, respectively detect the third satellite signal at output ends of the plurality of receiving devices;

[0089] When it is detected that the third satellite signal output by the first receiving device among multiple receiving devices does not meet the fourth preset condition, the third satellite signal output by the second receiving device is transmitted to the first resource module through the target path; wherein the second receiving device is the receiving device before the first receiving device.

[0090] Based on this, the positioning device 60 also includes a recording module and a third display module; wherein,

[0091] a recording module, used to detect the number of devices whose third satellite signal at the output end of each receiving device among the multiple receiving devices does not meet the fourth preset condition, the device number value is used to indicate the number of faulty devices among the multiple receiving devices;

[0092] The third display module is used to display a first prompt message when the device quantity value meets a fifth preset condition, wherein the first prompt message is used to prompt that there is a faulty device among the multiple receiving devices.

[0093] The positioning device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in an electronic device. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0094] The positioning device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0095] The positioning device provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0096] In an embodiment of the present application, when the location information of the electronic device is not detected, it is necessary to determine whether the problem is a receiving entity device that receives satellite signals in the electronic device or a problem of the first resource module that processes satellite signals. Thus, by obtaining whether the first satellite signal sent from the receiving device to the first resource module meets the preset conditions, the part where the problem occurs is determined, and targeted solutions are attached. Among them, when the first satellite signal meets the first preset condition, it is determined that the problem is the first resource module when the positioning is abnormal. In this way, it is necessary to restart the first resource module to locate the electronic device based on the first satellite signal transmitted by the entity device. On the contrary, when the first satellite signal does not meet the first preset condition, it is determined that the problem is the entity device when the positioning is abnormal. In this way, it is necessary to obtain the second satellite signal sent from the antenna to the adjacent device, and transmit the second satellite signal to the first resource module to locate the electronic device based on the second satellite signal. In this way, the stability of the positioning system of the electronic device itself can be guaranteed, so as to continuously receive satellite signals, ensure the accuracy of positioning the electronic device, and improve the positioning efficiency.

[0097] Optional, such as Figure 7 As shown, an embodiment of the present application also provides an electronic device 70, including a processor 701, a memory 702, and a program or instruction stored in the memory 702 and executable on the processor 701. When the program or instruction is executed by the processor 701, each process of the above-mentioned positioning method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0098] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0099] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0100] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a receiver.

[0101] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0102] In this embodiment of the present application, the processor 810 is used to obtain a first satellite signal when the location information of the electronic device is not detected. The first satellite signal is a signal output by the receiving device and is an input signal of a first resource module in the electronic device.

[0103] The processor 810 is also used to restart the first resource module when the first satellite signal meets the first preset condition to locate the electronic device based on the first satellite signal; and to acquire the second satellite signal when the first satellite signal does not meet the first preset condition, and transmit the second satellite signal to the first resource module through the target path, wherein the second satellite signal is a signal output by the antenna in the electronic device and a signal input by the receiving device.

[0104] In one or more possible embodiments, the processor 810 is also used to obtain a first output result output by the first resource module; when the first output result satisfies a second preset condition, determine an abnormal resource module in the first resource module; adjust the abnormal resource module according to preset adjustment information corresponding to the abnormal resource module to obtain a second resource module; and locate the electronic device through the second resource module and the first satellite signal.

[0105] In another or more possible embodiments, the processor 810 is also used to, when it is detected that the second satellite signal does not meet the third preset condition, determine whether the electronic device is in the first area; when it is determined that the electronic device is in the first area, continuously acquire the second satellite signal and transmit the acquired second satellite signal to the first resource module through the target path.

[0106] In one or more possible embodiments, the processor 810 is further used to, when there are multiple receiving devices, respectively detect the third satellite signals at the output ends of the multiple receiving devices; when it is detected that the third satellite signal at the output end of the first receiving device among the multiple receiving devices does not meet the fourth preset condition, transmit the third satellite signal output by the second receiving device to the first resource module through the target path; wherein the second receiving device is the receiving device before the first receiving device.

[0107] Based on this, the processor 810 is further used to detect the number of devices whose third satellite signal at the output end of each receiving device in the multiple receiving devices does not meet the fourth preset condition, and the device number value is used to indicate the number of faulty devices in the multiple receiving devices. Based on this, the display unit 806 is also used to display a first prompt message when the device number value meets the fifth preset condition, and the first prompt message is used to prompt that there is a faulty device in the multiple receiving devices.

[0108] It should be understood that the input unit 804 may include a graphics processor (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static image or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel, and the display panel may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 809 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 810 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, etc., and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 810.

[0109] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned positioning method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0110] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0111] In addition, an embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned positioning method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0112] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0113] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0114] In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

[0115] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0116] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A positioning method, characterized in that: include: In the case where the location information of the electronic device is not detected, a first satellite signal is acquired, where the first satellite signal is a signal output by a receiving device and is an input signal of a first resource module in the electronic device; When the first satellite signal satisfies a first preset condition, restarting the first resource module to locate the electronic device based on the first satellite signal, wherein the first preset condition includes that a satellite signal exists and the strength of the satellite signal is greater than or equal to a threshold; When the first satellite signal does not meet the first preset condition, a second satellite signal is acquired and transmitted to the first resource module through a target path, wherein the second satellite signal is a signal output by an antenna in the electronic device and a signal input by the receiving device.

2. The method according to claim 1, characterized in that: After restarting the first resource module, the method further includes: Obtaining a first output result output by the first resource module; When the first output result satisfies a second preset condition, determining an abnormal resource module in the first resource module; Adjust the abnormal resource module according to preset adjustment information corresponding to the abnormal resource module to obtain a second resource module; The electronic device is positioned by using the second resource module and the first satellite signal.

3. The method according to claim 1, characterized in that The acquiring of the second satellite signal and transmitting the second satellite signal to the first resource module through a target path includes: In the case where it is detected that the second satellite signal does not satisfy a third preset condition, determining whether the electronic device is in a first area; When it is determined that the electronic device is in the first area, the second satellite signal is continuously acquired, and the acquired second satellite signal is transmitted to the first resource module through a target path.

4. The method according to claim 1, characterized in that: The acquiring of the second satellite signal and transmitting the second satellite signal to the first resource module through a target path includes: In the case where the receiving device is a plurality of receiving devices, respectively detecting the third satellite signal at output ends of the plurality of receiving devices; When it is detected that the third satellite signal output by the first receiving device among multiple receiving devices does not meet the fourth preset condition, the third satellite signal output by the second receiving device is transmitted to the first resource module through the target path; wherein the second receiving device is the receiving device before the first receiving device.

5. The method according to claim 4, characterized in that After respectively detecting the third satellite signal at output ends of a plurality of receiving devices, the method further comprises: Detecting a number of receiving devices whose third satellite signal outputted from an output terminal of each receiving device does not satisfy a fourth preset condition, wherein the number of receiving devices is used to indicate the number of faulty devices in the plurality of receiving devices; When the number of components meets the fifth preset condition, first prompt information is displayed, where the first prompt information is used to prompt that there is a faulty component among the multiple receiving components.

6. A positioning device, characterized in that: include: an acquisition module, configured to acquire a first satellite signal when the electronic device location information is not detected, wherein the first satellite signal is a signal output by a receiving device and is an input signal of a first resource module in the electronic device; a processing module, configured to restart the first resource module to locate the electronic device based on the first satellite signal when the first satellite signal satisfies a first preset condition, wherein the first preset condition includes that a satellite signal exists and the strength of the satellite signal is greater than or equal to a threshold; A transmission module is used to acquire a second satellite signal when the first satellite signal does not meet the first preset condition, and transmit the second satellite signal to the first resource module through a target path, wherein the second satellite signal is a signal output by an antenna in the electronic device and a signal input by the receiving device.

7. The device according to claim 6, characterized in that The positioning device also includes a determination module, an adjustment module and a positioning module; wherein, The acquisition module is further used to acquire a first output result output by the first resource module; The determining module is used to determine an abnormal resource module in the first resource module when the first output result satisfies a second preset condition; The adjustment module is used to adjust the abnormal resource module according to the preset adjustment information corresponding to the abnormal resource module to obtain a second resource module; The positioning module is used to locate the electronic device through the second resource module and the first satellite signal.

8. The device according to claim 6, characterized in that The transmission module is specifically configured to determine whether the electronic device is in the first area when it is detected that the second satellite signal does not meet a third preset condition; When it is determined that the electronic device is in the first area, the second satellite signal is continuously acquired, and the acquired second satellite signal is transmitted to the first resource module through a target path.

9. The device according to claim 6, characterized in that The transmission module is specifically used for respectively detecting the third satellite signals at the output ends of the plurality of receiving devices when the receiving device is a plurality of receiving devices; When it is detected that the third satellite signal output by the first receiving device among multiple receiving devices does not meet the fourth preset condition, the third satellite signal output by the second receiving device is transmitted to the first resource module through the target path; wherein the second receiving device is the receiving device before the first receiving device.

10. The device according to claim 6, characterized in that The positioning device also includes a recording module and a third display module; wherein, The recording module is used to detect the number of devices whose third satellite signal at the output end of each receiving device among the multiple receiving devices does not meet the fourth preset condition, and the device number value is used to indicate the number of faulty devices among the multiple receiving devices; The third display module is used to display first prompt information when the device quantity value meets the fifth preset condition, and the first prompt information is used to prompt that there is a faulty device among the multiple receiving devices.

11. An electronic device, characterized in that: It comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the positioning method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and system for navigation systems

    CN101389974A

  • Debugging method and device for online positioning and positioning system

    CN108508459A