CN114153312B - VPA control method, device, equipment, storage medium and program product - Google Patents

VPA control method, device, equipment, storage medium and program product Download PDF

Info

Publication number
CN114153312B
CN114153312B CN202111437697.5A CN202111437697A CN114153312B CN 114153312 B CN114153312 B CN 114153312B CN 202111437697 A CN202111437697 A CN 202111437697A CN 114153312 B CN114153312 B CN 114153312B
Authority
CN
China
Prior art keywords
vpa
control instruction
control
target
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111437697.5A
Other languages
Chinese (zh)
Other versions
CN114153312A (en
Inventor
周毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Intelligent Connectivity Beijing Technology Co Ltd
Apollo Zhixing Technology Guangzhou Co Ltd
Original Assignee
Apollo Intelligent Connectivity Beijing Technology Co Ltd
Apollo Zhixing Technology Guangzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apollo Intelligent Connectivity Beijing Technology Co Ltd, Apollo Zhixing Technology Guangzhou Co Ltd filed Critical Apollo Intelligent Connectivity Beijing Technology Co Ltd
Priority to CN202111437697.5A priority Critical patent/CN114153312B/en
Publication of CN114153312A publication Critical patent/CN114153312A/en
Application granted granted Critical
Publication of CN114153312B publication Critical patent/CN114153312B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a VPA control method, a device, equipment, a storage medium and a program product, and relates to the technical field of computers, in particular to the technical field of Internet of vehicles and intelligent cabins. The specific implementation scheme is as follows: responding to at least two control instructions initiated by the application, and determining a target working scene where the vehicle is located; the application is deployed on a vehicle-mounted terminal of the vehicle; the control instruction is used for controlling the VPA; determining the execution sequence of at least two control instructions according to the target working scene; according to the execution order, the control VPA provides services corresponding to the control instructions. According to the technical scheme of the embodiment of the disclosure, sequential execution of control instructions can be realized according to the working scene of the vehicle.

Description

VPA control method, device, equipment, storage medium and program product
Technical Field
The disclosure relates to the technical field of computers, in particular to the technical field of Internet of vehicles and intelligent cabins, and specifically relates to a VPA control method, a device, equipment, a storage medium and a program product.
Background
A virtual personal assistant (Virtual Personal Assistant, VPA) is an artificial intelligence system that provides services corresponding to control instructions in response to control instructions initiated by a user through voice or other applications.
To enhance the user's use experience, a virtual character may be displayed in the display screen of the computing device to represent the VPA. When executing different control instructions, the avatar needs to show different forms or take different actions, so when multiple applications send control instructions to the VPA at the same time, how to control the VPA gets the attention of the developer.
Disclosure of Invention
The present disclosure provides a VPA control method, apparatus, device, storage medium, and program product.
According to an aspect of the present disclosure, there is provided a VPA control method, the VPA being deployed at a vehicle-mounted terminal of a vehicle, the method including:
Responding to at least two control instructions initiated by the application, and determining a target working scene where the vehicle is located; the application is deployed on a vehicle-mounted terminal of the vehicle; the control instruction is used for controlling the VPA;
Determining the execution sequence of the at least two control instructions according to the target working scene;
and controlling the VPA to provide services corresponding to the control instructions according to the execution sequence.
According to another aspect of the present disclosure, there is provided a VPA control device deployed at an on-board terminal of a vehicle, the device including:
The target working scene determining module is used for responding to at least two control instructions initiated by the application and determining a target working scene where the vehicle is located; the application is deployed on a vehicle-mounted terminal of the vehicle; the control instruction is used for controlling the VPA;
The execution sequence determining module is used for determining the execution sequence of the at least two control instructions according to the target working scene;
and the VPA control module is used for controlling the VPA to provide the service corresponding to the control instruction according to the execution sequence.
According to another aspect of the present disclosure, there is provided an electronic device including:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the VPA control method of any one embodiment of the disclosure.
According to another aspect of the present disclosure there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the VPA control method of any one of the embodiments of the present disclosure.
According to another aspect of the present disclosure there is provided a computer program product comprising a computer program which when executed by a processor implements the VPA control method of any one of the embodiments of the present disclosure.
The embodiment of the disclosure can realize the sequential execution of the control instructions according to the working scene of the vehicle.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1a is a schematic diagram of a VPA control method according to an embodiment of the present disclosure;
FIG. 1b is a schematic diagram of a VPA control scenario according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a VPA control method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a VPA control method according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a VPA control device according to an embodiment of the present disclosure;
fig. 5 is a block diagram of an electronic device used to implement the VPA control method of an embodiment of the disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1a is a flowchart of a VPA control method according to an embodiment of the present disclosure, which may be applied to a case where control instructions are sequentially executed according to a vehicle operation scene, and the method may be applied to an on-board terminal of a vehicle.
It should be noted that, the vehicle-mounted terminal in the embodiment of the present disclosure may be an intelligent terminal such as a computer or a tablet computer that cooperates with a vehicle. As shown in fig. 1b, the VPA control scenario is that a VPA, a VPA manager, and a third party application (application 1, application 2, application 3, and the like contained in fig. 1 b) are deployed in the vehicle-mounted terminal. The third party application can be a music player, a news application or an electronic map, and the third party application can send a control instruction to the VPA manager, wherein the control instruction is used for controlling the VPA to provide corresponding services; the VPA manager is configured to manage a control instruction sent by the third party application, where the management of the control instruction may specifically be determining an execution sequence of a plurality of control instructions, and sequentially controlling the VPA according to the execution sequence; the VPA is used to provide services corresponding to control instructions, for example, displaying avatar images matching the control instructions. In addition, the third party application may also send a VPA status acquisition instruction to the VPA manager to instruct the VPA manager to acquire and feed back the current status of the VPA.
The method of the embodiment can be executed by a VPA control device, the device can be implemented in a software and/or hardware mode, and the device is specifically configured in an electronic device with a certain data operation capability, and the electronic device can be a client device or a server device, and the client device can be a mobile phone, a tablet computer, a vehicle-mounted terminal, a desktop computer and the like.
S110, responding to at least two control instructions initiated by the application, and determining a target working scene where the vehicle is located; the application is deployed on a vehicle-mounted terminal of the vehicle; the control instruction is used for controlling the VPA.
The control instruction is used for controlling the VPA, and the control instruction is an instruction sent to the VPA manager by an application installed in the vehicle-mounted terminal. Illustratively, the control instruction is a music play instruction sent to the VPA manager by a music player disposed at the in-vehicle terminal, the instruction being for controlling the VPA to show an avatar that is listening to music. The target working scene is used for representing the working scene of the vehicle where the VPA is located, and for example, the target working scene may be that the vehicle is in a driving state, or the vehicle is in a stopping state, etc.
In the embodiment of the disclosure, when receiving at least two control instructions initiated by an application, the VPA manager obtains a target working scene in which a vehicle is located, so as to prioritize a plurality of control instructions according to the target working scene. Specifically, when at least two control instructions initiated by the application are received simultaneously, the speed of the current vehicle is obtained through a speed sensor, and the target working scene of the vehicle is determined according to the speed of the vehicle. For example, the operation scene of the vehicle is classified into a high-speed running state, a slow running state, a stopped state, or the like according to a speed section to which the running speed of the vehicle belongs. The at least two control instructions received by the VPA may be sent by the same application, or may be sent by multiple applications respectively.
The VPA manager receives a music playing instruction initiated by the music player and a navigation control instruction initiated by the navigation application, and then, the VPA manager obtains that the current speed of the vehicle is 0Km/h through a speed sensor, and further, determines that a target working scene where the vehicle is currently located is in a stop state according to a mapping relation between a section to which the speed belongs and the working scene of the vehicle, so that an effect of sequentially sending the two control instructions to the VPA according to the target working scene (i.e. the stop state) is achieved, and a problem of state confusion of the VPA is avoided.
In another example, when the VPA manager receives a music playing instruction and a song name query instruction initiated by the music player, in order to determine the execution sequence of the two control instructions, the VPA manager obtains the current speed of the vehicle to be 20Km/h through a speed sensor, and then determines that the vehicle is in a slow running state according to the mapping relationship between the interval to which the speed belongs and the working scene of the vehicle, so as to achieve the effect of sequentially sending the two control instructions to the VPA according to the target working scene (i.e. the slow running state), and avoid the problem of state confusion of the VPA.
S120, determining the execution sequence of at least two control instructions according to the target working scene.
In the embodiment of the disclosure, after the target working scene is acquired, the execution sequence of the received at least two control instructions may be determined according to the target working scene. Specifically, ordering information of different control instructions is preset for different working scenes. When the target working scene is acquired, the execution sequence of at least two control instructions can be determined according to the sequencing information of the control instructions matched with the target working scene.
The ordering information of the working scene and the control instruction is preset according to actual use requirements. In a specific example, the operating scene of the vehicle is divided into a high-speed driving state and a stop state, and the control instruction includes a music playing instruction, a navigation control instruction, and a weather inquiry instruction. When the working scene of the vehicle is in a high-speed driving state, the ordering information of the control instructions is a navigation control instruction, a music playing instruction and a weather inquiring instruction. When the working scene of the vehicle is in a stop state, the ordering information of the control instructions is a music playing instruction, a weather inquiring instruction and a navigation control instruction.
For example, after receiving a music playing instruction initiated by a music player and a navigation control instruction initiated by a navigation application, the VPA manager obtains that a current target working scene of the vehicle is in a high-speed driving state. Further, ranking information of the control instructions corresponding to the high-speed driving state is acquired. For example, the ordering information of the control instructions in the high-speed driving state is a navigation control instruction, a music playing instruction, and a weather inquiry instruction. At this time, the execution sequence of the two control commands is determined according to the high-speed driving state, and the execution sequence is a navigation control command and a music playing command.
And S130, controlling the VPA to provide services corresponding to the control instructions according to the execution sequence.
In the embodiment of the disclosure, after determining the execution sequence of the control instruction matched with the target working scene of the current vehicle, the control instruction may be sequentially sent to the VPA in sequence to control the VPA to provide the service corresponding to the control instruction. Among other things, the services provided by the VPA may include providing avatar images through a display screen, voice prompts, and the like.
For example, according to the execution sequence of the control instructions, the navigation control instructions are sent to the VPA first, so that the VPA can be controlled to display virtual characters of traffic police images in a screen, and play navigation content in a voice form, for example, "pass the school zone ahead, please notice deceleration" or "turn ahead 50 meters right, please walk the right lane" and so on. Further, sending a music play instruction to the VPA may control the VPA to display the dance avatar in the screen and play the song or pure music designated in the music play instruction.
According to the technical scheme, the target working scene where the vehicle is located is determined in response to at least two control instructions initiated by the application, and then the execution sequence of the at least two control instructions is determined according to the target working scene, finally, the VPA is controlled to provide services corresponding to the control instructions according to the execution sequence, so that the condition that the VPA is disordered when a plurality of control instructions are received is avoided, and the sequential execution of the control instructions can be realized according to the working scene of the vehicle.
Fig. 2 is a schematic diagram of a VPA control method according to an embodiment of the disclosure, which is further refined on the basis of the foregoing embodiment, and provides specific steps of determining an execution sequence of at least two control instructions according to a target working scenario, and specific steps of controlling the VPA to provide services corresponding to the control instructions according to the execution sequence. A VPA control method provided by an embodiment of the disclosure is described below with reference to fig. 2, including the following:
s210, determining a target working scene of a vehicle in response to at least two control instructions initiated by an application; the application is deployed on a vehicle-mounted terminal of the vehicle; the control instruction is used for controlling the VPA.
S220, determining target control instruction ordering information associated with the target working scene according to the association relation between the candidate working scene of the vehicle and the candidate control instruction ordering information.
The candidate control instruction ordering information is a control instruction ordering list stored corresponding to candidate working scenes and is used for determining the execution sequence of the control instructions according to the working scenes of the vehicle. For example, the candidate working scene of the vehicle is a stop state, and the corresponding control instruction ordering information is a music playing instruction, a news playing instruction and a navigation control instruction.
In the embodiment of the disclosure, in order to determine the execution sequence of at least two control instructions, target control instruction ordering information associated with a target work scene is determined according to an association relationship between a candidate work scene of a vehicle and candidate control instruction ordering information which are configured in advance. Specifically, a comparison is performed between the target working scene and the candidate working scene to obtain the candidate working scene identical to the target working scene, and the control instruction ordering information associated with the candidate working scene is used as the control instruction ordering information associated with the target working scene.
Exemplary candidate operating scenarios for the vehicle include a high-speed driving state, a slow driving state, and a stopped state; the candidate control instructions include a music play instruction, a news play instruction, and a navigation control instruction. The candidate control instruction ordering information related to the high-speed driving state is a navigation control instruction, a news playing instruction and a music playing instruction; the candidate control instruction ordering information associated with the slow running state is a navigation control instruction, a music playing instruction and a news playing instruction; the candidate control instruction ordering information associated with the stop state is a music playing instruction, a news playing instruction and a navigation control instruction. When it is determined that the target working scene of the vehicle is in a high-speed driving state according to the speed of the vehicle, it is possible to determine that the target control instruction ordering information associated with the target working scene is a navigation control instruction, a news playing instruction, and a music playing instruction according to the association relationship between the candidate working scene and the control instruction ordering information.
S230, determining the execution sequence of at least two control instructions according to the target control instruction ordering information.
In the embodiment of the disclosure, after determining the target control instruction ordering information matched with the target working scene according to the association relationship between the candidate working scene and the candidate control instruction ordering information, the execution sequence of at least two control instructions is further determined according to the target control instruction ordering information. Specifically, the position of each received control instruction in the target control instruction ordering information is queried, and finally the sequence of the position of the received control instruction in the target control instruction ordering information is used as the execution sequence. The execution sequence of the received at least two control instructions is determined through the target control instruction sequencing information, so that the execution sequence of the control instructions can be rapidly determined, and the execution efficiency of the control instructions is improved.
Illustratively, the target control instruction ordering information is determined to be a navigation control instruction, a news playing instruction, and a music playing instruction according to a target working scene of the vehicle. The control commands received by the VPA manager only include navigation control commands and music playing commands. At this time, the position of each received control instruction in the target control instruction ordering information can be queried, so that the position of the navigation control instruction is the first position, and the position of the music playing instruction is the third position. Finally, the sequence of the two positions in the target control instruction sequencing information can be determined, and the execution sequence of the two positions is a navigation control instruction and a music playing instruction.
S240, selecting a target control instruction to be executed from at least two control instructions according to the execution sequence.
In the embodiment of the disclosure, after determining the execution sequence of at least two control instructions, the target control instructions to be executed may be sequentially selected from the at least two control instructions according to the execution sequence until all the control instructions are sent to the VPA for VPA control.
For example, the instruction execution sequence is a navigation control instruction and a music playing instruction, and the navigation control instruction to be executed is selected as a target control instruction first, and after the execution of the navigation control instruction is finished, the music playing instruction is selected as the target control instruction.
S250, acquiring a current control instruction corresponding to the service currently provided by the VPA.
In the embodiment of the disclosure, before the VPA is controlled by the target control instruction, in case that the VPA is providing the service corresponding to the current control instruction, in order to determine whether to interrupt the execution process of the current control instruction by the target control instruction, the current control instruction corresponding to the service currently provided by the VPA needs to be acquired first, so as to determine the control instruction needing to be executed preferentially according to the execution priorities of the current control instruction and the target control instruction.
Illustratively, the targeting control is a navigational control, but the current VPA is displaying a dancing avatar. In order to determine whether to interrupt the service currently being provided by the VPA, the service currently being provided by the VPA (i.e. displaying the dance avatar) may be determined according to the association relationship between the service provided by the VPA and the control command, where the corresponding control command is a music playing command, so as to determine whether to interrupt the execution process of the music playing command by the navigation control command according to the priorities of the music playing command and the navigation control command.
S260, determining the first priority of the target control instruction and the second priority of the current control instruction according to the target control instruction sequencing information.
In the embodiment of the disclosure, in order to determine the execution priority of the target control instruction and the current control instruction, the first priority of the target control instruction and the second priority of the current control instruction may be determined according to the target control instruction sequencing information, so as to determine whether to send the target control instruction to the VPA in the execution process of the current control instruction according to the priority of the control instruction, and interrupt the execution process of the current control instruction, so that the VPA preferentially provides the service corresponding to the target control instruction. Specifically, the target control instruction and the current control instruction can be searched in the target control instruction sequencing information, and the first priority of the target control instruction and the second priority of the current control instruction are determined according to the positions of the target control instruction and the current control instruction in the target control instruction sequencing information. In the target control instruction ordering information, the control instruction with the earlier position has higher priority.
And S270, controlling the VPA to interrupt the currently provided service and controlling the VPA to provide the service corresponding to the target control instruction under the condition that the first priority is higher than the second priority.
In the embodiment of the disclosure, when the first priority is higher than the second priority, the execution priority of the target control instruction is higher than the current control instruction, so that the VPA can be directly controlled to interrupt the currently provided service, and further the VPA is controlled to provide the service corresponding to the target control instruction, so that the control instruction with the higher priority is preferentially executed, the operation of stopping the current control instruction is not required to be manually performed by a user, and the use convenience of the user is improved.
The target control instruction is a navigation control instruction, the priority of the target control instruction is higher than that of the current control instruction (music playing instruction), at this time, the execution process of the music playing instruction can be directly controlled by the VPA, the navigation control instruction is preferentially executed, specifically, the virtual figure of the dance shown on the display screen in the execution process of the music playing instruction is directly switched to the virtual figure of the traffic police corresponding to the navigation control instruction, the navigation information broadcasting operation is executed, and finally, after the navigation control instruction is completed, the music playing instruction interrupted before execution is returned. The control instruction processing method has the advantages that the effect of performing priority execution on the control instruction with high priority is achieved, after the control instruction with high priority is executed, the interrupted control instruction is recovered, the influence on the use of a user is reduced to the greatest extent, and the use experience of the user is improved.
Optionally, controlling the VPA to provide a service corresponding to the target control instruction includes:
and determining the display image of the VPA according to the target control instruction, and controlling the VPA to display the display image.
In an embodiment of the present disclosure, a method for controlling a VPA to provide a service corresponding to a target control instruction is provided, specifically: and determining the display image of the VPA matched with the target control instruction according to the target control instruction, so that the VPA displays the virtual image matched with the target control instruction. In the execution process of the target control instruction, the vivid image of the related information is displayed, and the visual requirement of a user is met.
For example, if the target control instruction is a music playing instruction, determining that the displayed image of the VPA is an avatar image that is dancing; when the target control instruction is boring, the display image of the VPA is determined to be the talking avatar image.
According to the technical scheme of the embodiment of the disclosure, a VPA manager responds to at least two control instructions initiated by an application, determines a target working scene where a vehicle is located, matches the target working scene with an association relation between the candidate working scene and candidate control instruction ordering information, selects the target control instruction ordering information from the candidate control instruction ordering information as an execution sequence, selects a target control instruction to be executed from the at least two control instructions according to the execution sequence, further acquires a current control instruction corresponding to a service currently provided by the VPA, compares a first priority of the target control instruction with a second priority of the current control instruction according to the target working scene, finally controls the VPA to interrupt the service currently provided by the target control instruction and controls the VPA to provide the service corresponding to the target control instruction under the condition that the first priority is higher than the second priority, on one hand, can realize sequential execution of the control instructions according to the working scene of the vehicle, on the other hand, and can also determine whether to interrupt the current control instruction is used according to the priority of the control instruction, so that the control instruction with high priority is preferentially executed, and convenience of users is improved.
Fig. 3 is a schematic diagram of a VPA control method in an embodiment of the disclosure, further refined on the basis of the above embodiment, and provided with specific steps before determining a target working scenario in which a vehicle is located. A VPA control method provided by an embodiment of the disclosure is described below with reference to fig. 3, including the following:
S310, responding to at least two control instructions initiated by the application, and determining the application initiating the control instructions.
In the embodiment of the disclosure, after receiving at least two control instructions initiated by an application, the application to which each control instruction belongs may be obtained respectively. Specifically, the control instruction may be parsed to obtain application identification information included in the control instruction, so as to determine an application to which the control instruction belongs according to the application identification information. By way of example, by analyzing the received control instruction, and obtaining that the control instruction carries identification information of the music application, it may be determined that the current control instruction is initiated by the music application.
S320, determining whether the application has control authority over the VPA.
In the embodiment of the disclosure, after the application for sending the control instruction is obtained, whether the application has the control authority to the VPA is further determined, and the control instruction initiated by the application which is not registered by the VPA can be shielded by authenticating the application, so that the running safety of the VPA is improved.
Optionally, the present embodiment further includes:
And responding to the VPA registration request initiated by the application, and distributing the control authority of the VPA for the application.
In this optional embodiment, a method for obtaining control authority of a VPA is provided, specifically, a VPA manager analyzes a VPA registration request initiated by an application to obtain an application identifier corresponding to the VPA registration request, and allocates control authority of the VPA to the application. Meanwhile, an application identification list with control authority for the VPA is recorded, so that when a control instruction is received subsequently, the application sending the control instruction is authenticated, and the application authentication efficiency is improved.
S330, shielding the control instruction under the condition that the application has no control authority to the VPA.
In the embodiment of the disclosure, under the condition that the application sending the control instruction does not have control authority over the VPA, the control instruction is directly shielded, so that the VPA installed in the vehicle-mounted terminal is prevented from being controlled by unregistered application, normal use of a current user is influenced, and the running safety of the VPA is improved. The unregistered application may be an unregistered application in the current vehicle-mounted terminal, or an application installed on other devices of the user, for example, an application installed on a mobile phone or a tablet computer of the user, or the like.
S340, under the condition that the application has control authority over the VPA, determining a target working scene where the vehicle is located.
It is noted that S330 and S340 are alternatively executed according to the case where the application has the control authority. In this embodiment, the application with VPA control authority may also send a VPA state acquisition request to the VPA manager at any time. After authenticating the application sending the VPA state acquisition request, the VPA manager may feed back the current state of the VPA to the application if the application has the control authority of the VPA. For example, the VPA current state is to display an avatar that is dancing. The application can be enabled to determine whether to send the control instruction according to the VPA state, so that the situation that long waiting time is needed after the control instruction is sent to be executed by the VPA is avoided.
S350, determining the execution sequence of at least two control instructions according to the target working scene.
S360, controlling the VPA to provide services corresponding to the control instructions according to the execution sequence.
According to the technical scheme of the embodiment of the disclosure, the VPA manager responds to at least two control instructions initiated by an application, determines the application to which the control instructions belong, then determines whether the application has control authority to the VPA, shields the control instructions under the condition that the application does not have the control authority to the VPA, determines a target working scene where a vehicle is located under the condition that the application has the control authority to the VPA, determines the execution sequence of the at least two control instructions according to the target working scene, and finally controls the VPA to provide services corresponding to the control instructions according to the execution sequence.
Fig. 4 is a block diagram of a VPA control device in an embodiment of the present disclosure according to an embodiment of the present disclosure, which is applicable to a case where control instructions are sequentially executed according to a vehicle operation scene. The device is realized by software and/or hardware, and is specifically configured in the electronic equipment with certain data operation capability.
As shown in fig. 4, a VPA control device 400 is disposed at an on-board terminal of a vehicle, and the VPA control device 400 includes: a target working scenario determination module 410, an execution order determination module 420, and a VPA control module 430; wherein,
A target working scene determining module 410, configured to determine a target working scene in which the vehicle is located in response to at least two control instructions initiated by the application; the application is deployed on the vehicle-mounted terminal of the vehicle; the control instruction is used for controlling the VPA;
An execution sequence determining module 420, configured to determine an execution sequence of the at least two control instructions according to the target working scenario;
the VPA control module 430 is configured to control the VPA to provide a service corresponding to the control instruction according to the execution order.
According to the technical scheme, the target working scene where the vehicle is located is determined in response to at least two control instructions initiated by the application, and then the execution sequence of the at least two control instructions is determined according to the target working scene, finally, the VPA is controlled to provide services corresponding to the control instructions according to the execution sequence, so that the condition that the VPA state is disordered easily when a plurality of applications send the control instructions to the VPA at the same time is avoided, and sequential execution of the control instructions can be realized according to the working scene of the vehicle.
Further, the execution sequence determining module includes:
The ordering information determining unit is used for determining target control instruction ordering information associated with the target working scene according to the association relation between the candidate working scene of the vehicle and the candidate control instruction ordering information;
and the execution sequence determining unit is used for determining the execution sequence of the at least two control instructions according to the target control instruction ordering information.
Further, the VPA control module includes:
a target control instruction selecting unit, configured to select a target control instruction to be executed from the at least two control instructions according to the execution order;
The current control instruction acquisition unit is used for acquiring a current control instruction corresponding to a service currently provided by the VPA;
The priority determining unit is used for determining the first priority of the target control instruction and the second priority of the current control instruction according to the ordering information of the target control instruction;
and the VPA control unit is used for controlling the VPA to interrupt the currently provided service and controlling the VPA to provide the service corresponding to the target control instruction under the condition that the first priority is higher than the second priority.
Further, the VPA control unit includes:
and the display image determining subunit is used for determining the display image of the VPA according to the target control instruction and controlling the VPA to display the display image.
Further, the VPA control device 400 further includes:
The application determining module is used for determining the application for initiating the control instruction before determining the target working scene of the vehicle;
a control authority judging module for determining whether the application has control authority to the VPA;
And the control instruction shielding module is used for shielding the control instruction under the condition that the application does not have control authority to the VPA.
Further, the VPA control device 400 further includes:
and the control authority allocation module is used for responding to the VPA registration request initiated by the application and allocating the control authority to the VPA for the application.
The VPA control device provided by the embodiment of the disclosure can execute the VPA control method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 5 illustrates a schematic block diagram of an example electronic device 500 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 5, the apparatus 500 includes a computing unit 501 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 502 or a computer program loaded from a storage unit 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, ROM 502, and RAM 503 are connected to each other by a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Various components in the device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, etc.; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508 such as a magnetic disk, an optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 501 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The calculation unit 501 performs the respective methods and processes described above, such as the VPA control method. For example, in some embodiments, the VPA control method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 500 via the ROM 502 and/or the communication unit 509. When a computer program is loaded into RAM 503 and executed by the computing unit 501, one or more steps of the VPA control method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the VPA control method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here 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 a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end 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: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (11)

1. A virtual personal assistant, VPA, control method, the VPA deployed at an on-board terminal of a vehicle, the method comprising:
Responding to at least two control instructions initiated by the application, and determining a target working scene where the vehicle is located; the application is deployed on a vehicle-mounted terminal of the vehicle; the control instruction is used for controlling the VPA;
determining target control instruction ordering information associated with the target working scene according to the association relation between the candidate working scene of the vehicle and the candidate control instruction ordering information;
determining the execution sequence of the at least two control instructions according to the target control instruction ordering information;
Selecting a target control instruction to be executed from the at least two control instructions according to the execution sequence;
acquiring a current control instruction corresponding to a service currently provided by the VPA;
Determining a first priority of the target control instruction and a second priority of the current control instruction according to the target control instruction sequencing information;
and under the condition that the first priority is higher than the second priority, controlling the VPA to interrupt the currently provided service, and controlling the VPA to provide the service corresponding to the target control instruction.
2. The method of claim 1, wherein controlling a VPA to provide a service corresponding to the target control instruction comprises:
And determining the display image of the VPA according to the target control instruction, and controlling the VPA to display the display image.
3. The method of claim 1, further comprising, prior to determining the target operating scenario in which the vehicle is located:
Determining an application which initiates the control instruction;
determining whether the application has control authority over the VPA;
and shielding the control instruction under the condition that the application has no control authority to the VPA.
4. A method according to claim 3, further comprising:
And responding to a VPA registration request initiated by an application, and distributing control authority of the VPA for the application.
5. A VPA control device, the VPA being deployed at an in-vehicle terminal of a vehicle, the device comprising:
The target working scene determining module is used for responding to at least two control instructions initiated by the application and determining a target working scene where the vehicle is located; the application is deployed on a vehicle-mounted terminal of the vehicle; the control instruction is used for controlling the VPA;
The execution sequence determining module is used for determining the execution sequence of the at least two control instructions according to the target working scene;
the VPA control module is used for controlling the VPA to provide services corresponding to the control instructions according to the execution sequence;
wherein, the execution sequence determining module comprises:
The ordering information determining unit is used for determining target control instruction ordering information associated with the target working scene according to the association relation between the candidate working scene of the vehicle and the candidate control instruction ordering information;
An execution sequence determining unit, configured to determine an execution sequence of the at least two control instructions according to the target control instruction ordering information;
Wherein, the VPA control module includes:
a target control instruction selecting unit, configured to select a target control instruction to be executed from the at least two control instructions according to the execution order;
The current control instruction acquisition unit is used for acquiring a current control instruction corresponding to a service currently provided by the VPA;
A priority determining unit, configured to determine, according to the ordering information of the target control instruction, a first priority of the target control instruction and a second priority of the current control instruction;
And the VPA control unit is used for controlling the VPA to interrupt the currently provided service and controlling the VPA to provide the service corresponding to the target control instruction under the condition that the first priority is higher than the second priority.
6. The apparatus of claim 5, wherein the VPA control unit comprises:
And the display image determining subunit is used for determining the display image of the VPA according to the target control instruction and controlling the VPA to display the display image.
7. The apparatus of claim 5, wherein the VPA control apparatus further comprises:
The application determining module is used for determining the application for initiating the control instruction before determining the target working scene of the vehicle;
a control authority judging module for determining whether the application has control authority to the VPA;
And the control instruction shielding module is used for shielding the control instruction under the condition that the application does not have control authority to the VPA.
8. The apparatus of claim 7, wherein the VPA control apparatus further comprises:
And the control authority allocation module is used for responding to the VPA registration request initiated by the application and allocating the control authority of the VPA to the application.
9. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the VPA control method according to any one of claims 1 to 4.
10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the VPA control method according to any one of claims 1-4.
11. A computer program product comprising computer programs/instructions which when executed by a processor implement the VPA control method according to any one of claims 1 to 4.
CN202111437697.5A 2021-11-29 2021-11-29 VPA control method, device, equipment, storage medium and program product Active CN114153312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111437697.5A CN114153312B (en) 2021-11-29 2021-11-29 VPA control method, device, equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111437697.5A CN114153312B (en) 2021-11-29 2021-11-29 VPA control method, device, equipment, storage medium and program product

Publications (2)

Publication Number Publication Date
CN114153312A CN114153312A (en) 2022-03-08
CN114153312B true CN114153312B (en) 2024-05-28

Family

ID=80784373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111437697.5A Active CN114153312B (en) 2021-11-29 2021-11-29 VPA control method, device, equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN114153312B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109493865A (en) * 2018-10-17 2019-03-19 北京车和家信息技术有限公司 Signal processing method, terminal and vehicle
CN110001558A (en) * 2019-04-18 2019-07-12 百度在线网络技术(北京)有限公司 Method for controlling a vehicle and device
CN110001549A (en) * 2019-04-17 2019-07-12 百度在线网络技术(北京)有限公司 Method for controlling a vehicle and device
CN110875940A (en) * 2018-08-31 2020-03-10 比亚迪股份有限公司 Application program calling method, device and equipment based on virtual robot
JP2020102159A (en) * 2018-12-25 2020-07-02 トヨタ自動車株式会社 Vehicle control device and vehicle control method
CN111540355A (en) * 2020-04-17 2020-08-14 广州三星通信技术研究有限公司 Personalized setting method and device based on voice assistant

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10824310B2 (en) * 2012-12-20 2020-11-03 Sri International Augmented reality virtual personal assistant for external representation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110875940A (en) * 2018-08-31 2020-03-10 比亚迪股份有限公司 Application program calling method, device and equipment based on virtual robot
CN109493865A (en) * 2018-10-17 2019-03-19 北京车和家信息技术有限公司 Signal processing method, terminal and vehicle
JP2020102159A (en) * 2018-12-25 2020-07-02 トヨタ自動車株式会社 Vehicle control device and vehicle control method
CN110001549A (en) * 2019-04-17 2019-07-12 百度在线网络技术(北京)有限公司 Method for controlling a vehicle and device
CN110001558A (en) * 2019-04-18 2019-07-12 百度在线网络技术(北京)有限公司 Method for controlling a vehicle and device
CN111540355A (en) * 2020-04-17 2020-08-14 广州三星通信技术研究有限公司 Personalized setting method and device based on voice assistant

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
语音控制互联网交互及其关键技术研究;徐贵宝;;电信网技术(第01期);38-42 *

Also Published As

Publication number Publication date
CN114153312A (en) 2022-03-08

Similar Documents

Publication Publication Date Title
US20210315034A1 (en) Wireless connection establishment method, apparatus, device, and storage medium
CN112784989B (en) Inference system, inference method, electronic device, and computer storage medium
CN110489440B (en) Data query method and device
CN111638928B (en) Operation guiding method, device and equipment of application program and readable storage medium
CN113138737B (en) Display control method, device, equipment, medium and program product for screen-throwing scene
CN113766487B (en) Cloud mobile phone information acquisition method, device, equipment and medium
US20170118603A1 (en) Method and electronic device of communication for team travel
US20220041181A1 (en) Vehicle trajectory planning method and electronic device
CN114285906B (en) Message processing method and device, electronic equipment and storage medium
CN113766504A (en) Communication connection method, device, server, terminal device, system and medium
WO2020058431A1 (en) Apparatus and method for vehicle searching
CN113419865A (en) Cloud resource processing method, related device and computer program product
CN112527235A (en) Voice playing method, device, equipment and storage medium
CN114153312B (en) VPA control method, device, equipment, storage medium and program product
CN113946729B (en) Data processing method and device for vehicle, electronic equipment and medium
CN117370520A (en) Method, device, equipment and medium for processing split dialogue
CN114356083B (en) Virtual personal assistant control method, device, electronic equipment and readable storage medium
CN113873475B (en) Vehicle-mounted interconnected audio data processing method and device and electronic equipment
CN115268821B (en) Audio playing method and device, equipment and medium
CN113641439B (en) Text recognition and display method, device, electronic equipment and medium
CN114666363B (en) Information transmission method, device, electronic equipment, storage medium and product
CN115098052B (en) Screen projection method, device, equipment and storage medium
CN114964295A (en) Navigation method, device and system and electronic equipment
CN114512024A (en) Parking space identification method, device, equipment and storage medium
CN113948082A (en) Vehicle control method and map generation method for vehicle control

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant