Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the embodiments of the present application, and are not to be construed as limiting the embodiments of the present application.
The installation and the update of the current intelligent automobile vehicle-mounted system application store are realized by the operation of a large screen end after a user gets on the automobile. Due to the speed limitation of the vehicle-mounted system network and the possible update of the third-party application at any time, the user cannot use the target application to start the corresponding third-party function immediately when the user gets on the vehicle.
In order to solve the above problem, please refer to fig. 1, the present application provides an application management method for an in-vehicle device 10. The application management method comprises the following steps:
s11: detecting that the third-party application is installed on the vehicle-mounted equipment and the third-party application to be updated through the application store to generate an application list and sending the application list to the server;
s12: receiving an operation instruction sent by a server according to an operation request of a user on a mobile terminal aiming at an application list, wherein the operation instruction comprises an installation instruction and/or an update instruction;
s13: analyzing the operation instruction to obtain a corresponding application package name, and inquiring a download address corresponding to the application package name through an application store;
s14: downloading the corresponding application data packet according to the download address; and
s15: and installing or updating the corresponding third-party application according to the application data packet.
Referring to fig. 2, the present application further provides an in-vehicle device 10. The in-vehicle device 10 includes an application list generation and transmission module 11, a first reception module 12, an analysis module 13, a download module 14, and an application installation and update module 15.
The step S11 may be implemented by the application list generating and sending module 11, the step S12 may be implemented by the first receiving module 12, the step S13 may be implemented by the parsing module 13, the step S14 may be implemented by the downloading module 14, and the step S15 may be implemented by the application installing and updating module 15. That is, the application list generating and sending module 11 is configured to detect that the third-party application is installed on the vehicle-mounted device and the third-party application to be updated through the application store, generate an application list, and send the application list to the server 20; the first receiving module 12 is configured to receive an operation instruction sent by the server 20 according to an operation request of a user at the mobile terminal 30 for an application list, where the operation instruction includes an installation instruction and/or an update instruction; the analysis module 13 is configured to analyze the operation instruction to obtain a corresponding application package name, so as to query a download address corresponding to the application package name through an application store; the downloading module 14 is used for downloading the corresponding application data packet according to the downloading address; the application installation and update module 15 is used for installing or updating the corresponding third-party application according to the application data package.
Specifically, the third-party application may include application software such as music software, video playing software, map navigation software, and the like. The application list may be, as shown in fig. 3, a list in which both the installed application software and the third party application software to be updated are detailed. In addition, the application list of the present application may further include an application data list that meets the installation condition, including, for example, the game software 2 to be installed in fig. 3, the video playback software 2, and other third-party applications that may be installed in the in-vehicle device 10. Then, the application list generation and transmission module 11 in the in-vehicle apparatus 10 transmits the generated application list to the server 20 again. In the embodiment of the present application, the vehicle-mounted device 10 may be a large screen display device on a vehicle, or other devices with a function of updating or installing a third-party application.
Then, the first receiving module 12 of the in-vehicle device 10 may receive an operation instruction sent by the server 20 according to an operation request of the user at the mobile terminal 30 for the application list, where the operation instruction includes an installation instruction and/or an update instruction. For example, the applications installed in the application list fed back by the server 20 from the mobile terminal 30 by the user include: music software 1, video conversation software 1, game software 1, video playing software 1, the applications to be updated include: game software 1 and video playback software 1. If the user can select to update the application game software 1 with respect to the application list in the mobile terminal 30, the operation instruction includes an update instruction to update the application game software 1.
In addition, the user may also select to install the game software 2 in the mobile terminal 30, and the operation instruction includes an installation instruction to install the game software 2. The operation instruction comprises an installation instruction and/or an update instruction, that is, the operation instruction may only comprise one or more installation instructions, may also only comprise one or more update instructions, and may also comprise one or more installation instructions and update instructions at the same time, that is, one or more applications or one or more update applications may be installed at any time and any place according to the user requirement, and the user may operate, install and update the applications without sitting on the vehicle to face a large screen on the vehicle, thereby greatly improving the user experience.
It should be noted that, the mobile terminal 30 of the present application may be a mobile phone, a tablet computer, or other network-enabled mobile devices, and the present application takes the mobile terminal 30 as a mobile phone for description.
Then, if the operation instruction is an installation instruction, for example, the operation instruction is installation of game software 2, after the vehicle-mounted device 10 receives the operation instruction sent to the vehicle-mounted device 10 by the server 20, the vehicle-mounted device 10 analyzes the operation instruction to obtain a corresponding application package name 1, for example, the obtained application package name of the game software 2 is XXX1, an application store in the vehicle-mounted device 10 may query a download address 1 corresponding to the application package name XXX1, and then download the corresponding application data package 1 according to the download address 1. Finally, the game software 2 is installed based on the obtained application data package.
In other embodiments of the present application, if the operation instruction is an update instruction, for example, to update the video call software 1, the vehicle-mounted device 10 may parse the update instruction to obtain the corresponding application package name 2, query the application store in the vehicle-mounted device 10 for the download address 2 corresponding to the application guarantee 2, and then download the corresponding application data package 2 according to the download address. And finally, updating the corresponding video call software 1 according to the obtained application data packet. Note that, in the present application, the update of the third-party application in the in-vehicle device 10 is an update of the upper layer of the system in the in-vehicle device 10.
According to the application management method, the data link between the vehicle-mounted equipment and the mobile terminal is opened, so that the third-party application on the vehicle-mounted equipment can carry out a corresponding operation instruction in the mobile terminal, the third-party application in the vehicle-mounted equipment can be installed and updated at any time and any place according to the operation instruction, a user can be in an immediately available state when getting on the vehicle to use the third-party application at any time, the user does not need to wait for installation or update of the application on the vehicle to use the application, the user can easily operate the vehicle-mounted equipment 10 to install and update the application without getting on the vehicle, and convenience in using the third-party application in the vehicle-mounted equipment is improved.
Referring to fig. 4, in some embodiments, step S14 includes:
s141: sending a downloading request to a server according to the downloading address;
s142: receiving an application data packet issued by a server according to a downloading request;
s143: carrying out file integrity verification and signature verification on the application data packet;
s144: and after the verification is successful, determining that the downloading of the application data packet is completed.
Referring to fig. 5, the download module 14 includes a download request sending unit 141, an application data packet unit receiving 142, a verification unit 143, and a determination unit 144.
Step S141 may be implemented by the download request transmitting unit 141, step S142 may be implemented by the application data packet receiving unit 142, step S143 may be implemented by the verifying unit 143, and step S144 may be implemented by the determining unit 144. That is, the download request transmitting unit 141 is configured to transmit a download request to the server according to the download address; the application data packet receiving unit 142 is configured to receive an application data packet issued by a server according to a download request; the verification unit 143 is configured to perform file integrity verification and signature verification on the application data packet; the determining unit 144 is configured to determine that the downloading of the application data package is completed after the verification is successful.
Specifically, the download request transmitting unit 141 of the download module 14 of the in-vehicle device 10 transmits a download request to the server 20 according to the corresponding download address obtained by querying the app package name from the app store. Then, the server 20 issues the application data packet to the application data packet receiving unit 142 of the download module 14 according to the download request. Then, the verification unit 143 performs file integrity verification and signature verification again according to the received application data packet. After the verification is successful, the determining unit 144 may autonomously determine that the downloading of the application data package is completed, and may ensure the integrity and correctness of the downloading of the application data package.
If the file integrity verification and the signature verification of the application data packet are unsuccessful, and a situation of incomplete file or wrong signature may occur, the determining unit 144 determines that the downloading of the application data packet is not completed at this time, and needs to continue downloading the application data packet.
Referring to fig. 6, in some embodiments, the application management method includes:
s16: generating installation and update results of the third-party application;
s17: and sending the installation and update results to the server.
Referring to fig. 7, the in-vehicle device 10 further includes a result generation module 16 and a result transmission module 17.
Step S16 may be implemented by the installation update result generation module 16, and step S17 may be implemented by the result transmission module 17. That is, the result generating module 16 is used to generate the installation and update results of the third-party application; the result sending module 17 is used for sending the installation and update results to the server.
Specifically, after the third-party application is installed or updated, the result generation module 16 in the in-vehicle device 10 also generates an installation and update result of the third-party application, for example, a result of the game software 2 being installed or a result of the game software 1 being updated is stored in the result generation module 16. The result sending module 17 then sends the installation and update results to the server 20.
The application management method of the present application is described from the vehicle-mounted device side on the vehicle, and the application management method of the present application is described from the server side.
Referring to fig. 8, an application management method is applied to a server 20. The method comprises the following steps:
s21: receiving an application list generated by the vehicle-mounted equipment through an application store according to the installed third-party application and the third-party application to be updated;
s22: determining a corresponding mobile terminal according to a vehicle unique code corresponding to the vehicle-mounted equipment and sending an application list to the mobile terminal;
s23: receiving an operation request of a user on the mobile terminal aiming at the application list to generate an operation instruction, wherein the operation instruction comprises an installation instruction and/or an update instruction;
s24: and sending the operation instruction to the vehicle-mounted equipment so that the vehicle-mounted equipment analyzes the operation instruction to obtain a download address, obtains an application data packet according to the download address, and installs or updates the corresponding third-party application according to the application data packet.
Please refer to fig. 9, a server 20 is further provided. The server 20 includes: a second receiving module 21, a determining module 22, an operation instruction generating module 23 and an operation instruction processing module 24.
The step S21 may be implemented by the second receiving module 21, the step S22 may be implemented by the determining module 22, the step S23 may be implemented by the manipulation instruction generating module 23, and the step S24 may be implemented by the manipulation instruction processing module 24. That is, the second receiving module 21 is configured to receive an application list generated by the vehicle-mounted device through the application store according to the installed third-party application and the third-party application to be updated; the determining module 22 is configured to determine a corresponding mobile terminal according to the vehicle unique code corresponding to the vehicle-mounted device and send the application list to the mobile terminal; the operation instruction generating module 23 is configured to receive an operation request of a user at the mobile terminal for the application list to generate an operation instruction, where the operation instruction includes an installation instruction and/or an update instruction; the operation instruction processing module 24 is configured to send an operation instruction to the vehicle-mounted device, so that the vehicle-mounted device parses the operation instruction to obtain a download address, obtains an application data packet according to the download address, and installs or updates a corresponding third-party application according to the application data packet.
Specifically, the second receiving module 21 of the server 20 receives the application list transmitted by the in-vehicle device 10, and the application list may be a table as shown in fig. 3. After executing the installation application and acquiring the application list each time, the application store of the vehicle-mounted device uploads third-party application data information including information of the installed application and the application to be updated in the application list to the background server 20 for storage. Therefore, the vehicle-mounted device 10 uploads the installed third-party application data to the server 20, and the third-party application data can be conveniently acquired from the server 20 through the mobile terminal 30 and displayed to the user, so that the mobile terminal 30 can clearly know the applications installed in the vehicle-mounted device 10 and the applications to be updated, and clearly know whether a spare installation space is available in the vehicle-mounted device 10 for installing new applications.
The determining module 22 of the server 20 determines the corresponding mobile terminal 30 according to the vehicle unique code corresponding to the vehicle-mounted device 10 and sends the application list to the mobile terminal 30. The vehicle unique code may refer to a unique identification code representing the identity information of the in-vehicle apparatus 10, which is an identification code carried by a colleague when the in-vehicle apparatus 10 uploads the application list to the server 20. The mobile terminal 30 can be determined as a terminal device corresponding to the vehicle-mounted device 10 and in data connection with the vehicle-mounted device 10 by scanning or inputting the vehicle unique code into the corresponding mobile terminal 30, so that the identity information binding between the vehicle-mounted device and the mobile terminal is realized, and the server 20 can send the application list to the mobile terminal 30 in data connection with the vehicle-mounted device 10. The mobile terminal 30 actively obtains the application list of the vehicle-mounted device 10 uploaded to the server by the vehicle-mounted system side from the server 20, wherein the application list may include an installed application data list and an application data list meeting installation conditions, and is displayed to the user interface in a classified manner according to the installed and updated applications, so that a user can conveniently view and operate the application state of the vehicle-mounted device side at the mobile terminal 30.
Next, the operation instruction generating module 23 of the server 20 receives an operation request of the user at the mobile terminal 30 for the application list to generate an operation instruction, where the operation instruction includes an installation instruction and/or an update instruction. The operation request of the application list may refer to a corresponding request in the application list requesting an update or requesting an installation. The operation request of the user on the mobile terminal 30 for the application list to generate the operation instruction refers to an operation of the user on the mobile terminal 30 side clicking the application list to request installation so as to install the third-party application on the vehicle-mounted device 10, or an operation on the mobile terminal 30 side clicking the application list to request updating so as to execute an updating operation instruction of the vehicle-mounted device 10 to update the third-party application. This operation is directly transmitted back to the server 20 through the mobile terminal 30 side.
Then, the operation instruction processing module 24 of the server 20 sends the operation instruction to the vehicle-mounted device 10 again, so that the vehicle-mounted device 10 parses the operation instruction to obtain the download address, and then the vehicle-mounted device 10 obtains the application data packet according to the download address and installs or updates the corresponding third-party application according to the application data packet.
According to the application management method, the server 20 is used for getting through the data link between the vehicle-mounted device 10 and the mobile terminal 30, so that the third-party application on the vehicle-mounted device 10 can carry out a corresponding operation instruction in the mobile terminal 30, and the third-party application in the vehicle-mounted device 10 can be installed and updated at any time and any place according to the operation instruction, so that a user can be in an immediately available state when getting on the vehicle to use the third-party application at any time, the user does not need to wait for installation or update of the application on the vehicle to use the application, the user can easily operate the vehicle-mounted device 10 to install and update the application without getting on the vehicle, and convenience in using the third-party application in the vehicle-mounted device 10 is improved.
Referring to fig. 10, in some embodiments, step S23 includes:
s231: checking whether the operation request is legal;
s232: and generating an operation instruction according to the operation request under the condition that the operation request is legal.
Referring to fig. 11, the operation instruction generating module 23 includes a checking unit 231 and an instruction generating unit 232.
Step S231 may be implemented by the checking unit 231, and step S232 may be implemented by the instruction generating unit 232. That is, the checking unit 231 is used to check whether the operation request is legitimate. The instruction generating unit 232 is configured to generate an operation instruction according to the operation request if the operation request is legal.
Specifically, in the process of generating the operation instruction according to the operation request, the server 20 may check whether the installation or update task in the operation request is legal or not, for example, whether the three-party application is off-shelf or not, may ensure the operation request transmitted to the mobile terminal 30 of the user and verify the validity of the operation request, ensure that the vehicle-mounted device 10 is a legal message when executing the operation instruction, and improve the operation efficiency of the vehicle-mounted device 10 in executing the operation instruction generated by the operation request.
Referring to fig. 12, after the server 20 receives a legal operation instruction of the mobile terminal 30, the operation instruction sends the instruction to the in-vehicle device 10 through the push channel between the server 20 and the in-vehicle device 10.
Referring to fig. 13, in some embodiments, step S24 includes:
s241: receiving a downloading request sent by the vehicle-mounted equipment according to the downloading address;
s242: and issuing the application data packet to the vehicle-mounted equipment according to the downloading request.
Referring to fig. 14, the operation instruction processing module 24 includes a receiving unit 241 and a packet sending unit 242.
Step S241 may be implemented by the receiving unit 241 and step S242 may be implemented by the packet transmitting unit 242. That is, the receiving unit 241 is configured to receive a download request sent by the vehicle-mounted device according to the download address; the data packet sending unit 242 is configured to issue an application data packet to the vehicle-mounted device according to the download request.
Specifically, after receiving the operation instruction, the vehicle-mounted device 10 side invokes the application store to execute the application installation and update operations according to the instruction type, in detail, the vehicle-mounted device 10 parses the operation instruction to obtain a download address, then the server 20 receives a download request sent by the vehicle-mounted device 10 according to the obtained download address, and the server 20 sends an application data packet to the vehicle-mounted device 10 according to the download request.
In the present application, the server 20 may store an application data packet corresponding to an application in the application list, and the application data packet may be carried and transmitted to the server 20 together with an operation request transmitted from the mobile terminal 30. In other embodiments of the present application, the server 20 may further store an application data packet corresponding to an application other than the application list, which is not described herein.
Referring to fig. 12 again, the present application further provides an application management system 100. The application management system 100 includes the in-vehicle device 10, the server 20, and the mobile terminal 30. Specifically, the in-vehicle apparatus 10 is configured to detect, by the application store, that the third-party application has been installed and the third-party application to be updated by the in-vehicle apparatus 10, generate an application list and transmit the application list to the server 20. The server 20 is configured to receive the application list, determine a corresponding mobile terminal 30 according to the vehicle unique code corresponding to the in-vehicle device 10, and transmit the application list to the mobile terminal 30. The mobile terminal 30 is configured to receive the application list and display the application list, and generate an operation request according to an input of the user at the mobile terminal 30 for the application list and transmit the operation request to the server 20. The server 20 is configured to generate an operation instruction according to the operation request, and transmit the operation instruction to the vehicle-mounted device, where the operation instruction includes an installation instruction and/or an update instruction. The vehicle-mounted device 10 is used for receiving the operation instruction, analyzing the operation instruction to obtain a corresponding application package name, inquiring a download address corresponding to the application package name through the application store, downloading a corresponding application data package according to the download address, and installing or updating a corresponding third-party application according to the application data package.
The specific operation methods and procedures of the in-vehicle device 10, the server 20, and the mobile terminal 30 in the application management system 100, and the expression of the application list, the operation instruction, and the like may refer to the related contents described above, and are not described herein again.
Referring to fig. 15, the present application also provides a non-volatile computer readable storage medium 200 of a computer program. The application management method of any of the embodiments described above is implemented when the computer program 210 is executed by the one or more processors 220.
For example, the computer program 210, when executed by the processor 220, implements the following steps of the application management method:
s11: detecting that the third-party application is installed on the vehicle-mounted equipment and the third-party application to be updated through the application store to generate an application list and sending the application list to the server;
s12: receiving an operation instruction sent by a server according to an operation request of a user on a mobile terminal aiming at an application list, wherein the operation instruction comprises an installation instruction and/or an update instruction;
s13: analyzing the operation instruction to obtain a corresponding application package name, and inquiring a download address corresponding to the application package name through an application store;
s14: downloading the corresponding application data packet according to the download address; and
s15: and installing or updating the corresponding third-party application according to the application data packet.
It will be appreciated that the computer program 211 comprises computer program code. The computer program code may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), software distribution medium, and the like.