Virtual personal assistant control method, device, electronic device and readable storage medium

By generating control instructions when the application is running and calling the VPA to perform corresponding functions, the problem of a single function of the vehicle-mounted VPA is solved, linkage with the application is realized, and the user experience is improved.

CN114356083BActive Publication Date: 2024-10-18APOLLO INTELLIGENT CONNECTIVITY (BEIJING) TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111581214.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-22
Publication Date
2024-10-18
Estimated Expiration
2041-12-22

AI Technical Summary

Technical Problem

The existing vehicle-mounted virtual personal assistant (VPA) has a single function and is mainly limited to voice interaction. It cannot be applied to other scenarios other than voice functions, resulting in poor user experience.

Method used

By generating control instructions when the application is running, calling the virtual personal assistant (VPA) to perform corresponding functions, inter-process communication between the application and the VPA is realized, and the functions of the VPA are enriched, including the control of image, target information and target operations.

Benefits of technology

It improves the user experience of in-vehicle VPA. Through rich virtual images and functions, the VPA and application usage scenarios are organically linked, providing more anthropomorphic user interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114356083B_ABST
    Figure CN114356083B_ABST
Patent Text Reader

Abstract

The present disclosure provides a virtual personal assistant control method, device, electronic device and readable storage medium, which relate to the computer field, and in particular to the field of artificial intelligence or autonomous driving technology. The specific implementation scheme is: in response to the preset situation when the first application is running, a control instruction for the VPA is generated; and the VPA is called by the first application to execute the control instruction. Based on this scheme, the VPA can be called to implement the corresponding function when the application is running, and the linkage between the application and the VPA is realized, which enriches the function of the VPA and helps to improve the user experience of the in-vehicle VPA.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to the field of artificial intelligence or autonomous driving technology. Specifically, the present disclosure relates to a virtual personal assistant control method, device, electronic device, and readable storage medium. Background Art

[0002] As the intelligence level of vehicles continues to improve, the application of virtual personal assistants (VPA) in vehicles is becoming more and more popular.

[0003] At present, in-vehicle VPA applications are generally limited to voice interaction with users, and their functions are relatively simple, which affects the user experience of in-vehicle VPA. Summary of the invention

[0004] In order to solve at least one of the above-mentioned defects, the present disclosure provides a virtual personal assistant control method, device, electronic device and readable storage medium.

[0005] According to a first aspect of the present disclosure, a virtual personal assistant control method is provided, the method comprising:

[0006] In response to a preset situation when the first application is running, generating a control instruction for the VPA;

[0007] The VPA is called by the first application program to execute the control instruction.

[0008] According to a second aspect of the present disclosure, a virtual personal assistant control device is provided, the device comprising:

[0009] A control instruction generating module, used to generate a control instruction for the VPA in response to a preset situation when the first application is running;

[0010] The VPA control module is used to call the VPA to execute the control instruction through the first application program.

[0011] According to a third aspect of the present disclosure, there is provided an electronic device, the electronic device comprising:

[0012] at least one processor; and

[0013] A memory in communication with the at least one processor; wherein,

[0014] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the virtual personal assistant control method.

[0015] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the above-mentioned virtual personal assistant control method.

[0016] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, which implements the above-mentioned virtual personal assistant control method when executed by a processor.

[0017] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0019] Figure 1 is a flowchart of a virtual personal assistant control method provided by an embodiment of the present disclosure;

[0020] Figure 2 is a flowchart of another virtual personal assistant control method provided by an embodiment of the present disclosure;

[0021] Figure 3 It is a flowchart of a specific implementation method of the virtual personal assistant control method provided by the embodiment of the present disclosure;

[0022] Figure 4 is a structural schematic diagram of a virtual personal assistant control device provided according to the present disclosure;

[0023] Figure 5 is a structural schematic diagram of another virtual personal assistant control device provided according to the present disclosure;

[0024] Figure 6 is a block diagram of an electronic device used to implement the virtual personal assistant control method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0026] In the related art, the in-vehicle virtual personal assistant (VPA) is generally coupled with the voice function, that is, the in-vehicle VPA responds to the voice commands issued by the user to provide corresponding services, but cannot be applied to other scenarios except the voice function, which results in the in-vehicle VPA having a relatively single function.

[0027] In addition, in-vehicle VPAs are generally equipped with anthropomorphic virtual images to provide users with an anthropomorphic user experience. However, in related technologies, the virtual images of in-vehicle VPAs are generally relatively simple and fixed, such as only including a few fixed virtual images such as wake-up, recognition, analysis, and broadcast status. If VPAs can be provided with richer virtual images, better anthropomorphic user experience can be brought.

[0028] The virtual personal assistant control method, device, electronic device and readable storage medium provided in the embodiments of the present application are intended to solve at least one of the above technical problems in the prior art.

[0029] Figure 1 A flowchart of a virtual personal assistant control method provided by an embodiment of the present disclosure is shown. Figure 1 As shown in , the method can mainly include:

[0030] Step S110: generating a control instruction for the VPA in response to a preset situation when the first application is running;

[0031] Step S120: calling the VPA to execute the control instruction through the first application program.

[0032] The first application may be an application currently running in the vehicle system. As an example, the first application may run in the foreground, and the VPA may run in the background.

[0033] The VPA can be decoupled from the voice function module and, as an independent application, the VPA performs inter-process communication with the first application, such as establishing inter-process communication between the first application and the VPA through the Android Interface Definition Language (AIDL).

[0034] The preset situations are some specific situations when the first application is running, and can be set according to actual needs, such as starting the first application, using specific functions in the first application, etc. When the preset situation is detected, a control instruction to the VPA is generated, so that the first application calls the VPA to execute the control instruction based on the inter-process communication with the VPA, so as to control the VPA to implement the corresponding function.

[0035] In the disclosed embodiment, the control instructions may be a set of control instructions developed separately based on a predetermined instruction protocol, and used by the application to control the VPA. In actual use, the control instructions may exist in the form of a software development kit (SDK), and provide an interface to each application for access by each application.

[0036] By calling the VPA to execute the control instruction through the first application, the VPA is controlled to realize the corresponding function. Compared with the related art of controlling the VPA only through voice instructions, the functions of the VPA are enriched.

[0037] The method provided in the embodiment of the present disclosure generates a control instruction for the VPA in response to a preset situation when the first application is running, and the first application calls the VPA to execute the control instruction. Based on this solution, the VPA can be called to implement corresponding functions when the application is running, and the linkage between the application and the VPA is realized, which enriches the functions of the VPA and helps to improve the user experience of the in-vehicle VPA.

[0038] In an optional manner of the present disclosure, the control instruction includes at least one of the following:

[0039] A first control instruction for controlling the display form of the VPA;

[0040] A second control instruction for controlling the VPA to display target information;

[0041] A third control instruction is used to control the second application to perform a target operation.

[0042] In the embodiment of the present disclosure, the control of the VPA by the application may include but is not limited to the control of the display form of the VPA, the control of the target information displayed by the VPA, and the control of the VPA calling the second application to perform the target operation.

[0043] In an optional manner of the present disclosure, if the control instruction includes a first control instruction, calling the VPA to execute the control instruction through the first application program includes any of the following:

[0044] Calling the VPA through the first application program to determine a corresponding image resource based on the image designation information carried in the first control instruction, and displaying a corresponding VPA image based on the image resource;

[0045] The VPA is called by the first application program to determine the corresponding action resource based on the action specifying information carried in the first control instruction, and the corresponding VPA action is displayed based on the action resource.

[0046] In the disclosed embodiment, the first control instruction may carry image specifying information, and the image specifying information is used to specify a fixed display form of the VPA image, such as skin, decoration, etc., of the VPA image.

[0047] The image designation information may be associated with a preset situation of the first application program, so as to achieve an effect of controlling the VPA to display an associated VPA image when the preset situation of the first application program is detected.

[0048] As an example, the first application may be a music application. The default situation is that the first application plays music. At this time, the VPA may be controlled to display an associated VPA image. In this example, the associated VPA image may be an image of a VPA wearing headphones and listening to music.

[0049] In the embodiments of the present disclosure, multiple sets of VPA images can be configured for different usage scenarios in multiple applications, so that in specific usage scenarios of the application, the VPA can be automatically controlled to change to the associated VPA image. The solution provided by the embodiments of the present disclosure can enrich the VPA image, and the VPA image can be organically linked with the usage scenarios of the application to improve the usage experience of the VPA.

[0050] In the disclosed embodiment, the first control instruction may also carry action specifying information, where the action specifying information is used to specify the action of the played VPA image.

[0051] The action designation information may be associated with a preset situation of the first application, so as to realize an action of controlling the VPA to display an associated VPA image when the preset situation of the first application is detected.

[0052] As an example, the first application may be a music application. In the default case, the first application plays music. In this case, the VPA may be controlled to display dance movements along with the music.

[0053] Image resources and action resources can be image resources, model resources, skin resources, etc. used to generate the overall VPA image and action.

[0054] In an optional manner of the present disclosure, if the VPA is called by the first application to execute the control instruction, including calling the VPA by the first application to determine the corresponding image resource based on the image designation information carried in the first control instruction, and displaying the corresponding VPA image based on the image resource, then the above method further includes:

[0055] Based on the image resource update information sent by the server, the image resource is updated.

[0056] In the disclosed embodiment, the image resource is generally stored locally in the vehicle system, and the image resource can be updated in response to the image resource update information sent by the server to update the VPA image. In actual use, the action resource can also be updated based on the action resource update information sent by the server.

[0057] In an optional manner of the present disclosure, if the control instruction includes a second control instruction, calling the VPA to execute the control instruction through the first application program includes:

[0058] The VPA is called by the first application to display at least one of the text, voice, and image corresponding to the target information.

[0059] In the disclosed embodiment, the second control instruction may carry target information to be displayed to the user, and when a preset situation of the first application is detected, the VPA may be controlled to display the target information.

[0060] As an example, the first application may be a navigation application. The preset situation is that the vehicle approaches the destination during navigation. At this time, the target information may be the recommended parking lot information near the destination. The second control instruction may be used to control the VPA to display the recommended parking lot information near the destination.

[0061] In the disclosed embodiment, the VPA may support displaying target information in various forms, such as displaying target information in the form of text, voice, and image.

[0062] As an example, the VPA may display the target information in text form, may generate an image including the target information for display, and may also broadcast the target information from text to speech (TTS).

[0063] Since the first application controls the VPA to display the target information, the user can obtain the target information through the VPA, which enriches the function of the VPA. When general applications display information, they often push prompt information to users. Compared with displaying the target information through general applications, displaying the target information through the VPA can have a better display effect.

[0064] In the embodiment of the present disclosure, the third control instruction may be used to control the second application to perform a target operation. The second application may be an application other than the first application. The first application may call the VPA so that the VPA calls the second application to perform the target operation.

[0065] As an example, the first application may be a driver monitoring system (DMS), which mainly implements driver identification, driver fatigue monitoring, and monitoring of dangerous driving behaviors. The second application may be a vehicle control application, and the preset situation may be that the DMS detects that the user is driving dangerously, and then the DMS calls the VPA to execute the third control instruction, so that the VPA calls the vehicle control application to control the vehicle to perform safety processing such as deceleration and pull-over.

[0066] In an optional manner of the present disclosure, if the first application includes a DMS, and the preset situation is that the current state of the user is monitored to be a preset state, then a control instruction of the VPA is generated, including:

[0067] Determine at least one of a display form, target information, and a target operation corresponding to the current state;

[0068] A control instruction of the VPA is generated based on at least one of a display form, target information, and a target operation corresponding to a current state.

[0069] In the disclosed embodiment, the current state of the user may be monitored by the DMS. As an example, the preset state may include the user being in a fatigued state, the user performing dangerous driving, etc.

[0070] When the above preset status is detected, the DMS can generate corresponding control instructions to control the VPA to perform corresponding operations to assist the user in driving safely.

[0071] Specifically, the control instruction at this time may carry at least one of the corresponding display form, the corresponding target information, and the corresponding target operation information, so that the VPA can be called to perform corresponding operations, such as displaying the corresponding display form, displaying the corresponding target information, and performing at least one of the target operations.

[0072] For example, if the user is currently in a fatigued state, the corresponding display form may be that the VPA plays a specific action to prompt the user to increase attention or take a break in time.

[0073] For example, if the current status is that the user is driving dangerously, the corresponding target information may be a reminder for safe driving, and the VPA may prompt the user to drive safely by broadcasting the reminder for safe driving through voice.

[0074] For example, if the current state is that the user is driving dangerously, the corresponding target operation can be to control the vehicle for safety processing, such as slowing down, pulling over, etc. DMS calls VPA to execute the control instruction, so that VPA calls the corresponding program in the vehicle system to control the vehicle to slow down, pull over, and other safety processing.

[0075] In an optional manner of the present disclosure, if the control instruction includes a second control instruction for controlling the VPA to display target information, after the first application program calls the VPA to execute the second control instruction, the method further includes:

[0076] If a user's feedback operation on the target information is detected, a feedback control instruction is generated;

[0077] The first application is called by the VPA to execute the feedback control instruction.

[0078] In the embodiment of the present disclosure, after calling the VPA to display the target information, if it is detected that the user has performed a feedback operation on the target information, a feedback control instruction can be generated, and the first application is called by the VPA to execute the feedback control instruction, thereby realizing the control of the first application by the VPA, enriching the functions of the VPA, and better meeting the user's usage needs.

[0079] The user's feedback operation on the target information may include but is not limited to click operation, voice control, etc.

[0080] As an example, the first application may be a navigation application, and the target information may be the recommended parking lot information near the destination. After the VPA announces the recommended parking lot information near the destination by voice, the user may provide feedback to the VPA by voice commands and select the parking lot to be used. At this time, a feedback control instruction may be generated based on the parking lot information selected by the user. The VPA calls the first application to execute the feedback control instruction and provide the user with navigation to the parking lot selected by the user.

[0081] In an optional manner of the present disclosure, the floating window corresponding to the VPA is displayed on an upper layer of the program interface of the first application.

[0082] In the embodiment of the present disclosure, the VPA may be displayed through a separate floating window, and the floating window may be located on an upper layer of the program interface of the first application.

[0083] In actual use, the floating window of VPA can be located at a specified position on the car system screen, such as in the upper left corner. When displaying target information or playing VPA actions, it can be moved from the specified position to the middle of the car system screen for display.

[0084] In an optional manner of the present disclosure, the VPA resides in the background.

[0085] In the disclosed embodiment, the VPA may be permanently running in the background of the vehicle system so as to respond to the control instructions of the application program in a timely manner.

[0086] Figure 2 A flow chart of another virtual personal assistant control method provided by an embodiment of the present disclosure is shown. Figure 2 As shown in , the method can mainly include:

[0087] Step S210: generating a first control instruction for the VPA in response to a preset situation when the first application is running;

[0088] Step S220: calling the VPA through the first application program to determine the corresponding image resource based on the image designation information carried in the first control instruction, and displaying the corresponding VPA image based on the image resource.

[0089] The first application may be an application currently running in the vehicle system. As an example, the first application may run in the foreground, and the VPA may run in the background.

[0090] The VPA can be decoupled from the voice function module and, as an independent application, the VPA performs inter-process communication with the first application, such as establishing inter-process communication between the first application and the VPA through the Android Interface Definition Language (AIDL).

[0091] The preset situations are some specific situations when the first application is running, and can be set according to actual needs, such as starting the first application, using specific functions in the first application, etc.

[0092] When a preset situation is detected, a first control instruction for the VPA is generated. The first control instruction may carry image specifying information, and the image specifying information is used to specify a fixed display form of the VPA image, such as skin, decoration, etc. that can be used to specify the VPA image.

[0093] The image designation information may be associated with a preset situation of the first application program, so as to achieve an effect of controlling the VPA to display an associated VPA image when the preset situation of the first application program is detected.

[0094] As an example, the first application may be a music application. The default situation is that the first application plays music. At this time, the VPA may be controlled to display an associated VPA image. In this example, the associated VPA image may be an image of a VPA wearing headphones and listening to music.

[0095] In the embodiments of the present disclosure, multiple sets of VPA images can be configured for different usage scenarios in multiple applications, so that in specific usage scenarios of the application, the VPA can be automatically controlled to change to the associated VPA image. The solution provided by the embodiments of the present disclosure can enrich the VPA image, and the VPA image can be organically linked with the usage scenarios of the application to improve the usage experience of the VPA.

[0096] In the disclosed embodiment, the control instructions may be a set of control instructions developed separately based on a predetermined instruction protocol, and used by the application to control the VPA. In actual use, the control instructions may exist in the form of an SDK, and provide an interface to each application for access by each application.

[0097] The method provided by the embodiment of the present disclosure generates a first control instruction for the VPA in response to a preset situation when the first application is running, calls the VPA through the first application, determines the corresponding image resource based on the image designation information carried in the first control instruction, and displays the corresponding VPA image based on the image resource. Based on this solution, the VPA can be automatically controlled to change to the associated VPA image when the application is in the usage scenario. The solution provided by the embodiment of the present disclosure can enrich the VPA image, and the VPA image can be organically linked with the usage scenario of the application to enhance the usage experience of the VPA.

[0098] As an example, Figure 3 A schematic diagram of a specific implementation of the virtual personal assistant control method provided by an embodiment of the present disclosure is shown in FIG.

[0099] like Figure 3 As shown in , different applications (Application, APP), namely the first application, include music APP, map APP, camera APP, image APP, voice APP, and vehicle control APP. Sending action instructions for different scenes, namely generating a first control instruction in response to the preset situation when the first application is running, and sending the first control instruction to the VPA. The VPA image scene arbitration module is used to determine the corresponding image resources based on the image designation information carried in the first control instruction. The VPA skin images for different scenes, namely, for listening to music scenes, navigation scenes, selfie scenes, image recognition scenes, voice interaction scenes, and vehicle control scenes, generate corresponding VPA images based on the image resources corresponding to the image designation information. Personalized VPA image display, that is, displaying the corresponding VPA image generated.

[0100] In this example, corresponding image designation information can be configured for each application (such as music applications, map applications, camera applications, image applications, voice applications, and vehicle control applications), a first control instruction carrying image instruction information is generated, and VPA is called to determine the VPA image based on the image designation information and display it.

[0101] Based on Figure 1 The same principle as shown in the method, Figure 4 A schematic diagram of the structure of a virtual personal assistant control device provided by an embodiment of the present disclosure is shown. Figure 4 As shown, the virtual personal assistant control device 40 may include:

[0102] A control instruction generating module 410, for generating a control instruction for the VPA in response to a preset situation when the first application is running;

[0103] The VPA control module 420 is configured to call the VPA to execute a control instruction through the first application program.

[0104] The device provided by the embodiment of the present disclosure generates a control instruction for the VPA in response to a preset situation when the first application is running, and the first application calls the VPA to execute the control instruction. Based on this solution, the VPA can be called to implement corresponding functions when the application is running, and the linkage between the application and the VPA is realized, which enriches the functions of the VPA and helps to improve the user experience of the in-vehicle VPA.

[0105] Optionally, the control instruction includes at least one of the following:

[0106] A first control instruction for controlling the display form of the VPA;

[0107] A second control instruction for controlling the VPA to display target information;

[0108] A third control instruction is used to control the second application to perform a target operation.

[0109] Optionally, if the control instruction includes a first control instruction, the VPA control module is specifically used for any of the following:

[0110] Calling the VPA through the first application program to determine a corresponding image resource based on the image designation information carried in the first control instruction, and displaying a corresponding VPA image based on the image resource;

[0111] The VPA is called by the first application program to determine the corresponding action resource based on the action specifying information carried in the first control instruction, and the corresponding VPA action is displayed based on the action resource.

[0112] Optionally, if the first application program calls the VPA to execute the control instruction, including calling the VPA through the first application program to determine the corresponding image resource based on the image designation information carried in the first control instruction, and displaying the corresponding VPA image based on the image resource, then the above-mentioned apparatus further includes:

[0113] The image resource update module is used to update the image resource based on the image resource update information sent by the server.

[0114] Optionally, if the control instruction includes a second control instruction, the VPA control module is specifically configured to:

[0115] The VPA is called by the first application to display at least one of the text, voice, and image corresponding to the target information.

[0116] Optionally, if the first application includes a DMS, and the preset situation is that the current state of the user is monitored to be a preset state, then the VPA control module is specifically used to:

[0117] Determine at least one of a display form, target information, and a target operation corresponding to the current state;

[0118] A control instruction of the VPA is generated based on at least one of a display form, target information, and a target operation corresponding to a current state.

[0119] Optionally, if the control instruction includes a second control instruction for controlling the VPA to display target information, the apparatus further includes a feedback control module, and the feedback control module is used to:

[0120] After the first application program calls the VPA to execute the second control instruction, if a user's feedback operation on the target information is detected, a feedback control instruction is generated;

[0121] The first application is called by the VPA to execute the feedback control instruction.

[0122] Optionally, the floating window corresponding to the VPA is displayed on an upper layer of the program interface of the first application.

[0123] Optionally, the VPA is resident in the background.

[0124] It can be understood that the above modules of the virtual personal assistant control device in the embodiment of the present disclosure have the function of realizing Figure 1The functions of the corresponding steps of the virtual personal assistant control method in the embodiment shown in . The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. The above modules can be software and / or hardware, and the above modules can be implemented separately or integrated with multiple modules. For the functional description of each module of the above virtual personal assistant control device, please refer to Figure 1 The corresponding description of the virtual personal assistant control method in the embodiment shown in will not be repeated here.

[0125] Based on Figure 2 The same principle as shown in the method, Figure 5 A schematic diagram of the structure of a virtual personal assistant control device provided by an embodiment of the present disclosure is shown. Figure 5 As shown, the virtual personal assistant control device 50 may include:

[0126] A control instruction generating module 510, configured to generate a first control instruction for the VPA in response to a preset situation when the first application is running;

[0127] The VPA image control module 520 is used to call the VPA through the first application program to determine the corresponding image resource based on the image designation information carried in the first control instruction, and to display the corresponding VPA image based on the image resource.

[0128] The device provided by the embodiment of the present disclosure generates a first control instruction for the VPA in response to a preset situation when the first application is running, calls the VPA through the first application, determines the corresponding image resource based on the image designation information carried in the first control instruction, and displays the corresponding VPA image based on the image resource. Based on this solution, the VPA can be automatically controlled to change to the associated VPA image when the application is in the usage scenario. The solution provided by the embodiment of the present disclosure can enrich the VPA image, and the VPA image can be organically linked with the usage scenario of the application to enhance the usage experience of the VPA.

[0129] It can be understood that the above modules of the virtual personal assistant control device in the embodiment of the present disclosure have the function of realizing Figure 2 The functions of the corresponding steps of the virtual personal assistant control method in the embodiment shown in . The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. The above modules can be software and / or hardware, and the above modules can be implemented separately or integrated with multiple modules. For the functional description of each module of the above virtual personal assistant control device, please refer to Figure 2 The corresponding description of the virtual personal assistant control method in the embodiment shown in will not be repeated here.

[0130] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0131] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0132] The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the virtual personal assistant control method provided in the embodiment of the present disclosure.

[0133] Compared with the prior art, the electronic device generates a control instruction for the VPA in response to a preset situation when the first application is running, and the first application calls the VPA to execute the control instruction. Based on this solution, the VPA can be called to implement corresponding functions when the application is running, and the linkage between the application and the VPA is realized, which enriches the functions of the VPA and helps to improve the user experience of the in-vehicle VPA.

[0134] The readable storage medium is a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute a virtual personal assistant control method as provided in an embodiment of the present disclosure.

[0135] Compared with the prior art, the readable storage medium generates a control instruction for the VPA in response to a preset situation when the first application is running, and the first application calls the VPA to execute the control instruction. Based on this solution, the VPA can be called to implement corresponding functions when the application is running, and the linkage between the application and the VPA is realized, which enriches the functions of the VPA and helps to improve the user experience of the in-vehicle VPA.

[0136] The computer program product includes a computer program, and when the computer program is executed by a processor, it implements the virtual personal assistant control method provided in the embodiment of the present disclosure.

[0137] Compared with the prior art, this computer program product generates control instructions for the VPA in response to a preset situation when the first application is running, and the first application calls the VPA to execute the control instructions. Based on this solution, the VPA can be called to implement corresponding functions when the application is running, and the linkage between the application and the VPA is realized, which enriches the functions of the VPA and helps to improve the user experience of the in-vehicle VPA.

[0138] Figure 6A schematic block diagram of an example electronic device 2000 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0139] like Figure 6 As shown, the electronic device 2000 includes a computing unit 2010, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 2020 or a computer program loaded from a storage unit 2080 into a random access memory (RAM) 2030. In the RAM 2030, various programs and data required for the operation of the device 2000 can also be stored. The computing unit 2010, the ROM 2020, and the RAM 2030 are connected to each other via a bus 2040. An input / output (I / O) interface 2050 is also connected to the bus 2040.

[0140] A number of components in the device 2000 are connected to the I / O interface 2050, including: an input unit 2060, such as a keyboard, a mouse, etc.; an output unit 2070, such as various types of displays, speakers, etc.; a storage unit 2080, such as a disk, an optical disk, etc.; and a communication unit 2090, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 2090 allows the device 2000 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0141] The computing unit 2010 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 2010 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 2010 executes the virtual personal assistant control method provided in the embodiments of the present disclosure. For example, in some embodiments, the execution of the virtual personal assistant control method provided in the embodiments of the present disclosure may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 2080. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 2000 via the ROM 2020 and / or the communication unit 2090. When the computer program is loaded into the RAM 2030 and executed by the computing unit 2010, one or more steps of the virtual personal assistant control method provided in the embodiments of the present disclosure may be executed. Alternatively, in other embodiments, the computing unit 2010 may be configured in any other appropriate manner (e.g., by means of firmware) to execute the virtual personal assistant control method provided in the embodiments of the present disclosure.

[0142] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0143] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0144] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0145] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0146] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0147] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0148] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0149] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for controlling a virtual personal assistant, comprising: In response to a preset situation when the first application is running, generating a control instruction for the virtual personal assistant VPA; The control instructions are a set of control instructions developed separately based on a predetermined instruction protocol, and are used for the first application to control the VPA; the first application includes a driver monitoring system DMS, the preset situation is that the current state of the user is monitored to be a preset state, and the generation of control instructions for the virtual personal assistant VPA in response to the preset situation when the first application is running includes: determining at least one of a display form, target information, and a target operation corresponding to the current state; generating a control instruction for the VPA based on at least one of the display form, target information, and target operation corresponding to the current state; the current state includes: the user is driving dangerously, and the target operation includes: controlling the vehicle to perform safe handling; Calling the VPA to execute the control instruction through the first application includes: calling the VPA to execute the control instruction through the DMS, so that the VPA calls the corresponding program in the vehicle system to control the vehicle to slow down and park safely.

2. The method according to claim 1, wherein: The control instruction includes at least one of the following: A first control instruction for controlling the display form of the VPA; a second control instruction for controlling the VPA to display target information; A third control instruction is used to control the second application to perform a target operation.

3. The method according to claim 2, wherein: If the control instruction includes the first control instruction, then calling the VPA to execute the control instruction through the first application program includes any one of the following: Calling the VPA through the first application program to determine a corresponding image resource based on the image designation information carried in the first control instruction, and displaying a corresponding VPA image based on the image resource; The VPA is called by the first application to determine corresponding action resources based on the action specifying information carried in the first control instruction, and the corresponding VPA action is displayed based on the action resources.

4. The method according to claim 3, wherein: If the calling of the VPA by the first application to execute the control instruction includes calling the VPA by the first application to determine a corresponding image resource based on the image designation information carried in the first control instruction, and displaying a corresponding VPA image based on the image resource, the method further includes: The image resource is updated based on the image resource update information sent by the server.

5. The method according to any one of claims 2 to 4, wherein: If the control instruction includes the second control instruction, calling the VPA to execute the control instruction through the first application program includes: The VPA is called by the first application to display at least one of the text, voice, and image corresponding to the target information.

6. The method according to any one of claims 2 to 4, wherein: If the control instruction includes a second control instruction for controlling the VPA to display target information, then after the first application program calls the VPA to execute the second control instruction, the method further includes: If a user's feedback operation on the target information is detected, a feedback control instruction is generated; The first application is called by the VPA to execute the feedback control instruction.

7. The method according to any one of claims 1 to 4, wherein: The floating window corresponding to the VPA is displayed on the upper layer of the program interface of the first application.

8. The method according to any one of claims 1 to 4, wherein: The VPA resides in the background.

9. A virtual personal assistant control device, comprising: A control instruction generating module, used to generate a control instruction for the VPA in response to a preset situation when the first application is running; The control instructions are a set of control instructions independently developed based on a predetermined instruction protocol, and are used for the first application to control the VPA; the first application includes a driver monitoring system DMS, the preset situation is that the current state of the user is monitored to be a preset state, and the control instruction generation module is further used to determine at least one of a display form, target information, and a target operation corresponding to the current state; based on the display form, target information, and at least one of the target operation corresponding to the current state, a control instruction of the VPA is generated; The current state includes: the user is driving dangerously, and the target operation includes: controlling the vehicle to perform safe handling; The VPA control module is used to call the VPA to execute the control instruction through the first application program. The VPA control module is further used to call the VPA to execute the control instruction through the DMS, so that the VPA calls the corresponding program in the vehicle system to control the vehicle to slow down and park safely.

10. The device according to claim 9, wherein: The control instruction includes at least one of the following: A first control instruction for controlling the display form of the VPA; a second control instruction for controlling the VPA to display target information; A third control instruction is used to control the second application to perform a target operation.

11. The device according to claim 10, wherein: If the control instruction includes the first control instruction, the VPA control module is specifically used for any of the following: Calling the VPA through the first application program to determine a corresponding image resource based on the image designation information carried in the first control instruction, and displaying a corresponding VPA image based on the image resource; The VPA is called by the first application to determine corresponding action resources based on the action specifying information carried in the first control instruction, and the corresponding VPA action is displayed based on the action resources.

12. The device according to claim 11, wherein If the calling of the VPA by the first application to execute the control instruction includes calling the VPA by the first application to determine a corresponding image resource based on the image designation information carried in the first control instruction, and displaying a corresponding VPA image based on the image resource, the device further includes: The image resource updating module is used to update the image resource based on the image resource updating information sent by the server.

13. The device according to any one of claims 10 to 12, wherein: If the control instruction includes the second control instruction, the VPA control module is specifically configured to: The VPA is called by the first application to display at least one of the text, voice, and image corresponding to the target information.

14. The device according to any one of claims 10 to 12, wherein: If the control instruction includes a second control instruction for controlling the VPA to display target information, the device further includes a feedback control module, and the feedback control module is used to: After the first application program calls the VPA to execute the second control instruction, if a user's feedback operation on the target information is detected, a feedback control instruction is generated; The first application is called by the VPA to execute the feedback control instruction.

15. The device according to any one of claims 10 to 12, wherein: The floating window corresponding to the VPA is displayed on the upper layer of the program interface of the first application.

16. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

17. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.

18. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Interaction method and device of intelligent voice assistant, equipment and storage medium

    CN110767220A

  • Vehicle and vehicle-mounted data processing method and device

    CN110871756A

  • Application program calling method, device and equipment based on virtual robot

    CN110875940A