CN112052030A - Interface authority configuration method, storage medium and system of vehicle-mounted application program - Google Patents

Interface authority configuration method, storage medium and system of vehicle-mounted application program Download PDF

Info

Publication number
CN112052030A
CN112052030A CN202010858660.9A CN202010858660A CN112052030A CN 112052030 A CN112052030 A CN 112052030A CN 202010858660 A CN202010858660 A CN 202010858660A CN 112052030 A CN112052030 A CN 112052030A
Authority
CN
China
Prior art keywords
application program
interface
vehicle
authority
accessible
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
CN202010858660.9A
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.)
Dongfeng Motor Co Ltd
Original Assignee
Dongfeng Motor 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 Dongfeng Motor Co Ltd filed Critical Dongfeng Motor Co Ltd
Priority to CN202010858660.9A priority Critical patent/CN112052030A/en
Publication of CN112052030A publication Critical patent/CN112052030A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • 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/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/54Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by adding security routines or objects to programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method, a storage medium and a system for configuring interface authority of a vehicle-mounted application program, wherein the method comprises the following steps: responding to an application program interface authority configuration instruction, and acquiring characteristic information of an application program, wherein the characteristic information comprises functional data of the application program; inquiring all interface information in the vehicle controller, and selecting an interface which has a matching relation with the functional data as an accessible interface; summarizing the authority configuration information of all accessible interfaces to obtain an accessible interface authority configuration list of the application program; and configuring the authority of part or all of the accessible interfaces in the accessible interface authority configuration list according to the functional data to obtain the authority configuration result of the accessible interfaces of the application program. According to the scheme, human resources are saved during the configuration of the interface authority of the application program, the efficiency of the configuration of the interface authority of the application program is greatly improved, and meanwhile, the safety of the interface calling process is improved by uniformly managing the interface authority.

Description

Interface authority configuration method, storage medium and system of vehicle-mounted application program
Technical Field
The invention relates to the technical field of vehicle intelligent control, in particular to a method, a storage medium and a system for configuring interface authority of a vehicle-mounted application program.
Background
In a vehicle controller of a vehicle, a plurality of application programs need to be installed, and the application programs are pre-installed in the vehicle controller before the vehicle is produced and are also installed subsequently after the vehicle leaves a factory. Each application program has different access rights to each interface in the car machine controller. For example, for a human-computer interaction related application program, the human-computer interaction related application program can access a related interface of audio-video information transmission, and the access right can include data reading, data writing and the like.
In the prior art, when the car machine controller installs the application program, a user needs to set the interface access permissions of the application program one by one, the number of the interfaces is increasing with the increase of intelligent accessories in a vehicle, the manual setting of the access permissions of the application program to each interface is needed every time the application program is installed, human resources are consumed, the efficiency is too low, and the consistency of the configuration results of the application interface permissions of different car machine controllers is poor. In addition, there is a risk that the application program calls the car machine/vehicle interface by mistake, maliciously, and the like.
Disclosure of Invention
The invention aims to provide a method, a storage medium and a system for configuring interface authority of a vehicle-mounted application program, and aims to solve the technical problems that in the prior art, the vehicle-mounted application program interface authority configuration process consumes manpower and is low in efficiency, and interface miscalling and malicious calling exist.
Therefore, in some embodiments of the present invention, a method for configuring interface permissions of a vehicle-mounted application is provided, including the following steps:
responding to an application program interface authority configuration instruction, and acquiring characteristic information of an application program, wherein the characteristic information comprises functional data of the application program;
inquiring all interface information in the vehicle controller, and selecting an interface which has a matching relation with the functional data as an accessible interface;
summarizing the authority configuration information of all accessible interfaces to obtain an accessible interface authority configuration list of the application program;
configuring the authority of part or all of the accessible interfaces in the accessible interface authority configuration list according to the functional data to obtain an authority configuration result of the accessible interfaces of the application program.
Optionally, the method for configuring interface permissions of a vehicle-mounted application further includes the following steps:
acquiring authority configuration lists of all interfaces in the vehicle machine controller;
and fusing the permission configuration result of the accessible interface of the application program with permission configuration lists of all interfaces in the vehicle machine controller to obtain permission configuration results of all interfaces of the application program.
Optionally, in the interface authority configuration method for a vehicle-mounted application, the feature information of the application further includes identity data of the application, and the method further includes the following steps:
the permission configuration result of the accessible interface and/or the permission configuration results of all interfaces of the application program are associated with the identity data of the application program.
Optionally, the method for configuring interface permissions of a vehicle-mounted application further includes the following steps:
acquiring a secret key of the application program as a preset secret key for storage, wherein the secret key is configured with an expiration date and is associated with identity data of the application program; the key is used to determine whether the application has permission to access the accessible interface.
The invention also provides an interface calling method of the vehicle-mounted application program in a part of embodiments, which comprises the following steps:
responding to a starting signal of the vehicle-mounted machine controller, and acquiring an authority configuration result of an accessible interface of the application program;
and distributing the access authority of part or all of the accessible interfaces for the application program according to the authority configuration result of the accessible interfaces.
Optionally, the interface invoking method for the vehicle-mounted application further includes the following steps:
acquiring permission configuration results of all interfaces of the application program;
and distributing the access authority of all interfaces for the application program according to the authority configuration result of the accessible interfaces.
Optionally, in the interface calling method for the vehicle-mounted application program, the permission configuration result of the accessible interface of the application program and/or the permission configuration results of all interfaces are obtained as follows:
acquiring identity information of the application program;
and extracting the authority configuration result of the accessible interface and/or the authority configuration results of all interfaces associated with the identity information of the application program.
Optionally, in the interface invoking method for a vehicle-mounted application, the step of assigning an access right of a part or all of accessible interfaces to the application according to a right configuration result of the accessible interfaces includes:
determining a preset secret key and an expiration date of the application program according to the identity information of the application program;
and acquiring a secret key of the application program, and if the secret key is the same as the preset secret key and the current time is within the valid period, allocating an access authority of an accessible interface to the application program.
Some embodiments of the present invention further provide a storage medium, where the storage medium stores a program instruction, and a computer reads the program instruction and then executes the interface authority configuration method of the vehicle-mounted application program.
Some embodiments of the present invention further provide a system for configuring interface permissions of a vehicle-mounted application, including at least one processor and at least one memory; at least one memory is stored with program instructions, and at least one processor reads the program instructions and then executes the interface authority configuration method of the vehicle-mounted application program.
Some embodiments of the present invention further provide a storage medium, where the storage medium stores a program instruction, and a computer reads the program instruction and then executes the interface calling method of the vehicle-mounted application program.
Some embodiments of the present invention further provide an interface calling system for a vehicle-mounted application, including at least one processor and at least one memory; at least one memory is stored with program instructions, and at least one processor reads the program instructions and then executes the interface calling method of the vehicle-mounted application program.
Compared with the prior art, the technical scheme provided by the embodiment of the invention at least has the following beneficial effects: the scheme of the invention can automatically screen the interfaces which can be accessed by the application program according to the characteristic data of the application program in the interface authority configuration process of the application program, collect the authority configuration of the accessible interfaces into an integral accessible interface authority configuration list, and automatically and integrally configure the authority of each interface in the accessible interface authority configuration list, thereby avoiding the labor waste caused by manual one-by-one operation, greatly improving the efficiency of the interface authority configuration of the application program, ensuring the consistency of each vehicle machine leaving the factory to the authorization management of the interface of the application program, and avoiding the misoperation and the low efficiency of manual authorization. In addition, the scheme of the invention can ensure that the application program can only access the interface related to the function of the application program by carrying out uniform preset authority management on the interface, avoid the mistaken calling or malicious calling of the application program to the interface and ensure the running safety and information safety of vehicles and vehicle machines.
Drawings
Fig. 1 is a flowchart of a method for configuring interface permissions of a vehicle-mounted application according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for configuring interface permissions of a vehicle application according to another embodiment of the present invention;
fig. 3 is a flowchart of an interface calling method of a vehicle application according to an embodiment of the present invention;
fig. 4 is a flowchart of an interface calling method of a vehicle application according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating an interface calling process of a vehicle application according to another embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware connection relationship of an interface authority configuration system of a vehicle-mounted application according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware connection relationship of an interface call system of a vehicle-mounted application according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be further described with reference to the accompanying drawings. In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description of the present invention, and do not indicate or imply that the device or assembly referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Wherein the terms "first position" and "second position" are two different positions.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two components can be directly connected or indirectly connected through an intermediate medium, and the two components can be communicated with each other. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. In the following embodiments provided in the present application, unless mutually contradictory, different technical solutions may be mutually combined, and technical features thereof may be mutually replaced.
Some embodiments of the present invention provide a method for configuring interface permissions of a vehicle-mounted application, which may be applied to a vehicle-mounted application controller, and as shown in fig. 1, the method may include the following steps:
s101: and responding to an application program interface authority configuration instruction, and acquiring characteristic information of an application program, wherein the characteristic information comprises functional data of the application program. The application program interface permission configuration instruction may be implemented with an indication that the application program installation is complete. The application program can obtain detailed characteristic information of the application program in the installation process, including a developer, a version number, functional data and the like, and the functional data may include corresponding keywords, for example: audio, video, window control, automatic driving, etc. In addition, each application that needs to be loaded into the in-vehicle controller needs to be evaluated by the vehicle manufacturer, so that the characteristic information of the application can be obtained, which can be provided by the party who directly develops the application.
S102: and inquiring all interface information in the vehicle-mounted controller, and selecting an interface having a matching relation with the functional data as an accessible interface. In the car machine controller, the interface information of each interface can also reflect which type of data the interface is used for, for example, the interface information can indicate that data interaction is performed with a car-mounted camera, data interaction is performed with a battery management system, and the like. Therefore, when the function data of the application program is determined, the interface matched with the function data can be searched. Assuming that the application functions to monitor the battery, it matches the interface that interacts with the battery management system.
S103: and summarizing the authority configuration information of all accessible interfaces to obtain an accessible interface authority configuration list of the application program. Through step S102, the interfaces that the application program needs to access can be determined, and then the authority configuration of the interfaces is summarized into a whole, so as to perform the authority configuration uniformly.
S104: configuring the authority of part or all of the accessible interfaces in the accessible interface authority configuration list according to the functional data to obtain an authority configuration result of the accessible interfaces of the application program. The number of the accessible interfaces in the car machine controller is hundreds, when interface authority configuration is carried out, the authority of each accessible interface can be automatically configured, the accessible interfaces can be grouped according to function types, authorization is carried out on each group of accessible interfaces, and all the interfaces can be selected to carry out authority configuration uniformly, so that the interface authority configuration efficiency is further improved. As mentioned above, the functional data can reflect the interface requirements of the application, for example, when the application functions to monitor the battery and the battery is low, an alarm is given to prompt the driver to charge the vehicle. It then has only read rights for the interface to interact with the battery management system and write rights for the speaker. And by analogy, for an application program, the permissions of all accessible interfaces can be determined according to the function data of the application program, and the permissions can be set in the accessible interface permission configuration list automatically and uniformly.
The scheme can automatically screen the interfaces which can be accessed by the application program according to the characteristic data of the application program in the interface authority configuration process of the application program, collect the authority configuration of the accessible interfaces into an integral accessible interface authority configuration list, and automatically and integrally configure the authority of each interface in the accessible interface authority configuration list, so that the labor waste caused by manual one-to-one operation is avoided, and the efficiency of the interface authority configuration of the application program is greatly improved. The scheme can also ensure the consistency of each vehicle machine leaving the factory to the authorization management of the application program interface, and avoid the misoperation and low efficiency of manual authorization. And moreover, by carrying out uniform preset authority management on the interfaces, the application program can only access the interfaces related to the functions of the application program, the interface is prevented from being wrongly called or maliciously called by the application program, and the running safety and the information safety of the vehicle and the vehicle machine are ensured.
Preferably, as shown in fig. 2, the interface authority configuration method of the vehicle-mounted application program may further include the following steps:
s105: and acquiring authority configuration lists of all interfaces in the vehicle machine controller. The permission configuration of all interfaces can be listed in the form of a data table, and different interfaces can be distinguished by the form of names or numbers.
S106: and fusing the permission configuration result of the accessible interface of the application program with permission configuration lists of all interfaces in the vehicle machine controller to obtain permission configuration results of all interfaces of the application program. For example, it is sufficient to directly copy the permission configuration result of the accessible interface to the permission configuration lists of all interfaces.
In the above scheme, the permission configuration results of all the interfaces of the application program are generated, so that when the application program wants to call any one interface in the later period, whether the application program has permission to call the interface or not and which specific permissions exist can be found.
Further, the characteristic information of the application program further includes identity data of the application program, and the method further includes the following steps:
s107: the permission configuration result of the accessible interface and/or the permission configuration results of all interfaces of the application program are associated with the identity data of the application program.
As mentioned above, each application has its own characteristic information, including developer, version number, etc., so that it can form unique identity information of the application. The identity information of the application program is used as a reference, and the interface authority configuration results related to the application program are all related to the identity information, so that the authority interface configuration results can be conveniently and accurately extracted in the later period.
Further, the interface authority configuration method of the vehicle-mounted application program further includes the following steps:
s108: acquiring a secret key of the application program as a preset secret key for storage, wherein the secret key is configured with an expiration date and is associated with identity data of the application program; the key is used to determine whether the application has permission to access the accessible interface. The car machine controller can obtain a secret key provided by an application program developer in advance and is preset in a local storage file (such as an XML file) of the car machine controller; when the application program accesses the interface, the car machine controller can automatically acquire the secret key from the application program, and if the secret key is consistent with the preset secret key, the judgment result is that the secret key passes the verification. If the side developing the application program later changes the application program or otherwise affects the interface authority, the application program must not obtain the same secret key, and when the application program cannot be verified by the secret key, the application program no longer has the previous interface authority. Therefore, by the scheme, the data security and confidentiality in the interface calling process can be ensured.
The permission configuration process of the accessible interface and the permission configuration processes of all interfaces in the above scheme can be implemented in a configuration file in an XML format. Further, a user-defined function can be reserved in the configuration file in the XML format, and particularly in the scheme, if inappropriate parts exist in the interface permission configuration automatically executed according to the application program function, an operator or a user can adjust the inappropriate parts through the user-defined function, so that the accuracy of permission configuration and the safety in the interface calling process are further ensured.
Another embodiment of the present invention further provides an interface calling method for a vehicle-mounted application, which can be applied to a vehicle controller, as shown in fig. 3, and includes the following steps:
s201: and responding to a starting signal of the vehicle-mounted machine controller, and acquiring an authority configuration result of the accessible interface of the application program. Namely, when the car machine is started, the interface authority of the application program in the car machine is analyzed. The permission configuration result of the accessible interface is generated in step S104, and in this step, the configuration result may be quickly queried. The application programs themselves have names, version numbers and the like, and when each application program needs to call an interface, the authority configuration result of the corresponding accessible interface can be obtained according to the characteristic information of the application program.
S202: and distributing the access authority of part or all of the accessible interfaces for the application program according to the authority configuration result of the accessible interfaces. That is, corresponding permissions of the accessible interfaces are opened to the application program directly according to permission configuration results of the accessible interfaces, one-to-one configuration can be performed for the permissions of a single accessible interface, permission configuration can be performed after the accessible interfaces are grouped, and permission configuration can be performed on all the accessible interfaces in a unified manner. Because the permission analysis process of the application program for each or a plurality of interfaces is completed in the permission configuration stage, the calling process in the scheme only needs to look up the table to obtain the permission, and the resource access efficiency is improved.
Preferably, as shown in fig. 4, the interface calling method of the vehicle-mounted application program in the above scheme may further include the following steps:
s203: and acquiring the permission configuration results of all interfaces of the application program.
S204: and distributing the access authority of all interfaces for the application program according to the authority configuration result of the accessible interfaces.
By recording and storing the permission configuration results of all the interfaces, when an application program needs to call any interface, the permission of the corresponding interface can be found immediately, and the accuracy of the permission allocation of the interface is improved.
Preferably, the permission configuration result of the accessible interface of the application program and/or the permission configuration results of all interfaces are obtained as follows: acquiring identity information of the application program; and extracting the authority configuration result of the accessible interface and/or the authority configuration results of all interfaces associated with the identity information of the application program. As mentioned above, each application has its own characteristic information, including developer, version number, etc., so that it can form unique identity information of the application. And when the application program needs to call the interface, the corresponding authority interface configuration result can be quickly and accurately searched.
Further, the step of allocating the access right of part or all of the accessible interfaces to the application program according to the right configuration result of the accessible interfaces includes: determining a secret key and an effective period of the application program according to the identity information of the application program; and acquiring a write key of the application program, and if the write key is the same as the key and the current time is within the valid period, allocating an access authority of an accessible interface to the application program. By setting the secret key and the valid period, the interface calling authority can be prevented from being improperly acquired after the application program is changed, and the safety in the interface calling process is further ensured.
The following describes the interface calling process in this embodiment with reference to fig. 5, and as shown in fig. 5, all the processes of the interface calling of the application program include:
s301: acquiring interface information after an application program is started;
s302: and applying for corresponding interface authority aiming at the interface required to be called.
S303: the authority of the application program is verified, different application programs have different priorities, and if the application programs have higher priorities, authorization needs to be obtained, so that the authority of the application programs is verified in the step, and the application programs can read the authority configuration files of the interfaces.
S304: when the result of the authority verification of the application program is passed, the process directly proceeds to step S305;
and S305, reading a preset interface authority configuration result, wherein the authority configuration result can be the authority configuration result of the accessible interface in the step S104 or the authority configuration results of all the interfaces in the step S106.
S306: acquiring a secret key of an application program;
s307: and comparing the secret key with a preset secret key corresponding to the identity information of the application program, and judging whether the secret key of the application program is correct or not. If the key is correct, go to step S308; if there is no key or the key is not verified, the process proceeds to step S310.
S308: judging whether the current time falls into the valid period corresponding to the secret key, if so, entering the step S309, otherwise, executing the step S310;
309: and judging whether the application program has the access authority of the interface, if so, executing interface calling according to the interface authority distribution result, and otherwise, executing the step S310.
S310: and prompting no permission on the user interface and returning.
By the scheme, the interface access authority of the application program can be integrally configured, the integral configuration management of the interface authority can be realized, and the safety and the orderliness in the interface calling process are improved. In addition, only the acquisition permission needs to be inquired in the calling process, and the resource access efficiency is improved.
Some embodiments of the present invention provide a storage medium, where the storage medium stores program instructions, and after reading the program instructions, a computer executes the interface authority configuration method of the vehicle-mounted application program according to any above aspect.
Some embodiments of the present invention provide a storage medium, where the storage medium stores program instructions, and after reading the program instructions, a computer executes an interface calling method of a vehicle-mounted application program according to any above aspect.
Some embodiments of the present invention provide a system for configuring interface permissions of in-vehicle applications, as shown in fig. 6, including one or more processors 101 and a memory 102, where fig. 6 illustrates one processor 101 as an example. The interface authority configuration system of the vehicle-mounted application program may further include: an input device 103 and an output device 104. The processor 101, the memory 102, the input device 103, and the output device 104 may be connected by a bus or other means, and fig. 6 illustrates an example of a connection by a bus. Memory 102, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 101 executes various functional applications of the server and data processing by running the nonvolatile software programs, instructions and modules stored in the memory 102, that is, the interface authority configuration method of the in-vehicle application program implementing the above-described method embodiment.
Some embodiments of the present invention provide an interface calling system for an in-vehicle application, as shown in fig. 7, including one or more processors 201 and a memory 202, where one processor 201 is taken as an example in fig. 7. The interface calling system of the in-vehicle application program may further include: an input device 203 and an output device 204. The processor 201, the memory 202, the input device 203 and the output device 204 may be connected by a bus or other means, and fig. 7 illustrates the connection by a bus as an example. Memory 202, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 201 executes various functional applications of the server and data processing, i.e., an interface calling method of the in-vehicle application program implementing the above-described method embodiments, by running the nonvolatile software program, instructions, and modules stored in the memory 202.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. An interface authority configuration method of a vehicle-mounted application program is characterized by comprising the following steps:
responding to an application program interface authority configuration instruction, and acquiring characteristic information of an application program, wherein the characteristic information comprises functional data of the application program;
inquiring all interface information in the vehicle controller, and selecting an interface which has a matching relation with the functional data as an accessible interface;
summarizing the authority configuration information of all accessible interfaces to obtain an accessible interface authority configuration list of the application program;
configuring the authority of part or all of the accessible interfaces in the accessible interface authority configuration list according to the functional data to obtain an authority configuration result of the accessible interfaces of the application program.
2. The method for configuring interface authority of vehicle-mounted application program according to claim 1, further comprising the steps of:
acquiring authority configuration lists of all interfaces in the vehicle machine controller;
and fusing the permission configuration result of the accessible interface of the application program with permission configuration lists of all interfaces in the vehicle machine controller to obtain permission configuration results of all interfaces of the application program.
3. The method for configuring interface authority of in-vehicle application program according to claim 2, wherein the characteristic information of the application program further includes identity data of the application program, the method further comprising the steps of:
the permission configuration result of the accessible interface and/or the permission configuration results of all interfaces of the application program are associated with the identity data of the application program.
4. The interface authority configuration method of the in-vehicle application program according to claim 3, further comprising the steps of:
acquiring a secret key of the application program as a preset secret key for storage, wherein the secret key is configured with an expiration date and is associated with identity data of the application program; the key is used to determine whether the application has permission to access the accessible interface.
5. An interface calling method of a vehicle-mounted application program is characterized by comprising the following steps:
responding to a starting signal of the vehicle-mounted machine controller, and acquiring an authority configuration result of an accessible interface of the application program;
and distributing the access authority of part or all of the accessible interfaces for the application program according to the authority configuration result of the accessible interfaces.
6. The interface calling method for the in-vehicle application program according to claim 5, further comprising the steps of:
acquiring permission configuration results of all interfaces of the application program;
and distributing the access authority of all interfaces for the application program according to the authority configuration result of the accessible interfaces.
7. The interface calling method for the vehicle-mounted application program according to claim 6, wherein the permission configuration result of the accessible interface and/or the permission configuration results of all interfaces of the application program are obtained as follows:
acquiring identity information of the application program;
and extracting the authority configuration result of the accessible interface and/or the authority configuration results of all interfaces associated with the identity information of the application program.
8. The interface calling method for the vehicle-mounted application program according to claim 7, wherein the step of allocating the access authority of part or all of the accessible interfaces to the application program according to the authority configuration result of the accessible interfaces comprises:
determining a preset secret key and an expiration date of the application program according to the identity information of the application program;
and acquiring a secret key of the application program, and if the secret key is the same as the preset secret key and the current time is within the valid period, allocating an access authority of an accessible interface to the application program.
9. A storage medium, wherein the storage medium stores program instructions, and a computer reads the program instructions and executes the interface authority configuration method of the vehicle-mounted application program according to any one of claims 1 to 4.
10. An interface authority configuration system of a vehicle-mounted application program is characterized in that:
comprising at least one processor and at least one memory; at least one of the memories stores program instructions, and at least one of the processors executes the interface authority configuration method of the vehicle-mounted application program according to any one of claims 1-4 after reading the program instructions.
11. A storage medium, wherein the storage medium stores program instructions, and a computer reads the program instructions and executes the interface calling method of the vehicle application program according to any one of claims 5 to 8.
12. An interface calling system of a vehicle-mounted application program is characterized in that:
comprising at least one processor and at least one memory; at least one of the memories stores program instructions, and at least one of the processors executes the interface calling method of the in-vehicle application program according to any one of claims 5 to 8 after reading the program instructions.
CN202010858660.9A 2020-08-24 2020-08-24 Interface authority configuration method, storage medium and system of vehicle-mounted application program Pending CN112052030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010858660.9A CN112052030A (en) 2020-08-24 2020-08-24 Interface authority configuration method, storage medium and system of vehicle-mounted application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010858660.9A CN112052030A (en) 2020-08-24 2020-08-24 Interface authority configuration method, storage medium and system of vehicle-mounted application program

Publications (1)

Publication Number Publication Date
CN112052030A true CN112052030A (en) 2020-12-08

Family

ID=73599188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010858660.9A Pending CN112052030A (en) 2020-08-24 2020-08-24 Interface authority configuration method, storage medium and system of vehicle-mounted application program

Country Status (1)

Country Link
CN (1) CN112052030A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112580079A (en) * 2020-12-25 2021-03-30 平安银行股份有限公司 Authority configuration method and device, electronic equipment and readable storage medium
CN112612327A (en) * 2020-12-31 2021-04-06 智车优行科技(北京)有限公司 Docking station access control method, device and system and electronic equipment
CN115033550A (en) * 2022-08-10 2022-09-09 宁波均联智行科技股份有限公司 Vehicle machine system file access method and vehicle machine system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7770174B1 (en) * 2005-06-13 2010-08-03 Sprint Spectrum L.P. Client-based resource manager with network-based rights acquisition
WO2012130461A2 (en) * 2011-03-31 2012-10-04 Giesecke & Devrient Gmbh Updating a data storage medium application
CN104808981A (en) * 2015-03-19 2015-07-29 浙江大学 Vehicle-mounted information system access control method based on Android platform
WO2015124017A1 (en) * 2014-02-21 2015-08-27 北京奇虎科技有限公司 Method and apparatus for application installation based on intelligent terminal device
CN106557687A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 A kind of authority control method and device of application program installation process
CN107147646A (en) * 2017-05-11 2017-09-08 郑州信大捷安信息技术股份有限公司 A kind of automobile function interface security mandate accesses system and security certificate access method
CN108171041A (en) * 2016-12-07 2018-06-15 澜起科技(上海)有限公司 For the method and apparatus for carrying out authentication to the application program for accessing memory
CN108427886A (en) * 2018-01-25 2018-08-21 上海掌门科技有限公司 A kind of application program access rights setting method, system, equipment and readable medium
CN109144620A (en) * 2017-06-15 2019-01-04 武汉斗鱼网络科技有限公司 A kind of jump method and device of suspended window permission configuration interface
CN109558751A (en) * 2018-11-30 2019-04-02 深圳市盟天科技有限公司 A kind of access method of application program, device, server and storage medium
CN110889142A (en) * 2019-12-20 2020-03-17 中国银行股份有限公司 Data authority management method, device, system and equipment
CN111274046A (en) * 2020-01-16 2020-06-12 平安医疗健康管理股份有限公司 Service call validity detection method and device, computer equipment and computer storage medium
CN111488594A (en) * 2020-03-03 2020-08-04 浙江省北大信息技术高等研究院 Authority checking method and device based on cloud server, storage medium and terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7770174B1 (en) * 2005-06-13 2010-08-03 Sprint Spectrum L.P. Client-based resource manager with network-based rights acquisition
WO2012130461A2 (en) * 2011-03-31 2012-10-04 Giesecke & Devrient Gmbh Updating a data storage medium application
WO2015124017A1 (en) * 2014-02-21 2015-08-27 北京奇虎科技有限公司 Method and apparatus for application installation based on intelligent terminal device
CN104808981A (en) * 2015-03-19 2015-07-29 浙江大学 Vehicle-mounted information system access control method based on Android platform
CN106557687A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 A kind of authority control method and device of application program installation process
CN108171041A (en) * 2016-12-07 2018-06-15 澜起科技(上海)有限公司 For the method and apparatus for carrying out authentication to the application program for accessing memory
CN107147646A (en) * 2017-05-11 2017-09-08 郑州信大捷安信息技术股份有限公司 A kind of automobile function interface security mandate accesses system and security certificate access method
CN109144620A (en) * 2017-06-15 2019-01-04 武汉斗鱼网络科技有限公司 A kind of jump method and device of suspended window permission configuration interface
CN108427886A (en) * 2018-01-25 2018-08-21 上海掌门科技有限公司 A kind of application program access rights setting method, system, equipment and readable medium
CN109558751A (en) * 2018-11-30 2019-04-02 深圳市盟天科技有限公司 A kind of access method of application program, device, server and storage medium
CN110889142A (en) * 2019-12-20 2020-03-17 中国银行股份有限公司 Data authority management method, device, system and equipment
CN111274046A (en) * 2020-01-16 2020-06-12 平安医疗健康管理股份有限公司 Service call validity detection method and device, computer equipment and computer storage medium
CN111488594A (en) * 2020-03-03 2020-08-04 浙江省北大信息技术高等研究院 Authority checking method and device based on cloud server, storage medium and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112580079A (en) * 2020-12-25 2021-03-30 平安银行股份有限公司 Authority configuration method and device, electronic equipment and readable storage medium
CN112612327A (en) * 2020-12-31 2021-04-06 智车优行科技(北京)有限公司 Docking station access control method, device and system and electronic equipment
CN112612327B (en) * 2020-12-31 2023-12-08 智车优行科技(北京)有限公司 Access control method, device and system of docking station and electronic equipment
CN115033550A (en) * 2022-08-10 2022-09-09 宁波均联智行科技股份有限公司 Vehicle machine system file access method and vehicle machine system

Similar Documents

Publication Publication Date Title
CN112052030A (en) Interface authority configuration method, storage medium and system of vehicle-mounted application program
CN110008690B (en) Authority management method, device, equipment and medium for terminal application
CN104156252A (en) Application software installation method and device
CN110753088B (en) System deployment method and device
WO2022056740A1 (en) Electronic control unit, and data access method and apparatus thereof
CN109815680B (en) Application authority management method and device, terminal equipment and storage medium
CN110263590B (en) Vehicle-mounted ECU and safety protection method thereof
CN112329065A (en) Dynamic authority management method, device, terminal and storage medium for block chain nodes
CN114861158A (en) Security authentication method, device, system, electronic equipment and storage medium
CN115935321B (en) Method, device and storage medium for accessing algorithm library
CN112632474A (en) Vehicle-mounted machine software and hardware activation method
CN108717507A (en) A kind of management method and system of Android application programs permission
US20210389941A1 (en) Method and device for managing aircraft equipment software configurations
CN106326723A (en) Method and device for certifying APK (Android Package) signature
CN116431186A (en) Upgrading method, device and medium of vehicle-mounted ECU
CN114115933A (en) Method, system, device, electronic equipment and medium for software upgrading
CN114217829A (en) Software upgrading method, device, server and storage medium
CN108958819B (en) Starting method of multi-partition system and multi-partition system
CN114328270B (en) OTA upgrade detection method based on SOA service and readable storage medium
CN111339520B (en) Hardware dog-based online control method, electronic equipment and storage medium
CN112367347B (en) Encryption equipment access method, device and computer readable storage medium
CN114500256B (en) Distribution network method and device of terminal equipment, router equipment and storage medium
CN114138304A (en) Software management method, device, equipment and storage medium
CN117354191A (en) Test method, device, equipment and storage medium of vehicle-mounted remote communication box
CN115174174B (en) Method and device for controlling electronic management platform

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 430056 No. 10 Dongfeng Avenue, Wuhan economic and Technological Development Zone, Wuhan, Hubei

Applicant after: DONGFENG MOTER Co.,Ltd.

Address before: 510800, Fengshen Road, Huadu District, Guangdong, Guangzhou 12

Applicant before: DONGFENG MOTER Co.,Ltd.