Positioning exception resolution method and related apparatus
By acquiring reference event identifiers and application identifiers, and utilizing preset sets of electronic devices and servers to collaboratively resolve location anomalies, rapid location and repair are achieved, improving the user experience.
Patent Information
- Application Number
- CN202210667973.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-14
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2042-06-14
AI Technical Summary
When location anomalies occur, the cause of the problem cannot be quickly determined, resulting in an inability to fix it in a timely manner and affecting the user experience.
By acquiring reference event identifiers and application identifiers, a solution is determined using a preset set of first electronic devices and servers, and anomaly issues are collaboratively located, including information from local execution and remote server feedback.
Quickly pinpoint the cause of anomalies, improving problem-solving efficiency and user experience.
Smart Images

Figure CN115033413B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of data processing, and specifically relates to a method for locating anomalies and related devices. Background Technology
[0002] The Global Navigation Satellite System (GNSS), also known as a global navigation satellite system, is a space-based radio navigation and positioning system that provides users with all-weather 3D coordinates, velocity, and time information from any location on the Earth's surface or in near-Earth space. Currently, more and more users' work is closely related to navigation and positioning, thus creating a strong demand for positioning accuracy. However, when positioning anomalies occur, it's difficult to determine whether the inability to pinpoint the problem lies with the positioning module or the application, hindering the rapid identification and timely resolution of the issue. Summary of the Invention
[0003] This application provides a solution and related apparatus for addressing location anomalies, aiming to quickly determine the cause of the location anomaly and repair it in a timely manner, thereby improving the user experience.
[0004] In a first aspect, embodiments of this application provide a method for resolving location anomalies, applied to a first electronic device, the method comprising:
[0005] Obtain a reference event identifier and an application identifier from a target application, wherein the first electronic device includes the target application, the reference event identifier is used to indicate the event type for locating an abnormal event, and the application identifier is used to characterize the application running on the first electronic device;
[0006] Determine whether the reference event identifier exists in the first preset set. The first preset set includes the correspondence between a first type of event identifier and a first type of solution. The first type of solution is a solution that can be executed locally by the first electronic device.
[0007] If not, then obtain the location information corresponding to the reference event identifier, the location information being used to indicate the location acquisition status of the first electronic device;
[0008] Send a message carrying the location information, the reference event identifier, and the application identifier to a first server, where the first server refers to a server that provides functional support for the target application;
[0009] Obtain first feedback information sent by the first server in response to the message. The first feedback information is feedback information associated with the first solution. The first feedback information is used to indicate the content that the first electronic device needs to perform. The first solution is the solution corresponding to the reference event identifier included in the second preset set. The second preset set includes the correspondence between the second type of event identifier and the second type of solution. The second type of solution is a solution that the first server can execute.
[0010] The content corresponding to the first feedback information is executed, and the content is used to resolve the location anomaly problem.
[0011] Secondly, embodiments of this application provide a method for locating anomalies, applied to a first server, the method comprising:
[0012] A message is received from a first electronic device. The message carries location information, a reference event identifier, and an application identifier. The location information is information corresponding to the reference event identifier. The location information is used to indicate the location acquisition status of the first electronic device. The reference event identifier is used to indicate the event type of the location anomaly event. The application identifier is used to characterize the application running on the first electronic device. The first electronic device includes a target application. The first server refers to a server that provides functional support for the target application.
[0013] Determine whether the reference event identifier exists in the second preset set, wherein the second preset set includes the correspondence between a second type of event identifier and a second type of solution, and the second type of solution is a solution that the first server can execute;
[0014] If so, a first solution is determined based on the reference event identifier, wherein the first solution is the solution corresponding to the reference event identifier included in the second preset set;
[0015] The first solution is executed and a first feedback message is generated, which indicates what the electronic device needs to perform.
[0016] The first feedback information is sent to the first electronic device according to the application identifier.
[0017] Thirdly, embodiments of this application provide a solution for locating anomalies, applied to a second server, the method comprising:
[0018] A message is received from a first electronic device. The message carries an application identifier, a reference event identifier, and location information. The application identifier is used to characterize the application running on the first electronic device. The reference event identifier is used to indicate the event type of the location anomaly event. The location information is information corresponding to the event identifier and is used to indicate the information acquisition status of the first electronic device. The first electronic device includes a target application. The first server is a server that provides functional support for the target application. The second server is the OEM server of the first electronic device.
[0019] Fourthly, embodiments of this application provide a location anomaly resolution device applied to a first electronic device. The device includes: a first acquisition unit, configured to acquire a reference event identifier and an application identifier from a target application, wherein the first electronic device includes the target application; the reference event identifier indicates the event type of a location anomaly event, and the application identifier characterizes the application running on the first electronic device; a determination unit, configured to determine whether the reference event identifier exists in a first preset set, wherein the first preset set includes a correspondence between a first type of event identifier and a first type of solution, wherein the first type of solution is a solution that can be executed locally by the first electronic device; and a second acquisition unit, configured to, if not, acquire location information corresponding to the reference event identifier, wherein the location information indicates the location acquisition status of the first electronic device; and a third acquisition unit. A sending unit is used to send a message carrying the location information, the reference event identifier, and the application identifier to a first server, where the first server refers to a server that provides functional support for the target application; a third obtaining unit is used to obtain first feedback information sent by the first server in response to the message, where the first feedback information is feedback information associated with a first solution, and the first feedback information is used to indicate the content that the first electronic device needs to execute, the first solution is a solution corresponding to the reference event identifier included in a second preset set, the second preset set includes a correspondence between a second type of event identifier and a second type of solution, and the second type of solution is a solution that the first server can execute; an execution unit is used to execute the content corresponding to the first feedback information, where the content is used to resolve the location anomaly problem.
[0020] Fifthly, embodiments of this application provide a location anomaly resolution device applied to a first server. The device includes: an acquisition unit, configured to acquire a message from a first electronic device, the message carrying location information, a reference event identifier, and an application identifier. The location information corresponds to the reference event identifier and is used to indicate the location acquisition status of the first electronic device. The reference event identifier indicates the event type of the location anomaly event, and the application identifier characterizes the application running on the first electronic device. The first electronic device includes a target application, and the first server refers to a server that provides functional support for the target application. A first determination unit, configured to determine whether the reference event identifier exists in a second preset set, the second preset set including a correspondence between a second type of event identifier and a second type of solution, the second type of solution being a solution that the first server can execute. A second determination unit, configured to determine a first solution based on the reference event identifier if the reference event identifier exists, the first solution being a solution corresponding to the reference event identifier included in the second preset set. An execution unit, configured to execute the first solution and generate first feedback information, the first feedback information indicating the content that the electronic device needs to execute. A sending unit, configured to send the first feedback information to the first electronic device based on the application identifier.
[0021] Sixthly, embodiments of this application provide a location anomaly resolution device applied to a second server. The device includes: an acquisition unit, configured to acquire a message from a first electronic device, the message carrying an application identifier, a reference event identifier, and location information. The application identifier is used to characterize an application running on the first electronic device, the reference event identifier is used to indicate the event type of a location anomaly event, the location information is information corresponding to the event identifier, and the location information is used to indicate the information acquisition status of the first electronic device. The first electronic device includes a target application, the first server is a server that provides functional support for the target application, and the second server is the OEM server of the first electronic device.
[0022] In a seventh aspect, embodiments of this application provide an electronic device including a processor, a memory, a communication interface, and one or more programs, the one or more programs being stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps in the first aspect of embodiments of this application.
[0023] Eighthly, embodiments of this application provide a server including a processor, a memory, a communication interface, and one or more programs, the one or more programs being stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps in the second or third aspects of embodiments of this application.
[0024] In a ninth aspect, embodiments of this application provide a computer storage medium, characterized in that it stores a computer program for electronic data interchange, wherein the computer program causes a computer to perform some or all of the steps described in the first, second, or third aspects of this embodiment.
[0025] In a tenth aspect, embodiments of this application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the first, second, or third aspects of embodiments of this application. The computer program product may be a software installation package.
[0026] Eleventhly, embodiments of this application provide a chip, including: a processor, configured to call and run a computer program from a memory, causing a device on which the chip is mounted to perform some or all of the steps described in any of the methods of the first, second, or third aspects of embodiments of this application.
[0027] As can be seen, in this embodiment, the first electronic device first obtains a reference event identifier and an application identifier from the target application. The first electronic device includes the target application. The reference event identifier is used to indicate the event type of the location anomaly event, and the application identifier is used to characterize the application running on the first electronic device. Then, it determines whether the reference event identifier exists in a first preset set. The first preset set includes a correspondence between a first type of event identifier and a first type of solution. The first type of solution is a solution that the first electronic device can execute locally. If not, it obtains the location information corresponding to the reference event identifier. The location information is used to indicate the location acquisition status of the first electronic device. Then, it sends a message carrying... The message contains the location information, the reference event identifier, and the application identifier. The first server refers to a server that provides functional support for the target application. Then, the first feedback information sent by the first server in response to the message is obtained. This first feedback information is associated with a first solution and is used to indicate what the first electronic device needs to execute. The first solution is a solution corresponding to the reference event identifier included in a second preset set. The second preset set includes a correspondence between second-type event identifiers and second-type solutions. The second-type solutions are solutions that the first server can execute. Finally, the content corresponding to the first feedback information is executed to resolve the location anomaly. In this way, this solution can quickly locate the cause of the problem based on the event identifier and simultaneously resolve the location anomaly based on information from both the electronic device and the target application's server, improving the efficiency of resolving location anomalies and enhancing the user experience. Attached Figure Description
[0028] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0029] Figure 1a This is a schematic diagram of a location anomaly resolution system provided in an embodiment of this application;
[0030] Figure 1b This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0031] Figure 1c This is a schematic diagram of the structure of a server provided in an embodiment of this application;
[0032] Figure 2aThis is a flowchart illustrating a method for resolving anomaly location according to an embodiment of this application;
[0033] Figure 2b This is a flowchart illustrating another method for locating anomalies provided in an embodiment of this application;
[0034] Figure 2c This is a flowchart illustrating another method for locating anomalies provided in an embodiment of this application;
[0035] Figure 3 This is a functional unit block diagram of a location anomaly resolution device provided in an embodiment of this application;
[0036] Figure 4 This is a functional unit block diagram of another location anomaly resolution device provided in this application embodiment;
[0037] Figure 5 This is a functional unit block diagram of another location anomaly resolution device provided in this application embodiment;
[0038] Figure 6 This is a functional unit block diagram of another location anomaly resolution device provided in this application embodiment;
[0039] Figure 7 This is a functional unit block diagram of another location anomaly resolution device provided in this application embodiment;
[0040] Figure 8 This is a block diagram of the functional units of another location anomaly resolution device provided in this application embodiment. Detailed Implementation
[0041] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0042] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0043] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0044] Currently, when location issues occur, the only way to find the cause is to test the location device. This is not a timely and effective way to determine whether the problem lies with the location device or the application, making it difficult to resolve location issues quickly and efficiently, resulting in a poor user experience.
[0045] To address the aforementioned problems, this application provides a solution and related apparatus for locating anomalies. The embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0046] Please see Figure 1a , Figure 1a This is a schematic diagram of a location anomaly resolution system provided in an embodiment of this application. As shown in the figure, the location anomaly resolution system 10 includes a first server 103, a second server 102, and a first electronic device 101, which are communicatively connected. The first electronic device 101 includes a target application, the first server 103 is the server corresponding to the target application, and the second server is the server corresponding to the first electronic device. For example, the second server 102 could be the server of the manufacturer of the first electronic device 101. When the first electronic device 101 experiences a location anomaly, the anomaly can be resolved by the first server 103, the second server 102, and the first electronic device 101 working together to locate the anomaly.
[0047] The structure of the first electronic device 101 described above can be as follows: Figure 1b As shown in the electronic device 100, the electronic device 100 includes a processor 120, a memory 130, a communication interface 140, and one or more programs 131, wherein the one or more programs 131 are stored in the memory 130 and configured to be executed by the processor 120, and the one or more programs 131 include instructions for performing any step in any of the method embodiments described below. In specific implementation, the processor 120 is used to perform any step performed by the electronic device as described in the method embodiments below, and when performing data transmission such as sending, the communication interface 140 may be selectively invoked to complete the corresponding operation.
[0048] The electronic devices involved in the embodiments of this application can be electronic devices with communication capabilities. These electronic devices may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication functions, as well as various forms of user equipment (UE), mobile station (MS), terminal device, etc.
[0049] The structures of the first server 103 and the second server 102 described above are as follows: Figure 1c As shown in the diagram, server 200 includes a processor 220, a memory 230, a communication interface 240, and one or more programs 231. The one or more programs 231 are stored in the memory 230 and configured to be executed by the processor 220. The one or more programs 231 include instructions for performing any step in any of the methods described in the following embodiments. Specifically, the processor 220 is used to perform any step executed by the server in the following method embodiments, and when performing data transmission such as sending, the communication interface 240 may be selectively invoked to complete the corresponding operation.
[0050] Please see Figure 2a , Figure 2a This is a flowchart illustrating a method for resolving location anomalies according to an embodiment of this application. As shown in the figure, the method for resolving location anomalies is applied to a first electronic device, and the method includes the following steps:
[0051] Step 201: The first electronic device acquires the reference event identifier and application identifier from the target application.
[0052] The first electronic device runs the target application, which includes third-party applications and system-level applications. The reference event identifier indicates the event type of the location anomaly event, and the application identifier characterizes the application running on the first electronic device. The target application is an application that requires or involves location or navigation functions. When the target application detects a location anomaly, it can send the reference event identifier and application identifier to the underlying layer of the electronic device through a pre-agreed interface, allowing the first electronic device to promptly understand the location anomaly situation. The event identifier may include an event type number and the corresponding event status. The application identifier can be used to uniquely identify the electronic device. Different event identifiers correspond to different location anomaly issues. It should be noted that one event identifier can indicate a type of location anomaly issue; that is, location anomalies of the same event type that employ the same solution can use the same event identifier.
[0053] In a specific implementation, this solution may further include a comprehensive event identifier set. Both the first electronic device and the first server can query this comprehensive event identifier set. This comprehensive event identifier set includes all event identifiers in a first preset set and a second preset set. The comprehensive event identifier set includes a correspondence between location anomalies and event identifiers. When the target application detects a location anomaly, it can query the comprehensive event identifier set to determine the event identifier based on the currently occurring location anomaly. If the comprehensive event identifier set contains an event identifier corresponding to the location anomaly, the target application can directly determine the event identifier in the comprehensive event identifier set as a reference event identifier, i.e., the reference event identifier is an existing identifier. If the comprehensive event identifier set does not contain an event identifier corresponding to the location anomaly, the target application generates a reference event identifier, i.e., the reference event identifier is a candidate identifier. In other words, the location anomaly corresponding to this location anomaly event is a newly occurring problem, and the comprehensive event identifier set does not contain this reference event identifier.
[0054] Step 202: The first electronic device determines whether the reference event identifier exists in the first preset set.
[0055] The first preset set includes event identifiers, solutions, and the correspondence between the event identifiers and the solutions. The solutions in the first preset set are those executed by the first electronic device. Each event identifier corresponds to a different solution. The solution corresponding to each event identifier can be determined in advance. If it is determined that the location anomaly problem can be caused by an electronic device, the corresponding solution is stored in the first preset set. That is, the solutions for location anomalies corresponding to the event identifiers included in the first preset set can be executed by the first electronic device, and the corresponding solution can be obtained by looking up the correspondence in the first preset set. Different electronic devices can correspond to the same first preset set; that is, when a location anomaly problem occurs, all electronic devices can determine whether a solution exists through the first preset set.
[0056] In one possible instance, after determining whether the reference event identifier exists in the first preset set, the method further includes: if so, determining a second solution based on the reference event identifier, wherein the second solution is the solution corresponding to the reference event identifier included in the first preset set; and executing the second solution, wherein the second solution is used to resolve the location anomaly problem.
[0057] If the first preset set includes a reference event identifier, it means that the location anomaly can be resolved by the first electronic device. The first electronic device can then determine a solution based on the correspondence in the first preset set and resolve the location anomaly. For example, if the current event identifier corresponds to a weak location signal, the first electronic device can check the device-side signal and resolve the location anomaly through methods such as restarting.
[0058] As can be seen, in this example, after the first electronic device obtains the event identifier, it can quickly respond according to the corresponding relationship in the first preset set, determine the solution, resolve the location anomaly problem in a timely manner, and improve the efficiency of resolving the location anomaly problem.
[0059] Step 203: If not, the first electronic device acquires the location information corresponding to the reference event identifier;
[0060] The location information is used to indicate the location acquisition status of the first electronic device. The location information corresponding to different event identifiers can be the same or different.
[0061] Step 204: The first electronic device sends a message to the first server carrying the location information, the reference event identifier, and the application identifier.
[0062] The first server refers to the server that provides functional support for the target application. When the target application is a system-level application, the first server can be the host manufacturer's server. The correspondence between the event identifier and the location information can be determined according to a preset protocol or agreement, which specifies the information content that the electronic device should obtain and report to the first server for different location anomalies. For the first server corresponding to different target applications, the correspondence specified in the protocol can be the same, or it can be specifically specified for different target applications. The first server is the server of the target application, and the first server can be a cloud server or a server cluster. It should be noted that before sending the location information to the first server, the method further includes: checking the location information to determine whether the location information includes preset information, which is information related to security and / or privacy; if it is included, the preset information is deleted. The preset information can be set by the user or obtained from the user's occupation and determined according to the user's occupation type. The preset information can also be determined by the manufacturer of the electronic device, that is, in this case, the preset information is information related to the security and / or privacy of the manufacturer of the electronic device. When the mapping in the preset protocol is common to all target applications, the preset information for each target application or type of target application can be determined first based on the target application name or type. That is, the preset information corresponding to different target applications can be different. When a new location anomaly occurs, the preset protocol can be updated based on the event identifier of the new problem and its corresponding location information mapping, solution, etc., making the preset protocol a universal document. The first server corresponding to different target applications and the second server corresponding to different first electronic devices can all define the solution to the location anomaly according to the preset protocol.
[0063] Step 205: The first server determines whether the reference event identifier exists in the second preset set.
[0064] The second preset set includes event identifiers, solutions, and the correspondence between the event identifiers and the solutions. The solutions in the second preset set are those executed by the server corresponding to the target application. Different servers corresponding to different target applications can correspond to the same second preset set. For example, server A corresponding to target application A and server B corresponding to target application B can both obtain the first solution by querying the second preset set. Of course, servers corresponding to different target applications can also correspond to different second preset sets. For example, the second preset sets corresponding to first server A and second server B are different, meaning the solutions corresponding to the same event identifier are different.
[0065] Step 206: If yes, the first server determines the first solution based on the reference event identifier;
[0066] Step 207: The first server executes the first solution and generates the first feedback information;
[0067] Step 208: The first server sends the first feedback information to the first electronic device based on the application identifier.
[0068] The first feedback information is used to indicate what the electronic device needs to perform. The first solution is a solution corresponding to the reference event identifier included in the second preset set. The second preset set includes a correspondence between second-type event identifiers and second-type solutions, where the second-type solutions are solutions that the first server can execute. For example, after the first server performs operations such as data updates based on the first solution, it sends the first feedback information to the first electronic device. This first feedback information includes instructions for the first electronic device to perform operations such as restarting. It should be noted that the feedback information may also include the execution result of the first server, i.e., indicating whether the first server has resolved the location anomaly problem.
[0069] Step 209: The first electronic device executes the content corresponding to the first feedback information, which is used to resolve the positioning anomaly problem.
[0070] When the first preset set does not include a reference event identifier, the electronic device uploads the collected location information to the first server, which then resolves the location anomaly based on the acquired location information. In other words, the location anomaly originates from the target application, and therefore the first server determines the solution.
[0071] As can be seen, in this example, the first electronic device first obtains a reference event identifier and an application identifier from the target application. The first electronic device includes the target application. The reference event identifier is used to indicate the event type of the location anomaly event, and the application identifier is used to characterize the application running on the first electronic device. Then, it determines whether the reference event identifier exists in a first preset set. The first preset set includes a correspondence between a first type of event identifier and a first type of solution. The first type of solution is a solution that the first electronic device can execute locally. If not, it obtains the location information corresponding to the reference event identifier. The location information is used to indicate the location acquisition status of the first electronic device. Then, it sends a message carrying the location information to the first server. The message contains location information, the reference event identifier, and the application identifier. The first server refers to a server that provides functional support for the target application. Then, the first feedback information sent by the first server in response to the message is obtained. This first feedback information is associated with a first solution and is used to indicate what the first electronic device needs to execute. The first solution is a solution corresponding to the reference event identifier included in a second preset set. The second preset set includes a correspondence between second-type event identifiers and second-type solutions, which are solutions that the first server can execute. Finally, the content corresponding to the first feedback information is executed to resolve the location anomaly. In this way, this solution can quickly locate the cause of the problem based on the event identifier and simultaneously resolve the location anomaly based on information from the electronic device and the target application's server, improving the efficiency of resolving location anomalies and the user experience.
[0072] Please see Figure 2b , Figure 2b This is a flowchart illustrating another solution to a location anomaly provided in an embodiment of this application. The location anomaly detection method provided in this application further includes the following steps:
[0073] Step 301: The first electronic device acquires a reference event identifier and an application identifier from the target application;
[0074] The first electronic device includes the target application, the reference event identifier is used to indicate the event type of the abnormal event, and the application identifier is used to characterize the application running on the first electronic device.
[0075] Step 302: The first electronic device acquires the location information.
[0076] The location information is used to indicate the location acquisition status of the first electronic device. The location information is information corresponding to the event identifier, and the correspondence between the event identifier and the location information can be determined according to a preset protocol or agreement.
[0077] Step 303: The first electronic device sends the message to the second server;
[0078] The message carries the location information, the reference event identifier, and the application identifier, and the second server is the host manufacturer's server of the first electronic device.
[0079] Step 304: The first electronic device determines whether the reference event identifier exists in the first preset set;
[0080] Step 305: If yes, the first electronic device determines the second solution based on the reference event identifier.
[0081] The second solution is the solution corresponding to the reference event identifier included in the first preset set.
[0082] Step 306: The first electronic device executes the second solution to resolve the location anomaly problem.
[0083] After acquiring location information and event identifiers, the electronic device can determine whether a corresponding solution exists based on the event identifier. If so, it resolves the location anomaly issue according to the solution. Simultaneously, the first electronic device also sends application identifiers, event identifiers, and location information to the second server, facilitating subsequent tracing of the location anomaly issue based on the content on the second server. Specifically, it can also send follow-up information to the second server to determine whether the first electronic device has resolved the issue. If the first electronic device has not resolved the issue, the second server can determine a solution based on the event identifiers, location information, and application identifiers uploaded by the first electronic device and send feedback information to the first electronic device to resolve the location anomaly issue. It should be noted that the first electronic device can also send the message to the second server after executing the second solution; in this case, the message can also carry the execution result, i.e., whether the first electronic device has resolved the issue.
[0084] As can be seen, in this example, when a location anomaly occurs, the first electronic device will, on the one hand, autonomously resolve the location anomaly to ensure efficiency and improve user experience, and on the other hand, upload the relevant information to the second server to facilitate subsequent backtracking of the problem.
[0085] In one possible instance, the first electronic device sends a message carrying the location information, the reference event identifier, and the application identifier to the first server, including: determining reporting conditions based on the event identifier; and sending a message carrying the location information, the reference event identifier, and the application identifier to the first server when the reporting conditions are met.
[0086] The reporting conditions can differ depending on the event identifier. After the first electronic device receives an anomaly alert, it retrieves location information based on the event identifier in the alert and then reports this location information to the first server and / or the second server when the reporting conditions are met. These reporting conditions may include time and / or status conditions. For example, the reporting conditions may only include a status condition, i.e., if the current status is that the target application has initiated a navigation operation, location information is reported once. Alternatively, the reporting conditions may include both time and status conditions, i.e., if the first electronic device switches between indoor and outdoor environments, location information is reported every 20 seconds.
[0087] As can be seen, in this example, when the reporting conditions corresponding to the event identifier are met, the location information is reported to the first server, which can obtain the required information in a timely and accurate manner and improve the efficiency of solving location anomaly problems.
[0088] In one possible instance, the location information includes at least one of the following: the satellite search status, location reporting status, and target application interception status of the first electronic device when the information reporting conditions are met, wherein the satellite search status is used to indicate the satellite signal strength, the location reporting status is used to indicate whether the location is reported to the target application within a preset time period, and the target application interception status is used to indicate whether the target application is intercepted.
[0089] The satellite search status includes the signal strength of available satellites, the average satellite search strength of the first electronic device, and the number of available satellites. The location reporting status can include the reporting status of the target application over a period of time, whether the location switch is on, and the reporting success rate, such as whether the location is reported to the target application within 2 seconds. The application interception status includes whether the target application is intercepted, whether the system link is unobstructed, and whether the target application has the necessary permissions. The location information corresponding to each event identifier can include one or more of the above information.
[0090] In one possible instance, the event identifier is used to indicate a positioning anomaly event, which includes a weak positioning signal event, a positioning offset event, or a positioning scene change event.
[0091] Location offset events include inaccurate positioning or significant positional errors between navigation and the map during user interaction with the target application. Location scene change events can occur when a user moves from indoors to outdoors; since different scenes require different map capabilities, location anomalies may also occur during scene transitions.
[0092] As can be seen, in this example, by determining different event identifiers for different event types, the cause of the anomaly can be quickly located and a solution obtained.
[0093] For example, when the primary electronic device is a mobile phone and the target application is a food delivery application, the specific reporting information is shown in the table below:
[0094]
[0095] In the table above, the "Content" section corresponds to the event type, including but not limited to the weak navigation signal and positioning drift events shown in the table. The "Trigger Timing" section indicates the message reporting conditions for the corresponding event type; when these conditions are met, the message will be reported to either the first or second server. The "Transmission Parameters" section corresponds to the content of the message reported by the first electronic device. For example, in the case of a weak navigation signal event, the information reported by the first electronic device after meeting the reporting conditions includes the event identifier, application identifier, and positioning information. The content corresponding to "provider:gps, command:send_gps_timeout" in the table is the event identifier, meaning that GPS is currently in use, but it has been paused or timed out, indicating a weak navigation signal event. The "extras:uuid(application ID#UTC timestamp)" part uses the universally unique identifier (UUID), which is the application identifier. The information following "Mobile Phone Reported Data" is the location information. As shown in the table, this location information can include: the number of available satellites, whether the target application's location was reported within a preset time period, whether the target application was blocked, whether the system link is working properly, whether the navigation and positioning chip is functioning correctly, the electronic device's location switch status, and whether the target application's location permissions are enabled. It should be noted that the location information content and reporting format shown in the table above are only examples; other information and reporting formats may also be included.
[0096] As can be seen, in this example, the first server can determine the current location status based on the location information reported by the first electronic device, and generate feedback information to help the first electronic device resolve the location anomaly. Furthermore, the second server can also record the location status at the time the location anomaly occurred based on the location information reported by the first electronic device, facilitating subsequent backtracking and resolution of the location anomaly.
[0097] Please see Figure 2c , Figure 2c This is a flowchart illustrating another method for resolving anomalies provided in this application. The method for resolving anomalies provided in this application further includes the following steps:
[0098] Step 401: The first server obtains a message from the first electronic device, the message carrying location information, a reference event identifier, and an application identifier.
[0099] Wherein, the location information is the information corresponding to the reference event identifier, the location information is used to indicate the location acquisition status of the first electronic device, the reference event identifier is used to indicate the event type of the location anomaly event, the application identifier is used to characterize the application running on the first electronic device, the first electronic device includes the target application, and the first server refers to the server that provides functional support for the target application.
[0100] Step 402: The first server determines whether the reference event identifier exists in the second preset set.
[0101] The second preset set includes a correspondence between a second type of event identifier and a second type of solution, wherein the second type of solution is a solution that the first server can execute.
[0102] Step 403: If not, the first server obtains the first log information based on the location information and the reference event identifier.
[0103] The first log information is used to indicate the information of the first server when the location anomaly occurred.
[0104] Step 404: The first server sends the first log information to the second server;
[0105] Step 405: The second server determines the target event identifier based on the first log information, the reference event identifier, and the location information.
[0106] The target event identifier can be an event identifier already existing in a first preset set or a second preset set. Alternatively, it can be an event identifier not existing in the first preset set or the second preset set. In this case, the event identifier obtained by the first electronic device is a candidate event identifier. That is, when the target application determines that a location anomaly has occurred, if no corresponding event identifier is found based on the location anomaly, a candidate event identifier can be generated first, and finally, the second server determines the candidate event identifier as the target event identifier.
[0107] Step 406: The second server sends the target event identifier to the first server;
[0108] Step 407: The first server determines a third solution based on the target event identifier;
[0109] Step 408: The first server executes the third solution and generates second feedback information;
[0110] Step 409: The first server sends the second feedback information to the first electronic device based on the application identifier.
[0111] The third solution is the solution corresponding to the target event identifier included in the second preset set, and the second feedback information is used to indicate what the first electronic device needs to perform. When the target application determines that a location anomaly has occurred, it can send the event identifier, location information, and the application identifier of the target application to the first server through the first electronic device. In this way, the target application can know that the current first electronic device has a location anomaly problem. Then, the first server can determine whether there is a corresponding event identifier in the second preset set. If there is, the first server can find the first solution according to the correspondence in the event identifier set and resolve the location anomaly problem. If not, the first server will obtain the first log information of the first server when the location anomaly occurred, and then send the first log information to the second server. The second server determines the event identifier based on the first log information, the application identifier, and the location anomaly information. In particular, the second server can also determine the solution to the current location anomaly problem based on the obtained first log information and location anomaly information.
[0112] In one possible instance, after the second server receives a message from the first electronic device, the method further includes: obtaining first log information from the first server, the first log information indicating information of the first server when the location anomaly occurs; determining a target event identifier based on the first log information, the reference event identifier, and the location information; sending the target event identifier to the first electronic device based on the application identifier; or, sending the target event identifier to the first server.
[0113] In this scenario, when the reference event identifier is a candidate identifier, it means that neither the first electronic device nor the first server can find a corresponding solution based on the event identifier. In this case, the first server sends the log information corresponding to the abnormal event to the second server, which determines the final identifier and the corresponding solution, i.e., the target event identifier and the third solution. If the third solution is the same as the solution corresponding to an existing identifier, then the target event identifier becomes that existing event identifier. For example, if the solution for event identifier A is the same as the solution for the target event identifier, then the target event identifier is determined to be event identifier A. Simultaneously, the correspondence between the event identifier and the location anomaly is updated in the comprehensive event identifier set. This way, when the target application detects the same location anomaly again, the event identifier for that location anomaly can be determined to be event identifier A. If the third solution is not the same as the solution corresponding to any existing identifier, then the target event identifier becomes the reference event identifier, and the correspondence between this event identifier and the location anomaly is updated in the comprehensive event identifier set. In this case, the reference event identifier, or target event identifier, is no longer a candidate identifier but an existing identifier.
[0114] In specific implementation, after determining the target event identifier based on the first log information, the reference event identifier, and the location information, the method further includes: determining a third solution based on the target event identifier; determining the executing entity of the third solution; if the executing entity is an electronic device, then sending the target event identifier to the first electronic device based on the application identifier, and updating the first preset set based on the target event identifier and the third solution; if the executing entity is a server corresponding to the target application, then sending the target event identifier to the first server, and updating the second preset set based on the target event identifier and the third solution. At this point, the first electronic device or the first server can determine the corresponding third solution from the first or second preset set based on the target event identifier, thereby resolving the location anomaly problem. Specifically, before updating the first or second preset set, the method further includes: determining whether the target event identifier is an existing identifier; if not, updating the first or second preset set based on the target event identifier and the third solution; if yes, it means that the first and second preset sets include the target event identifier and the corresponding solution, and therefore no update is needed.
[0115] As can be seen, in this example, the second server resolves the location anomaly issue that has not occurred before and updates the event identifier set. This not only ensures that the location anomaly event can be resolved in a timely manner, but also allows the servers corresponding to other electronic devices or target applications to quickly find solutions when the same problem occurs again.
[0116] In one possible instance, after the first electronic device sends the message to the second server, the method further includes: obtaining a target event identifier sent by the second server in response to the first server in response to the message, wherein the target event identifier is an event identifier in a first preset set, and the first log information is used to indicate information of the first server when the location anomaly occurs; determining a third solution based on the target event identifier, wherein the third solution is a solution corresponding to the target event identifier in the first preset set; and executing the third solution to resolve the location anomaly.
[0117] When the first electronic device obtains the target event identifier, it can determine the third solution from the first preset set based on the target event identifier, thereby solving the problem of abnormal positioning.
[0118] As can be seen, in this example, by having the second server resolve the location anomaly issue that has not occurred before and update the event identifier set, the first electronic device can quickly and timely resolve the location anomaly issue.
[0119] In one possible instance, before the second server obtains the application identifier, reference event identifier, and location information from the first electronic device, the method further includes: obtaining after-sales information, which indicates the event type of a location anomaly event of the second electronic device, wherein the second electronic device is any one of a plurality of electronic devices corresponding to the second server; determining the application identifier corresponding to the second electronic device based on the after-sales information; sending a log acquisition request to a third server based on the application identifier corresponding to the second electronic device and the after-sales information, wherein the third server is a server corresponding to a target application included in the second electronic device; obtaining second log information from the third server; determining a third event identifier and a fourth solution corresponding to the third event identifier based on the second log information and the after-sales information; updating a first preset set or a second preset set based on the third event identifier and the fourth solution, wherein the first preset set includes a correspondence between a first type of event identifier and a first type of solution, the first type of solution being a solution that can be executed locally by the first electronic device, and the second preset set includes a correspondence between a second type of event identifier and a second type of solution, the second type of solution being a solution that can be executed by the first server.
[0120] The second server can correspond to multiple electronic devices, and the second electronic device can also refer to the first electronic device. This after-sales information includes location anomalies reported by users when using the electronic devices. The second server can find the application identifier of the target application using the International Mobile Equipment Identity (IMEI). Then, the second server can find the corresponding first server based on the application identifier. The first server can then determine the location information at that time based on the application identifier and the after-sales information, and then find the second log information of the first server at that time. The second server can then determine the solution to the location anomaly problem corresponding to the after-sales information and its corresponding event identifier based on the obtained second log information. This after-sales information can be sent online by the second electronic device to the second server, or it can be offline information obtained by the second server, such as information submitted by the user at the after-sales service center of the electronic device. It should be noted that if the fourth solution corresponding to the third event identifier is the same as the solution corresponding to the existing event identifier, only the third event identifier and the correspondence between the third event identifier and the solution need to be updated.
[0121] As can be seen, in this example, the second server can obtain information on newly emerging location anomalies based on after-sales information and provide solutions, so that the first electronic device and the first server can respond and resolve the issue quickly when a similar situation occurs again.
[0122] In one possible instance, after the second server determines the third event identifier and the fourth solution corresponding to the third event identifier based on the second log information and the after-sales information, the method further includes: determining the executing entity of the fourth solution, the executing entity including an electronic device or a server corresponding to the target application; when the executing entity is the electronic device, updating the first preset set based on the third event identifier and the fourth solution; when the executing entity is the server corresponding to the target application, updating the second preset set based on the third event identifier and the fourth solution.
[0123] Before updating the first or second preset set, the method further includes: updating the comprehensive event identifier set based on the after-sales information and the third event identifier, wherein the comprehensive event identifier set includes the correspondence between location anomalies and event identifiers; and determining whether there is a solution identical to the fourth solution among the solutions corresponding to the existing identifiers. If so, the third event identifier is determined to be an existing identifier, and in this case, only the comprehensive event identifier set needs to be updated, without updating the first or second preset set. If there is no solution identical to the fourth solution among the solutions corresponding to the existing identifiers, the third event identifier is a newly appearing event identifier, and in this case, not only the comprehensive event identifier set needs to be updated, but also the first or second preset set needs to be updated.
[0124] As can be seen, in this example, the second server resolves the location anomaly issue that has not occurred before and updates the event identifier set. This not only ensures that the location anomaly event can be resolved in a timely manner, but also allows the servers corresponding to other electronic devices or target applications to quickly find solutions when the same problem occurs again.
[0125] For examples consistent with the above embodiments, please refer to... Figure 3 , Figure 3This is a functional unit block diagram of a location anomaly resolution device provided in this application embodiment. The location anomaly resolution device 3 is applied to a first electronic device, and the device 3 includes: a first acquisition unit 31, used to acquire a reference event identifier and an application identifier from a target application, the first electronic device including the target application, the reference event identifier being used to indicate the event type of the location anomaly event, and the application identifier being used to characterize the application running on the first electronic device; a determination unit 32, used to determine whether the reference event identifier exists in a first preset set, the first preset set including a correspondence between a first type of event identifier and a first type of solution, the first type of solution being a solution that can be executed locally by the first electronic device; a second acquisition unit 33, used to acquire location information corresponding to the reference event identifier if not, the location information being used to indicate the location acquisition status of the first electronic device; and a sending unit 34, used to... The system sends a message to a first server carrying the location information, the reference event identifier, and the application identifier. The first server refers to a server that provides functional support for the target application. The third acquisition unit 35 is used to acquire first feedback information sent by the first server in response to the message. The first feedback information is feedback information associated with a first solution. The first feedback information is used to indicate the content that the first electronic device needs to execute. The first solution is a solution corresponding to the reference event identifier included in a second preset set. The second preset set includes a correspondence between a second type of event identifier and a second type of solution. The second type of solution is a solution that the first server can execute. The execution unit 36 is used to execute the content corresponding to the first feedback information. The content is used to resolve the location anomaly problem.
[0126] In one possible instance, after determining whether the reference event identifier exists in the first preset set, the device 3 is further configured to: if so, determine a second solution based on the reference event identifier, wherein the second solution is the solution corresponding to the reference event identifier included in the first preset set; execute the second solution, wherein the second solution is used to resolve the location anomaly problem.
[0127] In one possible instance, after acquiring the reference event identifier and application identifier from the target application, the device 3 is further configured to: acquire the location information; and send the message to a second server, wherein the second server is the OEM server of the first electronic device.
[0128] In one possible instance, after sending the message to the second server, the device 3 is further configured to: obtain a target event identifier sent by the second server in response to the first server in response to the first server and the message, wherein the target event identifier is an event identifier in the first preset set, and the first log information is used to indicate information of the first server when the location anomaly occurs; determine a third solution based on the target event identifier, wherein the third solution is a solution corresponding to the target event identifier in the first preset set; and execute the third solution to resolve the location anomaly.
[0129] In one possible instance, in sending a message carrying the location information, the reference event identifier, and the application identifier to the first server, the sending unit 34 is specifically configured to: determine reporting conditions based on the event identifier; and send a message carrying the location information, the reference event identifier, and the application identifier to the first server when the reporting conditions are met.
[0130] In one possible instance, the location information includes at least one of the following: the satellite search status, location reporting status, and target application interception status of the first electronic device when the information reporting conditions are met, wherein the satellite search status is used to indicate the satellite signal strength, the location reporting status is used to indicate whether the location is reported to the target application within a preset time period, and the target application interception status is used to indicate whether the target application is intercepted.
[0131] It is understood that since the method embodiments and the device embodiments are different presentations of the same technical concept, the content of the method embodiment section in this application should be adapted to the device embodiment section, and will not be repeated here.
[0132] In the case of using integrated units, please refer to Figure 4 , Figure 4 This is a functional unit block diagram of another location anomaly resolution device provided in an embodiment of this application. Figure 4 The location anomaly resolution device 400 includes a processing module 412 and a communication module 411. The processing module 412 controls and manages the actions of the location anomaly resolution device, for example, executing the steps of the first acquisition unit 31, the determination unit 32, the second acquisition unit 33, the sending unit 34, the third acquisition unit 35, and the execution unit 36, and / or performing other processes of the technology described herein. The communication module 411 is used for interaction between the location anomaly resolution device and other devices. Figure 4 As shown, the location anomaly device may also include a storage module 413, which is used to store the program code and data of the location anomaly device.
[0133] The processing module 412 can be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The communication module 411 can be a transceiver, RF circuitry, or a communication interface, etc. The storage module 413 can be a memory.
[0134] All relevant content for each scenario involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here. The above-mentioned location anomaly resolution device 400 can perform the above-mentioned... Figure 2a The solution to the location anomaly is shown below.
[0135] For examples consistent with the above embodiments, please refer to... Figure 5 , Figure 5 This is a block diagram of the functional units of another location anomaly resolution device provided in this application embodiment. The location anomaly resolution device 5 is applied to a first server. The device 5 includes: an acquisition unit 51, used to acquire a message from a first electronic device, the message carrying location information, a reference event identifier, and an application identifier. The location information is information corresponding to the reference event identifier, used to indicate the location acquisition status of the first electronic device. The reference event identifier is used to indicate the event type of the location anomaly event, and the application identifier is used to characterize the application running on the first electronic device. The first electronic device includes a target application, and the first server refers to a server that provides functional support for the target application; a first determination unit 52, used to determine whether the reference event identifier exists in a second preset set, the second preset set including a correspondence between a second type of event identifier and a second type of solution, the second type of solution being a solution that the first server can execute; a second determination unit 53, used to determine a first solution based on the reference event identifier if yes, the first solution being a solution corresponding to the reference event identifier included in the second preset set; an execution unit 54, used to execute the first solution and generate first feedback information, the first feedback information being used to indicate the content that the electronic device needs to execute; and a sending unit 55, used to send the first feedback information to the first electronic device based on the application identifier.
[0136] In one possible instance, after determining whether the reference event identifier exists in the second preset set, the device 5 is further configured to: if not, obtain first log information based on the location information and the reference event identifier, the first log information indicating information of the first server when the location anomaly occurs; send the first log information to a second server; obtain a target event identifier sent by the second server in response to the first log information and the message of the first electronic device, the target event identifier being an event identifier in the second preset set; determine a third solution based on the target event identifier, the third solution being a solution corresponding to the target event identifier in the second preset set; execute the third solution and generate second feedback information, the second feedback information indicating what the first electronic device needs to perform; and send the second feedback information to the first electronic device based on the application identifier.
[0137] It is understood that since the method embodiments and the device embodiments are different presentations of the same technical concept, the content of the method embodiment section in this application should be adapted to the device embodiment section, and will not be repeated here.
[0138] In the case of using integrated units, please refer to Figure 6 , Figure 6 This is a functional unit block diagram of another location anomaly resolution device provided in an embodiment of this application. Figure 6 The location anomaly resolution device 600 includes a processing module 612 and a communication module 611. The processing module 612 controls and manages the actions of the location anomaly resolution device, for example, executing the steps of the acquisition unit 51, the first determination unit 52, the second determination unit 53, the execution unit 54, and the sending unit 55, and / or performing other processes of the technology described herein. The communication module 611 is used for interaction between the location anomaly resolution device and other devices. Figure 6 As shown, the location anomaly device may also include a storage module 613, which is used to store the program code and data of the location anomaly device.
[0139] The processing module 612 can be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The communication module 611 can be a transceiver, RF circuitry, or a communication interface, etc. The storage module 613 can be a memory.
[0140] All relevant content for each scenario involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here. The above-mentioned location anomaly resolution device 600 can perform the above-mentioned... Figure 2a The solution to the location anomaly is shown below.
[0141] For examples consistent with the above embodiments, please refer to... Figure 7 , Figure 7 This is a functional unit block diagram of another location anomaly resolution device provided in this application embodiment. The location anomaly resolution device 7 is applied to a second server. The device includes: an acquisition unit 71, used to acquire a message from a first electronic device. The message carries an application identifier, a reference event identifier, and location information. The application identifier is used to characterize the application running on the first electronic device. The reference event identifier is used to indicate the event type of the location anomaly event. The location information is information corresponding to the event identifier and is used to indicate the information acquisition status of the first electronic device. The first electronic device includes a target application. The first server is a server that provides functional support for the target application. The second server is the OEM server of the first electronic device.
[0142] In one possible instance, after obtaining the message from the first electronic device, the device 7 is further configured to: obtain first log information from the first server, the first log information indicating information of the first server when the location anomaly occurs; determine a target event identifier based on the first log information, the reference event identifier, and the location information; send the target event identifier to the first electronic device based on the application identifier; or, send the target event identifier to the first server.
[0143] In one possible instance, before acquiring the message from the first electronic device, the device 7 is further configured to: acquire after-sales information, the after-sales information indicating the event type of a location anomaly event of a second electronic device, the second electronic device being any one of a plurality of electronic devices corresponding to the second server; determine an application identifier corresponding to the second electronic device based on the after-sales information; send a log acquisition request to a third server based on the application identifier corresponding to the second electronic device and the after-sales information, the third server being a server corresponding to a target application included in the second electronic device; acquire second log information from the third server; determine a third event identifier and a fourth solution corresponding to the third event identifier based on the second log information and the after-sales information; update a first preset set or a second preset set based on the third event identifier and the fourth solution, the first preset set including a correspondence between a first type of event identifier and a first type of solution, the first type of solution being a solution that can be executed locally by the first electronic device, the second preset set including a correspondence between a second type of event identifier and a second type of solution, the second type of solution being a solution that can be executed by the first server.
[0144] It is understood that since the method embodiments and the device embodiments are different presentations of the same technical concept, the content of the method embodiment section in this application should be adapted to the device embodiment section, and will not be repeated here.
[0145] In the case of using integrated units, please refer to Figure 8 , Figure 8 This is a functional unit block diagram of another location anomaly resolution device provided in an embodiment of this application. Figure 8 In this document, the location anomaly resolution device 800 includes a processing module 812 and a communication module 811. The processing module 812 controls and manages the operation of the location anomaly resolution device, for example, executing the steps of the acquisition unit 71, and / or other processes for performing the techniques described herein. The communication module 811 is used for interaction between the location anomaly resolution device and other devices. Figure 8 As shown, the location anomaly device may also include a storage module 813, which is used to store the program code and data of the location anomaly device.
[0146] The processing module 812 can be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The communication module 811 can be a transceiver, RF circuitry, or a communication interface, etc. The storage module 813 can be a memory.
[0147] All relevant content in each scenario involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here. The above-mentioned location anomaly resolution device 800 can perform the above-mentioned... Figure 2a The solution to the location anomaly is shown below.
[0148] The above mainly describes the solutions of the embodiments of this application from the perspective of the method execution process. It is understood that, in order to achieve the above functions, the electronic device includes the corresponding hardware structure and software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments provided herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0149] This application embodiment can divide the electronic device into functional units according to the above method example. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0150] This application also provides a chip, wherein the chip includes a processor for calling and running a computer program from a memory, causing a device on which the chip is installed to perform some or all of the steps described in the above method embodiments of the electronic device.
[0151] This application also provides a computer storage medium storing a computer program for electronic data interchange, which causes a computer to perform some or all of the steps of any of the methods described in the above method embodiments, wherein the computer includes an electronic device.
[0152] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods described in the above method embodiments. The computer program product may be a software installation package, and the computer may include an electronic device.
[0153] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0154] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0155] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0156] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0157] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0158] If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0159] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0160] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
[0161] While the present invention has been disclosed above, it is not limited thereto. Any person skilled in the art can easily conceive of variations or substitutions without departing from the spirit and scope of the present invention, and various modifications and alterations can be made, including combinations of the different functions and implementation steps described above, as well as software and hardware implementation methods, all of which are within the protection scope of the present invention.
Claims
1. A method for locating anomalies, characterized in that, Applied to a first electronic device, the method includes: Obtain a reference event identifier and an application identifier from a target application, wherein the first electronic device includes the target application, the reference event identifier is used to indicate the event type for locating an abnormal event, and the application identifier is used to characterize the application running on the first electronic device; Obtain the location information corresponding to the reference event identifier, the location information being used to indicate the location acquisition status of the first electronic device; Send a message carrying the location information, the reference event identifier, and the application identifier to a second server, where the second server is the OEM server of the first electronic device; Determine whether the reference event identifier exists in the first preset set. The first preset set includes the correspondence between a first type of event identifier and a first type of solution. The first type of solution is a solution that can be executed locally by the first electronic device. If not, a message carrying the location information, the reference event identifier, and the application identifier is sent to the first server, where the first server refers to the server that provides functional support for the target application. Obtain first feedback information sent by the first server in response to the message. The first feedback information is feedback information associated with the first solution. The first feedback information is used to indicate the content that the first electronic device needs to perform. The first solution is the solution corresponding to the reference event identifier included in the second preset set. The second preset set includes the correspondence between the second type of event identifier and the second type of solution. The second type of solution is a solution that the first server can execute. Execute the content corresponding to the first feedback information, which is used to resolve the location anomaly problem; as well as, Obtain the target event identifier sent by the second server in response to the first server's first log information and the message, wherein the target event identifier is an event identifier in the first preset set, and the first log information is used to indicate the information of the first server when the location anomaly occurs; A third solution is determined based on the target event identifier, wherein the third solution is the solution corresponding to the target event identifier in the first preset set, and the first preset set is updated based on the target event identifier and the third solution; The third solution is implemented to resolve the location anomaly problem.
2. The method according to claim 1, characterized in that, The method further includes: If so, a second solution is determined based on the reference event identifier, and the second solution is the solution corresponding to the reference event identifier included in the first preset set; The second solution is implemented to resolve the location anomaly problem.
3. The method according to any one of claims 1-2, characterized in that, Sending a message carrying the location information, the reference event identifier, and the application identifier to the first server includes: The reporting conditions are determined based on the event identifier; When the reporting conditions are met, a message carrying the location information, the reference event identifier, and the application identifier is sent to the first server.
4. The method according to claim 3, characterized in that, The location information includes at least one of the following: the satellite search status, location reporting status, and target application interception status of the first electronic device when the information reporting conditions are met. The satellite search status is used to indicate the satellite signal strength, the location reporting status is used to indicate whether the location is reported to the target application within a preset time period, and the target application interception status is used to indicate whether the target application is intercepted.
5. A method for locating anomalies, characterized in that, Applied to a first server, the method includes: A message is received from a first electronic device. The message carries location information, a reference event identifier, and an application identifier. The location information is information corresponding to the reference event identifier. The location information is used to indicate the location acquisition status of the first electronic device. The reference event identifier is used to indicate the event type of the location anomaly event. The application identifier is used to characterize the application running on the first electronic device. The first electronic device includes a target application. The first server refers to a server that provides functional support for the target application. Determine whether the reference event identifier exists in the second preset set, wherein the second preset set includes the correspondence between a second type of event identifier and a second type of solution, and the second type of solution is a solution that the first server can execute; If so, a first solution is determined based on the reference event identifier, wherein the first solution is the solution corresponding to the reference event identifier included in the second preset set; The first solution is executed and a first feedback message is generated, which indicates what the electronic device needs to perform. The first feedback information is sent to the first electronic device according to the application identifier; The first electronic device is used to send the message to a second server, where the second server is the OEM server of the first electronic device; and to determine whether the reference event identifier exists in a first preset set, the first preset set including a correspondence between a first type of event identifier and a first type of solution, where the first type of solution is a solution that can be executed locally by the first electronic device; and if not, to send the message to the first server; and The first electronic device is used to execute the content corresponding to the first feedback information, the content being used to resolve the location anomaly problem; and, The first electronic device is further configured to acquire a target event identifier sent by the second server in response to the first server's first log information and the message, wherein the target event identifier is an event identifier in the first preset set, and the first log information is used to indicate information of the first server when the location anomaly occurs; determine a third solution based on the target event identifier, wherein the third solution is a solution corresponding to the target event identifier in the first preset set; update the first preset set based on the target event identifier and the third solution; and execute the third solution to resolve the location anomaly.
6. The method according to claim 5, characterized in that, The method further includes: If not, the first log information is obtained based on the location information and the reference event identifier. The first log information is used to indicate the information of the first server when the location anomaly occurs. Send the first log information to the second server; Obtain the target event identifier sent by the second server in response to the first log information and the message from the first electronic device, wherein the target event identifier is an event identifier in the second preset set; A third solution is determined based on the target event identifier, wherein the third solution is the solution corresponding to the target event identifier in the second preset set; The third solution is executed and a second feedback message is generated, which indicates what the first electronic device needs to perform. The second feedback information is sent to the first electronic device according to the application identifier.
7. A method for locating anomalies, characterized in that, Applied to a second server, the method includes: A message is received from a first electronic device. The message carries an application identifier, a reference event identifier, and location information. The application identifier is used to characterize the application running on the first electronic device. The reference event identifier is used to indicate the event type of the location anomaly event. The location information is information corresponding to the event identifier and is used to indicate the location acquisition status of the first electronic device. The first electronic device includes a target application. The first server is a server that provides functional support for the target application. The second server is the OEM server of the first electronic device. The first electronic device is configured to send the message to the second server; and to obtain a target event identifier sent by the second server in response to the first server's first log information and the message, wherein the target event identifier is an event identifier in a first preset set, the first log information is used to indicate information of the first server when a location anomaly occurs, the first preset set includes a correspondence between a first type of event identifier and a first type of solution, the first type of solution being a solution that the first electronic device can execute locally; to determine a third solution based on the target event identifier, the third solution being a solution corresponding to the target event identifier in the first preset set; and to update the first preset set based on the target event identifier and the third solution; and to execute the third solution, the third solution being used to resolve the location anomaly.
8. The method according to claim 7, characterized in that, After obtaining the message from the first electronic device, the method further includes: Obtain first log information from the first server, the first log information being used to indicate information from the first server when the location anomaly occurred; The target event identifier is determined based on the first log information, the reference event identifier, and the location information; The target event identifier is sent to the first electronic device according to the application identifier; or... Send the target event identifier to the first server.
9. The method according to claim 7, characterized in that, Before obtaining the message from the first electronic device, the method further includes: Obtain after-sales information, which is used to indicate the event type of the location abnormality event of the second electronic device, wherein the second electronic device is any one of the multiple electronic devices corresponding to the second server; The application identifier corresponding to the second electronic device is determined based on the after-sales information; A log acquisition request is sent to a third server based on the application identifier corresponding to the second electronic device and the after-sales information. The third server is the server corresponding to the target application included in the second electronic device. Obtain the second log information from the third server; Based on the second log information and the after-sales information, determine the third event identifier and the fourth solution corresponding to the third event identifier; The first preset set or the second preset set is updated according to the third event identifier and the fourth solution. The first preset set includes the correspondence between the first type of event identifier and the first type of solution, where the first type of solution is a solution that can be executed locally by the first electronic device. The second preset set includes the correspondence between the second type of event identifier and the second type of solution, where the second type of solution is a solution that can be executed by the first server.
10. A device for resolving location anomalies, characterized in that, Applied to a first electronic device, the device includes: The first acquisition unit is configured to acquire a reference event identifier and an application identifier from a target application, wherein the first electronic device includes the target application, the reference event identifier is used to indicate the event type of a location anomaly event, and the application identifier is used to characterize the application running on the first electronic device; acquire location information corresponding to the reference event identifier, wherein the location information is used to indicate the location acquisition status of the first electronic device; and send a message carrying the location information, the reference event identifier, and the application identifier to a second server, wherein the second server is the OEM server of the first electronic device. The determining unit is used to determine whether the reference event identifier exists in the first preset set, wherein the first preset set includes the correspondence between a first type of event identifier and a first type of solution, and the first type of solution is a solution that can be executed locally by the first electronic device; The second acquisition unit is used to acquire, if not, the location information corresponding to the reference event identifier, wherein the location information is used to indicate the location acquisition status of the first electronic device; The sending unit is used to send a message carrying the location information, the reference event identifier and the application identifier to the first server, where the first server refers to a server that provides functional support for the target application. The third acquisition unit is used to acquire the first feedback information sent by the first server in response to the message. The first feedback information is the feedback information associated with the first solution. The first feedback information is used to indicate the content that the first electronic device needs to execute. The first solution is the solution corresponding to the reference event identifier included in the second preset set. The second preset set includes the correspondence between the second type of event identifier and the second type of solution. The second type of solution is the solution that the first server can execute. An execution unit is configured to execute content corresponding to the first feedback information, the content being used to resolve a location anomaly; and to acquire a target event identifier sent by the second server in response to the first server's first log information and the message, the target event identifier being an event identifier in a first preset set, the first log information being used to indicate information about the first server when the location anomaly occurs; to determine a third solution based on the target event identifier, the third solution being a solution corresponding to the target event identifier in the first preset set; and to update the first preset set based on the target event identifier and the third solution; and to execute the third solution, the third solution being used to resolve the location anomaly.
11. A device for resolving location anomalies, characterized in that, Applied to a first server, the device includes: The acquisition unit is used to acquire a message from a first electronic device. The message carries location information, a reference event identifier, and an application identifier. The location information is information corresponding to the reference event identifier and is used to indicate the location acquisition status of the first electronic device. The reference event identifier is used to indicate the event type of the location anomaly event. The application identifier is used to characterize the application running on the first electronic device. The first electronic device includes a target application. The first server refers to a server that provides functional support for the target application. The first determining unit is used to determine whether the reference event identifier exists in the second preset set, the second preset set including the correspondence between the second type of event identifier and the second type of solution, the second type of solution being a solution that the first server can execute; The second determining unit is used to determine a first solution based on the reference event identifier if the condition is met, wherein the first solution is the solution corresponding to the reference event identifier included in the second preset set. An execution unit is configured to execute the first solution and generate first feedback information, wherein the first feedback information is used to indicate what the electronic device needs to perform. A sending unit is configured to send the first feedback information to the first electronic device according to the application identifier; The first electronic device is used to send the message to a second server, where the second server is the OEM server of the first electronic device; and to determine whether the reference event identifier exists in a first preset set, the first preset set including a correspondence between a first type of event identifier and a first type of solution, where the first type of solution is a solution that can be executed locally by the first electronic device; and if not, to send the message to the first server; and The first electronic device is used to execute the content corresponding to the first feedback information, the content being used to resolve the location anomaly problem; and, The first electronic device is further configured to acquire a target event identifier sent by the second server in response to the first server's first log information and the message, wherein the target event identifier is an event identifier in the first preset set, and the first log information is used to indicate information of the first server when the location anomaly occurs; determine a third solution based on the target event identifier, wherein the third solution is a solution corresponding to the target event identifier in the first preset set; update the first preset set based on the target event identifier and the third solution; and execute the third solution to resolve the location anomaly.
12. A device for resolving location anomalies, characterized in that, Applied to a second server, the device includes: The acquisition unit is used to acquire a message from a first electronic device. The message carries an application identifier, a reference event identifier, and location information. The application identifier is used to characterize the application running on the first electronic device. The reference event identifier is used to indicate the event type of the location anomaly event. The location information is information corresponding to the event identifier and is used to indicate the location acquisition status of the first electronic device. The first electronic device includes a target application. The first server is a server that provides functional support for the target application. The second server is the OEM server of the first electronic device. The first electronic device is configured to send the message to the second server; and to obtain a target event identifier sent by the second server in response to the first server's first log information and the message, wherein the target event identifier is an event identifier in a first preset set, the first log information is used to indicate information of the first server when a location anomaly occurs, the first preset set includes a correspondence between a first type of event identifier and a first type of solution, the first type of solution being a solution that the first electronic device can execute locally; to determine a third solution based on the target event identifier, the third solution being a solution corresponding to the target event identifier in the first preset set; and to update the first preset set based on the target event identifier and the third solution; and to execute the third solution, the third solution being used to resolve the location anomaly.
13. An electronic device, characterized in that, It includes a processor, a memory, and one or more programs, said one or more programs being stored in the memory and configured to be executed by the processor, said programs including instructions for performing the steps of the method as described in any one of claims 1-4.
14. A server, characterized in that, The method includes a processor, a memory, and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps of the method as described in any one of claims 5-9.
15. A computer-readable storage medium having a computer program / instructions stored thereon, characterized in that, The computer program / instructions are executed by the processor to implement the steps of the method according to any one of claims 1-9.
16. A chip, characterized in that, The chip includes a processor for calling and running a computer program from memory, causing a device on which the chip is installed to perform the steps of the method as described in any one of claims 1-9.
Citation Information
Patent Citations
Feedback method and apparatus for positioning faults, and server
CN104869019A
Abnormal event processing method and device
CN113360308A