Information processing method and device and computer storage medium
By automatically judging and processing the status of the navigation application on the electronic device, intelligent switching from driving navigation to walking/cycle navigation is achieved, solving the problems of cumbersome user operations and failed navigation services in the prior art, and improving the user experience.
Patent Information
- Application Number
- CN202411986053.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-21
- Publication Date
- 2025-04-25
AI Technical Summary
In the prior art, when a user needs to manually switch navigation mode, repeatedly enter navigation destinations or call a third-party navigation application after driving to a parking point, it is easy to have problems such as navigation service failure or complicated operations, which affects the user experience.
By determining whether the predetermined condition is satisfied on the electronic device, it is determined whether the state of the target application belongs to the non-idle state, and when the condition is met, the target application is exited from the non-idle state, and finally the target navigation state of the target application is started.
It realizes intelligent switching of navigation mode in the off-car state, reduces the steps of manual operation by users, and improves the smoothness and efficiency of navigation mode switching.
Smart Images

Figure CN119883565A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure generally relate to the field of information processing, and more particularly to methods, devices, and computer storage media for information processing. Background Art
[0002] Currently, users can use the in-vehicle navigation system or portable devices to provide driving navigation services while driving. When the parking point is still some distance away from the destination, the user needs to switch from the driving navigation state to the walking / cycling navigation state to obtain navigation guidance for that section of the journey. However, in this process, users may encounter problems such as the need to manually switch navigation modes, repeatedly input navigation destinations, or the failure of walking / cycling navigation calling third-party navigation applications, which makes the user operation cumbersome, inefficient and unintelligent, destroys the smoothness of navigation mode switching, and affects the user experience. Summary of the invention
[0003] The embodiments of the present disclosure provide a method, device and computer storage medium for information processing, which can avoid problems such as manual switching of navigation modes, repeated input of navigation destinations or failure to call navigation services of third-party applications, and realize intelligent switching of navigation modes when leaving the vehicle, which is more convenient and efficient.
[0004] In a first aspect of the present disclosure, a method for information processing is provided. The method includes: determining, at an electronic device, whether a predetermined condition is satisfied; in response to the satisfaction of the predetermined condition, determining whether a state of a target application belongs to a non-idle state; in response to determining that the state of the target application belongs to a non-idle state, causing the target application to exit the non-idle state; and starting a target navigation state of the target application.
[0005] In a second aspect of the present disclosure, an electronic device is provided. The electronic device includes at least one processing unit and at least one memory. The at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the electronic device performs an action, the action comprising: determining whether a predetermined condition is satisfied at the electronic device; in response to the satisfaction of the predetermined condition, determining whether the state of a target application belongs to a non-idle state; in response to determining that the state of the target application belongs to a non-idle state, causing the target application to exit the non-idle state; and starting a target navigation state of the target application.
[0006] In a third aspect of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, which, when executed by a machine, enables the machine to implement any step of the method described in the first aspect of the present disclosure.
[0007] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the present disclosure, nor is it intended to limit the scope of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present disclosure.
[0009] Figure 1 A schematic diagram showing an example of an information processing environment 100 according to an embodiment of the present disclosure;
[0010] Figure 2 A schematic flow chart of a method 200 for information processing according to an embodiment of the present disclosure is shown;
[0011] Figure 3 A schematic flow chart of a method 300 for information processing according to an embodiment of the present disclosure is shown;
[0012] Figure 4 A schematic flow chart of a method 400 for information processing according to an embodiment of the present disclosure is shown;
[0013] Figure 5 A schematic diagram showing an example interface 500 according to an embodiment of the present disclosure; and
[0014] Figure 6 A schematic block diagram of an example device 600 is shown that may be used to implement embodiments of the present disclosure.
[0015] In the various drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION
[0016] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0017] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0018] As described above, in the existing solutions for switching navigation modes, users are required to manually switch navigation modes, repeatedly input navigation destinations, or fail to call navigation services of third-party applications, which makes user operations cumbersome, inefficient and unintelligent, destroys the smoothness of navigation mode switching, and affects the user experience.
[0019] In order to at least partially solve one or more of the above problems and other potential problems, an exemplary embodiment of the present disclosure proposes a scheme for information processing. In the scheme, at an electronic device, it is determined whether a predetermined condition is satisfied; in response to the satisfaction of the predetermined condition, it is determined whether the state of a target application belongs to a non-idle state; in response to determining that the state of the target application belongs to a non-idle state, the target application is exited from the non-idle state; and a target navigation state of the target application is started.
[0020] As a result, intelligent switching of navigation modes can be achieved when leaving the vehicle, helping users to smoothly switch navigation status, which is more convenient, flexible and efficient.
[0021] Hereinafter, specific examples of the present solution will be described in more detail with reference to the accompanying drawings.
[0022] Figure 1 A schematic diagram of an example of a telematics environment 100 according to an embodiment of the present disclosure is shown. The telematics environment 100 includes a vehicle 110, an electronic device 120, and a user 130.
[0023] The vehicle 110 includes at least on-board electronic equipment and a communication module.
[0024] The on-board electronic device is, for example, but not limited to, an on-board computer, an on-board controller, and the like. The on-board electronic device includes at least a processor and a memory. The memory is used to store one or more computer programs. The processor is coupled to the memory and executes one or more programs so that the on-board electronic device can perform one or more functions. In some embodiments, the on-board electronic device may generate a message indicating the vehicle status for sending the electronic device 120. In some embodiments, the on-board electronic device may also generate a message indicating a predetermined destination 160 for sending the electronic device 120 as the destination location in the target navigation state. In some embodiments, the on-board electronic device may also include an on-board display or be coupled to an on-board display to display a related interface, such as a driving navigation page.
[0025] A communication module, such as a T-BOX, can be used to communicate with the electronic device 120. In some embodiments, the communication module may include a direct communication module for directly communicating with the electronic device 120. For example, the direct communication module can communicate with the electronic device 120 via any direct communication technology such as Bluetooth, WiFi, Zigbee, Near Field Communication (NFC), and USB. In some embodiments, the on-board electronic device can send the collected vehicle status information to the electronic device 120 through the direct communication module, as well as send a message indicating the predetermined destination 160. For example, after locking the car with the car key, the vehicle 110 can send the locking status to the electronic device 120 via Bluetooth or WiFi. For another example, the vehicle 110 can send a message indicating the predetermined destination 160 to the electronic device 120 via Bluetooth or WiFi, so that the electronic device 120 can start the target state navigation state.
[0026] Alternatively or additionally, the communication module may include a cellular communication module for communicating with the electronic device 120 via a cellular network. For example, the cellular communication module may communicate with the electronic device 120 via any cellular communication technology such as 5G, LTE, EVDO, CDMA, GPRS, and EDGE. The in-vehicle electronic device may, for example, send the collected vehicle status information to the electronic device 120 via the cellular communication module, and send a message indicating the predetermined destination 160.
[0027] In some embodiments, the electronic device 120 may be an electronic device with wireless transceiver capability and capable of accessing the Internet, such as but not limited to a mobile phone, a smart phone, a laptop computer, a tablet computer, a personal digital assistant (PDA), a wearable device, etc.
[0028] In some embodiments, the electronic device 120 may include at least a communication module, a display, a memory and a processor. The communication module is used to communicate with the vehicle 110. The communication module here is similar to the communication module in the vehicle 110 and will not be repeated here. In some embodiments, the electronic device 120 can obtain or receive vehicle status information from the vehicle 110, and obtain or receive a message from the vehicle 110 indicating a predetermined destination 160. The memory is used to store one or more computer programs. The display is used to display various interfaces and information. The processor is coupled to the memory and executes one or more programs to enable the electronic device 120 to perform one or more functions. In some embodiments, the electronic device 120 can detect the current position of the electronic device 120 and calculate the distance between the current position of the electronic device 120 and the predetermined position 150.
[0029] In addition, the electronic device 120 may also include a camera, for example, for acquiring images and / or videos. In some embodiments, the electronic device 120 may include a front camera. For example, the electronic device 120 may acquire a gesture image of the user 130 through the front camera.
[0030] The electronic device 120 may also include a sound collection device, which is used to obtain the voice input of the user 130. For example, the electronic device 120 may obtain the voice command input by the user 130 through a microphone, and perform related operations according to the voice command.
[0031] In some embodiments, the display of the electronic device 120 may include a touch screen for receiving a touch action instruction from the user 130. For example, the electronic device 120 may obtain a touch action instruction input by the user 130 through the touch screen, and perform related operations according to the touch action instruction.
[0032] The electronic device 120 may further include an acceleration sensor for obtaining the acceleration of the electronic device 120. The electronic device 120 may obtain the acceleration through the acceleration sensor, determine that the user 130 has performed a predetermined pattern of motion on the electronic device 120, and the electronic device 120 may perform related operations according to the predetermined pattern of motion. For example, the electronic device 120 may detect whether the electronic device 120 is shaken based on the acceleration, and if the shaking of the electronic device 120 is detected, perform related operations. In some embodiments, the memory may also store the schedule of the user 130. The schedule may include, for example, a date, a destination, and a content. The content may be, for example, a business visit, a business trip, etc.
[0033] In the following, we will combine Figure 2 The actions performed by the electronic device 120 are described in detail.
[0034] Figure 22 shows a flow chart of a method 200 for information processing according to an embodiment of the present disclosure. For example, the method 200 may be performed as follows: Figure 1 The method 200 is performed by the electronic device 120 shown. It should be understood that the method 200 may further include additional blocks not shown and / or may omit the blocks shown, and the scope of the present disclosure is not limited in this respect.
[0035] At box 202, at the electronic device 120, it is determined whether the predetermined condition is satisfied. In some embodiments, the predetermined condition may be receiving predetermined vehicle status information from the vehicle-mounted electronic device. The predetermined vehicle status information, for example, includes vehicle status information indicating that the user 130 has finished using the vehicle (for example, ending driving, ending vehicle rental, ending riding in the vehicle, etc.). In some embodiments, the predetermined vehicle status message may be a parking message. The parking message may, for example, be that the vehicle speed is 0 or the gear is P gear. Alternatively or additionally, the predetermined vehicle status message may be a flameout message. If the vehicle is a fuel vehicle, the flameout message may, for example, be a message that the engine is turned off. If the vehicle is an electric vehicle, the flameout message may, for example, be a message that the vehicle is turned off. Alternatively or additionally, the predetermined vehicle status message may be a door closing message. For example, the door closing message may be a message that the driver's side door is closed or a message that all doors are closed. Alternatively or additionally, the predetermined vehicle status message may be a vehicle locking message. Alternatively or additionally, the predetermined vehicle status message may be that the short-range communication connection between the electronic device 120 and the vehicle 110 is disconnected. For example, because the distance between the user 130 and the vehicle 110 exceeds a threshold, the Bluetooth or Wi-Fi connection between the electronic device 120 and the vehicle 110 is disconnected. The above vehicle status messages can indicate the user 130's behavior or intention to complete the use of the vehicle, so that the timing of switching the navigation mode can be determined more accurately.
[0036] In some embodiments, the predetermined condition may also be detecting a predetermined instruction input by the user 130. The predetermined instruction may be, for example, a predetermined voice input for indicating the target navigation state of the target application to be started. In some embodiments, the predetermined voice input includes at least a keyword indicating the content of the target navigation state, such as walking, walking, riding, riding, subway, bus, etc. For example, if the voice input by the user 130 is "I want to walk over", the target application starts the walking navigation state. Alternatively or additionally, in some embodiments, the type of the current target navigation state determined by the electronic device 120 for the user 130 is not what the user 130 wants, and the user 130 can correct the type of the current target navigation state to the type of the target navigation state desired by the user 130 by inputting a predetermined voice. For example, the target application switches from the driving navigation state to the walking navigation state, and the user 130 wants to ride a shared bicycle to the predetermined destination and inputs the voice of "I want to ride over", then the target application switches from the walking navigation state to the riding navigation state.
[0037] In some embodiments, the predetermined instruction may also be, for example, a predetermined operation for the electronic device 120. The predetermined operation may be, for example, a gesture action. For example, if the electronic device 120 captures a gesture action image of the user 130 rotating the index finger or rotating the palm, the target application starts the target navigation state. The predetermined operation may also be, for example, a touch action instruction. For example, if the electronic device 120 obtains a touch action instruction of drawing a check mark input by the user 130 through the touch screen, the target application starts the target navigation state.
[0038] Alternatively or additionally, in some embodiments, the predetermined instruction may also be, for example, a combination of the predetermined voice input and the predetermined operation. For example, if the electronic device 120 collects a gesture action image of the user 130 rotating the palm and a voice input of "walking", the target application starts the walking navigation state.
[0039] In some embodiments, the predetermined instruction may also be, for example, a movement of a predetermined pattern of the electronic device 120. The movement of the predetermined pattern may be, for example, shaking. The shaking may be, for example, shaking left and right, shaking back and forth, or shaking up and down. Alternatively or additionally, the movement of the predetermined pattern may be, for example, a movement of a predetermined trajectory. The predetermined trajectory may be, for example, a circle, an arc, or other shapes. The above-mentioned predetermined instruction may directly indicate the subjective intention of the user 130 to switch the navigation mode, so that the timing of switching the navigation mode can be determined more accurately, while simplifying the user's operation.
[0040] In some embodiments, the predetermined condition may also be that the distance between the location of the electronic device 120 and the predetermined location 150 is detected to be less than a threshold distance. In some embodiments, the predetermined location 150 may be, for example, a predetermined destination 160 such as a point of interest POI, a destination in the schedule of the user 130, or a location indicated in the reservation information. For example, the predetermined location 150 may be a point of interest POI such as a hotel, a restaurant, and an office building marked in the map data. Alternatively or additionally, the predetermined location 150 may be a destination in the schedule of the user 130. For example, the destination in the schedule of the user 130 may be the name or location of a meeting place. In addition or in addition, the predetermined location 150 may be a location indicated in the reservation information of the user 130, for example, the user 130 has booked a flight ticket or a train ticket, and the reservation information may indicate the departure airport or train station of the flight ticket or the train ticket.
[0041] In other embodiments, the predetermined location 150 may be, for example, a location where the mode of transportation changes from driving to other modes of transportation such as walking, cycling, or subway between the departure point and the predetermined destination 160. For example, the predetermined location 150 may include transportation stations (e.g., shared bicycle collection points, bus stops, subway stations, etc.). The distance between the location of the electronic device 120 and the predetermined location 150 may include, for example, a straight-line distance, a walking distance, and the like. The threshold distance may be, for example, 1000m, 800m, 500m, or 0m (0m means that the vehicle is located within the geographical area of the building or site corresponding to the location), which is not limited in the present disclosure.
[0042] In some embodiments, the predetermined condition can be a combination of any two of the above conditions. For example, when the distance between the position of the electronic device 120 and the predetermined position 150 is detected to be less than the threshold distance (for example, 1000m), and the movement of the predetermined mode of the electronic device 120 is detected (for example, shaking), the target application starts the target navigation state. For another example, when the predetermined vehicle state information is received from the vehicle-mounted electronic device (for example, the vehicle is turned off), and the predetermined voice command input by the user is detected (for example, "I want to go over"), the target application starts the target navigation state. For another example, when the predetermined vehicle state information is received from the vehicle-mounted electronic device (for example, the vehicle is turned off), and the distance between the position of the electronic device 120 and the predetermined position 150 is detected to be less than the threshold distance (for example, 1000m), the target application starts the target navigation state. Thus, through the setting and combination of multiple predetermined conditions, the target application can be switched to the target navigation state flexibly and efficiently, and the situation of false triggering can be effectively avoided, so that the navigation mode switching in the off-vehicle state is more intelligent and accurate.
[0043] At block 204, in response to determining that the predetermined condition is satisfied, it is determined whether the state of the target application is a non-idle state. Figure 3 The process of the electronic device 120 determining whether the state of the target application is a non-idle state is further described. It should be understood that the method 300 may also include additional actions not shown and / or may omit the actions shown, and the scope of the present disclosure is not limited in this respect.
[0044] At box 302, the listening permission of the target application is obtained. The target application can be, for example, a third-party application with a navigation function, such as Tencent Maps, Baidu Maps, Amap, etc. Regarding the listening permission, it can be, for example, the permission to receive messages from the target application, thereby binding with one or more target applications. In some embodiments, the electronic device 120 can obtain the listening permission of the target application through the notification listener service. In some embodiments, the electronic device 120 can also obtain the listening permission of the target application through the barrier-free service.
[0045] At box 304, a message from the target application is received to identify the state of the target application. In some embodiments, the electronic device 120 can receive a message from the target application through a notification listener service. For example, the notification listener service receives a notification message from Baidu Maps that "Baidu is currently navigating", thereby identifying that Baidu Maps is in a navigation state. In some embodiments, the electronic device 120 can receive a message from the target application through an accessibility service. For example, the accessibility service receives a notification message from Baidu Maps that "Baidu is currently locating", thereby identifying that Baidu Maps is in a positioning state.
[0046] At box 306, the electronic device 120 determines whether the state of the target application belongs to a non-idle state. In some embodiments, the type of non-idle state may be, for example, a navigation state. For example, if the target application is in a driving navigation state, which belongs to a navigation state, then it is determined that the state of the target application belongs to a non-idle state. For another example, if the target application is in a positioning state, which does not belong to a navigation state, then it is determined that the state of the target application belongs to an idle state. In some embodiments, the non-idle state includes a state in which the current interface of the target application does not belong to a homepage interface. For example, if the current interface of the target application is a walking navigation interface, which does not belong to a navigation homepage interface, then it is determined that the state of the target application belongs to a non-idle state. For another example, if the target application is in a positioning process, and its current interface remains as an initial interface or a homepage interface, then it is determined that the state of the target application belongs to an idle state.
[0047] Therefore, by complementing multiple ways of obtaining the status of the target application such as notification listener service and accessibility service, the status of the target application can be obtained automatically, in real time and without omission, and then it can be accurately determined whether the target application is in a non-idle state, so as to avoid the failure of calling third-party applications.
[0048] If it is determined that the state of the target application belongs to the non-idle state, the target application is exited from the non-idle state at box 206. In some embodiments, the accessibility service can obtain the permission to run simulated clicks on the target application in advance through the confirmation of the user 130, thereby binding with one or more target applications to control the target application to initiate the target behavior. In some embodiments, after the notification listener service detects that the target application is in the non-idle state, it generates an instruction to instruct the target application to exit the non-idle state for sending to the accessibility service; after receiving the instruction from the notification listener service, the accessibility service runs a simulated click to make the target application exit the non-idle state. For example, after the notification listener service detects that the target application is in the navigation state, it sends an instruction to the accessibility service to instruct the target application to exit the navigation state, and the accessibility service runs a simulated click to make the target application exit the navigation state.
[0049] In other embodiments, if the accessibility service does not receive an instruction generated via the notification listener service to cause the target application to exit the non-idle state, the accessibility service obtains the state of the target application and determines whether the state of the target application belongs to the non-idle state, and if it is determined that the state of the target application is the non-idle state, the accessibility service runs a simulated click to cause the target application to exit the non-idle state. For example, when a predetermined condition is met, the accessibility service does not receive an instruction generated via the notification listener service to cause the target application to exit the non-idle state, the accessibility service obtains the state of the target application, determines that the state of the target application is a navigation state, which belongs to the non-idle state, and the accessibility service runs a simulated click to cause the target application to exit the navigation state.
[0050] Therefore, by obtaining the permission to run simulated clicks on the target application, the third-party application can be automatically exited from the current non-idle state.
[0051] At block 208, the electronic device 120 starts the target navigation state of the target application. Figure 4 The process of the electronic device 120 starting the target navigation state of the target application is further described. It should be understood that the method 400 may also include additional actions not shown and / or may omit the actions shown, and the scope of the present disclosure is not limited in this respect.
[0052] At box 402, the electronic device 120 determines the type of the target navigation state. Regarding the type of the target navigation state, it includes, for example, one or more of a walking navigation state, a cycling navigation state, a driving navigation state, a bus navigation state, and a subway navigation state. Among them, the walking navigation state is applicable to the navigation state in scenes such as walking and running. The cycling navigation state is applicable to the navigation state in scenes such as using bicycles, electric vehicles, motorcycles, balance vehicles, scooters, etc. The driving navigation state is applicable to the navigation state in scenes such as driving or taking a private car, a truck, an online car-hailing car, or a rental car. The bus navigation state is applicable to the navigation state in scenes such as taking a bus or other public transportation with fixed stops or travel routes. The subway navigation state is applicable to the navigation state in scenes such as taking a subway, a tram, and other rail transportation vehicles.
[0053] Regarding determining the type of the target navigation state, it includes, for example: determining whether the predetermined position 150 belongs to a transportation station, and if it is determined that the predetermined position 150 belongs to a transportation station, determining that the type of the target navigation state is a navigation state associated with the transportation station, and if it is determined that the predetermined position 150 does not belong to the transportation station, determining that the type of the target navigation state is a walking navigation state. In some embodiments, for example, the navigation state associated with the shared bicycle collection delivery point is a riding navigation state; the navigation state associated with the bus station is a bus navigation state; the navigation state associated with the subway station is a subway navigation state, and so on. Therefore, by judging the type of the predetermined position, the type of the target navigation state can be automatically identified, thereby improving the intelligence and reliability of the navigation mode switching.
[0054] Alternatively or additionally, in some embodiments, determining the type of the target navigation state may further include: presenting a confirmation message of the type of the target navigation state for confirmation by the user 130; and determining the type of the target navigation state in response to the confirmation by the user 130. For example, when the predetermined location 150 is a concentration point of multiple transportation stations (e.g., a shared bicycle collection point and a subway station), the type options of multiple navigation states associated with the multiple transportation stations are presented at the electronic device 120, so that the user 130 can select and confirm. For example, Figure 5 As shown, there is a shared bicycle collection and delivery point outside the subway hub station. At this time, all available navigation state type options, such as cycling navigation state options and subway navigation state options, are presented on the display screen of the electronic device 120. Therefore, the user only needs to perform a simple confirmation operation to accurately determine the type of the target navigation state.
[0055] Alternatively or additionally, in some embodiments, determining the type of the target navigation state may also include: in response to detecting that the predetermined instruction input by the user 130 is a predetermined voice input, parsing the predetermined voice input into text content; based on the text content, obtaining a keyword indicating the type of the target navigation state; and in response to obtaining the keyword indicating the type of the target navigation state, determining the type of the target navigation state. For example, the predetermined voice input by the user 130 is "I want to ride over", and after being parsed into text, the keyword "ride" is obtained, and the type of the target navigation state is determined to be "riding navigation state".
[0056] Therefore, the type of target navigation state is determined by combining active identification, user passive confirmation, user active input and other methods, further improving the accuracy and reliability of target navigation state type judgment and identification, making it more convenient, flexible and intelligent.
[0057] At box 404, based on the determined type, the electronic device 120 starts the target navigation state of the target application. In some embodiments, the electronic device 120 starts the target navigation state of the target application through the external interface (e.g., SDK interface) of the target application. In other embodiments, the electronic device 120 runs a simulated click via the barrier-free service 150 to start the target navigation state of the target application. It should be understood that if the electronic device 120 fails to try to start the target navigation state of the target application in one of the above-mentioned ways, the electronic device 120 can start the target navigation state of the target application in another way mentioned above. In some embodiments, for example, if the electronic device 120 fails to try to start the target navigation state of the target application through the external interface (e.g., SDK interface) of the target application, the simulated click can be run via the barrier-free service 150 to start the target navigation state of the target application. Thus, it is possible to call any third-party navigation application without obstacles, avoid the situation where the third-party navigation application fails to wake up, and expand the number and range of third-party navigation applications that users can use, thereby improving the user's product experience.
[0058] Regarding the target navigation state of starting the target application, it also includes, for example, obtaining the position of the electronic device 120 as the starting position in the target navigation state, obtaining the predetermined destination 160 as the end position in the target navigation state; and presenting the target navigation path from the starting position to the end position, the target navigation path is used to instruct the user 130 to reach the predetermined destination 160. Regarding obtaining the predetermined destination 160, it can be obtained from the vehicle-mounted electronic device (for example, using the vehicle-mounted electronic device for navigation), or from the electronic device 120 (for example, using the electronic device 120 for navigation), and can also be obtained via a server (for example, the vehicle-mounted electronic device sends the predetermined destination 160 to the server). As a result, the starting position and the end position can be automatically filled based on the position of the electronic device 120 and the predetermined destination 160, without the need to manually input or voice input the above information, thereby making the navigation mode switching more convenient and efficient.
[0059] If it is determined that the state of the target application is not a non-idle state, the target navigation state of the target application is started. The method of starting the target navigation state of the target application here is the same as that in block 208, and will not be repeated here.
[0060] Figure 6 6 shows a schematic block diagram of an example device 600 that can be used to implement an embodiment of the present disclosure. Figure 1The electronic device 120 and the vehicle-mounted electronic device shown can be implemented by the device 600. As shown, the device 600 includes a central processing unit (CPU) 610, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 620 or computer program instructions loaded from a storage unit 680 to a random access memory (RAM) 630. In the RAM 630, various programs and data required for the operation of the device 600 can also be stored. The CPU 610, the ROM 620, and the RAM 630 are connected to each other via a bus 640. An input / output (I / O) interface 650 is also connected to the bus 640.
[0061] A number of components in the device 600 are connected to the I / O interface 650, including: an input unit 660, such as a keyboard, a mouse, etc.; an output unit 670, such as various types of displays, speakers, etc.; a storage unit 680, such as a disk, an optical disk, etc.; and a communication unit 690, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 690 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0062] The various processes and processing described above, such as methods 200, 300, and 400, may be performed by the processing unit 610. For example, in some embodiments, the methods 200, 300, and 400 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 680. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 620 and / or the communication unit 690. When the computer program is loaded into the RAM 630 and executed by the CPU 610, one or more actions of the methods 200, 300, and 400 described above may be performed.
[0063] The present disclosure may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.
[0064] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0065] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0066] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0067] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0068] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0069] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0070] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0071] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for information processing, comprising: At the electronic device, in response to receiving predetermined vehicle state information from the vehicle-mounted electronic device, determining whether the state of a target application belongs to a non-idle state, the target application being a third-party application with a navigation function; In response to determining that the state of the target application belongs to the non-idle state, causing the target application to exit the non-idle state; as well as A target navigation state of the target application is initiated.
2. The method according to claim 1, wherein: The non-idle state includes a navigation state or a state where the current interface is not a home page interface.
3. The method according to claim 1 or 2, wherein: The predetermined vehicle status information includes vehicle status information indicating that the user has finished using the vehicle.
4. The method according to claim 3, wherein: The predetermined vehicle status information includes at least one of the following: parking, engine shutdown, door closing, vehicle locking, and a message indicating that the short-range communication connection between the electronic device and the vehicle is disconnected.
5. The method according to claim 1, wherein: The target navigation state includes one or more of a walking navigation state, a cycling navigation state, a driving navigation state, a bus navigation state and a subway navigation state.
6. The method according to claim 1 or 5, wherein: The target navigation state of starting the target application includes: determining a type of the target navigation state; and Based on the type of the target navigation state, the target navigation state is initiated.
7. The method according to claim 6, wherein: The determining the type of the target navigation state includes: In response to detecting that the distance between the location of the electronic device and a predetermined location is less than a threshold distance, determining whether the predetermined location is a transportation stop, the predetermined location being a location where a driving mode is switched to another mode of transportation between a departure location and a predetermined destination; and In response to determining that the predetermined location belongs to a transportation stop, determining that the type of the target navigation state is a navigation state associated with a transportation stop; In response to determining that the predetermined location does not belong to a transportation stop, it is determined that the type of the target navigation state is a walking navigation state.
8. The method according to claim 1 or 5, wherein: The target navigation state of starting the target application includes: Acquiring the position of the electronic device as the starting position in the target navigation state; Acquiring a predetermined destination as the end point position in the target navigation state; and A target navigation path from the starting position to the ending position is presented.
9. The method according to claim 8, wherein: The obtaining of the predetermined destination includes at least one of the following: directly or indirectly obtaining the predetermined destination from the in-vehicle electronic device; Acquire the predetermined destination from a destination in the user's schedule or a location indicated in reservation information; The predetermined destination is acquired from a server.
10. The method according to claim 1 or 2, wherein: The step of determining whether the state of the target application is a non-idle state includes: Obtaining monitoring permission of the target application; receiving a message from the target application to identify a state of the target application; and It is determined whether the state of the target application belongs to the non-idle state.
11. The method according to claim 10, wherein: The receiving a message from the target application includes: Receive the message of the target application through the notification listener service; or Receive a message from the target application through an accessibility service.
12. An electronic device comprising: at least one processing unit; At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the device to perform the steps of the method according to any one of claims 1 to 11.
13. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 12 when executed by a machine.