Application program verification method and device and vehicle

By verifying and detecting viruses on the interactive interface and architecture data of vehicle applications, combined with two-way authentication of digital certificates, the problem of vehicles identifying malicious applications is solved, security and defense capabilities are improved, and the stable operation of the vehicle system is ensured. .

CN118585995APending Publication Date: 2024-09-03GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410808358.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the process of vehicles becoming intelligent and connected, it is difficult to identify and defend against malicious applications, especially counterfeit applications, leading to increased security risks.

Method used

By obtaining the interactive interface image data and architectural data of the application, we perform pixel verification and virus detection, monitor data changes, and adopt a two-way authentication mechanism of digital certificates to ensure the authenticity and security of the application.

Benefits of technology

It improves the security of applications, enhances the defense capabilities of vehicle systems, ensures the security of user data and systems, and reduces the risk of malicious attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585995A
    Figure CN118585995A
Patent Text Reader

Abstract

The invention provides an application program verification method and device and a vehicle, and is applied to the field of intelligent cabins, and the method comprises the steps: obtaining application program data in response to determining that the installation of an application program is completed, the application program data comprising interactive interface image data and architecture data; executing a data verification step on the application program data, wherein the data verification step comprises carrying out pixel point verification on the interactive interface image data and carrying out virus detection on the architecture data; the application program data passing verification are monitored, and in response to monitoring that the application program data are changed, the data verification step is executed again on the changed application program data; according to the verification method provided by the invention, the accuracy of identifying and intercepting the malicious application program by the in-vehicle infotainment system can be improved, the safety of the in-vehicle infotainment system is enhanced, and a more reliable use environment is provided for a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and more particularly to an application verification method, device and vehicle. Background Art

[0002] With the deep integration of the automotive industry and information technology, modern vehicles are rapidly entering the era of intelligence. The development of Internet of Vehicles technology enables vehicles to not only achieve system interconnection with the Internet, but also support a variety of in-vehicle applications, greatly expanding the functionality and entertainment of vehicles, allowing users to enjoy a variety of intelligent services such as navigation, music playback, voice assistants, and remote control during driving, improving the driving experience. However, the intelligence and networking of vehicles have also made vehicles a new target for cyber attacks, especially as the openness of the car system has increased, users can freely download and install third-party applications, which provides an opportunity for the spread of malicious applications. Summary of the invention

[0003] In view of this, the purpose of this application is to propose an application verification method, device and vehicle to solve the technical problem in the related art that vehicles have low recognition ability for malicious applications and find it difficult to detect counterfeit applications.

[0004] Based on the above purpose, this application provides an application verification method, including:

[0005] In response to determining that the application is installed, obtaining application data, wherein the application data includes interactive interface image data and architecture data;

[0006] Performing a data verification step on the application data, the data verification step including performing pixel verification on the interactive interface image data and performing virus detection on the architecture data;

[0007] The application data that has passed verification is monitored, and in response to monitoring changes in the application data, the data verification step is re-executed on the changed application data.

[0008] Based on the same inventive concept, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.

[0009] Based on the same inventive concept, the present disclosure also provides a vehicle, comprising the electronic device as described above.

[0010] From the above, it can be seen that the application provides an application verification method, device and vehicle, and the verification method can improve the security of the installed application and ensure the stable operation of the vehicle system; first, pixel point verification can be used to compare and verify the interactive interface image data in the acquired application data to verify the authenticity and integrity of the interactive interface, which is conducive to identifying forged or counterfeit applications; secondly, the architecture data in the acquired application can be tested for viruses to determine whether there is potential virus data, and malicious applications can be identified and blocked in time to enhance the defense capabilities of the vehicle system; in addition, the verification method can also monitor changes in application data to prevent criminals from implanting virus data or harmful scripts into the vehicle system through the server, thereby improving the accuracy of identifying malicious applications and enhancing resistance to external malicious attacks. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0012] Figure 1 A flowchart of a method for verifying an application in this application;

[0013] Figure 2 This is a flow chart of the method for performing pixel verification on interactive interface image data in this application;

[0014] Figure 3 A flow chart of the method for performing virus detection on architecture data in this application;

[0015] Figure 4 A flow chart of the method for detecting an application in this application;

[0016] Figure 5 A flow chart of a method for verifying whether an application is a secure application in this application;

[0017] Figure 6 A flow chart of the method for verifying an application based on a certificate in this application;

[0018] Figure 7 A structural block diagram of the verification device of the application program in this application;

[0019] Figure 8 This is a structural block diagram of the electronic device in this application. DETAILED DESCRIPTION

[0020] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0021] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0022] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0023] In related technologies, vehicles are not only means of transportation, but also intelligent mobile platforms that integrate communication, entertainment, navigation and other functions. Since the vehicle's on-board system can support Internet access, users can install and use a variety of applications in the on-board system according to their own needs to enrich the driving experience. However, as the openness of the on-board system gradually increases, malicious applications are also gradually increasing. After some malicious applications are installed in the on-board system, they may steal user data, damage the vehicle system, or launch a network attack on the on-board system.

[0024] To deal with the above application risks, a two-way authentication mechanism based on digital certificates can be adopted, such as TLS (Transport Layer Security) two-way authentication, to ensure the authenticity of the application and the security of data transmission, and use the PKI (Public Key Infrastructure) system to verify the identities of both parties involved in the communication through a multi-layer trust chain; in specific implementation, each legitimate application will be equipped with a set of certificate systems, including application certificates, identity certificates for verifying cloud services, that is, domain name certificates, and root certificates as the basis of trust; in the verification process of the application, the root certificate is issued by a trusted CA (Certificate Authority), and serves as a trust anchor for both parties in the verification process to verify the authenticity of the certificate. The application certificate is used to prove the legal identity of the application; the server holds a domain name certificate to prove that it is the legal provider of the official service of the application. Therefore, during the application installation process, the car computer not only receives the application installation package, but also obtains the corresponding certificate file, laying the foundation for subsequent communication security.

[0025] When using the vehicle computer system to verify the installed application, the vehicle computer system interacts with the server and performs an authentication process on the application; during the authentication process, the vehicle computer system will first send and present the application certificate to the server, and the cloud will use the pre-implanted root certificate to verify the identity of the application; after successful verification, the server will send its own domain name certificate to the vehicle computer, and the vehicle computer will also use the pre-stored root certificate to verify the identity of the cloud server. After confirming the identity of the cloud server, the vehicle computer proves that the application is a genuine application, and establishes a relatively secure communication channel between the vehicle computer and the cloud server, ensuring the correctness and reliability of the data interaction process.

[0026] However, although the two-way authentication mechanism based on digital certificates provides important security protection for applications installed in vehicle systems, with the continuous development and advancement of network technology, if criminals obtain the root certificate of an application by illegal means, they may forge application certificates and domain name certificates similar to genuine applications, and then build a set of highly deceptive application distribution and communication systems; since the application certificate and domain name certificate are the same or similar to the real application, it is difficult to distinguish the authenticity of the application using the two-way verification mechanism of digital certificates. If criminals replace genuine applications with highly simulated interactive interface designs, it is easy to induce users to download and install applications carrying virus data or harmful scripts, resulting in serious security consequences, such as intrusion into vehicle control systems, large-scale leakage of personal privacy information, etc., posing a direct threat to users' property and personal safety.

[0027] In view of this, if Figure 1 The present application provides an application verification method, which can be applied to the field of smart cockpits, with the vehicle controller as the execution subject, and the method includes:

[0028] S100: in response to determining that the application is installed, obtaining application data, wherein the application data includes interactive interface image data and architecture data;

[0029] In this step, the vehicle's controller can be used as the executor to obtain the installation status of the application to be detected in the vehicle system through the controller. When the controller determines that the application to be detected is installed, the controller obtains the application data of the vehicle application, that is, obtains the application's interactive interface image data and its architecture data, so as to determine whether the application is a malicious application based on the application's interactive interface data and architecture data.

[0030] S200: performing a data verification step on the application data, the data verification step including performing pixel verification on the interactive interface image data and performing virus detection on the architecture data;

[0031] In this step, when the controller verifies the application, it can use the obtained application data to perform a data verification step on the application to determine whether the application is a malicious application; in specific implementation, the controller can perform pixel point verification on the obtained interactive interface image data to determine whether the interactive interface image data of the installed application is consistent with the interactive interface of the real application; it can also perform virus detection on the obtained architecture data of the application to determine whether there is virus data in the architecture data of the installed application; by performing pixel point verification on the interactive interface image data and virus detection on the architecture data, the accuracy and comprehensiveness of the judgment on the security of the application can be improved, so as to timely identify and intercept malicious applications.

[0032] S300: Monitor the application data that has passed verification, and in response to monitoring changes in the application data, re-execute the data verification step on the changed application data.

[0033] In this step, after the controller determines that the application data has passed the verification step, the controller can be used to monitor the application data to determine whether the application has changed through changes in the application data; wherein, the application can obtain data packets from the server during the update and expansion process, which will cause the application data to change. If the application is a secure application, the data packet received by the vehicle system may be an upgrade data packet or a plug-in data packet. If the application is a malicious application, the data packet obtained by the application may contain virus data or harmful scripts, thereby reducing the risk of external virus data or harmful scripts that pass the verification step for the first time being implanted; in specific implementation, when the controller detects that the application data has changed, the controller can re-execute the data verification step on the application data of the application through the vehicle system, and perform pixel verification and virus detection on the changed application data again to determine whether the application has a tampered interactive interface or virus data after the application data has changed, thereby improving the accuracy of the judgment on the security of the application and facilitating the timely identification and interception of malicious applications.

[0034] When implementing it, Figure 1 As shown, with the vehicle controller as the execution subject, after the controller determines that the vehicle application to be verified is installed, the controller can obtain the interactive interface image data and architecture data in the application data, so that the controller can determine whether the application is a genuine application based on the interactive interface data and the architecture data respectively; wherein, the controller can perform pixel point verification on the interactive interface image data in the application to determine whether the interactive interface image data of the application is consistent with the interactive interface of the genuine application, and can also perform virus detection on the architecture data of the application to determine whether there is virus data in the architecture data of the application; after the controller determines that the application data has passed the data verification step, the controller can monitor the changes in the application data. When the controller detects that the application data has changed, the controller can re-execute the data verification step on the application data of the application through the vehicle system, and perform pixel point verification and virus detection on the changed application data again to determine whether the application is a malicious application, thereby improving the accuracy of the judgment on the security of the application, and facilitating the timely identification and interception of malicious applications.

[0035] The application provides a verification method for an application, which can improve the security of the installed application and ensure the stable operation of the vehicle system. First, pixel verification can be used to compare and verify the interactive interface image data in the acquired application data to verify the authenticity and integrity of the interactive interface, which is conducive to identifying forged or counterfeit applications. Secondly, virus detection can be performed on the architecture data in the acquired application to determine whether there is potential virus data, and malicious applications can be identified and blocked in time to enhance the defense capability of the vehicle system. In addition, the verification method can also monitor changes in application data to prevent criminals from implanting virus data or harmful scripts into the vehicle system via the server, thereby improving the accuracy of identifying malicious applications and enhancing resistance to external malicious attacks.

[0036] Therefore, in summary, the application verification method provided in this application not only improves the accuracy of the vehicle system in identifying and intercepting malicious applications, but also enhances the overall security performance of the vehicle system, providing users with a highly reliable and anti-intrusion environment, ensuring the safety of the vehicle and the privacy of the user.

[0037] In some embodiments, Figure 2 As shown, pixel verification is performed on the interactive interface image data, including:

[0038] S211: Determine a comparison area of ​​pixels on the application interaction interface;

[0039] In this step, the comparison area of ​​the pixels of the application interaction interface can be a comparison range set for key elements and sensitive areas in the interaction interface; illustratively, the comparison area of ​​the pixels can specifically be an important control area (such as an account input box on the login interface), a security prompt area (such as a verification code input box), a static logo pattern of the application (such as an application trademark or copyright information), and an interactive feedback area (such as a loading indicator icon or a prompt pop-up window), etc.; in specific implementation, after the controller obtains the application data of the installed application, it can determine the comparison area of ​​the pixels to be detected in the interaction interface of the application, and use the pixels in the comparison area as the target comparison object. The comparison area can be pixel verified through the interaction interface image data in the application data, which is conducive to identifying whether the application is a malicious application through pixel verification.

[0040] S212: Acquire target image data in the comparison area from the interactive interface image data;

[0041] In this step, after the controller determines the comparison area of ​​the pixels of the interactive interface in the application, it can obtain the corresponding target image data in the data of the interactive image based on the determined comparison area of ​​the pixels, and perform comparison and verification based on the target image data and the preset image data pre-set in the vehicle system. Based on the comparison result, it can determine whether the verified interactive interface is a maliciously tampered interface, thereby determining whether the application is a malicious application.

[0042] S213: In response to determining that the target image data is the same as the preset image data, determining that the pixel point verification passes.

[0043] In this step, after the controller determines the target image data in the interactive interface image data, it compares and verifies the determined target image data with the preset image data to determine whether the interactive interface passes the pixel verification; in specific implementation, when the controller determines that the target image data in the acquired comparison area is the same as the preset image data, it means that the interactive interface image data passes the pixel verification, and there is no tampering or replacement problem with the interactive interface detected in the application, so the application may not be a malicious application.

[0044] In some embodiments, the application verification method further includes:

[0045] In response to determining that the target image data is different from the preset data, or the target image data in the comparison area is not obtained in the interactive interface image data, the data verification step is stopped and a first prompt message is generated to prompt the user that the application has a security risk.

[0046] In a specific implementation, after the controller obtains the interactive interface image data in the application data, it can obtain the target image data in the comparison area in the interactive interface image data, and then compare and verify the target image data with the preset image data, and determine whether the interactive interface has been tampered with or replaced based on the comparison and verification results, thereby judging whether the application is a malicious application; more specifically, in one case, when the controller does not obtain the target image information in the comparison area of ​​the pixel point in the interactive interface image data, it means that the target image information does not exist in the comparison area of ​​the interactive interface in the application. At this time, there is a problem of missing image data in the interactive interface, which is inconsistent with the interactive interface of the real security application. Therefore, the controller considers that the application is a malicious application; in another case, when the controller obtains the target image information in the comparison area in the interactive interface image data, it can compare and verify based on the preset image data and the obtained target image data. When the target image data is different from the preset image data, it means that there is a difference between the interactive interface and the interactive interface in the security application. Therefore, the controller considers that the application is a malicious application.

[0047] In addition, when the controller determines that the target image data is different from the preset image data, or the target image data in the comparison area is not obtained in the interactive interface image data, it means that the interactive interface in the application does not match the interactive interface of the real security application. At this time, the controller considers that the application is a malicious application, controls the vehicle system to stop executing the data verification steps for the vehicle system, and can generate a first prompt message, which is sent to the user through the vehicle system to prompt the user that the application is a malicious application and warn the user to use it with caution.

[0048] In some embodiments, Figure 3 As shown, virus detection is performed on the architecture data, including:

[0049] S221: Acquire architecture data in a preset storage area;

[0050] In this step, the architecture data can be the basic framework code used for data management and data processing in the application. After the controller determines that the application is installed, it can obtain the application data, thereby obtaining the architecture data in the application data in the preset storage area. The controller can detect whether there is virus data in the architecture data through the vehicle system, so as to identify the virus data in the application in time, improve the accuracy of malicious application verification, improve the interception effect of malicious applications, and enhance the defense capabilities against malicious applications.

[0051] S222: Perform traversal detection on the architecture data based on a preset virus detection library;

[0052] In this step, after the controller obtains the architecture information in the storage area of ​​the application, it can call up the virus detection library preset in the vehicle system. Based on the preset virus detection library, the architecture data of the storage area can be traversed and detected to detect whether there is virus data in the architecture data in the preset storage area, thereby determining whether the application is threatened by virus data, improving the vehicle system's defense capabilities against malicious applications, and improving the vehicle's use environment.

[0053] Combined with the above steps, the virus detection library is further explained. The controller can periodically update the virus detection library, enrich and update the virus detection library's detection types of virus data, and improve the virus detection library's ability to identify and intercept malicious applications. This will not be repeated here.

[0054] S223: In response to determining that no virus data is detected in the architecture data, determine that the virus detection passes.

[0055] In this step, after the controller traverses and detects the architecture data in the preset storage area through the vehicle system, if the controller does not detect virus data in the architecture data, it means that the architecture data of the application data is relatively safe, and during the operation of the application, the architecture data in the application data will not pose a threat to the vehicle system.

[0056] In some embodiments, the application verification method further includes:

[0057] In response to determining that virus data is detected in the architecture data, the data verification step is stopped, the application is uninstalled and cleared, and a second prompt message is generated to prompt the user that virus data exists in the application.

[0058] During specific implementation, when the controller performs the verification step on the installed application, it can obtain the application data of the application, and can obtain the architecture data of the application data in a preset storage area; the controller is based on the virus detection library preset in the vehicle system, and uses the vehicle system to traverse and detect the architecture data to determine whether there is virus data in the architecture data of the application data; specifically, when the controller detects virus data in the architecture data, it means that the application is a malicious application, and the malicious application may cause the vehicle system to paralyze or leak user information, threatening the safety of the vehicle. At this time, the controller can control the vehicle system to stop executing the data verification step on the vehicle system to prevent the virus data hidden in the architecture data from damaging the vehicle system; at the same time, the controller can uninstall the application containing the virus data through the vehicle system, and clear the application data stored in the preset storage area, so as to prevent malicious applications from damaging the vehicle system and improve the vehicle system's defense capabilities against malicious applications.

[0059] In some embodiments, Figure 4 As shown, the application data that has passed the verification is monitored, and in response to the monitored application data being changed, the data verification step is re-executed on the changed application data, including:

[0060] S301: Encrypt the application data that has passed the verification with a key and calculate its data length;

[0061] In this step, when the controller determines that the application has passed the data verification step, that is, the application data has passed the pixel verification and virus detection, in order to improve the accuracy of the judgment on the application and optimize the vehicle system's defense capabilities against the application, the controller can monitor the application data of the application to determine whether the application data of the application has changed; in specific implementation, after the controller determines that the application data has passed the data verification step, the vehicle system can provide the corresponding key for the application, encrypt the application with the key, improve the security of the application program data, and can calculate the data length of the application used to monitor whether the application data has changed.

[0062] In conjunction with this step, the key mentioned above is explained. The key can use AES128 (Advanced Encryption Standard with 128-bit key). Since the key can be a 128-bit binary digit string, a large number of key combinations can be provided for the application data to ensure that the encrypted application data has a high degree of security, which will not be repeated here.

[0063] S302: Calculate a data flag value based on the key and the data length; the data flag value is used to reflect whether the application data has changed;

[0064] In this step, after the application data is encrypted with a key, the data length of the application data can be obtained, and then the data flag value is obtained based on the key and the obtained data length to determine whether the application has changed according to the data flag value; in specific implementation, the data flag value can be calculated based on the key and the data length of the application data. Since the data flag value is obtained based on the key, the data flag value can be the number of encrypted blocks after the data length is encrypted, or the minimum length of the encrypted file. The changes in the number of encrypted blocks and the minimum length of the encrypted file can detect changes in the application, thereby improving the accuracy of the controller's monitoring of the application, so that the vehicle system can technically verify the changed application, so as to improve the defense capability and interception efficiency against malicious applications.

[0065] S303: In response to determining that the data flag value has changed, it is determined that a change in the application data has been monitored, and the data verification step is re-executed on the changed application data.

[0066] In this step, when the controller detects that the data flag value of the application has changed, it means that the application has changed. At this time, the application data of the application is different from the application verified in the last data verification step; in order to improve the verification effect of the application and prevent malicious applications from causing damage to the vehicle system, the controller can re-execute the data verification step on the changed application data through the vehicle system, that is, verify the changed application data again to verify whether there is virus data or harmful scripts in the changed application, and further determine whether the application is a malicious application to prevent virus data or harmful scripts from circumventing the data verification step, so as to improve the vehicle system's resistance to external malicious attacks and the verification effect of malicious applications.

[0067] In some embodiments, Figure 5 As shown, the application's verification method then includes:

[0068] S400: In response to determining that the application data passes the data verification step, a certificate verification step is performed, where the certificate verification step is a certificate verification step between the application and a server connected to the application;

[0069] In this step, when the controller determines that the application has passed the data verification step for the first time and the data flag value of the application has not changed; or the data flag value of the application has changed, and the changed application has passed the data verification step again, it means that the probability that the application is a safe application is relatively high; to ensure that the application can be used in the vehicle system, the controller performs a certificate verification step on the application, so as to further determine whether the application is a malicious application; since the certificate verification step is a certificate verification step between the application and the server connected to the application, the certificate verification can determine whether the source of the application is credible and legal, which is conducive to the update and management of the application; at the same time, the application that passes the certificate verification can establish a trusted communication channel with the server, which is conducive to protecting the user's personal information from being stolen during the transmission process, thereby further improving the safety of the vehicle.

[0070] S500: In response to determining that the certificate verification step is passed, determining that the application is a secure application.

[0071] In this step, when the controller determines that the certificate verification step between the application and the server passes the certificate verification, it means that the application is a secure application. That is to say, certificate verification can ensure that the source of the application is reliable and has not been tampered with, so that the application has a good degree of trust, which is conducive to maintaining the vehicle computer and enhancing the vehicle computer system's judgment ability and defense effect on the application.

[0072] In some embodiments, Figure 6 As shown, during the process of executing the certificate verification step, the certificate verification step includes:

[0073] S401: Sending first verification information of the application to the server, and obtaining second verification information from the server;

[0074] In this step, the first verification information may be the application certificate of the application, and the second verification information may be the domain name certificate of the server; when the controller performs the certificate verification step on the application, the first verification information of the application may be sent to the server for the server to verify the first verification information; at the same time, the controller may obtain the second verification information of the server through the vehicle system, and verify the second verification information of the server through the vehicle system, so that the vehicle system and the server can perform two-way verification on the application, which can enhance the accuracy of the vehicle system's judgment on the application, prevent the information transmitted between the application and the server from being tampered with or stolen, so that the vehicle system provides a good usage environment for the application.

[0075] S402: Verify the second verification information based on a preset certificate verification rule;

[0076] In this step, after the controller obtains the second verification information of the server, it can authenticate the second verification information based on the preset certificate verification rules; wherein, the preset certificate verification rules can be preset verification information pre-stored in the vehicle system, and the obtained second verification information is compared and verified with the preset verification information, and whether the second verification information of the server is consistent with the application is determined according to the comparison and verification results, so as to improve the accuracy of the application verification.

[0077] S403: In response to determining that the second verification information is successfully verified and determining that the server successfully verifies the first verification information, third prompt information is generated to prompt the user that the application is a secure application.

[0078] In this step, after the controller verifies the second verification information based on the preset certificate verification rules, it can obtain the server's verification structure for the first verification information; when the controller determines that the server's second verification information passes the verification and the application's first verification information passes the verification, it means that a two-way verification mechanism has been established between the application and the server. At this time, it means that the application is a secure application, which is beneficial to improving the accuracy of the application verification process and improving the communication security between the server and the application.

[0079] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0080] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0081] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides an application verification device.

[0082] refer to Figure 7 , an application verification device, comprising an acquisition module 10, a verification module 20 and a detection module 30, wherein:

[0083] The acquisition module is configured to acquire application data in response to determining that the application is installed, wherein the application data includes interactive interface image data and architecture data;

[0084] The verification module is configured to perform a data verification step on the application data, the data verification step including pixel point verification on the interactive interface image data and virus detection on the architecture data;

[0085] The monitoring module is configured to monitor the application data that has passed verification, and in response to monitoring changes in the application data, re-execute the data verification step on the changed application data.

[0086] Furthermore, the verification module is specifically configured as follows:

[0087] Determine the contrast area of ​​pixels in the application interface;

[0088] Acquire target image data in the comparison area in the interactive interface image data;

[0089] In response to determining that the target image data is the same as the preset image data, determining that the pixel point verification has passed;

[0090] In response to determining that the target image data is different from the preset data, or the target image data in the comparison area is not obtained in the interactive interface image data, the data verification step is stopped and a first prompt message is generated to prompt the user that the application has a security risk.

[0091] as well as,

[0092] Obtaining architecture data in a preset storage area;

[0093] Perform traversal detection on architecture data based on the preset virus detection library;

[0094] In response to determining that virus data is not detected in the architecture data, determining that virus detection passes;

[0095] In response to determining that virus data is detected in the architecture data, the data verification step is stopped, the application is uninstalled and cleared, and a second prompt message is generated to prompt the user that virus data exists in the application.

[0096] Furthermore, the monitoring module is specifically configured as follows:

[0097] Encrypt the application data that has passed the verification with a key and calculate its data length;

[0098] The data flag value is calculated based on the key and the data length; the data flag value is used to reflect whether the application data has changed;

[0099] In response to determining that the data flag value has changed, it is determined that a change in the application data has been monitored, and the data verification step is re-executed on the changed application data.

[0100] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0101] The device of the above embodiment is used to implement the verification method of the corresponding application in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0102] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the verification method of the application described in any of the above embodiments is implemented.

[0103] Figure 8A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0104] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0105] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0106] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0107] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0108] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0109] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0110] The electronic device of the above embodiment is used to implement the verification method of the corresponding application in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0111] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the verification method of the application program described in any of the above embodiments.

[0112] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0113] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the verification method of the application program described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0114] Based on the same concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.

[0115] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0116] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0117] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0118] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0119] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0120] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0121] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0122] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A method for verifying an application, characterized in that: include: In response to determining that the application is installed, obtaining application data, wherein the application data includes interactive interface image data and architecture data; Performing a data verification step on the application data, the data verification step including performing pixel verification on the interactive interface image data and performing virus detection on the architecture data; The application data that has passed verification is monitored, and in response to monitoring changes in the application data, the data verification step is re-executed on the changed application data.

2. The application verification method according to claim 1, characterized in that: The pixel verification of the interactive interface image data includes: Determine the contrast area of ​​pixels in the application interface; Acquire target image data in the comparison area from the interactive interface image data; In response to determining that the target image data is the same as the preset image data, it is determined that the pixel point verification has passed.

3. The application verification method according to claim 2, characterized in that: Also includes: In response to determining that the target image data is different from the preset data, or the target image data in the comparison area is not obtained in the interactive interface image data, the data verification step is stopped and a first prompt message is generated to prompt the user that the application has a security risk.

4. The application verification method according to claim 1, characterized in that: The performing virus detection on the architecture data includes: Acquiring the architecture data in a preset storage area; Perform traversal detection on architecture data based on the preset virus detection library; In response to determining that virus data is not detected in the schema data, it is determined that the virus detection passes.

5. The application verification method according to claim 4, characterized in that: Also includes: In response to determining that virus data is detected in the architecture data, the data verification step is stopped, the application is uninstalled and cleared, and a second prompt message is generated to prompt the user that virus data exists in the application.

6. The application verification method according to claim 1, characterized in that: The step of monitoring the verified application data and re-performing the data verification step on the changed application data in response to detecting a change in the application data includes: Encrypt the application data that has passed the verification with a key and calculate its data length; A data flag value is calculated based on the key and the data length; the data flag value is used to reflect whether the application data has changed; In response to determining that the data flag value has changed, it is determined that a change in the application data has been monitored, and the data verification step is re-executed on the changed application data.

7. The application verification method according to claim 6, characterized in that: Later also includes: In response to determining that the application data passes the data verification step, a certificate verification step is performed, wherein the certificate verification step is a certificate verification step between the application and a server connected to the application; In response to determining that the certificate verification step passes, the application is determined to be a secure application.

8. The application verification method according to claim 7, characterized in that: The certificate verification steps include: Sending the first verification information of the application to the server, and obtaining the second verification information from the server; Verifying the second verification information based on a preset certificate verification rule; In response to determining that the second verification information is successfully verified and determining that the server successfully verifies the first verification information, third prompt information is generated to prompt the user that the application is a secure application.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

10. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 9.