Scene arrangement method and device, storage medium and program product
By receiving and generating scene arrangement instructions on the vehicle information terminal and periodically checking the command queue to be executed, the problem of low reliability of remote appointments is solved, and a higher reservation success rate and user experience is achieved.
Patent Information
- Application Number
- CN202510070011.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-04-25
AI Technical Summary
In the prior art, the success rate of remote appointments is low, and there is a problem of low reliability of remote appointments.
By receiving the first scene orchestration instructions sent by the server at the on-board information terminal, and generating the second scene orchestration instructions, periodically checking the command queue to be executed, and sending the second scene orchestration instructions to the controller to achieve the service of providing the target scene at the appointment time.
It improves the reliability of remote reservations, reduces the possibility of errors or failures in command transmission, increases the standby time of the on-board information terminal, and improves the user experience.
Smart Images

Figure CN119892899A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, in particular to the field of automobile remote control reservation technology, and specifically to a scene arrangement method, device, storage medium and program product. Background Art
[0002] The scene arrangement service of the smart cockpit can realize the scene-based customization service of the vehicle, such as automatic adjustment of the temperature inside the car.
[0003] Currently, users can make remote reservations for scene arrangement services through terminals.
[0004] However, the success rate of remote appointments in related technologies is low, and there is a problem of low reliability of remote appointments. Summary of the invention
[0005] According to the first aspect provided by the present application, a scene arrangement method is provided to at least solve the technical problem of low reliability of remote reservation in the related art. The technical solution of the present application is as follows: applied to a vehicle-mounted information terminal (TBOX), the method includes: receiving a first scene arrangement instruction sent by a server; the first scene arrangement instruction is an instruction generated based on a scene arrangement operation of a user; the first scene arrangement instruction includes an appointment time and a target scene; the first scene arrangement instruction is used to instruct the vehicle-mounted information terminal to generate a scene arrangement instruction corresponding to the first scene arrangement instruction; based on the first scene arrangement instruction, a second scene arrangement instruction is generated, and the second scene arrangement instruction is added to the queue of instructions to be executed, and the second scene arrangement instruction is used to indicate that the service corresponding to the target scene is provided at the appointment time; the queue of instructions to be executed is periodically checked, and when there is a second scene arrangement instruction in the queue of instructions to be executed, the second scene arrangement instruction is sent to the controller.
[0006] In one possible implementation, the first scene choreography instruction is used to indicate at least one of the following: creating a new reservation scene, modifying a reservation scene; based on the first scene choreography instruction, generating a second scene choreography instruction, including: when the first scene choreography instruction is used to indicate creating a new reservation scene, generating a second scene choreography instruction corresponding to the new reservation scene based on the first scene choreography instruction; when the first scene choreography instruction is used to indicate modifying a reservation scene, obtaining the second scene choreography instruction corresponding to the reservation scene, and modifying the second scene choreography instruction corresponding to the reservation scene based on the first scene choreography instruction.
[0007] In a possible implementation, the first scene choreography instruction is used to indicate cancellation of the reservation scene, and the method further includes: when the first scene choreography instruction is used to indicate cancellation of the reservation scene, obtaining a second scene choreography instruction corresponding to the reservation scene, and deleting the second scene choreography instruction corresponding to the reservation scene.
[0008] In one possible implementation, the status of the first scene choreography instruction is stored in the server; the status is being executed or executed; being executed includes: being created, being modified, or being canceled; executed includes: being created, modified, or canceled; the method also includes: when the in-vehicle information terminal determines the second scene choreography instruction, sending a first response to the server, so that the server changes the status of the first scene choreography instruction from being executed to executed based on the first response; the first response is used to indicate that the in-vehicle information terminal has determined the second scene choreography instruction.
[0009] In a possible implementation, the first scene arrangement instruction includes multiple remote control task identifiers, and the second scene arrangement instruction includes a reservation task identifier corresponding to each remote control task identifier; the task corresponding to the remote control task identifier includes one of the following: creating a new reservation scene, modifying a reservation scene, and canceling a reservation scene.
[0010] In one possible implementation, a queue of pending instructions is periodically checked, and when a second scene orchestration instruction exists in the queue of pending instructions, the second scene orchestration instruction is sent to the controller, including: when the vehicle is in a sleep state, the queue of pending instructions is periodically checked, and when a second scene orchestration instruction exists in the queue of pending instructions, the controller corresponding to the target scene is awakened; and a service corresponding to the target scene is provided through the controller based on the second scene orchestration instruction.
[0011] In one possible implementation, the queue of pending instructions is periodically checked, specifically at multiple preset moments, and when a second scene scheduling instruction exists in the queue of pending instructions, the controller corresponding to the target scene is woken up, including: at a first preset moment, when it is determined that a second scene scheduling instruction exists in the queue of pending instructions, if the appointment time is after the first preset moment or the appointment time is the first preset moment, the controller corresponding to the target scene is woken up at the appointment time; the first preset moment is one of multiple preset moments; if the appointment time is before the first preset moment, the controller corresponding to the target scene is woken up at the current moment.
[0012] In a possible implementation, the method further includes: when the vehicle is in a non-sleeping state, waking up a controller corresponding to the target scene at a scheduled time.
[0013] According to the second aspect provided by the present application, a scene choreography device is provided, including: a receiving module, a processing module and a sending module; the receiving module is used to receive a first scene choreography instruction sent by a server; the first scene choreography instruction is an instruction generated based on a scene choreography operation of a user; the first scene choreography instruction includes an appointment time and a target scene; the first scene choreography instruction is used to instruct an on-board information terminal to generate a scene choreography instruction corresponding to the first scene choreography instruction; the processing module is used to generate a second scene choreography instruction based on the first scene choreography instruction, and add the second scene choreography instruction to a queue of instructions to be executed, the second scene choreography instruction is used to instruct to provide a service corresponding to the target scene at the appointment time; the sending module is used to periodically check the queue of instructions to be executed, and if there is a second scene choreography instruction in the queue of instructions to be executed, send the second scene choreography instruction to a controller.
[0014] In one possible implementation, the first scene choreography instruction is used to indicate at least one of the following: creating a new reservation scene, modifying a reservation scene; the device also includes an acquisition module; a processing module, specifically used to generate a second scene choreography instruction corresponding to the new reservation scene based on the first scene choreography instruction when the first scene choreography instruction is used to indicate modifying the reservation scene; the acquisition module is used to acquire the second scene choreography instruction corresponding to the reservation scene when the first scene choreography instruction is used to indicate modifying the reservation scene, and modify the second scene choreography instruction corresponding to the reservation scene based on the first scene choreography instruction.
[0015] In a possible implementation, the first scene choreography instruction is used to indicate cancellation of the reservation scene; the processing module is further used to obtain the second scene choreography instruction corresponding to the reservation scene and delete the second scene choreography instruction corresponding to the reservation scene when the first scene choreography instruction is used to indicate cancellation of the reservation scene.
[0016] In one possible implementation, the status of the first scene choreography instruction is stored in the server; the status is being executed or executed; being executed includes: being created, being modified, or being canceled; executed includes: being created, modified, or canceled; the sending module is also used to send a first response to the server when the in-vehicle information terminal determines the second scene choreography instruction, so that the server changes the status of the first scene choreography instruction from being executed to executed based on the first response; the first response is used to indicate that the in-vehicle information terminal has determined the second scene choreography instruction.
[0017] In a possible implementation, the first scene arrangement instruction includes multiple remote control task identifiers, and the second scene arrangement instruction includes a reservation task identifier corresponding to each remote control task identifier; the task corresponding to the remote control task identifier includes one of the following: creating a new reservation scene, modifying a reservation scene, and canceling a reservation scene.
[0018] In one possible implementation, the processing module is specifically used to periodically check the queue of instructions to be executed when the vehicle is in a sleep state, and wake up the controller corresponding to the target scene when there is a second scene scheduling instruction in the queue of instructions to be executed; through the controller, the service corresponding to the target scene is provided based on the second scene scheduling instruction.
[0019] In one possible implementation, the queue of instructions to be executed is periodically checked, specifically at multiple preset moments; the processing module is specifically used to, at a first preset moment, determine that there is a second scene scheduling instruction in the queue of instructions to be executed, and if the appointment time is after the first preset moment or the appointment time is the first preset moment, wake up the controller corresponding to the target scene at the appointment time; the first preset moment is one of multiple preset moments; if the appointment time is before the first preset moment, wake up the controller corresponding to the target scene at the current moment.
[0020] In a possible implementation, the processing module is further used to wake up the controller corresponding to the target scene at a scheduled time when the vehicle is in a non-sleeping state.
[0021] According to the third aspect provided by the present application, another scene arrangement method is provided, which is applied to a server, and the method includes: obtaining a first scene arrangement instruction generated based on a scene arrangement operation of a user terminal; the first scene arrangement instruction includes an appointment time and a target scene; and sending the first scene arrangement instruction to a vehicle-mounted information terminal.
[0022] In a possible implementation manner, the first scene arrangement instruction is used to indicate at least one of the following: creating a new reservation scene, modifying a reservation scene, and canceling a reservation scene.
[0023] In one possible implementation, the status of the first scene choreography instruction is stored in the server; the status is being executed or executed; being executed includes: being created, being modified, or being canceled; executed includes: being created, modified, or canceled; the method also includes: receiving a first response sent by the in-vehicle information terminal when determining the second scene choreography instruction; the first response is used to indicate that the in-vehicle information terminal has determined the second scene choreography instruction; based on the first response, the status of the first scene choreography instruction is changed from being executed to executed.
[0024] In a possible implementation, sending a first scene arrangement instruction to the vehicle information terminal includes: if no first response is received within a preset time after sending the first scene arrangement instruction to the vehicle information terminal, re-sending the first scene arrangement instruction to the vehicle information terminal.
[0025] In one possible implementation, sending a first scene choreography instruction to the vehicle-mounted information terminal includes: after sending the first scene choreography instruction to the vehicle-mounted information terminal, periodically querying to obtain a status of the first scene choreography instruction; and when the status obtained from the periodic query is that the first scene choreography instruction is being executed, re-sending the first scene choreography instruction to the vehicle-mounted information terminal.
[0026] According to the fourth aspect provided by the present application, another scene arrangement device is provided, including an acquisition module and a sending module; the acquisition module is used to acquire a first scene arrangement instruction generated based on a scene arrangement operation of a user terminal; the first scene arrangement instruction includes a reservation time and a target scene; the sending module is used to send the first scene arrangement instruction to a vehicle-mounted information terminal.
[0027] In a possible implementation manner, the first scene arrangement instruction is used to indicate at least one of the following: creating a new reservation scene, modifying a reservation scene, and canceling a reservation scene.
[0028] In one possible implementation, the status of the first scene choreography instruction is stored in the server; the status is being executed or executed; being executed includes: being created, being modified, or being canceled; executed includes: being created, modified, or canceled; the device also includes a receiving module and a processing module; the receiving module is used to receive a first response sent by the in-vehicle information terminal when determining the second scene choreography instruction; the first response is used to indicate that the in-vehicle information terminal has determined the second scene choreography instruction; the processing module is used to change the status of the first scene choreography instruction from being executed to executed based on the first response.
[0029] In a possible implementation, the sending module is specifically configured to resend the first scene arrangement instruction to the in-vehicle information terminal if no first response is received within a preset time after the first scene arrangement instruction is sent to the in-vehicle information terminal.
[0030] In a possible implementation, the sending module is also specifically used to: after sending the first scene arrangement instruction to the vehicle-mounted information terminal, periodically query to obtain the status of the first scene arrangement instruction; when the status obtained by the periodic query is being executed, re-send the first scene arrangement instruction to the vehicle-mounted information terminal.
[0031] According to the fifth aspect provided by the present application, an electronic device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute instructions to implement the method of the above-mentioned first aspect and any possible implementation manner thereof.
[0032] According to the sixth aspect provided by the present application, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method in the above-mentioned first aspect and any possible implementation method thereof.
[0033] According to the seventh aspect provided by the present application, a computer program product is provided, the computer program product comprising computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method of the above-mentioned first aspect and any possible implementation manner thereof.
[0034] Therefore, the above technical features of the present application have the following beneficial effects:
[0035] (1) Compared with the remote reservation process in which the vehicle information terminal receives the remote reservation control instruction sent by the server for controlling the vehicle and sends the remote reservation control instruction to the vehicle controller; the first scene arrangement instruction sent by the server for instructing the vehicle information terminal to generate the scene arrangement instruction corresponding to the first scene arrangement instruction has fewer corresponding functions and contains less information, so that the possibility of instruction transmission error or transmission failure during the remote transmission process is lower. Therefore, the vehicle information terminal receives the first scene arrangement instruction and generates the second scene arrangement instruction based on the first scene arrangement instruction, which can improve the reliability of remote reservation.
[0036] (2) The vehicle information terminal periodically detects the queue of pending instructions, which consumes less energy than continuous detection of the queue of pending instructions.
[0037] (3) When the in-vehicle information terminal determines the second scene arrangement instruction, it means that the in-vehicle information terminal has received the first scene arrangement instruction and has completed the generation or deletion of the second scene arrangement instruction based on the first scene arrangement instruction. At this time, a first response can be sent to the server so that the server updates the status of the first scene arrangement instruction to executed. In this way, the reliability of remote reservation can be improved.
[0038] (4) If the first response is not received within the preset time after the first scene arrangement instruction is sent to the vehicle information terminal, it means that the vehicle information terminal may not have successfully received the first scene arrangement instruction, or may not have successfully generated, modified, or deleted the second scene arrangement instruction based on the first scene arrangement instruction. At this time, the server re-sends the first scene arrangement instruction to the vehicle information terminal. In this way, the reliability and success rate of remote reservation can be improved.
[0039] (5) When the status obtained by the timed query is "being executed", it means that the in-vehicle information terminal may have successfully received the first scene arrangement instruction, or has successfully generated, modified, or deleted the second scene arrangement instruction based on the first scene arrangement instruction. At this time, the server resends the first scene arrangement instruction to the in-vehicle information terminal. In this way, the reliability and success rate of remote reservation can be improved.
[0040] (6) When the vehicle is in a dormant state, the vehicle information terminal can periodically check the queue of pending commands to determine whether there are any second scene choreography commands that need to be executed, thereby reducing the energy consumption of the device and increasing the standby time of the vehicle information terminal. When there are second scene choreography commands in the queue of pending commands, the controller corresponding to the target scene is awakened. In this way, when there are second scene choreography commands that need to be executed, the controller corresponding to the target scene is awakened to ensure that the second scene choreography commands can be reliably executed.
[0041] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.
[0043] Figure 1 is a schematic diagram of the architecture of a scene arrangement system according to an exemplary embodiment;
[0044] Figure 2 is a flowchart of a scene arrangement method according to an exemplary embodiment;
[0045] Figure 3 is a schematic diagram of a process of editing a reservation scene according to an exemplary embodiment;
[0046] Figure 4 is a flowchart of another scene arrangement method according to an exemplary embodiment;
[0047] Figure 5 is a schematic diagram of a newly added process according to an exemplary embodiment;
[0048] Figure 6 is a schematic diagram showing a deletion process according to an exemplary embodiment;
[0049] Figure 7 is a schematic diagram of a process of receiving a result according to an exemplary embodiment;
[0050] Figure 8 is a schematic diagram of a flow chart of a timed query according to an exemplary embodiment;
[0051] Fig. 9 is a flowchart of another scene arrangement method according to an exemplary embodiment;
[0052] Fig.10 is a flowchart of executing a reservation scenario according to an exemplary embodiment;
[0053] Fig.11 is a flowchart of another scene arrangement method according to an exemplary embodiment;
[0054] Fig.12 is a flowchart of another scene arrangement method according to an exemplary embodiment;
[0055] Fig.13 is a structural schematic diagram of a scene arrangement device according to an exemplary embodiment;
[0056] Fig.14 is a structural schematic diagram of another scene arrangement device according to an exemplary embodiment;
[0057] Fig.15 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0058] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0059] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0060] The scene arrangement service of the smart cockpit can realize the scene-based customization service of the vehicle, such as automatic adjustment of the temperature inside the car.
[0061] Currently, users can make remote reservations for scene arrangement services through terminals.
[0062] However, there are problems in the related art that remote appointments may fail and the reliability of remote appointments is low.
[0063] In order to solve the above problems, the present application provides a scene orchestration method, including: receiving a first scene orchestration instruction sent by a server; the first scene orchestration instruction is an instruction generated based on a user's scene orchestration operation; the first scene orchestration instruction includes an appointment time and a target scene; the first scene orchestration instruction is used to instruct an on-board information terminal to generate a scene orchestration instruction corresponding to the first scene orchestration instruction; based on the first scene orchestration instruction, a second scene orchestration instruction is generated, and the second scene orchestration instruction is added to a queue of instructions to be executed, the second scene orchestration instruction being used to indicate that the service corresponding to the target scene is provided at the appointment time; periodically checking the queue of instructions to be executed, and if the second scene orchestration instruction exists in the queue of instructions to be executed, sending the second scene orchestration instruction to a controller.
[0064] Figure 1 A schematic diagram of the architecture of a scene arrangement system provided for this application includes: an in-vehicle information terminal 101 and a server 102.
[0065] Among them, the on-board information terminal 101 is used to receive the scene arrangement instructions corresponding to the remote scene reservation sent by the server 102; or to generate the scene arrangement instructions corresponding to the remote scene reservation based on the scene arrangement instructions for indicating that the service corresponding to the target scene is provided at the reservation time; or to send the scene arrangement instructions corresponding to the target scene to the controller to indicate that the service corresponding to the target scene is provided at the reservation time.
[0066] In a possible implementation, the vehicle information terminal 101 is used for communication between the vehicle and the cloud; or for making remote reservations.
[0067] In a possible implementation, the controller includes a cockpit domain controller or a vehicle control domain controller.
[0068] Among them, the vehicle control domain controller is used to control vehicle components.
[0069] Optionally, the cockpit domain controller can be called a vehicle computer.
[0070] In a possible implementation, the vehicle also includes a service orchestration execution engine and / or a rule engine.
[0071] The service orchestration execution engine is used to execute the process of the orchestration content. The rule engine is used to trigger the process executed by the service orchestration execution engine based on the current time (or moment), vehicle status, and the code from the outside world (or external device input).
[0072] The server 102 is used to generate scene arrangement instructions corresponding to the remote scene reservation; or to send the scene arrangement instructions corresponding to the remote scene reservation to the in-vehicle information terminal 101; or to resend the scene arrangement instructions when it is detected that the scene arrangement instructions have not been sent successfully.
[0073] In a possible implementation, the server 102 may include a service orchestration cloud interface (API) system and / or a cloud IoT backend system.
[0074] In a possible implementation, the service orchestration cloud interface system may include a service orchestration system backend for providing service orchestration related interfaces.
[0075] In one possible implementation, the cloud-based IoT backend system is used to communicate with the vehicle-mounted information terminal for remote control-related services.
[0076] In one possible implementation, the server 102 interacts with the user through a vehicle service orchestration application (APP) or a mobile phone service orchestration application to generate a scene orchestration instruction corresponding to the remote scene reservation.
[0077] In a possible implementation, the vehicle service orchestration application or the mobile phone service orchestration application includes a human-machine interaction (HMI) interface.
[0078] For ease of understanding, the scene arrangement method provided in this application is specifically introduced below with reference to the accompanying drawings.
[0079] The scene arrangement method provided in the embodiment of the present application can be applied to Figure 1 The vehicle information terminal 101 in the scene arrangement system shown; Figure 2 is a flow chart of a scene arrangement method according to an exemplary embodiment. Figure 2 As shown, the scene arrangement method includes S201-S203:
[0080] S201. Receive a first scene arrangement instruction sent by a server.
[0081] Among them, the first scene arrangement instruction is an instruction generated based on the user's scene arrangement operation; the first scene arrangement instruction includes the appointment time and the target scene; the first scene arrangement instruction is used to instruct the in-vehicle information terminal to generate a scene arrangement instruction corresponding to the first scene arrangement instruction.
[0082] In one possible implementation, the first scene arrangement instruction is generated in the following manner: the mobile terminal or the vehicle-mounted terminal sends an instruction corresponding to the scene arrangement operation to the server in response to the user's scene arrangement operation; the server receives the instruction and generates the first scene arrangement instruction.
[0083] In a possible implementation, the first scene arrangement instruction is generated in the following manner: the mobile terminal or the vehicle-mounted terminal sends the first scene arrangement instruction to the server in response to the user's scene arrangement operation; and the server receives the first scene arrangement instruction.
[0084] In a possible implementation, the server sends a first scene arrangement instruction to the vehicle information terminal through the vehicle network or the Internet of Things.
[0085] In a possible implementation, the scene arrangement operation of the user may include one of the following: editing an unreserved scene into a reserved scene, canceling the reservation of a reserved scene, and adjusting the reservation time or reservation data in the reserved scene.
[0086] In some embodiments, canceling an appointment for an appointment scenario includes: in the appointment task table, using the recorded timed Task Id to cancel the task with the corresponding ID to TBOX through the interface of the cloud IoT backend system, and the status of the synchronized recorded data is CANCEL.
[0087] In some embodiments, adjusting the appointment time or appointment data in the appointment scene includes: at this time, the appointment task needs to be modified, that is, according to the recorded timed Task Id, the corresponding task information is modified to TBOX through the interface of the cloud IoT backend system, and the status of the synchronized recorded data is MODIFY. This modification operation is a transactional operation. If the appointment fails, the entire scene card modification fails, and the user is prompted on the HMI.
[0088] For example, Figure 3 As shown, it is a flow chart of a reservation scene editing provided by an embodiment of the present application, including: the terminal sends an edit reservation arrangement instruction to the service orchestration cloud interface system through the terminal gateway; the service orchestration cloud interface system edits the scene. The service orchestration cloud interface system edits the scene including: determining whether there is reservation data, if there is reservation data, modifying the reservation task and generating an identifier of the corresponding remote control task; if there is no reservation data, canceling the reservation task and generating an identifier of the corresponding remote task control task; and sending the remote control task to the Internet of Things background system. The Internet of Things background system sends the remote control task to the vehicle-mounted information terminal based on the remote control task, so that the reservation module of the vehicle-mounted information terminal generates a vehicle-mounted information terminal reservation task based on the remote control task, and feeds back the call result to the Internet of Things background system. The Internet of Things background system feeds back the interface result to the service orchestration cloud interface system.
[0089] Optionally, the terminal may be a vehicle equipment in the cockpit domain or a mobile terminal, such as a mobile phone.
[0090] S202: Generate a second scene arrangement instruction based on the first scene arrangement instruction, and add the second scene arrangement instruction to a queue of instructions to be executed.
[0091] The second scene arrangement instruction is used to instruct to provide the service corresponding to the target scene at the scheduled time.
[0092] It should be understood that the in-vehicle information terminal can generate a second scene arrangement instruction corresponding to the first scene arrangement instruction locally on the in-vehicle information terminal based on the first scene arrangement instruction, and then implement the remote reservation function through the second scene arrangement instruction.
[0093] It can be understood that compared with the remote reservation process in which the in-vehicle information terminal receives the remote reservation control instruction sent by the server for controlling the vehicle and sends the remote reservation control instruction to the vehicle controller; the first scene arrangement instruction sent by the server to instruct the in-vehicle information terminal to generate the scene arrangement instruction corresponding to the first scene arrangement instruction has fewer corresponding functions and contains less information, so that the possibility of instruction transmission error or transmission failure during the remote transmission process is lower. Therefore, the in-vehicle information terminal receives the first scene arrangement instruction and generates the second scene arrangement instruction based on the first scene arrangement instruction, which can improve the reliability of remote reservation.
[0094] In a possible implementation, the in-vehicle information terminal generates a second scene arrangement instruction based on the reservation time and the target scene in the first scene arrangement instruction.
[0095] S203: Periodically check the queue of instructions to be executed, and if there is a second scene choreography instruction in the queue of instructions to be executed, send the second scene choreography instruction to the controller.
[0096] It should be understood that the vehicle-mounted information terminal periodically detects the queue of instructions to be executed, which consumes less energy than continuously detecting the queue of instructions to be executed.
[0097] In one possible implementation, the vehicle may be in a sleep state. At this time, the on-board information terminal can only work with a backup energy source (such as a battery). At this time, the on-board information terminal periodically checks the queue of instructions to be executed, and if there is a second scene scheduling instruction in the queue of instructions to be executed, it sends the second scene scheduling instruction to the controller. This can increase the working time of the on-board information terminal when the vehicle is in the sleep state, thereby improving the user experience.
[0098] It should be understood that sending the second scene scheduling instruction to the controller can enable the controller to provide a service corresponding to the target scene at the scheduled time based on the second scene scheduling instruction.
[0099] In a possible implementation, the service corresponding to the target scene may include at least one of the following: turning on the air conditioner, adjusting the air conditioner temperature, starting the vehicle, and adjusting the position of cockpit components (such as seats and steering wheels).
[0100] In a possible implementation, the first scene arrangement instruction or the second scene arrangement instruction may include upper high voltage information.
[0101] Optionally, the vehicle controls the vehicle power-on service of the vehicle control domain controller to power on based on the high voltage information in the second scenario arrangement instruction.
[0102] In one possible implementation, the vehicle can call the service provided by the rule engine to perform rule judgment and generate control instructions based on the second scenario orchestration instructions; the rule engine sends control instructions to the execution engine (or service orchestration execution engine), so that the execution engine executes the control instructions to realize the execution of the target scene (or target scene card).
[0103] In a possible implementation, the first scene arrangement instruction is used to indicate at least one of the following: creating a new reservation scene, modifying a reservation scene. Figure 2 ,like Figure 4 As shown, the above S202 generates a second scene arrangement instruction based on the first scene arrangement instruction, including S401-S402:
[0104] S401: When a first scene arrangement instruction is used to indicate a newly created reservation scene, a second scene arrangement instruction corresponding to the newly created reservation scene is generated based on the first scene arrangement instruction.
[0105] It should be understood that the second scene arrangement instruction corresponding to the newly created reservation scene is used to create the reservation scene indicated by the first scene arrangement instruction.
[0106] In some embodiments, when the first scene arrangement instruction is used to indicate a new reservation scene, the in-vehicle information terminal creates a task corresponding to the new reservation scene based on the first scene arrangement instruction and generates a task identifier.
[0107] In some embodiments, creating a new reservation scenario may be referred to as adding a new one.
[0108] In some embodiments, the addition may include: when a user adds a custom arrangement (it can be an arrangement mobile APP or an in-vehicle arrangement APP), a specific event-type arrangement item (tentatively designated as "alarm") is selected, and configuration according to holidays and statutory working days is supported. The event is added to the background configuration file and will be considered an appointment-related event. The HMI end renders and transmits values according to the corresponding control type. When the background determines that it is an appointment function event and the time format is correct, the interface of the cloud-based IoT background system is called to create an appointment task for TBOX. After the arrangement cloud-based system receives the notification of successful appointment task creation, a record will be inserted into the "Arrangement Appointment Task Table" in the database. The status field in the record is CREATE. The new operation is a transactional operation. If the appointment fails, the entire arrangement scene card creation fails, and the user can be prompted on the HMI. The entire addition process is as follows: Figure 2 (Note: Every time the cloud sends a remote control command to the vehicle computer, the cloud IoT backend system will generate a task, and each task has a ctrTaskId).
[0109] For example, Figure 5 As shown, it is a schematic diagram of a new process provided by an embodiment of the present application, including: the terminal sends a new appointment scheduling instruction to the service scheduling cloud interface system through the mobile phone gateway. The service scheduling cloud interface system executes the create scene instruction. The service scheduling cloud interface system executes the create scene instruction, including: creating an appointment task, and sending the appointment task to the Internet of Things background system. The remote appointment module of the Internet of Things background system sends the remote appointment task to the vehicle information terminal.
[0110] S402: When the first scene arrangement instruction is used to instruct modification of the reserved scene, obtain a second scene arrangement instruction corresponding to the reserved scene, and modify the second scene arrangement instruction corresponding to the reserved scene based on the first scene arrangement instruction.
[0111] In a possible implementation, when the first scene arrangement instruction is used to instruct modification of the reservation scene, the in-vehicle information terminal obtains the second scene arrangement instruction corresponding to the reservation scene based on obtaining the task identifier corresponding to the reservation scene.
[0112] In a possible implementation, the in-vehicle information terminal modifies the task content in the second scene arrangement instruction corresponding to the reservation scene based on the first scene arrangement instruction.
[0113] Exemplarily, the task content in the second scene arrangement instruction may be to create a new first appointment scene, and based on the first scene arrangement instruction, the first appointment scene in the task in the second scene arrangement instruction is modified to the second appointment scene.
[0114] Exemplarily, the task content in the second scene arrangement instruction may be to create a new first scheduled scene at a first moment, and based on the first scene arrangement instruction, modify the first moment in the task in the second scene arrangement instruction to the second moment.
[0115] In a possible implementation, the task identifier may be a vehicle-mounted information terminal task identifier (TBOX task ID).
[0116] In a possible implementation, the in-vehicle information terminal task identifier may be called a timed Task Id.
[0117] In a possible implementation, the first scene arrangement instruction may include a remote control task identifier.
[0118] In a possible implementation, the remote control task identifier may be called ctrl Task Id.
[0119] In a possible implementation, the above-mentioned first scene arrangement instruction is used to indicate the cancellation of the reservation scene, and the method also includes: when the first scene arrangement instruction is used to indicate the cancellation of the reservation scene, obtaining the second scene arrangement instruction corresponding to the reservation scene, and deleting the second scene arrangement instruction corresponding to the reservation scene.
[0120] In a possible implementation, the in-vehicle information terminal obtains a second scene arrangement instruction based on a task identifier corresponding to the reservation scene, and deletes the second scene arrangement instruction based on the first scene arrangement instruction used to indicate cancellation of the reservation scene.
[0121] In some embodiments, the user operation corresponding to the cancellation reservation scenario may be called delete or cancel.
[0122] In some embodiments, deletion or cancellation includes: when a user deletes a custom scene card, if there is appointment data (that is, an appointment-type scene), the task with the corresponding id is cancelled to TBOX by calling the interface of the cloud-based IoT backend system according to the recorded timed Task Id. At this time, the status of the synchronized recorded data is CANCEL.
[0123] For example, Figure 6 As shown, it is a schematic diagram of a deletion process provided by an embodiment of the present application, including: the terminal sends a delete scene instruction to the service orchestration cloud interface system through the terminal gateway; the service orchestration cloud interface system executes the delete scene instruction. The service orchestration cloud interface system executes the delete scene instruction, including: creating a remote control task for canceling the appointment task, and sending the remote control task to the Internet of Things background system. The remote appointment module of the Internet of Things background system sends the remote control task to the vehicle information terminal based on the remote control task.
[0124] In one possible implementation, the status of the first scene choreography instruction is stored in the server; the status is being executed or executed; being executed includes: being created, being modified, or being canceled; executed includes: being created, modified, or canceled; the method also includes: when the in-vehicle information terminal determines the second scene choreography instruction, sending a first response to the server, so that the server changes the status of the first scene choreography instruction from being executed to executed based on the first response; the first response is used to indicate that the in-vehicle information terminal has determined the second scene choreography instruction.
[0125] It should be understood that when the in-vehicle information terminal determines the second scene arrangement instruction, it means that the in-vehicle information terminal has received the first scene arrangement instruction and has completed the generation or deletion of the second scene arrangement instruction based on the first scene arrangement instruction. At this time, a first response can be sent to the server so that the server updates the status of the first scene arrangement instruction to executed. In this way, the reliability of remote reservation can be improved.
[0126] In some embodiments, the first response may be the timedTask Id corresponding to the scheduled task created by the in-vehicle information terminal.
[0127] Exemplarily, after the appointment task is successfully created, the in-vehicle information terminal will notify the cloud-based IoT backend system of the corresponding timed Task Id. After receiving the message, the cloud-based IoT backend system will send a message to the service orchestration cloud API system. After receiving the message, the service orchestration cloud API system will process it, find the corresponding record in the orchestration appointment task table through ctrl Task Id, and modify or write the timed Task Id in the record. If the result is found, the corresponding status (status) needs to be changed to CREATED-newly created, MODIFIED-modified, or CANCELED-canceled.
[0128] For example, if the in-vehicle information terminal returns a response indicating that the execution failed, the server needs to perform corresponding failure processing, such as prompting the user that the task creation failed, or re-initiating the remote reservation task.
[0129] For example, Figure 7 As shown, it is a schematic diagram of a result receiving process provided by an embodiment of the present application, including: the vehicle information terminal sends a reservation task creation feedback or a remote control task feedback or a remote reservation control task feedback to the Internet of Things background system; the Internet of Things background system receives the reservation result feedback and notifies the service orchestration cloud interface system of the result. The service orchestration cloud interface system writes back the reservation result (specifically, writes the Timed Task Id).
[0130] In some embodiments, if the server does not receive a first response within a preset time after sending the first scene arrangement instruction to the in-vehicle information terminal, the server re-sends the first scene arrangement instruction to the in-vehicle information terminal.
[0131] It should be understood that if the first response is not received within the preset time after the first scene arrangement instruction is sent to the vehicle information terminal, it means that the vehicle information terminal may not have successfully received the first scene arrangement instruction, or may not have successfully generated, modified or deleted the second scene arrangement instruction based on the first scene arrangement instruction. At this time, the server re-sends the first scene arrangement instruction to the vehicle information terminal. In this way, the reliability and success rate of remote reservation can be improved.
[0132] In some embodiments, after sending the first scene arrangement instruction to the vehicle-mounted information terminal, the server periodically queries to obtain the status of the first scene arrangement instruction; when the status obtained from the periodic query is being executed, the server re-sends the first scene arrangement instruction to the vehicle-mounted information terminal.
[0133] It should be understood that when the status obtained by the timed query is being executed, it means that the vehicle information terminal may have successfully received the first scene arrangement instruction, or has successfully generated, modified or deleted the second scene arrangement instruction based on the first scene arrangement instruction. At this time, the server resends the first scene arrangement instruction to the vehicle information terminal. In this way, the reliability and success rate of remote reservation can be improved.
[0134] In some embodiments, the scheduled query may include: the server may determine that the task creation has failed based on the absence of ctrl Task Id in the data returned by the vehicle information terminal, and may retry the scheduled task.
[0135] Optionally, the maximum number of retries is 3. If the data returned by the vehicle information terminal contains a ctrl Task Id, the "query" logic is used to write the timed Task Id.
[0136] For example, Figure 8As shown, a flow chart of a scheduled query provided in an embodiment of the present application includes: determining to perform a scheduled query based on the time information sent by the timer; filtering enabled appointment tasks without a ctrl Task Id or a timed Task Id to determine whether a ctrl Task Id exists, and creating an appointment task process if a ctrl Task Id does not exist; if a ctrl Task Id exists, determining whether a timed Task Id exists, and if a timed Task Id does not exist, starting a query task and querying to determine whether a timed Task Id exists, and if no timed Task Id is found, querying the appointment task from the Internet of Things background system based on the ctrl Task Id; and if a timed Task Id is found, returning the timed Task Id corresponding to the appointment task.
[0137] In some embodiments, the query includes: if it is determined that there is no timed Task Id in the data returned by the vehicle information terminal, it is necessary to query the timed Task Id in the cloud IoT backend system again through the ctrl Task Id. If the timed Task Id is found, it will be written to the data table; and if the timed Task Id exists, the timedTask Id is directly returned.
[0138] For example, the query process can refer to Figure 8 The process part corresponding to the query task.
[0139] In one possible implementation, the first scene arrangement instruction includes multiple remote control task identifiers, and the second scene arrangement instruction includes a reservation task identifier corresponding to each remote control task identifier; the task corresponding to the remote control task identifier includes one of the following: creating a new reservation scene, modifying a reservation scene, and canceling a reservation scene.
[0140] In one possible implementation, combining Figure 2 ,like Fig. 9 As shown, the above S203, periodically checking the queue of instructions to be executed, and sending the second scene arrangement instruction to the controller when there is a second scene arrangement instruction in the queue of instructions to be executed, includes S901-S902:
[0141] S901. When the vehicle is in a dormant state, periodically check the queue of pending instructions, and if there is a second scene arrangement instruction in the queue of pending instructions, wake up the controller corresponding to the target scene.
[0142] It should be understood that when the vehicle is in a sleep state, the in-vehicle information terminal can periodically check the queue of instructions to be executed to determine whether there are second scene arrangement instructions that need to be executed. In this way, the energy consumption of the device can be reduced and the standby time of the in-vehicle information terminal can be increased.
[0143] It should be understood that when there is a second scene choreography instruction in the queue of instructions to be executed, the controller corresponding to the target scene is woken up. In this way, when there is a second scene choreography instruction that needs to be executed, the control corresponding to the target scene is woken up to ensure that the second scene choreography instruction can be reliably executed.
[0144] For example, when the vehicle is in sleep mode, the on-board information terminal will execute a scheduled task every 4 minutes. The scheduled task will check whether there is an appointment task in the queue. If there is, it will wake up the corresponding controller according to the maintained wake-up function table, and call the vehicle control domain controller's vehicle power-on service to power on the vehicle based on the high-voltage information carried in the appointment task. At the same time, it will call the service provided by the rule engine to perform rule judgment and give it to the execution engine to execute the scene card.
[0145] For example, Fig.10 As shown, it is a flow chart of an execution reservation scenario provided by an embodiment of the present application, including the vehicle information terminal executing a scheduled task, checking whether there is a task in the queue; if there is a task in the queue, querying the wake-up function table; waking up the controller; determining whether to power on high voltage, and if not, powering on the whole vehicle (low voltage); if high voltage is required, powering on the whole vehicle (high voltage); after the whole vehicle is powered on, calling the rule engine service. Powering on the whole vehicle (low voltage) and powering on the whole vehicle (high voltage) are implemented through the vehicle control domain controller. The rule engine determines whether there is a scene identification. If there is a scene identification, it updates the rules and notifies the engine to update, determines whether there are rules updated to the corresponding identification, and records the rule trigger log if there is no scene identification; in other cases, the rules are loaded into the memory; after the rules are loaded into the memory or if there is a scene identification, it is determined whether the trigger time point is met; if the trigger time point is met, it is determined whether it is a holiday / working day; if the holiday / working day is met, it is determined whether the precondition is met; if the precondition is met, the execution engine is triggered to execute the scene script; and it is determined whether there is a high-voltage service. If there is a high-voltage service, it is determined whether the vehicle is in the off gear position. If it is in the off gear position, it is queried whether there is a high-voltage activation script in execution. If there is no high-voltage activation script in execution, the execution engine high-voltage activation script is triggered to execute; if there is a high-voltage activation script in execution, the high-voltage activation script being executed is interrupted, and a new high-voltage activation script is triggered, and the execution engine high-voltage activation script is triggered to execute.
[0146] In some embodiments, when there is a second scene choreography instruction in the queue of instructions to be executed, the in-vehicle information terminal wakes up a device, module or program in the vehicle that assists in executing the second scene choreography instruction.
[0147] Exemplarily, the device, module or program that assists in executing the second scene arrangement instruction may include a rule engine and / or an execution engine.
[0148] S902. Provide services corresponding to the target scenario through the controller based on the second scenario choreography instruction.
[0149] In a possible implementation, a controller arranges instructions based on the second scene to provide services corresponding to the target scene at the scheduled time.
[0150] In a possible implementation, the queue of pending instructions is periodically checked, specifically at a plurality of preset time points; Fig. 9 ,like Fig.11 As shown, in the above S901, when there is a second scene arrangement instruction in the to-be-executed instruction queue, waking up the controller corresponding to the target scene includes S1101-S1102:
[0151] S1101. At a first preset time, when it is determined that there is a second scene arrangement instruction in the to-be-executed instruction queue, if the scheduled time is after the first preset time or the scheduled time is the first preset time, wake up the controller corresponding to the target scene at the scheduled time.
[0152] The first preset time is one of multiple preset time.
[0153] It should be understood that if the reservation time is after the first preset time or the reservation time is the first preset time, it means that the first preset time is exactly the reservation time or the upper position reaches the reservation time. At this time, the controller corresponding to the target scene can be awakened at the preset time.
[0154] S1102: If the scheduled time is before the first preset time, wake up the controller corresponding to the target scene at the current time.
[0155] It should be understood that if the scheduled time is before the first preset time, it means that the current scheduled time has passed, and at this time, the controller corresponding to the target scene is awakened at the current time. In this way, the second scene arrangement instruction that is not executed at the scheduled time due to periodic inspection can be executed immediately.
[0156] In a possible implementation, if the scheduled time is before the first preset time, the vehicle information terminal sends a second response to the server, where the second response is used to indicate that the service corresponding to the first scene arrangement instruction is not executed at the scheduled time.
[0157] In a possible implementation, the method further includes: when the vehicle is in a non-sleeping state, waking up a controller corresponding to the target scene at a scheduled time.
[0158] It should be understood that when the vehicle is not in a sleep state, the on-board information terminal can perform continuous real-time monitoring and wake up the controller corresponding to the target scene at the scheduled time to ensure that the remote reservation service corresponding to the first scene scheduling instruction is executed in a timely manner.
[0159] The scene arrangement method provided in the embodiment of the present application can be applied to Figure 1 The server 102 in the scene arrangement system shown; Fig.12 is a flowchart of another scene arrangement method according to an exemplary embodiment. Fig.12 As shown, the scene arrangement method includes S1201-S1202:
[0160] S1201. Obtain a first scene arrangement instruction generated based on a scene arrangement operation of a user terminal.
[0161] The first scene arrangement instruction includes a reservation time and a target scene.
[0162] S1202: Send the first scene arrangement instruction to the in-vehicle information terminal.
[0163] In a possible implementation, the first scene arrangement instruction is used to indicate at least one of the following: creating a new reservation scene, modifying a reservation scene, and canceling a reservation scene.
[0164] In one possible implementation, the server stores the status of the first scene choreography instruction; the status is being executed or executed; the being executed includes: being created, being modified, or being canceled; the executed includes: being created, modified, or canceled; the method also includes: receiving a first response sent by the in-vehicle information terminal when determining the second scene choreography instruction; the first response is used to indicate that the in-vehicle information terminal has determined the second scene choreography instruction; based on the first response, the status of the first scene choreography instruction is changed from being executed to executed.
[0165] In a possible implementation, the sending of the first scene arrangement instruction to the vehicle-mounted information terminal includes: if the first response is not received within a preset time period after the first scene arrangement instruction is sent to the vehicle-mounted information terminal, re-sending the first scene arrangement instruction to the vehicle-mounted information terminal.
[0166] In one possible implementation, the sending of the first scene choreography instruction to the vehicle-mounted information terminal includes: after sending the first scene choreography instruction to the vehicle-mounted information terminal, periodically querying to obtain a status of the first scene choreography instruction; and when the status obtained by the periodic query is that the first scene choreography instruction is being executed, re-sending the first scene choreography instruction to the vehicle-mounted information terminal.
[0167] It should be noted that the application Figure 1 The explanation of the embodiment of the scene arrangement method of the server 102 in the scene arrangement system shown in FIG. Figure 1 The explanation of the embodiment of the scene arrangement method of the vehicle information terminal 101 in the scene arrangement system shown is not repeated here.
[0168] In some embodiments, the scene arrangement device may be an electronic device.
[0169] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, the scene arrangement device or electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0170] The embodiment of the present application can divide the functional modules of the scene arrangement device according to the above method. For example, the scene arrangement device or electronic device can include various functional modules corresponding to the various functional divisions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0171] Fig.13 FIG. 1 is a schematic diagram showing a structure of a scene arrangement device according to an exemplary embodiment. Fig.13 The scene arrangement device includes a receiving module 1301, a processing module 1302 and a sending module 1303.
[0172] Receiving module 1301 is used to receive a first scene choreography instruction sent by a server; the first scene choreography instruction is an instruction generated based on a user's scene choreography operation; the first scene choreography instruction includes an appointment time and a target scene; the first scene choreography instruction is used to instruct the on-board information terminal to generate a scene choreography instruction corresponding to the first scene choreography instruction; processing module 1302 is used to generate a second scene choreography instruction based on the first scene choreography instruction, and add the second scene choreography instruction to a queue of instructions to be executed, the second scene choreography instruction is used to instruct to provide a service corresponding to the target scene at the appointment time; sending module 1303 is used to periodically check the queue of instructions to be executed, and if there is a second scene choreography instruction in the queue of instructions to be executed, send the second scene choreography instruction to the controller.
[0173] In one possible implementation, the first scene choreography instruction is used to indicate at least one of the following: creating a new reservation scene, modifying a reservation scene; the device also includes an acquisition module; a processing module 1302 is specifically used to generate a second scene choreography instruction corresponding to the new reservation scene based on the first scene choreography instruction when the first scene choreography instruction is used to indicate modifying the reservation scene; the acquisition module is used to acquire the second scene choreography instruction corresponding to the reservation scene when the first scene choreography instruction is used to indicate modifying the reservation scene, and modify the second scene choreography instruction corresponding to the reservation scene based on the first scene choreography instruction.
[0174] In a possible implementation, the first scene choreography instruction is used to indicate cancellation of the reservation scene; the processing module 1302 is also used to obtain the second scene choreography instruction corresponding to the reservation scene and delete the second scene choreography instruction corresponding to the reservation scene when the first scene choreography instruction is used to indicate cancellation of the reservation scene.
[0175] In one possible implementation, the status of the first scene choreography instruction is stored in the server; the status is being executed or executed; being executed includes: being created, being modified, or being canceled; executed includes: being created, modified, or canceled; the sending module 1303 is also used to send a first response to the server when the in-vehicle information terminal determines the second scene choreography instruction, so that the server changes the status of the first scene choreography instruction from being executed to executed based on the first response; the first response is used to indicate that the in-vehicle information terminal has determined the second scene choreography instruction.
[0176] In a possible implementation, the first scene arrangement instruction includes multiple remote control task identifiers, and the second scene arrangement instruction includes a reservation task identifier corresponding to each remote control task identifier; the task corresponding to the remote control task identifier includes one of the following: creating a new reservation scene, modifying a reservation scene, and canceling a reservation scene.
[0177] In one possible implementation, the processing module 1302 is specifically used to periodically check the queue of instructions to be executed when the vehicle is in a sleep state, and wake up the controller corresponding to the target scene when there is a second scene scheduling instruction in the queue of instructions to be executed; through the controller, the service corresponding to the target scene is provided based on the second scene scheduling instruction.
[0178] In one possible implementation, the queue of instructions to be executed is periodically checked, specifically at multiple preset moments; the processing module 1302 is specifically used to, at a first preset moment, determine that there is a second scene scheduling instruction in the queue of instructions to be executed, and if the scheduled time is after the first preset moment or the scheduled time is the first preset moment, wake up the controller corresponding to the target scene at the scheduled time; the first preset moment is one of multiple preset moments; if the scheduled time is before the first preset moment, wake up the controller corresponding to the target scene at the current moment.
[0179] In a possible implementation, the processing module 1302 is further configured to wake up a controller corresponding to the target scene at a scheduled time when the vehicle is in a non-sleeping state.
[0180] Fig.14 FIG. 1 is a schematic diagram showing the structure of another scene arrangement device according to an exemplary embodiment. Fig.14 The scene arrangement device includes an acquisition module 1401 and a sending module 1402.
[0181] The acquisition module 1401 is used to acquire the first scene arrangement instruction generated based on the scene arrangement operation of the user terminal; the first scene arrangement instruction includes the reservation time and the target scene; the sending module 1402 is used to send the first scene arrangement instruction to the vehicle-mounted information terminal.
[0182] In a possible implementation manner, the first scene arrangement instruction is used to indicate at least one of the following: creating a new reservation scene, modifying a reservation scene, and canceling a reservation scene.
[0183] In one possible implementation, the status of the first scene choreography instruction is stored in the server; the status is being executed or executed; being executed includes: being created, being modified, or being canceled; executed includes: being created, modified, or canceled; the device also includes a receiving module 1403 and a processing module 1404; the receiving module 1403 is used to receive a first response sent by the in-vehicle information terminal when the second scene choreography instruction is determined; the first response is used to indicate that the in-vehicle information terminal has determined the second scene choreography instruction; the processing module 1404 is used to change the status of the first scene choreography instruction from being executed to executed based on the first response.
[0184] In a possible implementation, the sending module 1402 is specifically configured to resend the first scene arrangement instruction to the in-vehicle information terminal if no first response is received within a preset time after the first scene arrangement instruction is sent to the in-vehicle information terminal.
[0185] In a possible implementation, the sending module 1402 is further specifically used to: after sending the first scene arrangement instruction to the vehicle-mounted information terminal, periodically query to obtain the status of the first scene arrangement instruction; when the status obtained by the periodic query is being executed, re-send the first scene arrangement instruction to the vehicle-mounted information terminal.
[0186] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0187] Fig.15 FIG. 1 is a schematic diagram showing the structure of an electronic device according to an exemplary embodiment. Fig.15 As shown, the electronic device includes but is not limited to: a processor 1501 and a memory 1502 .
[0188] The memory 1502 is used to store executable instructions of the processor 1501. It can be understood that the processor 1501 is configured to execute instructions to implement the scene arrangement method in the above embodiment.
[0189] It should be noted that those skilled in the art can understand that Fig.15 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include Fig.15 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.
[0190] The processor 1501 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1502, and calling data stored in the memory 1502, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 1501 may include one or more processing units. Optionally, the processor 1501 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1501.
[0191] The memory 1502 may be used to store software programs and various data. The memory 1502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one functional module (such as a determination unit, a processing unit, etc.), etc. In addition, the memory 1502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0192] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1502 including instructions, and the above instructions can be executed by a processor 1501 of an electronic device to implement the method in the above embodiment.
[0193] In actual implementation, Fig.13 The receiving module 1301, the processing module 1302 and the sending module 1303 or Fig.14 The functions of the acquisition module 1401, the sending module 1402, the receiving module 1403 and the processing module 1404 can all be Fig.15 The processor 1501 in the embodiment calls the computer program stored in the memory 1502 to implement. The specific execution process can refer to the description of the method part in the above embodiment, which will not be repeated here.
[0194] Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0195] In an exemplary embodiment, the present application also provides a computer program product including one or more instructions, and the one or more instructions can be executed by the processor 1501 of the electronic device to complete the method in the above embodiment.
[0196] It should be noted that when the instructions in the above-mentioned computer-readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect as the above-mentioned method can be achieved. To avoid repetition, they will not be repeated here.
[0197] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0198] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0199] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0200] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0201] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or CD and other media that can store program code.
[0202] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A scene arrangement method, characterized in that: Applied to an in-vehicle information terminal, the method comprises: Receiving a first scene arrangement instruction sent by a server; the first scene arrangement instruction is an instruction generated based on a scene arrangement operation of a user; the first scene arrangement instruction includes a reservation time and a target scene; the first scene arrangement instruction is used to instruct the vehicle information terminal to generate a scene arrangement instruction corresponding to the first scene arrangement instruction; Based on the first scene arrangement instruction, generate a second scene arrangement instruction, and add the second scene arrangement instruction to the to-be-executed instruction queue, wherein the second scene arrangement instruction is used to instruct to provide the service corresponding to the target scene at the scheduled time; The queue of instructions to be executed is checked periodically, and when the queue of instructions to be executed contains the second scene choreography instruction, the second scene choreography instruction is sent to the controller.
2. The method according to claim 1, characterized in that The first scene arrangement instruction is used to indicate at least one of the following: creating a new reservation scene, modifying a reservation scene; and generating a second scene arrangement instruction based on the first scene arrangement instruction includes: In a case where the first scene arrangement instruction is used to indicate a newly created reservation scene, generating a second scene arrangement instruction corresponding to the newly created reservation scene based on the first scene arrangement instruction; In the case where the first scene arrangement instruction is used to instruct modification of the reserved scene, a second scene arrangement instruction corresponding to the reserved scene is obtained, and the second scene arrangement instruction corresponding to the reserved scene is modified based on the first scene arrangement instruction.
3. The method according to claim 2, characterized in that The first scene arrangement instruction is used to instruct to cancel the reservation scene, and the method further includes: In the case where the first scene arrangement instruction is used to instruct cancellation of a reservation scene, a second scene arrangement instruction corresponding to the reservation scene is obtained, and the second scene arrangement instruction corresponding to the reservation scene is deleted.
4. The method according to claim 3, characterized in that The server stores the status of the first scene arrangement instruction; The status is either being executed or executed; The being executed includes: being created, being modified or being cancelled; the having been executed includes: having been created, having been modified or being cancelled; the method further includes: When the in-vehicle information terminal determines the second scene choreography instruction, a first response is sent to the server so that the server changes the status of the first scene choreography instruction from being executed to executed based on the first response; the first response is used to indicate that the in-vehicle information terminal has determined the second scene choreography instruction.
5. The method according to claim 2, characterized in that: The first scene arrangement instruction includes a plurality of remote control task identifiers, and the second scene arrangement instruction includes a reservation task identifier corresponding to each remote control task identifier; The task corresponding to the remote control task identifier includes one of the following: creating a new reservation scene, modifying a reservation scene, and canceling a reservation scene.
6. The method according to claim 1, characterized in that The periodically checking the to-be-executed instruction queue, and sending the second scene choreography instruction to the controller when the to-be-executed instruction queue exists, comprises: When the vehicle is in a dormant state, periodically checking the queue of pending instructions, and waking up the controller corresponding to the target scene if the queue of pending instructions contains the second scene arrangement instruction; The controller provides a service corresponding to the target scenario based on the second scenario choreography instruction.
7. The method according to claim 1 or 6, characterized in that: The periodic checking of the to-be-executed instruction queue is specifically checking the to-be-executed instruction queue at a plurality of preset moments, and waking up the controller corresponding to the target scene when the second scene arrangement instruction exists in the to-be-executed instruction queue, including: At a first preset time, when it is determined that the second scene arrangement instruction exists in the to-be-executed instruction queue, if the scheduled time is after the first preset time or the scheduled time is the first preset time, waking up the controller corresponding to the target scene at the scheduled time; the first preset time is one of the multiple preset times; If the scheduled time is before the first preset time, the controller corresponding to the target scene is woken up at the current time.
8. The method according to claim 7, characterized in that The method further comprises: When the vehicle is in a non-sleeping state, at the scheduled time, a controller corresponding to the target scene is awakened.
9. A scene arrangement method, characterized in that: Applied to a server, the method comprises: Acquire a first scene arrangement instruction generated based on a scene arrangement operation of a user terminal; the first scene arrangement instruction includes a reservation time and a target scene; The first scene arrangement instruction is sent to the in-vehicle information terminal.
10. The method according to claim 9, characterized in that The first scene arrangement instruction is used to indicate at least one of the following: creating a new reservation scene, modifying a reservation scene, and canceling a reservation scene.
11. The method according to claim 10, characterized in that The server stores the status of the first scene arrangement instruction; The status is either being executed or executed; The being executed includes: being created, being modified or being cancelled; the having been executed includes: having been created, having been modified or being cancelled; the method further includes: receiving a first response sent by the in-vehicle information terminal when the second scene arrangement instruction is determined; the first response is used to indicate that the in-vehicle information terminal has determined the second scene arrangement instruction; Based on the first response, the status of the first scene choreography instruction is changed from being executed to executed.
12. The method according to claim 11, characterized in that The sending the first scene arrangement instruction to the vehicle-mounted information terminal includes: If the first response is not received within a preset time period after the first scene arrangement instruction is sent to the in-vehicle information terminal, the first scene arrangement instruction is re-sent to the in-vehicle information terminal.
13. The method according to claim 11, characterized in that The sending the first scene arrangement instruction to the vehicle-mounted information terminal includes: After sending the first scene arrangement instruction to the in-vehicle information terminal, periodically querying to obtain the status of the first scene arrangement instruction; When the status obtained by the timed query is being executed, the first scene arrangement instruction is resent to the in-vehicle information terminal.
14. A scene arrangement device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 8, or the method according to any one of claims 9 to 13.
15. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of a scene arrangement device, the scene arrangement device can execute the method as claimed in any one of claims 1 to 8, or the method as claimed in any one of claims 9 to 13.
16. A computer program product, characterized in that The computer program product includes computer instructions, and when the computer instructions are executed on a scene arrangement device, the scene arrangement device is enabled to execute the method according to any one of claims 1 to 8, or the method according to any one of claims 9 to 13.
Citation Information
Patent Citations
Service orchestration actuator operation state control method and system and storage medium
CN116149938A
Vehicle end service orchestration execution method
CN116668477A
System and method for remotely controlling vehicle
CN117369409A
Vehicle and airport scene arrangement method and device
CN117687730A
Vehicle control method and vehicle scene library updating method and device
CN117734608A