[go: up one dir, main page]

CN114629664A - APP (application) control method and device based on diagnostic equipment - Google Patents

APP (application) control method and device based on diagnostic equipment Download PDF

Info

Publication number
CN114629664A
CN114629664A CN202210527732.0A CN202210527732A CN114629664A CN 114629664 A CN114629664 A CN 114629664A CN 202210527732 A CN202210527732 A CN 202210527732A CN 114629664 A CN114629664 A CN 114629664A
Authority
CN
China
Prior art keywords
communication interface
app
management
certificate
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210527732.0A
Other languages
Chinese (zh)
Inventor
蒋永鑫
尹欣荣
罗源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xingka Software Technology Development Co Ltd
Original Assignee
Shenzhen Xingka Software Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xingka Software Technology Development Co Ltd filed Critical Shenzhen Xingka Software Technology Development Co Ltd
Priority to CN202210527732.0A priority Critical patent/CN114629664A/en
Publication of CN114629664A publication Critical patent/CN114629664A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Technology Law (AREA)
  • Multimedia (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application relates to the technical field of automobile diagnosis, and discloses an APP (application) control method and device based on diagnosis equipment, which comprises the diagnosis equipment, a control APP and a display screen, wherein the diagnosis equipment can realize multiple functions, each function is provided with multiple schemes, the diagnosis equipment can execute the content of the schemes, an internal system of the diagnosis equipment is provided with a first communication interface, and the first communication interface is used for transmitting and receiving instructions; the management and control APP is provided with a second communication interface used for transmitting and receiving instructions, wherein the first communication interface and the second communication interface have the same structure and correspond to each other, so that data interaction between the management and control APP and an internal system of the diagnosis device can be realized; the display device is connected with the management and control APP and used for displaying multiple functions and multiple schemes, the management and control APP is used for data interaction with an internal system of the diagnosis device, multiple functions inside the diagnosis device are called, and the scheme corresponding to each function is obtained for a user to use.

Description

APP (application) control method and device based on diagnostic equipment
Technical Field
The application relates to the technical field of automobile diagnosis, in particular to an APP control method and device based on diagnosis equipment.
Background
With the addition of WTO and domestic economic speed-increasing high-level operation, the automobile needs to maintain quite high heat all the time. With the economic growth and the improvement of international competitiveness, the commercial vehicle grows steadily and the market competition structure tends to be reasonable, and the demand is increased rapidly due to the comprehensive effect of great reduction of the price of the passenger vehicle and improvement of the per capita income. Therefore, in the case of the sudden increase of the automobile demand, the diagnostic equipment of the automobile is increased along with the increase of the automobile brand.
The diagnostic equipment has a plurality of types, which are produced and designed based on different requirements of users, and mainly the internal system of the diagnostic equipment is structurally designed, so that some diagnostic equipment can realize a small number of functions, some diagnostic equipment can realize a plurality of functions, and the more functions are supported, the higher the price of the diagnostic equipment is.
Since the diagnostic equipment is required to meet the market demand, different types of diagnostic equipment are designed, but the functions of the purchased diagnostic equipment cannot be expanded, the internal system of the diagnostic equipment needs to be changed, if the system is changed according to the user demand, the program needs to be burnt again, and the internal system of the diagnostic equipment needs to be changed, so that a great deal of potential safety hazards exist, and the diagnostic equipment is wasted in terms of both human resources and material resources.
Disclosure of Invention
The main purpose of the present application is to provide an APP management and control method and apparatus based on a diagnostic device, which aim to solve the above technical problems existing in the prior art.
The application provides an APP control method based on diagnostic equipment, and the improvement is that the APP control method comprises the following steps:
setting a first communication interface in an internal system of the diagnosis equipment, wherein the diagnosis equipment can realize multiple functions, and the multiple functions can be displayed on a display screen;
setting a second communication interface at a management control APP, wherein the first communication interface and the second communication interface have the same structure and correspond to each other;
the internal system of the diagnostic equipment is provided with a plurality of schemes for each function, wherein each scheme can realize data transmission through a first communication interface and a second communication interface and can be displayed on the display screen;
selecting a function according to the display content of the display screen, wherein the function is a first function, and triggering a second communication interface of the management and control APP to send a command of the first function;
a second communication interface of the diagnosis equipment receives an instruction of the first function and triggers a plurality of schemes corresponding to the first function;
the internal system of the diagnosis equipment transmits a plurality of schemes to a second communication interface of the management control APP through a first communication interface;
the second communication interface obtains a plurality of schemes and sends the schemes to the display screen for displaying;
selecting a scheme according to the display content of the display screen, wherein the scheme is a first scheme, and transmitting an instruction of the first scheme to the first communication interface through the second communication interface;
the first communication interface receives the instruction of the first scheme, and the diagnosis device executes the content of the first scheme according to the instruction so as to complete the calling of the internal system of the diagnosis device.
As an improvement of the technical scheme, the method further comprises the following steps:
setting a certificate on the diagnostic device;
sending the certificate to a second communication interface of the management and control APP through the first communication interface;
the second communication interface of the management and control APP receives the certificate;
the management and control APP fuses the certificates.
As a further improvement of the above technical solution, the setting of the certificate on the diagnostic device includes:
the diagnostic device utilizes the RSA algorithm to create a certificate.
As a further improvement of the above technical solution, the step of making the certificate by the diagnostic device using the RSA algorithm includes:
the diagnostic equipment generates a security certificate by using a key slot tool, wherein the key slot tool is a keytool;
and/or the diagnostic device generates a security certificate by utilizing an Open source software tool, wherein the Open source software is Open SSL.
As a further improvement of the above technical solution, after generating a security certificate and verifying the security certificate, the verification method includes the steps of:
storing a file format of the security certificate using a CER file;
verifying the security certificate using a digital signature mapping public key with a public certificate in the CER file;
and if the security certificate is correct, fusing the security certificate and the management and control APP.
As a further improvement of the above technical solution, the fusing the certificate by the management and control APP includes the following steps:
storing the security certificate in a file directory of the management and control APP;
compiling the security certificate in the control APP to generate a second APK, wherein the APK is in an application file format of an android system;
if the management and control APP does not have the first APK, directly saving a second APK in a file directory of the management and control APP, and completing the fusion of the management and control APP and the security certificate;
if the management and control APP includes a first APK, a second APK is used to replace the first APK, and the integration of the management and control APP and the security certificate is completed.
As a further improvement of the above technical solution, when the first communication interface and the second communication interface transmit information, the management and control APP and the diagnostic device implement data interaction through Binder communication.
The application also provides an APP management and control device based on diagnostic equipment, include:
the diagnosis device can realize multiple functions, each function is provided with multiple schemes, the diagnosis device can execute the content of the schemes, and an internal system of the diagnosis device is provided with a first communication interface used for transmitting and receiving instructions;
the diagnosis device comprises a management and control APP, a first communication interface and a second communication interface, wherein the management and control APP is provided with the second communication interface, and the second communication interface is used for transmitting and receiving instructions, the first communication interface and the second communication interface have the same structure and correspond to each other, so that the management and control APP can perform data interaction with an internal system of the diagnosis device;
the display screen, display device with the management and control APP is connected for show multiple functions and a plurality of scheme.
The application also provides a computer device, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above APP control methods based on the diagnostic device when executing the computer program.
The present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the above-mentioned diagnosis device-based APP management and control methods.
The beneficial effect of this application does:
1. the method comprises the steps that a first communication interface supporting multiple protocols is arranged on an internal system of the diagnosis equipment, and the external equipment can call multiple functions of the internal system of the diagnosis equipment according to the first communication interface to obtain a scheme corresponding to each function.
2. Adding a control APP for calling a plurality of functions in the diagnostic equipment and obtaining a scheme corresponding to each function for a user to use, wherein the control APP is provided with a second communication interface and can be in butt joint with the second communication interface of the diagnostic equipment to provide a data interaction link.
3. The safety certificate is added in the diagnosis equipment, and when the management and control APP and the diagnosis equipment perform data interaction, the safety of an internal system of the diagnosis equipment can be ensured.
4. The data interaction of the control APP and the diagnosis equipment is realized in a Binder communication mode, and the data is transmitted more quickly and efficiently.
Drawings
Fig. 1 is a schematic flowchart of an APP management and control method based on a diagnostic device according to an embodiment of the present application.
Fig. 2 is a partial flowchart of an APP management and control method based on a diagnostic device according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of an APP management and control device based on a diagnostic device according to an embodiment of the present application.
Fig. 4 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
1. Diagnostic equipment, 2, first communication interface, 3, management and control APP, 4, second communication interface, 5, display screen.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Example one
As shown in fig. 1, the present application provides an APP management and control method based on a diagnostic device, including:
s1: a first communication interface 2 is arranged in an internal system of the diagnosis device 1, wherein the diagnosis device 1 can realize multiple functions, and the multiple functions can be displayed on a display screen 5;
s2: a second communication interface 4 is arranged at a management and control APP 3, wherein the first communication interface 2 and the second communication interface 4 have the same structure, and the first communication interface 2 corresponds to the second communication interface 4;
s3: the internal system of the diagnostic device 1 sets a plurality of schemes for each function, wherein each scheme can realize data transmission through the first communication interface 2 and the second communication interface 4, and each scheme can be displayed on the display screen 5;
s4: selecting a function according to the display content of the display screen 5, wherein the function is a first function, and triggering a second communication interface 4 of the management and control APP 3 to send an instruction of the first function;
s5: the second communication interface 4 of the diagnosis device 1 receives the instruction of the first function and triggers a plurality of schemes corresponding to the first function;
s6: the internal system of the diagnosis device 1 transmits a plurality of schemes to a second communication interface 4 of the management APP 3 through a first communication interface 2;
s7: the second communication interface 4 obtains a plurality of schemes and sends the schemes to the display screen 5 for displaying;
s8: selecting a scheme according to the display content of the display screen 5, wherein the scheme is a first scheme, and transmitting an instruction of the first scheme to the first communication interface 2 through the second communication interface 4;
s9: the first communication interface 2 receives the instruction of the first scheme, and the diagnostic device 1 executes the content of the first scheme according to the instruction so as to complete the calling of the internal system of the diagnostic device 1.
In the above embodiment, the diagnostic device 1 may implement multiple functions, where the multiple functions include, but are not limited to, screen capturing, ROOT acquisition, system time setting, network address black and white list adding, floating window control, memory card data formatting, user certificate installing, USB device uninstalling, Email account configuration, and system language modification, each function supports at least one protocol, and the protocol may be used for transmitting instructions of the functions through the first channel interface 2 and the second channel interface 4, a first function of the present application is exemplified as a screen capturing function, and according to a user's requirement, multiple schemes are designed for the screen capturing function in an internal system of the diagnostic device 1, including a screen capturing shape and a screen capturing form, and for the screen capturing shape, a square screen capturing, a rectangular screen capturing, a circular screen capturing, or any shape screen capturing can be selected; the forms of the screen capture include screen capture by double clicking the diagnostic device by using a finger joint, screen capture by shaking the diagnostic device, pulling down the system menu interface to select a conventional screen capture, and screen capture by aligning any gesture with the screen and keeping the one-second stop.
According to the screen capture function and the multiple screen capture scheme that display screen 5 shows, after the user selected the screen capture scheme, for example, first scheme is circular screen capture scheme, can trigger the instruction of circular screen capture scheme, management and control APP 3 passes through the instruction of the circular screen capture scheme of second communication interface 4 transmission extremely first communication interface 2, the instruction of circular screen capture scheme is received to first communication interface 2, diagnostic equipment 1 discernment instruction after discerning circular screen capture scheme, implements the content of circular screen capture scheme through the procedure, can obtain circular screen capture picture, sends the screen capture picture to display screen 5 and shows through the display screen. This application is interacted with diagnostic equipment 1 through management and control APP 3, calls the function of diagnostic equipment 1 internal system to satisfy user's demand, extend the expansion to the function that diagnostic equipment 1 has, improve user's experience and feel.
Since the governing APP 3 and the diagnostic apparatus 1 are two different processes, and the user wants to invoke the function inside the diagnostic apparatus 1, the authority of the internal system of the diagnostic apparatus 1 must be changed, but it is unsafe to modify the authority of the internal system, so a communication link needs to be established between the governing APP 3 and the diagnostic apparatus 1 to obtain a scheme corresponding to each function.
As shown in fig. 2, the APP management and control method of the present application further includes:
s10: setting a certificate on the diagnostic device 1;
s11: sending the certificate to a second communication interface 4 of the management and control APP 3 through the first communication interface 2;
s12: the second communication interface 4 of the management and control APP 3 receives the certificate;
s13: and the management and control APP 3 fuses the certificates.
Further, the diagnostic apparatus 1 uses RSA algorithm to make the certificate, which includes the following steps:
the diagnostic device 1 generates a security certificate by using a key slot tool, wherein the key slot tool is a keytool;
and/or the diagnostic device 1 generates a security certificate by using an Open source software tool, wherein the Open source software is Open SSL.
In the above embodiments, a certificate is a digitally signed statement that binds the value of a public key to the identity of the person, device or service holding the corresponding private key.
keytool is a key and certificate management tool. Keytool can generate public and private keys and help users manage their own public/private key pairs and associated certificates for self-authentication (by digital signature) (a user authenticates himself to another user/service) or data integrity and authentication services. Allowing users to store the public keys (in the form of certificates) of their communication peers.
keytools may create and manage key entries of a key repository, each key entry containing a private key and an associated certificate chain. The first certificate in the certificate chain contains a public key corresponding to the private key. When the key is first generated, the certificate chain contains only one element, namely the self-signed certificate.
Self-signed certificate: the issuer is the same as the principal, wherein the issuer is the signer and the principal is the entity to which the public key authenticated by the certificate belongs. When the call-key command is invoked to generate a new public/private key pair, the public key is also packaged into the self-signed certificate. When the certificate signing request is sent to a Certificate Authority (CA) after a certificate signing request is generated into a certificate request file by a CSR file, the CA generates a certificate, the certificate is imported into a keytool, and a certificate chain of the certificate generated by the CA replaces a self-signed certificate. At the bottom of the certificate chain is the certificate issued by the CA that certifies the subject public key. The next certificate in the certificate chain is the certificate used to authenticate the CA public key.
In many cases, this is a self-signed certificate, i.e. a certificate from the CA that certifies its own public key and is the last certificate in the certificate chain. In other cases, the CA may return a chain of certificates. The certificate at the bottom of the returned certificate chain is the same, i.e., a certificate signed by the CA, and the public key of the key item can be authenticated. But the second certificate in the certificate chain is signed by a different CA and is generated by other means, for example, a certificate request file generated by sending to a CSR file, a certificate authenticated by the public key of the CA. The next certificate in the certificate chain will be the certificate that authenticates the public key of the second CA, and so on until the self-signed "root" certificate is reached. Thus, each certificate in the certificate chain (from the first onward) authenticates the public key of the signer of the preceding certificate in the certificate chain, ensuring the security of the certificates.
In addition, the Open SSL used in the application is an Open secure socket layer protocol and is also a secure socket layer password library, which contains a password algorithm, a common secret key and certificate packaging management function and an SSL protocol and provides rich application programs for testing or other purposes. Of the components of Open SSL, the most important is the application of Open SSL, because the application of Open SSL provides relatively comprehensive functions, and the application of Open SSL mainly includes key generation, certificate management, format conversion, data encryption and signature, SSL testing, and other auxiliary configuration functions. Open SSL used in the application can generate a key, and the encryption algorithm, communication key negotiation and server authentication work are completed before application layer protocol communication through an SSL protocol. After that, the data transmitted by the application layer protocol is encrypted, so that the communication privacy can be ensured.
After generating the security certificate, the method verifies the security certificate, and the verification method comprises the following steps:
storing a file format of the security certificate using a CER file;
verifying the security certificate using a digital signature mapping public key with a public certificate in the CER file;
and if the security certificate is correct, fusing the security certificate and the management and control APP.
In the above embodiment, the secret keys are divided into a symmetric secret key and an asymmetric secret key, and the asymmetric secret key encryption technology uses a pair of matched secret keys for encryption and decryption, and has two secret keys, one is a public key and the other is a private key.
Files encrypted with a public key can only be decrypted with the private key, while files encrypted with the private key can only be decrypted with the public key. The public key is made public by its owner, while the private key must be kept secret. To send a secure message, the sender must encrypt the data using the recipient's public key, and once encrypted, only the recipient can decrypt it using its private key. Conversely, the user can also process the data with his own private key. In other words, the operation of the key pair is optionally directional. This provides the basis for a "digital signature" that a user can process data using his private key, if the user is to process the data using his own public key. Since only the owner himself knows the private key, the processed message forms an electronic signature: a document that cannot be generated by an unauthorized person, a digital certificate, which contains public key information to confirm the identity of the user who owns the key pair.
Digital signature (also called public key digital signature, electronic signature) is a common physical signature similar to that written on paper, but is implemented by using the technology in the field of public key encryption, and is used as a method for identifying digital information. A set of digital signatures typically defines two complementary operations, one for signing and the other for verification.
In the above embodiment, the process of verifying the security certificate is as follows: if the generated first certificate is the first certificate, the diagnostic equipment 1 generates a first abstract by using a segment of text information or a string of numbers by using a HASH function, and encrypts the first abstract by using a private key to generate a digital signature;
attaching the digital signature to a first certificate and sending the digital signature to the management APP;
the management and control APP 3 receives the first certificate attached with the digital signature and stores a file format of a public key certificate by using a CER file;
the management and control APP 3 decrypts the digital signature by using the public key to obtain a second abstract, wherein the content of the second abstract is a segment of text information or a string of numbers;
and decrypting the second digest through the HASH function to obtain a second certificate, if the first digest is consistent with the second digest and the first certificate is consistent with the second certificate, proving that the second certificate received by the management and control APP 3 is sent by the diagnostic device 1, and after the proving is successful, the first certificate and the second certificate are collectively called as a security certificate.
In addition, the managing APP 3 fusing the certificate includes the following steps:
storing the security certificate in a file directory of the management and control APP 3;
compiling the security certificate in the management and control APP 3 to generate a second APK, wherein the APK is in an application file format of an android system and is also called as an installation package;
if the management and control APP 3 does not have the first APK, directly saving a second APK in a file directory of the management and control APP 3, and completing fusion of the management and control APP 3 and the security certificate;
if management and control APP 3 includes first APK, then use second APK to replace first APK, accomplish management and control APP 3 with the integration of security certificate.
In the above embodiment, in order to ensure the security of the internal system of the diagnostic device 1, the keytool and the Open SSL tool are used to generate a secure certificate in the present application, the secure certificate is fused into the management and control APP 3, the certificate in the management and control APP 3 is compiled, and a second APK is generated, wherein the APK is stored in the file directory of the management and control APP 3, so that it can be ensured that the authority of the internal system of the diagnostic device 1 is not modified when the management and control APP 3 calls the scheme of the internal system of the diagnostic device 1, and under the security guarantee, the internal systems of the management and control APP 3 and the diagnostic device 1 can be used for data interaction, a plurality of functions of the internal system of the diagnostic device 1 are called, and a plurality of schemes corresponding to the functions are obtained.
Finally, when the first communication interface 2 and the second communication interface 4 transmit information, the management and control APP 3 and the diagnostic device 1 realize data interaction through Binder communication.
In the above embodiment, the Binder is an Android cross-process communication mode, and is a bridge for connecting the Service Manager to various managers (e.g., Window Manager, Activity Manager, etc.). The Binder communication provides data exchange among processes and is also suitable for data exchange among the same process. The process of the management and control APP 3 and the process of the diagnostic equipment 1 are different, and data interaction can be realized through Binder communication, so that data transmission between the two is rapid and efficient.
Example two
As shown in fig. 3, the present application further discloses an APP management and control device based on a diagnostic device, including:
the diagnosis device 1 can realize multiple functions, each function is provided with multiple schemes, the diagnosis device 1 can execute the content of the schemes, an internal system of the diagnosis device 1 is provided with a first communication interface 2, and the first communication interface 2 is used for transmitting and receiving instructions;
the management and control APP 3 is provided with a second communication interface 4, the second communication interface 4 is used for transmitting and receiving instructions, the first communication interface 2 and the second communication interface 4 have the same structure, and the first communication interface 2 corresponds to the second communication interface 4, so that the management and control APP 3 and an internal system of the diagnostic device 1 can perform data interaction;
display screen 5, display screen 5 with management and control APP 3 connects for show multiple functions and a plurality of scheme.
EXAMPLE III
As shown in fig. 4, the present application further provides a computer device, which may be a server, and the internal structure of the computer device may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operating system and the running of computer programs in the non-volatile storage medium. The database of the computer device is used for storing all data required by the process of the APP control method based on the diagnosis device. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a diagnostic device based APP management and control method.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is only a block diagram of some of the structures associated with the present solution and is not intended to limit the scope of the present solution as applied to computer devices.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for APP management and control based on the diagnostic device is implemented.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synch link) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. An APP control method based on diagnosis equipment is characterized by comprising the following steps:
setting a first communication interface in an internal system of the diagnosis equipment, wherein the diagnosis equipment can realize multiple functions, and the multiple functions can be displayed on a display screen;
setting a second communication interface at a management control APP, wherein the first communication interface and the second communication interface have the same structure, and the first communication interface corresponds to the second communication interface;
the internal system of the diagnostic equipment is provided with a plurality of schemes for each function, wherein each scheme can realize data transmission through a first communication interface and a second communication interface and can be displayed on the display screen;
selecting a function according to the display content of the display screen, wherein the function is a first function, and triggering a second communication interface of the management and control APP to send a command of the first function;
a second communication interface of the diagnosis equipment receives an instruction of the first function and triggers a plurality of schemes corresponding to the first function;
the internal system of the diagnosis equipment transmits a plurality of schemes to a second communication interface of the management and control APP through a first communication interface;
the second communication interface obtains a plurality of schemes and sends the schemes to the display screen for displaying;
selecting a scheme according to the display content of the display screen, wherein the scheme is a first scheme, and transmitting an instruction of the first scheme to the first communication interface through the second communication interface;
the first communication interface receives the instruction of the first scheme, and the diagnosis device executes the content of the first scheme according to the instruction so as to complete the calling of the internal system of the diagnosis device.
2. The diagnosis device-based APP control method according to claim 1, further comprising the steps of:
setting a certificate on the diagnostic device;
sending the certificate to a second communication interface of the management and control APP through the first communication interface;
the second communication interface of the management and control APP receives the certificate;
the management and control APP fuses the certificates.
3. The APP control method based on the diagnostic device according to claim 2, wherein the setting of the certificate on the diagnostic device includes:
the diagnostic device utilizes the RSA algorithm to create a certificate.
4. The APP control method based on the diagnostic device as claimed in claim 3, wherein the step of the diagnostic device making the certificate by using RSA algorithm includes:
the diagnostic equipment generates a security certificate by using a key slot tool, wherein the key slot tool is a keytool;
and/or the diagnostic device generates a security certificate by utilizing an Open source software tool, wherein the Open source software is Open SSL.
5. The APP control method based on the diagnostic device according to claim 4, wherein after the security certificate is generated and verified, the verification method includes the following steps:
storing a file format of the security certificate using a CER file;
verifying the security certificate using a digital signature mapping public key with a public certificate in the CER file;
and if the security certificate is correct, fusing the security certificate and the management and control APP.
6. The APP control method based on the diagnostic device according to claim 5, wherein the control APP fusing the security certificate comprises the following steps:
storing the security certificate in a file directory of the management and control APP;
compiling the security certificate in the control APP to generate a second APK, wherein the APK is in an application file format of an android system;
if the management and control APP does not have the first APK, directly saving a second APK in a file directory of the management and control APP, and completing the fusion of the management and control APP and the security certificate;
if the management and control APP includes a first APK, a second APK is used to replace the first APK, and the integration of the management and control APP and the security certificate is completed.
7. The APP control method based on the diagnosis device as recited in claim 1, wherein when the first communication interface and the second communication interface transmit information, the control APP and the diagnosis device implement data interaction through Binder communication.
8. The utility model provides a APP management and control device based on diagnostic equipment which characterized in that includes:
the diagnostic equipment can realize multiple functions, each function is provided with multiple schemes, the diagnostic equipment can execute the content of the schemes, and an internal system of the diagnostic equipment is provided with a first communication interface used for transmitting and receiving instructions;
the diagnosis device comprises a control APP, a first communication interface and a second communication interface, wherein the control APP is used for carrying out data interaction with an internal system of the diagnosis device and is provided with the second communication interface, the first communication interface and the second communication interface have the same structure and correspond to each other, and the second communication interface is used for transmitting and receiving instructions;
and the display screen is connected with the management and control APP and used for displaying multiple functions and multiple schemes.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of a diagnostic device based APP management method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, implements the steps of the diagnostic device-based APP management method of any one of claims 1 to 7.
CN202210527732.0A 2022-05-16 2022-05-16 APP (application) control method and device based on diagnostic equipment Pending CN114629664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210527732.0A CN114629664A (en) 2022-05-16 2022-05-16 APP (application) control method and device based on diagnostic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210527732.0A CN114629664A (en) 2022-05-16 2022-05-16 APP (application) control method and device based on diagnostic equipment

Publications (1)

Publication Number Publication Date
CN114629664A true CN114629664A (en) 2022-06-14

Family

ID=81907330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210527732.0A Pending CN114629664A (en) 2022-05-16 2022-05-16 APP (application) control method and device based on diagnostic equipment

Country Status (1)

Country Link
CN (1) CN114629664A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990772A (en) * 2017-03-30 2017-07-28 深圳市元征科技股份有限公司 OBD diagnostic devices and Vehicular diagnostic method
CN107526353A (en) * 2017-09-15 2017-12-29 杜明生 A kind of automotive diagnostic system and method
CN111078326A (en) * 2019-12-28 2020-04-28 深圳市元征科技股份有限公司 Method, device and equipment for calling functional module
CN111181928A (en) * 2019-12-14 2020-05-19 深圳市元征科技股份有限公司 Vehicle diagnosis method, server, and computer-readable storage medium
US20200339139A1 (en) * 2018-01-08 2020-10-29 Autel Intelligent Technology Corp., Ltd. Automobile diagnostic method, apparatus, device and system, and diagnostic connection device
CN112585549A (en) * 2020-02-29 2021-03-30 华为技术有限公司 Fault diagnosis method and device and vehicle
CN112597452A (en) * 2021-01-05 2021-04-02 Oppo广东移动通信有限公司 Application program interface calling method and device, storage medium and electronic equipment
CN113625695A (en) * 2021-08-30 2021-11-09 重庆长安汽车股份有限公司 Vehicle real-vehicle control function diagnosis method and system based on android service
CN113917904A (en) * 2021-07-23 2022-01-11 山东豪驰智能汽车有限公司 A design method for fault diagnosis of electric vehicles using mobile phone APP

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990772A (en) * 2017-03-30 2017-07-28 深圳市元征科技股份有限公司 OBD diagnostic devices and Vehicular diagnostic method
CN107526353A (en) * 2017-09-15 2017-12-29 杜明生 A kind of automotive diagnostic system and method
US20200339139A1 (en) * 2018-01-08 2020-10-29 Autel Intelligent Technology Corp., Ltd. Automobile diagnostic method, apparatus, device and system, and diagnostic connection device
CN111181928A (en) * 2019-12-14 2020-05-19 深圳市元征科技股份有限公司 Vehicle diagnosis method, server, and computer-readable storage medium
CN111078326A (en) * 2019-12-28 2020-04-28 深圳市元征科技股份有限公司 Method, device and equipment for calling functional module
CN112585549A (en) * 2020-02-29 2021-03-30 华为技术有限公司 Fault diagnosis method and device and vehicle
CN112597452A (en) * 2021-01-05 2021-04-02 Oppo广东移动通信有限公司 Application program interface calling method and device, storage medium and electronic equipment
CN113917904A (en) * 2021-07-23 2022-01-11 山东豪驰智能汽车有限公司 A design method for fault diagnosis of electric vehicles using mobile phone APP
CN113625695A (en) * 2021-08-30 2021-11-09 重庆长安汽车股份有限公司 Vehicle real-vehicle control function diagnosis method and system based on android service

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YOUQI GU: ""VOBC Data Storage and Online Diagnosing System Based on Data Cloud"", 《2015 IEEE TWELFTH INTERNATIONAL SYMPOSIUM ON AUTONOMOUS DECENTRALIZED SYSTEMS》 *
陈新等: "基于S3C44B0X的汽车故障设备诊断接口的扩展实现", 《湖南人文科技学院学报》 *

Similar Documents

Publication Publication Date Title
CN110933108B (en) Data processing method and device based on block chain network, electronic equipment and storage medium
CN108768664B (en) Key management method, device, system, storage medium and computer equipment
KR101658501B1 (en) Digital signature service system based on hash function and method thereof
JP5105291B2 (en) Long-term signature server, long-term signature terminal, long-term signature terminal program
US6895501B1 (en) Method and apparatus for distributing, interpreting, and storing heterogeneous certificates in a homogenous public key infrastructure
CN111884805A (en) Data hosting method and system based on block chain and distributed identity
CN109495445A (en) Identity identifying method, device, terminal, server and medium based on Internet of Things
CN102915263A (en) Data backup method, system and equipment
JP2020014168A (en) Electronic signature system, certificate issuing system, key management system, and electronic certificate issuing method
CN107124279A (en) The method and device of erasing terminal data
KR20090071307A (en) Certificate verification method, certificate management method and terminal performing the same
JP6571890B1 (en) Electronic signature system, certificate issuing system, certificate issuing method and program
CN113132977A (en) Network distribution method, network distribution system and computer readable storage medium
JP4823704B2 (en) Authentication system, authentication information delegation method and security device in the same system
JP5700423B2 (en) Long-term signature terminal, long-term signature server, long-term signature terminal program, and long-term signature server program
JP4998314B2 (en) Communication control method and communication control program
CN118606918A (en) Authentication method, device, electronic device, storage medium and program product
CN116170759B (en) A local area network access method and system based on WeChat
CN116566716B (en) Cloud system authentication method, third party system authentication method, device and equipment
CN114629664A (en) APP (application) control method and device based on diagnostic equipment
CN103370900B (en) A kind of information processor
CN115378623B (en) Identity authentication method, device, equipment and storage medium
JP2014039193A (en) Information processor, management device, information processing method and program
JP2005318269A (en) Electronic certificate management system, electronic certificate management method, and server
CN102521164B (en) Access control method of mobile memory, mobile memory and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220614

RJ01 Rejection of invention patent application after publication