Method and device for operating contextual model state, electronic equipment, storage medium and program product
By detecting and feeding back the vehicle scenario mode status through the mobile terminal, the problem of power consumption caused by users forgetting to exit the scenario mode is solved, remote control of vehicle exit is realized, and the user experience is improved.
Patent Information
- Application Number
- CN202410383416.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2025-09-30
AI Technical Summary
Even if the user forgets to exit the vehicle scenario mode, the vehicle still consumes power and cannot be exited remotely, resulting in unnecessary power consumption.
The mobile terminal receives the user's control request to exit the scene mode, detects the running status of the scene mode, and generates a status code to feedback the execution result, thereby realizing remote control of the vehicle to exit the scene mode.
It reduces unnecessary power consumption and improves user experience. Users can remotely control the vehicle to exit the scenario mode through a mobile terminal without having to return to the vehicle to operate.
Smart Images

Figure CN120716612A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing, and in particular to a method, device, electronic device, storage medium, and program product for operating scenario mode states. Background Art
[0002] The vehicle's scene modes allow users to personalize various vehicle configurations based on their habits and needs. Through scene modes, users can preset their favorite seat position, music playlist, air conditioning temperature, window opening, and even adjust the vehicle's driver assistance system settings.
[0003] In related technologies, after the user turns on the scenario mode in the car, he can only operate or trigger to exit these scenario modes on the car computer. If the user forgets to exit these scenario modes and directly gets out of the car, closes the door and leaves, the vehicle is still in the scenario mode and is still consuming power. When the user remembers, he can only return to the car to operate or trigger to exit the scenario mode, and cannot exit remotely. Summary of the Invention
[0004] The present disclosure provides a method, device, electronic device, storage medium, and program product for operating scenario mode states, which enable users to remotely control a vehicle to exit a scenario mode through a mobile terminal such as a mobile phone without having to return to the vehicle to operate or trigger the exit of the scenario mode, thereby reducing unnecessary power consumption, being more convenient, and improving the user experience.
[0005] According to a first aspect of the present disclosure, a method for operating a scenario mode state is provided, the method comprising: receiving a control request to exit a scenario mode, the control request being issued by a mobile terminal in response to a user clicking on a scenario mode card, the scenario mode comprising any one of a nap mode, a camping mode, and an off-vehicle power-on mode; based on the control request, detecting an operating state of the scenario mode and obtaining a detection result, the detection result being used to determine whether a target scenario mode indicated by the control request is in operation; if the detection result is that the target scenario mode is in operation, executing the control request and generating a corresponding status code, the status code being used to indicate an execution result of the control request; and returning the status code to the mobile terminal to assist the mobile terminal in feeding back the execution result to the user.
[0006] In some embodiments, the method further includes: in response to a change in the operating state of the scenario mode, sending a scenario identifier corresponding to the scenario mode to the mobile terminal to assist the mobile terminal in displaying or canceling the display of the scenario mode card, wherein the scenario identifier is used to indicate entry or exit from the scenario mode.
[0007] In some embodiments, based on the control request, the currently running scenario mode is detected and the detection result is obtained, including: obtaining the currently running scenario mode; if the currently running scenario mode is successfully obtained, detecting whether the currently running scenario mode is consistent with the target scenario mode; if the currently running scenario mode is consistent with the target scenario mode, the detection result is that the target scenario mode is in operation.
[0008] In some embodiments, after detecting whether the currently running scenario mode is consistent with the target scenario mode, the method also includes: if the currently running scenario mode is inconsistent with the target scenario mode, the detection result is that the target scenario mode is not running, and a first status code is generated, and the first status code is used to indicate that the current scenario mode is not in operation; returning the status code to the mobile terminal includes: returning the first status code to the mobile terminal.
[0009] In some embodiments, after obtaining the currently running scenario mode, the method further includes: if the currently running scenario mode is not successfully obtained, generating a second status code, the second status code being used to indicate a failure to obtain the current scenario mode; returning the status code to the mobile terminal includes: returning the second status code to the mobile terminal.
[0010] In some embodiments, executing a control request and generating a corresponding status code includes: determining whether the control request has timed out; if the control request has timed out, generating a third status code, the third status code being used to indicate that the control request has timed out.
[0011] In some embodiments, after determining whether the control request has timed out, the method further includes: if the control request has not timed out, exiting the target scenario mode; if the target scenario mode is not exited successfully, generating a fourth status code, the fourth status code is used to indicate that the scenario mode exit failed, or if the target scenario mode is exited successfully, generating a fifth status code, the fifth status code is used to indicate that the scenario mode exit was successful.
[0012] According to a second aspect of the present disclosure, a method for operating a scenario mode state is provided, the method comprising: in response to a user clicking on a scenario mode card, issuing a control request to exit the scenario mode, the scenario mode comprising any one of a nap mode, a camping mode, and an off-vehicle power-on mode; receiving a returned status code, and generating a prompt message based on the status code; the status code is used to indicate the execution result of the control request; and the prompt message is used to feedback the execution result to the user.
[0013] In some embodiments, the method further includes: receiving a scenario identifier corresponding to the scenario mode, and displaying or canceling the display of the scenario mode card according to the scenario identifier; the scenario identifier is used to indicate entering or exiting the scenario mode.
[0014] In some embodiments, a returned status code is received and a prompt message is generated based on the status code, including: generating a first prompt message in response to receiving a returned first status code; the first status code is used to indicate that the current state is not in scenario mode; the first prompt message is used to feedback to the user that the scenario mode has been exited, or generating a second prompt message in response to receiving a returned second status code, a third status code, or a fourth status code; the second prompt message is used to feedback to the user that the scenario mode exit failed; the second status code is used to indicate a failure to obtain the scenario mode; the third status code is used to indicate a control request timeout; the fourth status code is used to indicate a failure to exit the scenario mode, or generating a third prompt message in response to receiving a returned fifth status code; the fifth status code is used to indicate a successful exit from the scenario mode; the third prompt message is used to feedback to the user that the scenario mode exit was successful.
[0015] In some embodiments, in response to a user clicking on a scenario mode card, a control request to exit the scenario mode is issued, including: in response to a user clicking on a scenario mode card, a pop-up message is generated, the pop-up message is used to confirm with the user whether to exit the scenario mode; in response to the user confirming the pop-up message, a control request to exit the scenario mode is issued.
[0016] According to a third aspect of the present disclosure, a device for operating a scenario mode state is provided, the device comprising: a receiving unit for receiving a control request for exiting a scenario mode, the control request being issued by a mobile terminal in response to a user clicking on a scenario mode card, the scenario mode comprising any one of a nap mode, a camping mode, and an off-vehicle power-on mode; a detecting unit for detecting the operating state of the scenario mode based on the control request, and obtaining a detection result, the detection result being used to determine whether the target scenario mode indicated by the control request is in operation; an executing unit for executing the control request and generating a corresponding status code when the detection result indicates that the target scenario mode is in operation, the status code being used to indicate the execution result of the control request; and a returning unit for returning the status code to the mobile terminal to assist the mobile terminal in feeding back the execution result to the user.
[0017] According to a fourth aspect of the present disclosure, a device for operating a scenario mode state is provided, the device comprising: a sending unit for issuing a control request to exit the scenario mode in response to a user clicking on a scenario mode card, the scenario mode comprising any one of a nap mode, a camping mode, and an off-vehicle power-on mode; a receiving unit for receiving a returned status code and generating a prompt message based on the status code; the status code is used to indicate an execution result of the control request; and the prompt message is used to feed back the execution result to the user.
[0018] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory connected to the operating scenario mode state of the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method of the aforementioned first aspect or second aspect.
[0019] According to a sixth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the method of the aforementioned first aspect or second aspect.
[0020] According to a seventh aspect of the present disclosure, a computer program product is provided, comprising a computer program, which implements the method of the first or second aspect when executed by a processor.
[0021] The method for operating the scenario mode status provided by the embodiment of the present disclosure includes: receiving a control request to exit the scenario mode, the control request is issued by the mobile terminal in response to the user clicking on the scenario mode card, and the scenario mode includes any one of a nap mode, a camping mode, and an off-vehicle power-on mode; based on the control request, detecting the operating status of the scenario mode and obtaining a detection result, the detection result is used to determine whether the target scenario mode indicated by the control request is in operation; when the detection result is that the target scenario mode is in operation, executing the control request and generating a corresponding status code, the status code is used to indicate the execution result of the control request; returning the status code to the mobile terminal to assist the mobile terminal in feeding back the execution result to the user, and the user can send a request to exit the target scenario mode to the vehicle through the mobile terminal. After receiving the request to exit the target scenario mode, the vehicle computer executes the processing operation of exiting the target scenario mode, thereby realizing remote control of the vehicle to exit the scenario mode without returning to the vehicle to operate or trigger the exit of the scenario mode, reducing unnecessary power consumption, being more convenient, and improving the user experience.
[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings are provided to facilitate a better understanding of the present invention and do not constitute a limitation of the present disclosure.
[0024] Figure 1 A flowchart of a method for operating a scenario mode state provided by an embodiment of the present disclosure;
[0025] Figure 2 A flowchart of a method for operating a scenario mode state provided by an embodiment of the present disclosure;
[0026] Figure 3 An example diagram of a communication link between a mobile terminal and a vehicle provided in an embodiment of the present disclosure;
[0027] Figure 4 An example diagram of a processing operation for executing an exit from a target scenario mode provided by an embodiment of the present disclosure;
[0028] Figure 5 A flowchart of a method for operating a scenario mode state provided by an embodiment of the present disclosure;
[0029] Figure 6 A flowchart of a method for operating a scenario mode state provided by an embodiment of the present disclosure;
[0030] Figure 7 This is an example diagram of sending a scenario identifier corresponding to a scenario mode provided by an embodiment of the present disclosure;
[0031] Figure 8 An interactive diagram of a method for operating scenario mode states provided by an embodiment of the present disclosure;
[0032] Figure 9 A schematic diagram of the structure of an apparatus 600 for operating a scenario mode state provided by an embodiment of the present disclosure;
[0033] Figure 10 A schematic diagram of the structure of an apparatus 700 for operating a scenario mode state provided by an embodiment of the present disclosure;
[0034] Figure 11 A schematic block diagram of an exemplary electronic device 800 is provided for an embodiment of the present disclosure. DETAILED DESCRIPTION
[0035] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0036] The following describes in detail a method, device, electronic device, storage medium, and program product for implementing an operating scenario mode state proposed in the present disclosure with reference to the accompanying drawings.
[0037] Figure 1A method for operating a scenario mode state is provided in an embodiment of the present disclosure. The method is applied to a vehicle and is specifically executed by the vehicle HU (Head Unit). The vehicle HU includes a vehicle computer, a central control screen, and a cockpit domain controller.
[0038] like Figure 1 As shown, the method comprises the following steps:
[0039] Step 101: Receive a control request to exit a scenario mode. The control request is issued by the mobile terminal in response to a user clicking a scenario mode card. The scenario mode includes any one of a nap mode, a camping mode, and an off-vehicle power-on mode.
[0040] In some embodiments of the present disclosure, the vehicle's nap, camping, and leave-the-vehicle-on modes are mutually exclusive, and these three modes cannot be entered at the same time. Therefore, when remotely operating the vehicle to exit a scenario mode, the user can only select one of the rest, camping, and leave-the-vehicle-on modes as the target scenario mode.
[0041] In some embodiments of the present disclosure, the nap mode specifically refers to a series of linked and combined in-car services provided to users in situations such as fatigue and sleepiness, and is a situational service that meets the user's needs for a short and quick rest in the car; the camping mode specifically refers to the car use services provided for outdoor and camping scenarios, and is a situational service that meets the user's needs for long-term sleep, overnight stays, and entertainment in the car; the leave-the-car-within-the-power mode specifically refers to a situational service for users to temporarily leave the car, and solves the problem of no keys in the car after leaving the car, while family members in the car can continue to use the air conditioning and entertainment system.
[0042] In some embodiments, the vehicle computer and the mobile terminal communicate through the cloud. The mobile terminal includes a mobile phone, a notebook, a tablet computer, etc. For example, the user sends a remote control command through the mobile phone. After receiving the remote control command, the cloud forwards the command to the vehicle communication module via WIFI or a cellular network, and then the communication module transmits it to the vehicle computer. After the vehicle computer executes the command, it feeds back the execution result to the vehicle communication module. The vehicle communication module sends it to the cloud via WIFI or a cellular network, and then the cloud synchronizes it to the mobile phone.
[0043] Step 102: Based on the control request, the running state of the scenario mode is detected to obtain a detection result, which is used to determine whether the target scenario mode indicated by the control request is running.
[0044] In an embodiment of the present disclosure, the target scenario mode is the scenario mode that the user chooses to exit. The vehicle's scenario modes include at least one of nap mode, camping mode, and leave-the-vehicle-within-power mode. The target scenario mode can be any one of the vehicle's scenario modes.
[0045] In an embodiment of the present disclosure, before executing a control request to exit a scenario mode, it is necessary to determine whether the target scenario mode indicated by the control request is in operation. If it is not in operation, the target scenario mode cannot be exited and there is no need to execute the control request.
[0046] Step 103: If the detection result shows that the target scenario mode is in operation, execute the control request and generate a corresponding status code, where the status code is used to indicate the execution result of the control request.
[0047] In some embodiments, the status code (code) is used to indicate the processing result of the vehicle executing the processing operation of exiting the target scenario mode. Different processing results correspond to different status codes. For example, when the processing result is a successful exit from the target scenario mode, the corresponding status code is 0. When the processing result is a failure to exit the target scenario mode, the corresponding status code is 1, and so on.
[0048] Step 104: Return a status code to the mobile terminal to assist the mobile terminal in feeding back the execution result to the user.
[0049] In some embodiments, the vehicle computer sends the status code to the mobile terminal via the cloud. The mobile terminal can generate a prompt message based on the status code. The user can get timely feedback through the prompt message on the mobile terminal to determine whether the target scenario mode he chose to exit is successfully exited.
[0050] In summary, according to an embodiment of the present disclosure, it includes receiving a control request for exiting a scenario mode, the control request is issued by a mobile terminal in response to a user clicking on a scenario mode card, and the scenario mode includes any one of a nap mode, a camping mode, and an off-vehicle power-on mode; based on the control request, the operating status of the scenario mode is detected, and a detection result is obtained, and the detection result is used to determine whether the target scenario mode indicated by the control request is in operation; when the detection result is that the target scenario mode is in operation, the control request is executed and a corresponding status code is generated, and the status code is used to indicate the execution result of the control request; the status code is returned to the mobile terminal to assist the mobile terminal in feeding back the execution result to the user. The present disclosure enables users to remotely control the vehicle to exit the scenario mode through a mobile terminal such as a mobile phone from the vehicle side, without having to return to the vehicle to operate or trigger the exit of the scenario mode, thereby reducing unnecessary power consumption, being more convenient, and improving the user experience.
[0051] based on Figure 1 The embodiment shown, Figure 2 A method for operating a scenario mode state is provided in an embodiment of the present disclosure. The method is applied to a vehicle and is specifically executed by the vehicle HU (Head Unit). The vehicle HU includes a vehicle computer, a central control screen, and a cockpit domain controller.
[0052] like Figure 2As shown, the method comprises the following steps:
[0053] Step 201 : In response to a change in the running state of a scenario mode, a scenario identifier corresponding to the scenario mode is sent to a mobile terminal to assist the mobile terminal in displaying or canceling the display of a card of the scenario mode, wherein the scenario identifier is used to indicate entering or exiting the scenario mode.
[0054] In some embodiments of the present disclosure, the vehicle's nap, camping, and leave-the-vehicle-on-power modes are mutually exclusive and cannot be entered at the same time. The vehicle currently enters only one scenario mode.
[0055] In some embodiments, the scenario identification corresponding to exiting nap, camping, and entering normal mode without powering off the vehicle is 1, the scenario identification corresponding to entering nap mode is 2, the scenario identification corresponding to entering camping mode is 3, and the scenario identification corresponding to entering leaving the vehicle without powering off mode is 5.
[0056] In some embodiments, the scenario identifier of the scenario mode is used to assist the mobile terminal in determining whether to display the scenario mode. For example, the mobile terminal receives the scenario identifier 2 corresponding to entering the nap mode and displays the nap mode.
[0057] Step 202: Receive a control request to exit a scenario mode. The control request is issued by the mobile terminal in response to a user clicking a scenario mode card. The scenario mode includes any one of a nap mode, a camping mode, and an off-vehicle power-on mode.
[0058] In some embodiments, the vehicle computer and the mobile terminal communicate via the cloud, and the mobile terminal includes a mobile phone, a notebook, a tablet computer, etc. Figure 3 As shown, when the vehicle computer enters or exits nap mode, camping mode, or leave-the-vehicle-on-power mode, the vehicle computer sends the vehicle's current scene mode status changes to the cloud, and the cloud synchronizes the vehicle's current scene mode status to the mobile phone, so that the user can view the vehicle's current scene mode status on the mobile phone.
[0059] In some embodiments, as Figure 3 As shown, the user selects the target scenario mode by clicking on the scenario mode card to exit. The mobile phone will send a control request to exit the scenario mode to the vehicle computer through the cloud. After receiving the control request to exit the scenario mode, the vehicle computer will execute the processing operation of the target scenario mode indicated by the exit control request.
[0060] Step 203: Based on the control request, the running state of the scenario mode is detected, and a detection result is obtained. The detection result is used to determine whether the target scenario mode indicated by the control request is running.
[0061] In some embodiments, the cloud task service Job provides task interaction capabilities between the cloud and the vehicle and mobile terminal. The task interaction capabilities include: creating tasks, synchronizing progress, and completing tasks. In response to the mobile terminal sending a request to exit the target scenario mode, the cloud creates a task to exit the target scenario mode through the cloud task service and sends the task to the vehicle. The vehicle receives the task and executes the processing operation to exit the target scenario mode.
[0062] In some embodiments, Table 1 is an example table of status codes corresponding to various processing results, wherein code represents the status code, HU represents the vehicle computer, i.e., the executor of the method, status code 0 indicates that the vehicle computer successfully exits the target scenario mode, status code 301 indicates that the vehicle computer fails to obtain the vehicle scenario mode, status code 302 indicates that the vehicle computer is not currently in the target scenario mode, status code 303 indicates that the vehicle computer fails to exit the target scenario mode, and status code 304 indicates that the vehicle computer times out the job reception, i.e., the request to receive the target scenario mode times out.
[0063] Table 1 Example of status codes corresponding to processing results
[0064] meaning code success 0 HU failed to obtain the current mode 301 HU is not in current mode 302 Failed to exit HU execution mode 303 Receiving job timeout 304
[0065] In some embodiments, based on the control request, the currently running scenario mode is detected and the detection result is obtained, including: obtaining the currently running scenario mode; if the currently running scenario mode is successfully obtained, detecting whether the currently running scenario mode is consistent with the target scenario mode; if the currently running scenario mode is consistent with the target scenario mode, the detection result is that the target scenario mode is in operation.
[0066] In some embodiments, after obtaining the currently running scenario mode, the method further includes: if the currently running scenario mode is not successfully obtained, generating a second status code, the second status code being used to indicate a failure to obtain the current scenario mode; returning the status code to the mobile terminal includes: returning the second status code to the mobile terminal.
[0067] In some embodiments, the vehicle terminal monitors through the cloud whether the user operates the mobile phone application to exit the scene mode, such as Figure 4 As shown, after the user operates the mobile phone application and clicks to exit the scenario mode, the mobile phone sends an exit mode request to the vehicle computer through the cloud. In response to receiving the exit mode request, the current scenario mode of the vehicle is obtained, and it is determined whether the current scenario mode is successfully obtained. If the vehicle scenario mode fails to be obtained, a status code 301 is generated and fed back to the mobile phone. The status code 301 indicates that the vehicle computer fails to obtain the vehicle scenario mode.
[0068] In some embodiments, after detecting whether the currently running scenario mode is consistent with the target scenario mode, the method also includes: if the currently running scenario mode is inconsistent with the target scenario mode, the detection result is that the target scenario mode is not running, and a first status code is generated, and the first status code is used to indicate that the current scenario mode is not in operation; returning the status code to the mobile terminal includes: returning the first status code to the mobile terminal.
[0069] In some embodiments, as Figure 4 As shown, the currently running scenario mode is obtained. If the current scenario mode of the vehicle computer is successfully obtained, it is determined whether the currently running scenario mode of the vehicle computer is consistent with the target scenario mode, that is, whether the target scenario mode is in operation. If not, a status code 302 is generated and fed back to the mobile phone. The status code 302 indicates that the vehicle computer is not currently in the target scenario mode.
[0070] Step 204, if the detection result is that the target scenario mode is in operation, the control request is executed and a corresponding status code is generated, which is used to indicate the execution result of the control request; the status code is returned to the mobile terminal to assist the mobile terminal in providing feedback to the user on the execution result.
[0071] In some embodiments, executing a control request and generating a corresponding status code includes: determining whether the control request has timed out; if the control request has timed out, generating a third status code, the third status code being used to indicate that the control request has timed out.
[0072] In some embodiments, as Figure 4 As shown, if the vehicle's current scenario mode is consistent with the target scenario mode, that is, the target scenario mode is in operation, it is determined whether the request to exit the target scenario mode has not timed out. If not, a status code 304 is generated and fed back to the mobile phone. The status code 304 indicates that the vehicle computer has timed out to receive the job, that is, the request to receive the target scenario mode has timed out.
[0073] In some embodiments, after determining whether the control request has timed out, the method further includes: if the control request has not timed out, exiting the target scenario mode; if the target scenario mode is not exited successfully, generating a fourth status code, the fourth status code is used to indicate that the scenario mode exit failed, or if the target scenario mode is exited successfully, generating a fifth status code, the fifth status code is used to indicate that the scenario mode exit was successful.
[0074] In some embodiments, as Figure 4 As shown, if the request to exit the target scenario mode has not timed out, the scenario mode exit is executed to determine whether the exit is successful. If the exit fails, a status code 303 is generated and fed back to the mobile phone. The status code 303 indicates that the vehicle computer failed to exit the target scenario mode; if the exit is successful, a status code 0 is generated and fed back to the mobile phone. The status code 0 indicates that the vehicle computer successfully exits the target scenario mode.
[0075] In summary, the present disclosure realizes real-time synchronization of the status of the vehicle entering or exiting the nap, camping, and leaving the vehicle without powering off modes to the mobile phone from the vehicle side, thereby allowing the user to understand which modes of the current vehicle are turned on or off, ensuring that the user can accurately and conveniently operate when selecting and exiting the scenario mode. At the same time, the user can remotely control the vehicle to exit the scenario mode through a mobile terminal such as a mobile phone without returning to the vehicle to operate or trigger the exit of the scenario mode, reducing unnecessary power consumption, being more convenient, and improving the user experience.
[0076] Figure 5 This is a flow chart of a method for operating a scenario mode state provided by an embodiment of the present disclosure. The method is applied to a mobile terminal and executed by an application (Application, APP) of the mobile terminal, such as a mobile phone APP.
[0077] The method includes the following steps 301-302.
[0078] Step 301: In response to a user clicking on a scene mode card, a control request to exit the scene mode is issued, where the scene mode includes any one of a nap mode, a camping mode, and a vehicle-on-the-go mode.
[0079] In some embodiments, the control request is used to instruct the vehicle computer to exit a target scenario mode, where the target scenario mode is a scenario mode that the user chooses to exit, and the target scenario mode may be any one of the vehicle's scenario modes.
[0080] In some embodiments of the present disclosure, the nap mode specifically refers to a series of linked and combined in-car services provided to users in situations such as fatigue and sleepiness, and is a situational service that meets the user's needs for a short and quick rest in the car; the camping mode specifically refers to the car use services provided for outdoor and camping scenarios, and is a situational service that meets the user's needs for long-term sleep, overnight stays, and entertainment in the car; the leave-the-car-within-the-power mode specifically refers to a situational service for users to temporarily leave the car, and solves the problem of no keys in the car after leaving the car, while family members in the car can continue to use the air conditioning and entertainment system.
[0081] In some embodiments, the vehicle computer and the mobile terminal communicate through the cloud. The mobile terminal includes a mobile phone, a notebook, a tablet computer, etc. For example, the user sends a remote control command through the mobile phone. After receiving the remote control command, the cloud forwards the command to the vehicle communication module via WIFI or a cellular network, and then the communication module transmits it to the vehicle computer. After the vehicle computer executes the command, it feeds back the execution result to the vehicle communication module. The vehicle communication module sends it to the cloud via WIFI or a cellular network, and then the cloud synchronizes it to the mobile phone.
[0082] In some embodiments, a vehicle scenario mode card is displayed in an application on a mobile terminal. The vehicle scenario mode includes at least one of a nap mode, a camping mode, and an off-vehicle power-on mode. A user clicks on the scenario mode card to trigger an operation to exit the scenario mode through remote control of the mobile terminal. The cloud sends a control request to exit the scenario mode to the vehicle. The vehicle receives the control request to exit the scenario mode, executes a processing operation to exit the scenario mode, and obtains a processing result.
[0083] Step 302: Receive the returned status code and generate prompt information according to the status code; the status code is used to indicate the execution result of the control request; the prompt information is used to feed back the execution result to the user.
[0084] In some embodiments, different processing results correspond to different status codes. For example, when the processing result is a successful exit from the target scenario mode, the corresponding status code is 0; when the processing result is a failed exit from the target scenario mode, the corresponding status code is 1, and so on.
[0085] In some embodiments, the mobile terminal can generate prompt information based on the status code, including whether the exit is successful or failed, etc. The user can get timely feedback through the prompt information on the mobile terminal to determine whether the target scenario mode he chose to exit is successfully exited.
[0086] In summary, according to an embodiment of the present disclosure, in response to a user clicking on a target scenario mode card, a request to exit the target scenario mode is sent to the vehicle via the cloud, wherein the target scenario mode includes any one of a nap mode, a camping mode, and an off-vehicle power-on mode; a status code sent by the vehicle is received, and a prompt message is generated based on the status code, wherein the status code is used to indicate the processing result of the vehicle's request to exit the target scenario mode, and the prompt message is used to provide feedback to the user on the processing result of exiting the target scenario mode. The present disclosure enables users to remotely control the vehicle to exit the scenario mode through a mobile terminal such as a mobile phone, without having to return to the vehicle to operate or trigger the exit from the scenario mode, thereby reducing unnecessary power consumption, being more convenient, and improving the user experience.
[0087] Figure 6 This is a flow chart of a method for operating a scenario mode state provided by an embodiment of the present disclosure. The method is applied to a mobile terminal and executed by an application program of the mobile terminal, such as a mobile phone APP.
[0088] The method includes the following steps 401-404.
[0089] Step 401, receiving a scenario identifier corresponding to a scenario mode, and displaying or canceling the display of the scenario mode card according to the scenario identifier; the scenario identifier is used to indicate entering or exiting the scenario mode; the scenario mode includes any one of a nap mode, a camping mode, and an off-vehicle power-on mode.
[0090] In some embodiments of the present disclosure, the default settings on the vehicle side for nap, camping, and leaving the vehicle without powering off are mutually exclusive and cannot be entered at the same time, thereby limiting the user to only one scenario mode in the current vehicle to prevent conflicts between modes.
[0091] In some embodiments of the present disclosure, the scenario identification corresponding to exiting nap, camping, and leaving the vehicle without turning off the power is 1, the scenario identification corresponding to entering nap mode is 2, the scenario identification corresponding to entering camping mode is 3, and the scenario identification corresponding to entering leaving the vehicle without turning off the power is 5. Other rules can also be used for identification, which is not limited by the present disclosure.
[0092] In some embodiments, as Figure 3 As shown, when the vehicle computer enters or exits nap mode, camping mode, or leave-the-vehicle-on-power mode, the vehicle computer sends the vehicle's current scene mode status changes to the cloud, and the cloud synchronizes the vehicle's current scene mode status to the mobile phone. The mobile phone app controls the display or disappearance of the scene mode card according to the status change.
[0093] For example, if Figure 7 As shown, the vehicle computer sends scenario identification 2 to the mobile phone, scenario identification 2 indicates that the vehicle enters nap mode, and the mobile phone displays the nap mode card; the vehicle computer sends scenario identification 1 to the mobile phone, scenario identification 1 indicates that the vehicle enters normal mode, that is, the vehicle exits nap mode at this time, and the scenario mode card on the mobile phone disappears; the vehicle computer sends scenario identification 3 to the mobile phone, scenario identification 3 indicates that the vehicle enters camping mode, and the mobile phone displays the camping mode card; the vehicle computer sends scenario identification 1 to the mobile phone, scenario identification 1 indicates that the vehicle enters normal mode, that is, the vehicle exits camping mode, and the scenario mode card on the mobile phone disappears; the vehicle computer sends scenario identification 5 to the mobile phone, scenario identification 5 indicates that the vehicle enters leave-the-vehicle non-power-off mode, and the mobile phone displays the leave-the-vehicle non-power-off mode card; the vehicle computer sends scenario identification 1 to the mobile phone, scenario identification 1 indicates that the vehicle enters normal mode, that is, the vehicle exits leave-the-vehicle non-power-off mode, and the leave-the-vehicle non-power-off mode card on the mobile phone disappears.
[0094] It can be understood that the above steps realize the real-time display of the car-side modes of taking a nap, camping, and leaving the car without turning off the power. This means that when the user selects a mode, the car-side will immediately display the status of the mode on the mobile phone App, allowing the user to understand which modes are currently running on the car.
[0095] Step 402: In response to the user clicking on the scene mode card, a control request to exit the scene mode is issued.
[0096] In some embodiments, in response to a user clicking on a scenario mode card, a control request to exit the scenario mode is issued, including: in response to a user clicking on a scenario mode card, a pop-up message is generated, the pop-up message is used to confirm with the user whether to exit the scenario mode; in response to the user confirming the pop-up message, a control request to exit the scenario mode is issued.
[0097] In some embodiments, when the user wants to exit the current mode, he or she can click the corresponding button on the mobile phone app. For example, a nap mode card is displayed on the current mobile phone app. The user clicks the nap mode card on the mobile phone app to exit the current scenario mode. After clicking, a second pop-up window will appear for confirmation. Only after the user confirms the exit can the user successfully exit the current mode, which can increase the user's controllability and security of the exit operation.
[0098] Step 403: Receive the returned status code and generate prompt information according to the status code; the status code is used to indicate the execution result of the control request; the prompt information is used to feed back the execution result to the user.
[0099] In some embodiments, the status code sent by the vehicle computer includes a first status code, a second status code, a third status code, a fourth status code, and a fifth status code, wherein the first status code is used to indicate that the vehicle computer is not in the target scenario mode, the second status code is used to indicate that the scenario mode of the vehicle computer has failed to be acquired, the third status code is used to indicate that the vehicle computer has timed out from receiving the request, the fourth status code is used to indicate that the vehicle computer has failed to exit the scenario mode, and the fifth status code is used to indicate that the vehicle computer has successfully exited the scenario mode.
[0100] In some embodiments, step 403 includes: in response to receiving a returned first status code, generating a first prompt message, the first prompt message being used to provide feedback to the user that the scenario mode has been exited, or, in response to receiving a returned second status code, a third status code, or a fourth status code, generating a second prompt message, the second prompt message being used to provide feedback to the user that the exit from the scenario mode has failed, or, in response to receiving a returned fifth status code, generating a third prompt message, the third prompt message being used to provide feedback to the user that the exit from the scenario mode has been successful.
[0101] In one embodiment, as shown in Table 1, the status codes sent by the vehicle include 0, 301, 302, 303, and 304. Status code 0 indicates that the vehicle successfully exits the target scenario mode, status code 301 indicates that the vehicle fails to obtain the vehicle scenario mode, status code 302 indicates that the vehicle is not currently in the target scenario mode, status code 303 indicates that the vehicle fails to exit the target scenario mode, and status code 304 indicates that the vehicle times out from receiving the job, i.e., the request to receive the target scenario mode times out.
[0102] Furthermore, as shown in Table 2, code indicates the status code, and msg indicates the prompt message. If status code 0 is received, no prompt is given. If status code 301 / status code 303 / status code 304 is received, it indicates that the vehicle computer has obtained the vehicle's scene mode.
[0103] code msg ( / means no reminder) 0 / 301 Exit failed, please try again. 302 The mode has been exited. 303 Exit failed, please try again. 304 Exit failed, please try again.
[0104] If the target scenario mode fails to be exited or the request to receive the target scenario mode times out, a prompt message "Exit failed, please try again" is generated. If status code 302 is received, indicating that the target scenario mode is not being used, a prompt message "This mode has been exited" is generated.
[0105] Table 2 Example of prompt information corresponding to status code
[0106] To sum up, according to the embodiments of the present disclosure, the status of the vehicle entering or exiting the nap, camping, and leaving the vehicle without powering off modes is synchronized to the mobile phone in real time from the mobile terminal side, and the scenario mode card is displayed on the mobile phone application, so that the user can understand the current scenario mode status of the vehicle; through the secondary confirmation method, the controllability and security of the user's operation of exiting the mode are increased, ensuring that the user can accurately and conveniently operate when selecting and exiting the scenario mode; at the same time, the user clicks on the scenario mode card to exit the operation, and remote control of the vehicle to exit the scenario mode can be achieved without returning to the vehicle to operate or trigger the exit of the scenario mode, which reduces unnecessary power consumption, is more convenient, and improves the user experience.
[0107] Figure 8 An interactive diagram of a method for operating scenario mode states provided in an embodiment of the present disclosure is executed by a vehicle and mobile terminal communication system, such as a vehicle networking system, which includes a vehicle, a cloud, and a mobile terminal such as a mobile phone.
[0108] In some embodiments, the vehicle side is executed by the vehicle HU including the vehicle computer, and the mobile terminal side is executed by the mobile terminal application such as a mobile phone APP.
[0109] like Figure 8 As shown, the method includes steps 501 to 506.
[0110] Step 501: In response to a change in the scene mode of the vehicle, the vehicle sends a scene identifier corresponding to the scene mode to the mobile terminal via the cloud.
[0111] The scenario mode includes at least one of a nap mode, a camping mode, and a vehicle-within-a-vehicle power-on mode, and the scenario identifier of the scenario mode is used to indicate whether the vehicle exits or enters the scenario mode.
[0112] Correspondingly, the mobile terminal receives the scenario identifier corresponding to the scenario mode sent by the vehicle through the cloud.
[0113] Step 502: The mobile terminal displays or cancels displaying the card of the scene mode according to the scene identifier corresponding to the scene mode.
[0114] Step 503: In response to the user clicking on the scene mode card, the mobile terminal sends a control request to exit the scene mode to the vehicle through the cloud.
[0115] The target scenario mode is the scenario mode that the user chooses to exit, and can be any scenario mode of the vehicle.
[0116] In some embodiments, step 503 includes: in response to the user clicking on the scenario mode card, generating a pop-up message, the pop-up message is used to confirm with the user whether to exit the scenario mode; in response to the user confirming the pop-up message, sending a request to exit the scenario mode to the vehicle through the cloud.
[0117] Correspondingly, the vehicle receives the control request to exit the scene mode from the mobile terminal through the cloud
[0118] In step 504 , the vehicle detects the operating status of the scenario mode based on the control request and obtains a detection result. The detection result is used to determine whether the target scenario mode indicated by the control request is in operation.
[0119] In some embodiments, step 504 includes: obtaining the currently running scenario mode; if the currently running scenario mode is successfully obtained, detecting whether the currently running scenario mode is consistent with the target scenario mode; if the currently running scenario mode is consistent with the target scenario mode, the detection result is that the target scenario mode is running.
[0120] In some embodiments, after detecting whether the currently running scenario mode is consistent with the target scenario mode, the method also includes: if the currently running scenario mode is inconsistent with the target scenario mode, the detection result is that the target scenario mode is not running, and a first status code is generated, and the first status code is used to indicate that the current scenario mode is not in operation; returning the status code to the mobile terminal includes: returning the first status code to the mobile terminal.
[0121] In some embodiments, after obtaining the currently running scenario mode, the method further includes: if the currently running scenario mode is not successfully obtained, generating a second status code, the second status code being used to indicate a failure to obtain the current scenario mode; returning the status code to the mobile terminal includes: returning the second status code to the mobile terminal.
[0122] Step 505 : When the detection result shows that the target scenario mode is in operation, the vehicle executes the control request and generates a corresponding status code, where the status code is used to indicate the execution result of the control request.
[0123] In some embodiments, determining whether the control request is executed and generating a corresponding status code includes: determining whether the control request is timed out; if the control request is timed out, generating a third status code, the third status code being used to indicate that the control request is timed out.
[0124] In some embodiments, after determining whether the control request has timed out, the method further includes: if the control request has not timed out, exiting the target scenario mode; if the target scenario mode is not exited successfully, generating a fourth status code, the fourth status code is used to indicate that the scenario mode exit failed, or if the target scenario mode is exited successfully, generating a fifth status code, the fifth status code is used to indicate that the scenario mode exit was successful.
[0125] In step 506, the vehicle sends the status code to the mobile terminal via the cloud.
[0126] Correspondingly, the mobile terminal receives the status code sent by the vehicle through the cloud.
[0127] Step 507: The mobile terminal generates prompt information according to the status code.
[0128] The prompt information is used to feed back the processing result of exiting the target scenario mode to the user.
[0129] In some embodiments, step 507 includes: in response to receiving the returned first status code, generating a first prompt message, the first prompt message being used to provide feedback to the user that the scenario mode has been exited, or, in response to receiving the returned second status code, third status code or fourth status code, generating a second prompt message, the second prompt message being used to provide feedback to the user that the exit from the scenario mode has failed, or, in response to receiving the returned fifth status code, generating a third prompt message, the third prompt message being used to provide feedback to the user that the exit from the scenario mode has been successful.
[0130] The specific implementation of the above embodiment can refer to Figure 1 、 Figure 2 、 Figure 5 and Figure 6 The embodiments shown are not described in detail here.
[0131] In summary, the operating scenario mode status method disclosed in the present invention can synchronize the status changes of the vehicle in the entry and exit, rest, camping, and leaving the vehicle without powering off modes to display on the mobile terminal. The user can send a request to the vehicle to exit the target scenario mode by operating the scenario mode on the mobile terminal. After the vehicle computer receives the request to exit the target scenario mode, it executes the processing operation of exiting the target scenario mode on the vehicle. In this way, the user can view the status of the vehicle scenario mode through a mobile terminal such as a mobile phone, and can remotely control the vehicle to exit the scenario mode without returning to the vehicle to operate or trigger the exit of the scenario mode, thereby reducing unnecessary power consumption, being more convenient, and improving the user experience.
[0132] Corresponding to the above-mentioned method for operating a scenario mode state, the present disclosure further provides a device for operating a scenario mode state, which is configured in a vehicle. Figure 9 FIG. 6 is a schematic diagram of a device 600 for operating a scenario mode state according to an embodiment of the present disclosure. Figure 9 Shown, including:
[0133] The receiving unit 610 is configured to receive a control request for exiting a scenario mode, the control request being issued by the mobile terminal in response to a user clicking on a scenario mode card, where the scenario mode includes any one of a nap mode, a camping mode, and an off-road mode;
[0134] The detection unit 620 is configured to detect the running state of the scenario mode based on the control request and obtain a detection result, wherein the detection result is used to determine whether the target scenario mode indicated by the control request is running;
[0135] The sending unit 630 is used to execute the control request and generate a corresponding status code when the detection result shows that the target scenario mode is in operation. The status code is used to indicate the execution result of the control request; the returning unit is used to return the status code to the mobile terminal to assist the mobile terminal in feeding back the execution result to the user.
[0136] In some embodiments, the sending unit 620 is also used to: in response to a change in the operating status of the scenario mode, send the scenario identifier corresponding to the scenario mode to the mobile terminal to assist the mobile terminal in displaying or canceling the display of the scenario mode card, wherein the scenario identifier is used to indicate entry or exit from the scenario mode.
[0137] In some embodiments, the detection unit 620 is specifically used to: obtain the currently running scenario mode; if the currently running scenario mode is successfully obtained, detect whether the currently running scenario mode is consistent with the target scenario mode; if the currently running scenario mode is consistent with the target scenario mode, the detection result is that the target scenario mode is in operation.
[0138] In some embodiments, the detection unit 620 is also used to: after detecting whether the currently running scenario mode is consistent with the target scenario mode, if the currently running scenario mode is inconsistent with the target scenario mode, the detection result is that the target scenario mode is not in operation, and a first status code is generated, and the first status code is used to indicate that the current scenario mode is not in operation; the sending unit 630 is also used to: return the first status code to the mobile terminal.
[0139] In some embodiments, the detection unit 620 is further used to: after obtaining the currently running scenario mode, if the currently running scenario mode is not successfully obtained, generate a second status code; the sending unit 630 is further used to: return the second status code to the mobile terminal.
[0140] In some embodiments, the sending unit 630 is specifically used to: determine whether the control request has timed out; if the control request has timed out, generate a third status code, and the third status code is used to indicate that the control request has timed out.
[0141] In some embodiments, the sending unit 630 is also used to: after determining whether the control request has timed out, if the control request has not timed out, exit the target scenario mode; if the target scenario mode is not exited successfully, generate a fourth status code, the fourth status code is used to indicate that the scenario mode exit failed, or if the target scenario mode is exited successfully, generate a fifth status code, the fifth status code is used to indicate that the scenario mode exit was successful.
[0142] In summary, according to the device for operating scenario mode status disclosed in the present invention, the device is configured in a vehicle. The device uses a receiving unit, a detection module and a sending unit to enable a user to remotely control the vehicle to exit the scenario mode through a mobile terminal such as a mobile phone on the vehicle side without having to return to the vehicle to operate or trigger the exit of the scenario mode, thereby reducing unnecessary power consumption, being more convenient and improving the user experience.
[0143] Corresponding to the above-mentioned method for operating a scenario mode state, the present disclosure further provides a device for operating a scenario mode state, which is configured in a mobile terminal. Figure 10 FIG. 7 is a schematic diagram of a structure of an apparatus 700 for operating a scenario mode state provided by an embodiment of the present disclosure. Figure 10 Shown, including:
[0144] The sending unit 710 is configured to send a control request to exit a scene mode in response to a user clicking on a scene mode card, where the scene mode includes any one of a nap mode, a camping mode, and an off-road mode.
[0145] The receiving unit 720 is used to receive the returned status code and generate prompt information according to the status code; the status code is used to indicate the execution result of the control request; the prompt information is used to feed back the execution result to the user.
[0146] In some embodiments, the receiving unit 720 is further configured to: receive a scenario identifier corresponding to a scenario mode, and display or cancel display of a scenario mode card according to the scenario identifier; the scenario identifier is used to indicate entering or exiting a scenario mode.
[0147] In some embodiments, the receiving unit 720 is specifically used to: generate a first prompt message in response to receiving a returned first status code; the first status code is used to indicate that the current state is not in the scenario mode; the first prompt message is used to feedback to the user that the scenario mode has been exited, or generate a second prompt message in response to receiving a returned second status code or a third status code or a fourth status code; the second prompt message is used to feedback to the user that the exit from the scenario mode failed; the second status code is used to indicate a failure to obtain the scenario mode; the third status code is used to indicate a control request timeout; the fourth status code is used to indicate a failure to exit the scenario mode, or generate a third prompt message in response to receiving a returned fifth status code; the fifth status code is used to indicate a successful exit from the scenario mode; the third prompt message is used to feedback to the user that the exit from the scenario mode was successful.
[0148] In some embodiments, the sending unit 710 is specifically used to: generate a pop-up message in response to the user clicking on the scene mode card, the pop-up message is used to confirm with the user whether to exit the scene mode; in response to the user confirming the pop-up message, issue a control request to exit the scene mode.
[0149] In summary, according to the device for operating scenario mode status disclosed in the present invention, the device is configured on a mobile terminal. The device enables a user to remotely control the vehicle to exit the scenario mode through a mobile terminal such as a mobile phone on the mobile terminal side through a receiving unit and a sending unit, without having to return to the vehicle to operate or trigger the exit of the scenario mode, thereby reducing unnecessary power consumption, being more convenient, and improving the user experience.
[0150] It should be noted that since the device embodiment of the present disclosure corresponds to the above-mentioned method embodiment, the above-mentioned explanation of the method embodiment is also applicable to the device of this embodiment, and the principles are the same. For details not disclosed in the device embodiment, reference can be made to the above-mentioned method embodiment, and they will not be repeated in this disclosure.
[0151] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0152] Figure 11 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are provided as examples only and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0153] like Figure 11 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 802 or a computer program loaded from a storage unit 808 into a RAM (Random Access Memory) 803. Various programs and data required for the operation of the device 800 can also be stored in the RAM 803. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An I / O (Input / Output) interface 805 is also connected to the bus 804.
[0154] Various components in device 800 are connected to I / O interface 805, including an input unit 806, such as a keyboard, mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows device 800 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0155] The computing unit 801 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Unit), various specialized AI (Artificial Intelligence) computing chips, various computing units that run machine learning model algorithms, a DSP (Digital Signal Processor), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as the method for manipulating a scenario mode state. For example, in some embodiments, the method for manipulating a scenario mode state can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the method described above can be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to execute the aforementioned method for operating the scenario mode state in any other appropriate manner (eg, by means of firmware).
[0156] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application-Specific Standard Products), SOCs (System on Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0157] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0158] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0159] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0160] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.
[0161] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact via a communication network. This client-server relationship is established by computer programs running on the respective computers, establishing a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host, a host product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosts and VPS services ("Virtual Private Servers" or simply "VPS"). The server may also be a server in a distributed system or a server integrated with blockchain.
[0162] It's important to note that artificial intelligence (AI) is the study of how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). This encompasses both hardware and software technologies. AI hardware technologies generally include sensors, specialized AI chips, cloud computing, distributed storage, and big data processing. AI software technologies primarily encompass computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graphs.
[0163] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit them here. The above specific implementation methods do not constitute limitations on the scope of protection of this disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this disclosure should be included in the scope of protection of this disclosure.
Claims
1. A method for operating a scene mode state, characterized in that: The method comprises: receiving a control request to exit a scenario mode, the control request being issued by the mobile terminal in response to a user clicking a card of the scenario mode, the scenario mode comprising any one of a nap mode, a camping mode, and an off-road mode; Based on the control request, detecting the running state of the scenario mode and obtaining a detection result, wherein the detection result is used to determine whether the target scenario mode indicated by the control request is in operation; If the detection result indicates that the target scenario mode is in operation, executing the control request and generating a corresponding status code, wherein the status code is used to indicate the execution result of the control request; The status code is returned to the mobile terminal to assist the mobile terminal in feeding back the execution result to the user.
2. The method according to claim 1, characterized in that The method further comprises: In response to a change in the running state of the scenario mode, a scenario identifier corresponding to the scenario mode is sent to the mobile terminal to assist the mobile terminal in displaying or canceling the display of the scenario mode card, wherein the scenario identifier is used to indicate entering or exiting the scenario mode.
3. The method according to claim 1, characterized in that The detecting of the currently running scenario mode based on the control request and obtaining the detection result includes: Get the currently running scenario mode; If the currently running scene mode is successfully obtained, checking whether the currently running scene mode is consistent with the target scene mode; If the currently running scene mode is consistent with the target scene mode, the detection result is that the target scene mode is in operation.
4. The method according to claim 3, characterized in that After detecting whether the currently running scenario mode is consistent with the target scenario mode, the method further includes: If the currently running scene mode is inconsistent with the target scene mode, the detection result is that the target scene mode is not running, and a first status code is generated, where the first status code is used to indicate that the scene mode is not currently being run; The returning the status code to the mobile terminal includes: Return the first status code to the mobile terminal.
5. The method according to claim 3, characterized in that After obtaining the currently running scenario mode, the method further includes: If the currently running scenario mode is not successfully acquired, a second status code is generated, where the second status code is used to indicate that the acquisition of the currently running scenario mode has failed; The returning the status code to the mobile terminal includes: Return the second status code to the mobile terminal.
6. The method according to claim 1, characterized in that The executing the control request and generating a corresponding status code includes: Determining whether the control request has timed out; If the control request times out, a third status code is generated, where the third status code is used to indicate that the control request has timed out.
7. The method according to claim 6, characterized in that After determining whether the control request has timed out, the method further includes: If the control request has not timed out, exiting the target scenario mode; If the target scene mode is not successfully exited, a fourth status code is generated, wherein the fourth status code is used to indicate that the scene mode exit failed, or If the target scenario mode is exited successfully, a fifth status code is generated, and the fifth status code is used to indicate that the scenario mode is exited successfully.
8. A method for operating a scene mode state, characterized in that: The method comprises: In response to a user clicking on a scene mode card, issuing a control request to exit the scene mode, the scene mode including any one of a nap mode, a camping mode, and an off-road mode; A returned status code is received, and prompt information is generated according to the status code; the status code is used to indicate the execution result of the control request; and the prompt information is used to feed back the execution result to the user.
9. The method according to claim 8, characterized in that The method further comprises: Receive a scenario identifier corresponding to a scenario mode, and display or cancel display of a card of the scenario mode according to the scenario identifier; the scenario identifier is used to indicate entering or exiting the scenario mode.
10. The method according to claim 8, characterized in that The receiving returned status code and generating prompt information according to the status code include: In response to receiving the returned first status code, generating a first prompt message; the first status code is used to indicate that the scene mode is not currently in question; the first prompt message is used to feedback to the user that the scene mode has been exited, or In response to receiving the returned second status code, third status code, or fourth status code, a second prompt message is generated; the second prompt message is used to provide feedback to the user that the exit from the scenario mode has failed; the second status code is used to indicate that the acquisition of the scenario mode has failed; the third status code is used to indicate that the control request has timed out; the fourth status code is used to indicate that the exit from the scenario mode has failed, or In response to receiving the returned fifth status code, a third prompt message is generated; the fifth status code is used to indicate that the scenario mode is successfully exited; and the third prompt message is used to provide feedback to the user that the scenario mode is successfully exited.
11. The method according to claim 8, characterized in that The step of issuing a control request to exit the scenario mode in response to the user clicking on the scenario mode card includes: In response to a user clicking on a card of the scenario mode, generating a pop-up window message, wherein the pop-up window message is used to confirm with the user whether to exit the scenario mode; In response to the user confirming the pop-up window information, a control request for exiting the scenario mode is issued.
12. A device for operating a scene mode state, characterized in that: The device comprises: a receiving unit, configured to receive a control request for exiting a scenario mode, the control request being issued by the mobile terminal in response to a user clicking on a card of the scenario mode, the scenario mode comprising any one of a nap mode, a camping mode, and an off-road mode; a detection unit, configured to detect an operating state of the scenario mode based on the control request and obtain a detection result, wherein the detection result is used to determine whether the target scenario mode indicated by the control request is in operation; an execution unit, configured to, when the detection result indicates that the target scenario mode is in operation, execute the control request and generate a corresponding status code, wherein the status code is used to indicate an execution result of the control request; The returning unit is used to return the status code to the mobile terminal to assist the mobile terminal in feeding back the execution result to the user.
13. A device for operating a scene mode state, characterized in that: The device comprises: a sending unit, configured to send a control request to exit a scene mode in response to a user clicking on a scene mode card, wherein the scene mode includes any one of a nap mode, a camping mode, and an off-road mode; The receiving unit is used to receive a returned status code and generate prompt information according to the status code; the status code is used to indicate the execution result of the control request; and the prompt information is used to feed back the execution result to the user.
14. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 7 or the method of any one of claims 8 to 11.
15. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method of any one of claims 1 to 7 or the method of any one of claims 8 to 11.
16. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7 or the method according to any one of claims 8 to 11.