Positioning information processing method and device and storage medium
By acquiring and displaying the positioning information of the computing device at the kernel layer, the problem of insufficient transparency management of the application positioning process in the prior art is solved, and the transparency to users is improved.
Patent Information
- Application Number
- CN202311360925.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-19
- Publication Date
- 2025-04-22
AI Technical Summary
In the prior art, when computing devices provide positioning functions, they lack transparency management of application positioning processes, making it difficult for users to grasp the specific situation of the application when acquiring position information.
By responding to the positioning display selection operation input by the user at the kernel layer, the positioning information of the target application, including satellite status information, is obtained and sent to the display device for display.
The system side passively acquires and displays the positioning information during the application positioning process, without registering a callback, and the current satellite status information can be displayed as long as the application side requests positioning, improving the transparency of the application positioning process.
Smart Images

Figure CN119861389A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer communications, and in particular to a positioning information processing method, device and storage medium. Background Art
[0002] With the popularization of computing devices, applications on computing devices can provide users with rich functions. For example, mobile phones, tablet computers, laptops, etc. can provide video functions, communication functions, positioning functions, etc.
[0003] Among them, the positioning function is usually used by the application to obtain the user's current location information on a computing device with a positioning function for subsequent business processing. For example, a map application can use the positioning function to help users determine their current geographical location; a food delivery application can use the positioning function to help users determine the delivery address, etc.
[0004] In order to use some services of an application, it is usually necessary to open the application's permission to perform positioning. However, the user's current location information is user privacy. Therefore, the computing device needs to manage the relevant circumstances of the application's positioning and improve the transparency of the application's positioning process. Summary of the invention
[0005] In order to overcome the problems existing in the related art, the present disclosure provides a positioning information processing method, device and storage medium.
[0006] According to a first aspect of an embodiment of the present disclosure, a positioning information processing method is provided, the method comprising:
[0007] In response to a positioning display selection operation input by a user, in the process of reporting the positioning information to the target application at the kernel layer, the positioning information is obtained; wherein the positioning information at least includes satellite status information;
[0008] The positioning information is sent to a display device so that the display device displays the positioning information.
[0009] In some embodiments, in response to the positioning display selection operation input by the user, in the process of the kernel layer reporting the positioning information to the target application, obtaining the positioning information includes:
[0010] When the target application calls the positioning service, the kernel layer reports the positioning information to the target application;
[0011] In response to a positioning display selection operation input by a user, the positioning information is acquired during a process in which the kernel layer reports the positioning information to a target application.
[0012] In some embodiments, the method further comprises:
[0013] The acquired positioning information is sent to other display devices or other applications by broadcasting.
[0014] In some embodiments, the satellite status information includes at least one of the following: the number of satellites, the satellite number, the satellite altitude angle, the satellite azimuth angle, the satellite position, and the satellite signal carrier-to-noise ratio.
[0015] In some embodiments, the method further comprises:
[0016] determining satellite signal quality based on the satellite status information;
[0017] Sending the positioning information to a display device so that the display device displays the positioning information includes:
[0018] The satellite status information and / or the satellite signal quality are sent to a display device, so that the display device displays the satellite status information and / or the satellite signal quality.
[0019] In some embodiments, sending the positioning information to a display device so that the display device displays the positioning information includes:
[0020] Sending display image data corresponding to the satellite signal quality to a display device so that the display device displays the display image data through a status bar; wherein the display image data includes: a status bar icon for indicating the satellite signal quality.
[0021] In some embodiments, the method further comprises:
[0022] Storing the acquired positioning information in a preset information set;
[0023] The positioning information also includes a calling time period of the positioning service;
[0024] When the amount of the positioning information in the preset information set meets a preset condition, the satellite signal quality in different time periods of the area where the running device of the target application is located is determined based on the calling time period and the satellite signal quality within the calling time period.
[0025] In some embodiments, the method further comprises:
[0026] Storing the acquired positioning information in a preset information set;
[0027] The positioning information also includes the location information of the running device of the target application;
[0028] When the amount of the positioning information in the preset information set meets a preset condition, determining a coverage area based on all the position information;
[0029] The coverage area is divided based on the satellite signal quality corresponding to the location information to form a satellite signal quality distribution map; wherein the satellite signal quality distribution map includes at least a first area and a second area; the satellite signal qualities of the first area and the second area are different.
[0030] According to a second aspect of an embodiment of the present disclosure, there is provided a positioning information processing device, including:
[0031] The system acquisition module is configured to obtain the positioning information in response to the positioning display selection operation input by the user in the process of reporting the positioning information to the target application at the kernel layer; wherein the positioning information at least includes satellite status information;
[0032] The system control module is configured to send the positioning information to the display device so that the display device displays the positioning information.
[0033] In some embodiments, the system acquisition module is configured to, when the target application calls a positioning service, report positioning information to the target application at the kernel layer;
[0034] In response to a positioning display selection operation input by a user, the positioning information is acquired during a process in which the kernel layer reports the positioning information to a target application.
[0035] In some embodiments, the apparatus further comprises:
[0036] The system broadcast module is configured to send the acquired positioning information to other display devices or other applications by broadcasting.
[0037] In some embodiments, the satellite status information includes at least one of the following: the number of satellites, the satellite number, the satellite altitude angle, the satellite azimuth angle, the satellite position, and the satellite signal carrier-to-noise ratio.
[0038] In some embodiments, the apparatus further comprises:
[0039] a system display module configured to determine satellite signal quality based on the satellite status information;
[0040] The system control module is configured to send the satellite status information and / or the satellite signal quality to a display device, so that the display device displays the satellite status information and / or the satellite signal quality.
[0041] In some embodiments, the system display module is configured to send display image data corresponding to the satellite signal quality to a display device so that the display device displays the display image data through a status bar; wherein the display image data includes: a status bar icon for indicating the satellite signal quality.
[0042] In some embodiments, the apparatus further comprises:
[0043] A first application module, configured to store the acquired positioning information into a preset information set;
[0044] The positioning information also includes a calling time period of the positioning service;
[0045] When the amount of the positioning information in the preset information set meets a preset condition, the satellite signal quality in different time periods of the area where the running device of the target application is located is determined based on the calling time period and the satellite signal quality within the calling time period.
[0046] In some embodiments, the apparatus further comprises:
[0047] A second application module is configured to store the acquired positioning information into a preset information set;
[0048] The positioning information also includes the location information of the running device of the target application;
[0049] When the amount of the positioning information in the preset information set meets a preset condition, determining a coverage area based on all the position information;
[0050] The coverage area is divided based on the satellite signal quality corresponding to the location information to form a satellite signal quality distribution map; wherein the satellite signal quality distribution map includes at least a first area and a second area; the satellite signal qualities of the first area and the second area are different.
[0051] According to a third aspect of an embodiment of the present disclosure, there is provided a positioning information processing device, including:
[0052] processor;
[0053] a memory configured to store processor-executable instructions;
[0054] Wherein, the processor is configured to: implement the steps in any one of the positioning information processing methods in the first aspect when executed.
[0055] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a positioning information processing device, the device is enabled to perform the steps of any one of the positioning information processing methods in the first aspect above.
[0056] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0057] The present disclosure provides a method for processing positioning information, the method comprising: in response to a positioning display selection operation input by a user, in the process of reporting positioning information to a target application at the kernel layer, obtaining the positioning information; wherein the positioning information at least includes satellite status information; and sending the positioning information to a display device so that the display device displays the positioning information. The positioning information in the positioning process of the target application is passively obtained and displayed by the system side, and there is no need to register a callback on the system side. As long as the application side (target application) requests positioning, the current satellite status information can be displayed. In this way, the specific situation of the application positioning process can be easily grasped, and the transparency of the application positioning process to the user is improved.
[0058] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0060] Figure 1 is a flowchart of a method for processing positioning information according to an exemplary embodiment;
[0061] Figure 2 is a schematic diagram of a registration monitoring process according to an exemplary embodiment;
[0062] Figure 3 is a satellite signal quality distribution diagram shown according to an exemplary embodiment;
[0063] Figure 4 is a schematic diagram showing a principle of an application positioning process according to an exemplary embodiment;
[0064] Figure 5 is a block diagram of a positioning information processing device according to an exemplary embodiment;
[0065] Figure 6 The figure is a hardware structure block diagram of a positioning information processing device according to an exemplary embodiment. DETAILED DESCRIPTION
[0066] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0067] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0068] With the popularization of computing devices, applications on computing devices can provide users with rich functions. For example, mobile phones, tablet computers, laptops, etc. can provide video functions, communication functions, positioning functions, etc.
[0069] Among them, the positioning function is usually used by the application to obtain the user's current location information on a computing device with a positioning function for subsequent business processing. For example, a map application can use the positioning function to help users determine their current geographical location; a food delivery application can use the positioning function to help users determine the delivery address, etc.
[0070] In order to use some services of an application, it is usually necessary to open the application's permission to perform positioning. However, the user's current location information is user privacy. Therefore, the computing device needs to manage the relevant circumstances of the application's positioning and improve the transparency of the application's positioning process.
[0071] To this end, the present disclosure proposes a positioning information processing method, which can passively obtain relevant information of the application positioning process and improve the transparency of the application positioning process.
[0072] First, the process of positioning the application is explained.
[0073] When positioning is performed in the device according to application requirements, it is necessary to first register the positioning service for the application, so as to facilitate the allocation of positioning resources for the application, and then positioning can be performed based on the registered positioning service, the current positioning information of the device can be obtained and sent to the application for subsequent business processing.
[0074] The application can perform multiple positioning operations based on the registered positioning service, and then the registered positioning service can be deregistered by the user or automatically to release positioning resources.
[0075] The positioning service may specifically be a program for invoking the positioning function of the device.
[0076] When positioning is performed based on a positioning service, the positioning service may obtain positioning information through different positioning methods, or obtain positioning information from different location information providers.
[0077] The positioning methods may specifically include satellite positioning, base station positioning, network IP positioning, etc.
[0078] By passively acquiring the above application location information, it is possible to easily grasp the specific circumstances of the application location process and improve the transparency of the application location process.
[0079] In order to improve the user's understanding of the application positioning process and increase the transparency of the application positioning process to the user, the acquired positioning information can be displayed to the user.
[0080] Specifically, it can be displayed on the device screen for users to view.
[0081] For example, the acquired positioning information is displayed on the mobile phone desktop, or when the user triggers the display function, the passively acquired positioning information is displayed on the interface.
[0082] Figure 1 The following is a flow chart of a method for processing positioning information according to an exemplary embodiment. Figure 1 ,like Figure 1 As shown, the method mainly includes the following steps:
[0083] In step 11, in response to a positioning display selection operation input by a user, in the process of reporting positioning information to a target application at the kernel layer, the positioning information is acquired; wherein the positioning information at least includes satellite status information;
[0084] In step 12, the positioning information is sent to a display device so that the display device displays the positioning information.
[0085] The embodiments of the present disclosure do not limit the execution subject of the method. Optionally, it can be applied to any computing device, specifically a mobile terminal device, a server device, a client device, etc. For example, a mobile phone, a tablet computer, a smart bracelet, AR glasses, etc. Among them, the execution subject can have a positioning service and can provide a positioning function.
[0086] In the disclosed embodiment, the system side of the executing main device passively obtains and displays the positioning information of the target application during the positioning process. There is no need to register a callback on the system side. As long as the application side (target application) requests positioning, the current satellite status information can be displayed. In this way, the specific situation of the application positioning process can be easily grasped, thereby improving the transparency of the application positioning process to the user.
[0087] Here, the positioning display selection operation input by the user may be generated based on the way in which the user triggers the display. For example, the execution subject device determines that the positioning information needs to be displayed based on the user's trigger operation.
[0088] In some embodiments, the positioning information may be reported by the kernel layer to the application side of the execution subject device, wherein the kernel layer may be a Linux kernel layer, which provides underlying drivers for various hardware of a terminal equipped with an Android system.
[0089] In a specific example, a "positioning display button" can be designed on the UI (User Interface) side of the execution subject device. The turning on (selection) and off (cancellation) of the positioning display button determines whether the system of the execution subject device enables the positioning display function. When the positioning display button is turned on, that is, the user inputs the positioning display selection operation, the system side enables the function. When the positioning display button is turned off, that is, the user inputs the positioning display cancellation operation, the system side turns off the function.
[0090] In some embodiments, in response to the positioning display selection operation input by the user, in the process of the kernel layer reporting the positioning information to the target application, obtaining the positioning information includes:
[0091] When the target application calls the positioning service, the kernel layer reports the positioning information to the target application;
[0092] In response to a positioning display selection operation input by a user, the positioning information is acquired during a process in which the kernel layer reports the positioning information to a target application.
[0093] In the disclosed embodiment, the positioning information of the target application is obtained passively. Here, "passive" can be understood as non-active, that is, the system side of the executing subject device can only perform the action of obtaining positioning information when the target application calls the positioning service, and there is no need to perform the action of actively obtaining positioning information such as registration callback, so there is no additional power consumption and no need to run all day. It should be noted that the above process of obtaining positioning information is based on the premise that the positioning display button is turned on, that is, the user enters the positioning display selection operation.
[0094] In the embodiment of the present disclosure, the system executing the main device can obtain the positioning information when the kernel layer reports the positioning information to the target application, under the premise that the user inputs the positioning display selection operation and the target application calls the positioning service.
[0095] Here, when the mobile phone turns on the location information switch, it means that the mobile phone application (system or third-party APK) is allowed to use the location service. Based on this, after the user enters the location display selection operation, the system side can passively obtain the location information based on the third-party application's request for location information. And it can be visualized and displayed (real time) on the UI side, which is the most intuitive and user-friendly, allowing users to have an intuitive understanding of the satellite status information during the positioning process of their own devices.
[0096] The present disclosure does not limit the target application. The target application can be any application in the device. For the convenience of description, all applications that can call positioning services are called target applications. The positioning information to be obtained includes at least satellite status information.
[0097] It should be noted that this method flow is explained for a target application, and for multiple different applications, this method flow can be used for each application to obtain and display positioning information, thereby improving the transparency of the positioning process of each application.
[0098] The present disclosure also does not limit the running device of the target application. Optionally, the target application can be run on the execution subject, or on other devices other than the execution subject.
[0099] Optionally, the target application can be run on other devices and positioned with the aid of the device of the execution subject. For example, the target application can be run on a smart bracelet and positioned via a mobile phone connected via Bluetooth.
[0100] The present disclosure does not limit the specific form of the positioning service, as long as the positioning service can be used for positioning. Optionally, the positioning service can be a Location-Manager-Service in the Android system, or a positioning engine control module in the device to control the positioning engine for positioning.
[0101] The present disclosure does not limit the method of positioning based on the positioning service. Optionally, the positioning service obtains the positioning information through different positioning methods, or obtains the positioning information from different positioning information providers. For details, please refer to the above explanation.
[0102] The present disclosure does not limit the form of the display device. Optionally, the display device can be other devices other than the execution subject device, used for information display. The display device can also be a part of the execution subject device, integrated with the execution subject device.
[0103] For example, the execution subject device may be a mobile terminal with a positioning service, and the display device may be a VR glasses connected to the execution subject device, so that the application positioning information in the mobile terminal can be displayed on the VR glasses for users to view. Specifically, it may be connected via Bluetooth or wired.
[0104] Of course, the VR glasses here are only used for exemplary explanation, and it is understandable that other devices with display functions can also be used as display devices, such as LED screens, mobile phones, computers, screens of various devices, and so on.
[0105] For another example, the execution subject device may be a mobile terminal with a positioning service, and the display device may be a GPU and a display panel integrated with the mobile terminal. The mobile terminal may be a mobile phone, and the display device may be a mobile phone screen for displaying positioning information.
[0106] As described above, the specific process of the target application calling the positioning service in the embodiment of the present disclosure may be: first register the positioning service for the target application, then perform positioning based on the registered positioning service, obtain the current positioning information of the device and report it to the target application.
[0107] In the process of the target application calling the positioning service, positioning can be performed after registering the positioning service, and the positioning service can be deregistered after the positioning is completed.
[0108] Figure 2 is a schematic diagram of a registration monitoring process according to an exemplary embodiment. Figure 2 As shown, the system interface (API) provided by the system (such as the Android system) is called to register the monitoring object and the corresponding callback function to the system, so as to initiate positioning and obtain positioning information through the callback function. The callback function can also send the positioning information determined by the positioning service to the upper application when it detects positioning based on the positioning service.
[0109] The embodiments of the present disclosure do not limit the registration and deregistration methods of the location service. Optionally, the location service may be registered based on the location request of the application; or the location service may be deregistered based on the deregistration request of the application. The triggering conditions of the application deregistration request are not limited. The application may stop running, or the user may terminate the location authorization, or the application may be scheduled to run in the background, etc.
[0110] In some embodiments, currently all Android phones support the positioning function, and the positioning service, as a basic service of the Android system, automatically runs with the startup of the phone. The logic of the third-party application using the positioning function of the Android system includes obtaining the proxy of the positioning service LMS (Location-Manager-Service) through the positioning manager LM (Location-Manager), and then using the positioning function. Among them, the function onRemovableListenerRegisteration() can be called to register the positioning service LMS.
[0111] In some embodiments, a callback module may be deployed in the execution subject device, and the callback module may be used to send a callback based on the location information obtained by the location service to the upper layer application.
[0112] Here, the callback module can also be used to send the positioning information determined by the positioning service to the upper layer application when the positioning service is detected. In this embodiment, the positioning information at least includes satellite status information.
[0113] In some embodiments, the satellite status information includes at least one of the following: the number of satellites, the satellite number, the satellite altitude angle, the satellite azimuth angle, the satellite position, and the satellite signal carrier-to-noise ratio.
[0114] The satellite number is used to uniquely identify the satellite, such as a satellite number consisting of a string of characters.
[0115] It is understandable that the satellite is in operation and the satellite position may be different at different times. The device obtains the satellite trajectory record, determines the signal transmission time according to the satellite signal reception time and the estimated propagation time of the satellite signal, and queries the satellite positions of all satellites in the world at the signal transmission time based on the satellite trajectory record. Among them, the satellite trajectory record can be general satellite ephemeris information, which can be obtained from the GNSS Navigation Message or through the satellite reference base station.
[0116] This information can reflect the satellite status during the positioning process from multiple angles, thereby improving the transparency of the positioning process.
[0117] In some embodiments, the positioning information processing method provided by the present disclosure can be applied to a device with a callback module deployed. By obtaining positioning information through the callback module, the transparency of the positioning process and the efficiency of obtaining positioning information can be improved.
[0118] In some embodiments, when positioning based on a positioning service is detected, the positioning information of this positioning by the positioning service is obtained by using a callback module.
[0119] In a specific embodiment, when a third-party application in an Android phone uses the positioning function, it can call a callback function to obtain positioning information and report the positioning information to the upper level through the callback. Specifically, the onReportLocation() function in LocationProviderManager.java can be called. When positioning based on the positioning service is detected, the callback function can obtain the positioning information of the current positioning by the positioning service.
[0120] In some embodiments, the method further comprises:
[0121] The acquired positioning information is sent to other display devices or other applications by broadcasting.
[0122] In some embodiments, the positioning information can be sent to the display device by broadcasting. When the display device is integrated with the execution subject device, the positioning information can be sent to the UI side of the execution subject device by broadcasting. Here, the broadcasting method is encrypted broadcasting.
[0123] In the disclosed embodiment, the positioning information can be passively acquired on the one hand, and the real-time acquired positioning information can be sent in parallel on the other hand, so as to support other systems and third-party APKs to acquire corresponding satellite status information. This allows the execution subject device to have a diversified way of acquiring positioning information, and avoids acquiring positioning information only by API registration and monitoring.
[0124] Here, the specific method of sending the real-time acquired positioning information may be direct sending, encrypted sending, broadcasting, or dynamic broadcasting. The sending process may also be an encrypted sending process.
[0125] In some embodiments, the method further comprises:
[0126] determining satellite signal quality based on the satellite status information;
[0127] Sending the positioning information to a display device so that the display device displays the positioning information includes:
[0128] The satellite status information and / or the satellite signal quality are sent to a display device, so that the display device displays the satellite status information and / or the satellite signal quality.
[0129] In some embodiments, the satellite signal quality can be determined based on the satellite status information by a positioning algorithm or a third-party SDK (Software Development Kit). It should be noted that the above positioning algorithm can be any algorithm that can calculate the satellite signal quality or calculate a parameter that can characterize the satellite signal quality based on the satellite status information.
[0130] In some embodiments, sending the positioning information to a display device so that the display device displays the positioning information includes:
[0131] Sending display image data corresponding to the satellite signal quality to a display device so that the display device displays the display image data through a status bar; wherein the display image data includes: a status bar icon for indicating the satellite signal quality.
[0132] In a specific implementation, when the satellite signal quality is poor, the color of the status bar icon indicating the satellite signal quality is red; when the satellite signal quality is good, the color of the status bar icon indicating the satellite signal quality is green. In other words, when the satellite signal quality is poor, the display image data corresponding to the satellite signal quality sent to the display device is a red status bar icon; when the satellite signal quality is good, the display image data corresponding to the satellite signal quality sent to the display device is a green status bar icon.
[0133] In other embodiments, a geometric pattern for indicating the quality of satellite signals may be pre-set on the display device, where the geometric pattern may be a long rectangle, a circle, a sector, and / or a cylinder. For example, when a long rectangle is used as a geometric pattern, the length of the long rectangle may be used to indicate the quality of the satellite signal, and the longer the rectangle, the better the satellite signal quality. Similarly, the size of the diameter (or radius) of the circle may be used to indicate the quality of the satellite signal; the size of the radius or amplitude of the sector may be used to indicate the quality of the satellite signal; and the height of the cylinder may be used to indicate the quality of the satellite signal.
[0134] In some embodiments, the display image data may also include system pop-up window data, based on which the satellite status information may be displayed on the display device in the form of a system pop-up window. In this way, the user can see the status bar icon indicating the satellite signal quality through the display device, and can also see the specific satellite status information through the system pop-up window, which greatly improves the user's mastery of the application positioning process and improves the transparency of the application positioning process to the user.
[0135] In some embodiments, the method further comprises:
[0136] Storing the acquired positioning information in a preset information set;
[0137] The positioning information also includes a calling time period of the positioning service;
[0138] When the amount of the positioning information in the preset information set meets a preset condition, the satellite signal quality in different time periods of the area where the running device of the target application is located is determined based on the calling time period and the satellite signal quality within the calling time period.
[0139] This embodiment does not limit the storage method, nor does it limit the storage location or form of the preset information set, as long as it can be used as a storage space to facilitate the subsequent use of the positioning information in the preset information set to integrate the positioning data. The preset information set can store the positioning information obtained by the execution subject device, which can be positioning information obtained by any application or positioning information obtained in any time period. Positioning data integration includes dividing time periods and regions based on the satellite signal quality obtained from the positioning information.
[0140] Here, the number of the positioning information in the preset information set meeting the preset condition means that the number of the positioning information in the preset information set meets the sample requirement and is sufficient for positioning data integration.
[0141] In the disclosed embodiment, the positioning information also includes the calling time period of the positioning service, so that the satellite signal quality within the calling time period of the positioning service can also be determined based on the positioning information. When the number of the positioning information in the preset information set meets the preset condition, the satellite signal quality in different time periods of the area where the target application's running device is located can be determined based on all the calling time periods in the preset information set and the satellite signal quality within the calling time period. In other words, when the number of the positioning information in the preset information set meets the preset condition, the satellite signal quality in the area where the target application's running device is located can be divided into time periods based on all the calling time periods in the preset information set and the satellite signal quality within the calling time period.
[0142] In some embodiments, the positioning information also includes the location information of the target application's running device. Specifically, the location information may include longitude and latitude and altitude. The location of the target application's running device can be determined based on the location information of the target application's running device. The area where the target application's running device is located can be determined by the location information of the target application's running device. For example, the area where the target application's running device is located is an area with a radius of ten kilometers centered on the location of the target application's running device. For another example, the area where the target application's running device is located is a residential area where the target application's running device is located. For another example, the area where the target application's running device is located is the administrative area where the target application's running device is located.
[0143] In some embodiments, the method further comprises:
[0144] Storing the acquired positioning information in a preset information set;
[0145] The positioning information also includes the location information of the running device of the target application;
[0146] When the amount of the positioning information in the preset information set meets a preset condition, determining a coverage area based on all the position information;
[0147] The coverage area is divided based on the satellite signal quality corresponding to the location information to form a satellite signal quality distribution map; wherein the satellite signal quality distribution map includes at least a first area and a second area; the satellite signal qualities of the first area and the second area are different.
[0148] In the disclosed embodiment, the positioning information also includes the location information of the target application's running device, so that the specific location of the target application's running device can also be determined based on the positioning information. Therefore, when the number of the positioning information in the preset information set meets the preset condition, the coverage area can be determined based on the location information of all the target application's running devices in the preset information set, and the coverage area can be understood as the area that the target application's running device has visited. The coverage area is divided based on the satellite signal quality corresponding to the location information to form a satellite signal quality distribution map. Here, the satellite signal quality corresponding to the location information is the satellite signal quality at the location of the target application's running device. It should be noted that the target application here can be multiple applications or applications on different running devices.
[0149] Figure 3 is a satellite signal quality distribution diagram according to an exemplary embodiment. Figure 3As shown in FIG. 1 , the satellite signal quality distribution diagram includes three regions, namely, region A, region B, and region C; the satellite signal quality in region A is excellent, the satellite signal quality in region B is medium, and the satellite signal quality in region C is poor. The hollow dots in each region represent the location of the target application's running device, that is, the location where the positioning service has been called.
[0150] In some embodiments, a preset information set can be set on the execution subject device, and each execution subject device periodically uploads the information in the preset information set to the cloud server, so that the cloud server can collect and aggregate data and integrate positioning data.
[0151] In some embodiments, the satellite signal quality distribution diagram may include five areas, namely, a first area, a second area, a third area, a fourth area and a fifth area; the satellite signal qualities of the five areas are different, and the satellite signal qualities of the five areas may be excellent, good, medium, poor and extremely poor, respectively.
[0152] Currently, Android phones can support positioning functions. As a basic service of the Android system, positioning services run automatically when the phone is started.
[0153] The logic of third-party applications using the system positioning function is to obtain the proxy of the positioning service LMS (Location-Manager-Service) through the positioning manager LM (Location-Manager), and then call the system interface (System-API) provided by the service to initiate positioning and obtain location information through the callback function. The process of initiating positioning and the process of the kernel layer feeding back location information to the upper layer through callback can be seen Figure 4 A brief overview.
[0154] like Figure 4 As shown, Figure 4 The figure is a schematic diagram showing a principle of an application positioning process according to an exemplary embodiment.
[0155] Among them, the third-party application APP registers the positioning service LMS through the positioning manager (such as LocationManager.java), and further obtains the positioning information including the satellite status information through the satellite status provider module (such as GnssStatusProvider.java).
[0156] The entire positioning process includes registering satellite status information callback (e.g. registerGnssStatuaCallback()), obtaining satellite status information through satellite status information module (e.g. GnssStatus.java); the kernel layer reports positioning information upward through callback, that is, reports positioning information upward through the callback function inside LMS (e.g. onSatelliteStatusChanged function). The satellite status information module can include submodules such as signal-to-noise ratio acquisition submodule (e.g. getCn0DbHz()), satellite number acquisition submodule (e.g. getSvid()), satellite usage status submodule (e.g. UsedInFix()), etc., through which the corresponding satellite status information can be obtained. Specifically, the satellite status information can include the number of satellites, satellite number, satellite altitude angle, satellite azimuth, satellite position and satellite signal carrier-to-noise ratio. And finally feedback positioning information to the upper layer application in a callback manner. The response module (e.g. onReportSvStatus()) can respond to the registration request and report the positioning information through the callback function. Through the satellite status information reporting module (such as reportSvStatus()), the positioning information can be obtained in the process of reporting the positioning information to the target application at the kernel layer, and the positioning information can be reported to the UI side by broadcasting, so that the system-level satellite status information can be displayed on the display device, and the satellite signal quality can be determined by the satellite status information, so that the satellite signal quality can also be displayed on the display device. The system-level satellite status information display can be displayed in the form of a system pop-up window. The satellite signal quality can be displayed in the form of a status bar icon.
[0157] In the embodiment of the present disclosure, the system side of the executing main device can obtain the positioning information when the kernel layer reports the positioning information to the target application, and send the positioning information to the UI side for display, on the premise that the user inputs the positioning display selection operation and the target application calls the positioning service.
[0158] The present disclosure provides a method for processing positioning information, the method comprising: in response to a positioning display selection operation input by a user, in the process of reporting positioning information to a target application at the kernel layer, obtaining the positioning information; wherein the positioning information at least includes satellite status information; and sending the positioning information to a display device so that the display device displays the positioning information. The positioning information in the positioning process of the target application is passively obtained and displayed by the system side, and there is no need to register a callback on the system side. As long as the application side (target application) requests positioning, the current satellite status information can be displayed. In this way, the specific situation of the application positioning process can be easily grasped, and the transparency of the application positioning process to the user is improved.
[0159] Figure 5 FIG. 1 is a block diagram of a positioning information processing device according to an exemplary embodiment. Figure 5 As shown, the positioning information processing device 500 is applied to an electronic device and mainly includes:
[0160] The system acquisition module 501 is configured to obtain the positioning information in response to the positioning display selection operation input by the user in the process of reporting the positioning information to the target application at the kernel layer; wherein the positioning information at least includes satellite status information;
[0161] The system control module 502 is configured to send the positioning information to a display device so that the display device displays the positioning information.
[0162] In some embodiments, the system acquisition module 501 is configured to, when the target application calls the positioning service, report the positioning information to the target application at the kernel layer;
[0163] In response to a positioning display selection operation input by a user, the positioning information is acquired during a process in which the kernel layer reports the positioning information to a target application.
[0164] In some embodiments, the apparatus further comprises:
[0165] The system broadcast module 503 is configured to send the acquired positioning information to other display devices or other applications by broadcasting.
[0166] In some embodiments, the satellite status information includes at least one of the following: the number of satellites, the satellite number, the satellite altitude angle, the satellite azimuth angle, the satellite position, and the satellite signal carrier-to-noise ratio.
[0167] In some embodiments, the apparatus further comprises:
[0168] A system display module 504 configured to determine satellite signal quality based on the satellite status information;
[0169] The system control module 502 is configured to send the satellite status information and / or the satellite signal quality to a display device, so that the display device displays the satellite status information and / or the satellite signal quality.
[0170] In some embodiments, the system display module 504 is configured to send display image data corresponding to the satellite signal quality to a display device so that the display device displays the display image data through a status bar; wherein the display image data includes: a status bar icon for indicating the satellite signal quality.
[0171] In some embodiments, the apparatus further comprises:
[0172] A first application module 505 is configured to store the acquired positioning information into a preset information set;
[0173] The positioning information also includes a calling time period of the positioning service;
[0174] When the amount of the positioning information in the preset information set meets a preset condition, the satellite signal quality in different time periods of the area where the running device of the target application is located is determined based on the calling time period and the satellite signal quality within the calling time period.
[0175] In some embodiments, the apparatus further comprises:
[0176] The second application module 506 is configured to store the acquired positioning information into a preset information set;
[0177] The positioning information also includes the location information of the running device of the target application;
[0178] When the amount of the positioning information in the preset information set meets a preset condition, determining a coverage area based on all the position information;
[0179] The coverage area is divided based on the satellite signal quality corresponding to the location information to form a satellite signal quality distribution map; wherein the satellite signal quality distribution map includes at least a first area and a second area; the satellite signal qualities of the first area and the second area are different.
[0180] Figure 6 6 is a hardware structure block diagram of a positioning information processing device according to an exemplary embodiment. For example, the device 600 may be a mobile phone, a mobile computer, etc.
[0181] Reference Figure 6 , the device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0182] The processing component 602 generally controls the overall operation of the device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0183] The memory 604 is configured to store various types of data to support operations on the device 600. Examples of such data include instructions for any application or method operating on the device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0184] The power supply component 606 provides power to the various components of the device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 600.
[0185] The multimedia component 608 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0186] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the device 600 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0187] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0188] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the device 600. For example, the sensor assembly 614 can detect the open / closed state of the device 600, the relative positioning of components, such as the display and keypad of the device 600, the sensor assembly 614 can also detect the position change of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, the orientation or acceleration / deceleration of the device 600 and the temperature change of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0189] The communication component 616 is configured to facilitate wired or wireless communication between the device 600 and other devices. The device 600 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0190] In an exemplary embodiment, the apparatus 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0191] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by the processor 620 of the device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0192] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a positioning information processing device, enables the positioning information processing device to perform a positioning information processing method, the method comprising:
[0193] In response to a positioning display selection operation input by a user, in the process of reporting the positioning information to the target application at the kernel layer, the positioning information is obtained; wherein the positioning information at least includes satellite status information;
[0194] The positioning information is sent to a display device so that the display device displays the positioning information.
[0195] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0196] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A positioning information processing method, characterized in that: The method comprises: In response to a positioning display selection operation input by a user, in the process of reporting the positioning information to the target application at the kernel layer, the positioning information is obtained; wherein the positioning information at least includes satellite status information; The positioning information is sent to a display device so that the display device displays the positioning information.
2. The method according to claim 1, characterized in that The step of obtaining the positioning information in response to the positioning display selection operation input by the user in the process of reporting the positioning information to the target application at the kernel layer includes: When the target application calls the positioning service, the kernel layer reports the positioning information to the target application; In response to a positioning display selection operation input by a user, the positioning information is acquired during a process in which the kernel layer reports the positioning information to a target application.
3. The method according to claim 2, characterized in that The method further comprises: The acquired positioning information is sent to other display devices or other applications by broadcasting.
4. The method according to claim 2, characterized in that: The satellite status information includes at least one of the following: the number of satellites, the satellite number, the satellite altitude angle, the satellite azimuth angle, the satellite position and the satellite signal carrier-to-noise ratio.
5. The method according to claim 3, characterized in that: The method further comprises: determining satellite signal quality based on the satellite status information; Sending the positioning information to a display device so that the display device displays the positioning information includes: The satellite status information and / or the satellite signal quality are sent to a display device, so that the display device displays the satellite status information and / or the satellite signal quality.
6. The method according to claim 5, characterized in that The sending the positioning information to a display device so that the display device displays the positioning information includes: Sending display image data corresponding to the satellite signal quality to a display device so that the display device displays the display image data through a status bar; wherein the display image data includes: a status bar icon for indicating the satellite signal quality.
7. The method according to claim 5, characterized in that The method further comprises: Storing the acquired positioning information in a preset information set; The positioning information also includes a calling time period of the positioning service; When the amount of the positioning information in the preset information set meets a preset condition, the satellite signal quality in different time periods of the area where the running device of the target application is located is determined based on the calling time period and the satellite signal quality within the calling time period.
8. The method according to claim 5, characterized in that The method further comprises: Storing the acquired positioning information in a preset information set; The positioning information also includes the location information of the running device of the target application; When the amount of the positioning information in the preset information set meets a preset condition, determining a coverage area based on all the position information; The coverage area is divided based on the satellite signal quality corresponding to the location information to form a satellite signal quality distribution map; wherein the satellite signal quality distribution map includes at least a first area and a second area; the satellite signal qualities of the first area and the second area are different.
9. A positioning information processing device, characterized in that: include: The system acquisition module is configured to obtain the positioning information in response to the positioning display selection operation input by the user in the process of reporting the positioning information to the target application at the kernel layer; wherein the positioning information at least includes satellite status information; The system control module is configured to send the positioning information to the display device so that the display device displays the positioning information.
10. A positioning information processing device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to: implement the steps in any one of the positioning information processing methods in claims 1 to 8 when executed.
11. A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a positioning information processing device, the device is able to perform the steps in any one of the positioning information processing methods in claims 1 to 8.