CN114090133A - Application program configuration method and device, electronic equipment and storage medium - Google Patents

Application program configuration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114090133A
CN114090133A CN202111443756.XA CN202111443756A CN114090133A CN 114090133 A CN114090133 A CN 114090133A CN 202111443756 A CN202111443756 A CN 202111443756A CN 114090133 A CN114090133 A CN 114090133A
Authority
CN
China
Prior art keywords
application program
application
target
configuration file
identifier
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
CN202111443756.XA
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 Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology 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 Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202111443756.XA priority Critical patent/CN114090133A/en
Publication of CN114090133A publication Critical patent/CN114090133A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

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

Abstract

The application is applicable to the technical field of automotive electronics, and provides a configuration method and device of an application program, electronic equipment and a storage medium. The method comprises the following steps: when the application program is started, acquiring an application program configuration file corresponding to a target identifier according to the target identifier; and configuring and displaying the application program according to the application program configuration file. The technical scheme provided by the application can reduce the development cost of the application program.

Description

Application program configuration method and device, electronic equipment and storage medium
Technical Field
The present application belongs to the field of automotive electronics technologies, and in particular, to a configuration method and apparatus for an application program, an electronic device, and a storage medium.
Background
With the popularization of automobiles, the demand for diagnosis of automobiles is increasing day by day. The diagnostic application is an application program specially used for automobile diagnosis, and is usually started when the automobile needs to be diagnosed, and various functional modules are configured at the same time. In the prior art, a product line in the automobile diagnosis industry has a large number of diagnostic product customization projects, different clients have different configuration requirements on diagnostic product application programs, and customized contents can be embodied, so that the number of the customized application programs is increased suddenly in order to meet the requirements of different clients, development, testing and maintenance need to exist for a long time, and resource consumption is relatively serious.
Disclosure of Invention
The embodiment of the application provides a configuration method and device of an application program, an electronic device and a storage medium, and can solve the problem of how to reduce the development cost of the application program.
In a first aspect, an embodiment of the present application provides a method for configuring an application program, including:
when an application program is started, acquiring an application program configuration file corresponding to a target identifier according to the target identifier;
and configuring and displaying the application program according to the application program configuration file.
Optionally, when the application program is started, acquiring, according to the target identifier, the application program configuration file corresponding to the target identifier includes:
when the application program is started, establishing communication connection with a cloud server;
uploading a target identifier to the cloud server through the communication connection, so that the cloud server returns an application program configuration code corresponding to the target identifier according to the target identifier;
and calling a target database according to the application program configuration code returned by the cloud server to acquire an application program configuration file corresponding to the application program configuration code, wherein the target database stores various configuration files for configuring the application program.
Optionally, the calling a target database according to the application configuration code returned by the cloud server to obtain an application configuration file corresponding to the application configuration code includes:
calling a preset interface of a target database according to the application program configuration code returned by the cloud server;
acquiring an application program configuration file identifier returned by the preset interface;
and extracting the corresponding application program configuration file from the target database according to the application program configuration file identifier.
Optionally, the application is a diagnostic application and the target identification is a vehicle identification of a target vehicle.
Optionally, the application configuration file includes a starting picture and a function module; the application program configuration file identification comprises a starting picture identification and a function module identification.
Optionally, before the obtaining the application configuration file corresponding to the target identifier according to the target identifier, the method further includes:
and acquiring a vehicle identifier of a target vehicle, and determining the vehicle identifier as the target identifier.
Optionally, the target database is disposed in the cloud server, or in a local space. In a second aspect, an embodiment of the present application provides an apparatus for configuring an application, including:
the acquisition module is used for acquiring an application program configuration file corresponding to a target identifier according to the target identifier when the application program is started;
and the configuration display module is used for configuring and displaying the application program according to the application program configuration file.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program, when executed by the processor, implementing the method steps of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including: the computer readable storage medium stores a computer program which, when executed by a processor, performs the method steps of the first aspect described above.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on an electronic device, causes the electronic device to perform the method steps of the first aspect.
The application program configuration method of the first aspect of the present application has the following beneficial effects: the application program configuration file corresponding to the target identifier is obtained only according to the target identifier, the application program is configured and displayed according to the application program configuration file, and since all vehicles can share one set of application program, a plurality of highly similar application programs do not need to be developed, tested and maintained, so that the development efficiency is improved, and the development resources are saved.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a configuration method of an application program according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for configuring an application according to another embodiment of the present application;
fig. 3 is a schematic diagram of a picture corresponding to a giley automobile returned by a cloud server according to an embodiment of the present application;
fig. 4 is a schematic diagram of all function module icons returned by the cloud server according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of a configuration apparatus of an application provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In the prior art, a product line in the automobile diagnosis industry has a large number of diagnostic product customization projects, different clients have different configuration requirements on diagnostic product application programs, and customized contents can be embodied, so that the number of the customized application programs is increased suddenly in order to meet the requirements of different clients, development, testing and maintenance need to exist for a long time, and resource consumption is relatively serious. Based on the above findings, embodiments of the present application provide a method and an apparatus for configuring an application program, an electronic device, and a storage medium to solve the problem of how to reduce the development cost of the application program.
Please refer to fig. 1, which is a flowchart illustrating a configuration method of an application according to an embodiment of the present application, the method includes steps S101 and S102, and the following steps are described in detail:
step S101, when the application program is started, acquiring an application program configuration file corresponding to the target identifier according to the target identifier.
In the present embodiment, the application may be a diagnostic application, and the target identifiers are Vehicle identifiers of target vehicles, such as Vehicle Identification Numbers (VINs), each of which uniquely corresponds to one of the target vehicles. Therefore, before the application configuration file corresponding to the target identifier is acquired according to the target identifier, the vehicle identifier of the target vehicle can be acquired, and the vehicle identifier can be determined as the target identifier.
As for the application configuration file, it is essentially a file containing the information needed to successfully operate the application, which is structured in a specific way. The use of application profiles allows for a reduction in the development cost of the application, since the application profiles are not hard coded in the application, but are user configurable, typically stored in a plain text file. Specifically, in the embodiment of the present application, the application configuration file may be a starting picture or a function module, and the function module includes intelligent diagnosis, traditional diagnosis, special function, super remote diagnosis, software upgrade, diagnosis record, remote diagnosis, diagnosis feedback, accessory query, mall, measurable vehicle model, maintenance data, personal center, and other functions.
And step S102, configuring and displaying the application program according to the application program configuration file.
The configuring and displaying of the application program herein means displaying a corresponding startup picture and configuring a corresponding function module when the application program is started.
As can be seen from the configuration method of the application program illustrated in fig. 1, when the application program is started, the application program configuration file corresponding to the target identifier only needs to be acquired according to the target identifier, and the application program is configured and displayed according to the application program configuration file, and a plurality of highly similar application programs do not need to be developed, tested, and maintained in advance, so that the development efficiency is improved, and the development resources are saved.
It should be noted that, since the loading speed of the starting picture affects the experience of the user, a too slow loading speed brings a bad experience to the user, and conversely, a faster loading speed is beneficial to improving the good experience of the user. Therefore, in the embodiment of the present application, if the starting picture of the application program is loaded and displayed, it may specifically be: judging whether the situation of blocking the application program to start the resource loading of the picture exists or not; and if the situation that the resource loading of the application program starting picture is blocked exists, outputting the application program starting picture based on a mechanism for relieving the resource loading blocking. The condition of blocking the loading of the resource of the application start picture means that there is a resource that blocks or delays the loading progress of the application start picture in the process of loading the application start picture, such as some pictures with larger size or capacity. One method for determining whether a resource loading situation that blocks the application program starting picture loading progress exists is to monitor the application program starting picture loading progress, and if the duration from the start of loading to the completion of loading of a certain page resource is greater than a certain threshold, determine that the page resource is the resource that blocks the application program starting picture loading progress, or if the duration for waiting for loading of the page resource is greater than a certain threshold, determine that the page resource is the resource that blocks the application program starting picture loading progress, and so on. After determining that the resource loading of the application program starting picture is blocked, a method for outputting the application program starting picture based on a mechanism for relieving resource loading blocking is as follows: if the resource blocking the application program starting picture loading progress is an abnormal picture resource, replacing the abnormal picture resource with a designated picture and then outputting the application program starting picture, wherein the size or the capacity of the designated picture is smaller than that of the abnormal picture resource; and if the loading blocking resource is a non-picture resource, outputting an application program starting picture after loading the resource blocking the application program starting picture loading progress by using the associated information of the resource blocking the application program starting picture loading progress.
Referring to fig. 2, a method for configuring an application according to another embodiment of the present application includes steps S201 to S204, which are described in detail as follows:
step S201: and when the application program is started, establishing communication connection with the cloud server.
Specifically, when the application program is started, the application program can establish a communication connection with the cloud server by adopting a two-way handshake mechanism or a three-way handshake mechanism based on a communication protocol, such as TCP/IP.
Step S202: the target identifier is uploaded to the cloud server through the communication connection established in step S201, so that the cloud server returns the application configuration code corresponding to the target identifier according to the target identifier.
After the application uploads the target identifier to the cloud server through the communication connection established in step S201, the cloud server returns the application configuration codes corresponding to the target identifier according to the target identifier, and the unique identifiers of the application configuration codes and the application configuration files corresponding to the target identifier. For example, assuming that the target identifier is a car-specific VIN, the cloud server represents the car-specific application profile according to the VIN returned to the car-specific and its corresponding application configuration code 301180371.
Step S203: and calling the target database according to the application program configuration code returned by the cloud server, and acquiring an application program configuration file corresponding to the application program configuration code.
It should be noted that the target database may be set in a cloud server, that is, the target database may be a cloud server database, or may also be set in a terminal where the application program is located, that is, a local space, that is, the target database may be a local database, and both the target database and the local database store various configuration files for configuring the application program. As an embodiment of the present application, according to the application configuration code returned by the cloud server, calling the target database, and acquiring the application configuration file corresponding to the application configuration code may specifically be implemented through step S2031 to step S2033, which are described as follows:
step S2031: and calling a preset interface of the target database according to the application program configuration code returned by the cloud server.
As mentioned above, the target database may be a cloud server database disposed in a cloud server, or may be a local database disposed in a local space. Therefore, the preset interface of the target database is called according to the application program configuration code returned by the cloud server, and the preset interface can be a preset interface provided by calling the cloud server database or a preset interface provided by calling the local database. When called, the parameters of the application configuration code are passed to these preset interfaces.
Step S2032: and acquiring an application program configuration file identifier returned by the preset interface.
The application configuration file identifier returned by the preset interface may be a picture identifier and a function module identifier of the target vehicle corresponding to the target identifier, for example, if the target vehicle is a curious automobile, the cloud server returns a picture identifier of iFlagLogo ═ 1 and a function module identifier of uiFlagFunction ═ 0xFFFF, iFlagLogo ═ 1 represents a logo to display curious, and uiFlagFunction ═ 0xFFFF represents all configured function modules; for example, if the target vehicle is a great-city automobile, the cloud server returns a picture id of iFlagLogo 3 and a function module id of uiFlagFunction 0x0001, where iFlagLogo 3 represents a logo to display the great city, and uiFlagFunction 0x0001 represents that only the diagnostic function is configured.
Step S2033: and extracting the corresponding application program configuration file from the target database according to the application program configuration file identifier.
Specifically, the application configuration files such as the picture corresponding to the picture identifier and the function module icon corresponding to the function module identifier may be extracted by retrieving the application configuration files in the cloud server or the local database according to the picture identifier and the function module identifier of the target vehicle corresponding to the target identifier. For example, after the cloud server returns the picture id of iFlagLogo 1 and the function module id of uiFlagFunction 0xFFFF, the application searches, in the target database, the picture corresponding to iFlagLogo 1 as shown in fig. 3 according to iFlagLogo 1, and searches, in the target database, all the function module icons corresponding to uiFlagFunction 0xFFFF as shown in fig. 4 according to uiFlagFunction 0 xFFFF.
Step S204: and configuring and displaying the application program according to the application program configuration file.
The implementation of step S204 is completely the same as the implementation of step S102 in the foregoing embodiment, and the explanation of the related terms, features, and the like is the same as the explanation of the related terms, features, and the like in step S102 in the foregoing embodiment, which can refer to the description of the foregoing embodiment, and no further description is provided here
As can be seen from the configuration method of the application program illustrated in fig. 1, only the application program configuration file corresponding to the target identifier needs to be acquired according to the target identifier, and the application program is configured and displayed according to the application program configuration file, and since all vehicles can share one set of application program, a plurality of highly similar application programs do not need to be developed, tested and maintained, so that the development efficiency is improved, and the development resources are saved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Corresponding to the configuration method of the application program shown in fig. 1, fig. 5 shows a configuration apparatus of an application program provided in an embodiment of the present application, where the apparatus may include an obtaining module 501 and a configuration displaying module 502, and the detailed description is as follows:
an obtaining module 501, configured to obtain, when an application is started, an application configuration file corresponding to a target identifier according to the target identifier;
and a configuration display module 502, configured to configure and display the application program according to the application program configuration file.
Optionally, the obtaining module 501 illustrated in fig. 5 may include a connection establishing unit, an uploading unit, and a obtaining unit, where:
the connection establishing unit is used for establishing communication connection with the cloud server when the application program is started;
the uploading unit is used for uploading the target identifier to the cloud server through communication connection so that the cloud server returns the application program configuration code corresponding to the target identifier according to the target identifier;
the acquisition unit is used for calling a target database according to the application program configuration code returned by the cloud server and acquiring an application program configuration file corresponding to the application program configuration code, wherein the target database stores various configuration files for configuring the application program.
Optionally, the obtaining unit of the above example may include an interface calling unit, an identifier obtaining unit, and a file extracting unit, where:
the interface calling unit is used for calling a preset interface of the target database according to the application program configuration code returned by the cloud server;
the identification acquisition unit is used for acquiring an application program configuration file identification returned by the preset interface;
and the file extraction unit is used for extracting the corresponding application program configuration file from the target database according to the application program configuration file identifier.
Optionally, the application of the above example is a diagnostic application and the target identification is a vehicle identification of the target vehicle.
Optionally, the application configuration file of the above example includes a starting picture and a function module, and the application configuration file identifier includes a starting picture identifier and a function module identifier.
Optionally, the apparatus illustrated in fig. 5 may further include a determining module, configured to obtain a vehicle identifier of the target vehicle and determine the vehicle identifier as the target identifier before the obtaining module 501 obtains the application configuration file corresponding to the target identifier according to the target identifier.
Optionally, the target database of the above example is disposed in a cloud server, or in a local space.
It is understood that various embodiments and combinations of the embodiments in the above embodiments and their advantages are also applicable to this embodiment, and are not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device D10 of the embodiment includes: at least one processor D100 (only one is shown in fig. 6), a memory D101, and a computer program D102 stored in the memory D101 and operable on the at least one processor D100, wherein the processor D100 implements the steps of any of the method embodiments described above when executing the computer program D102. Alternatively, the processor D100, when executing the computer program D102, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the connection establishing module 501, the uploading module 502 and the display module 503 shown in fig. 5.
The electronic device D10 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The electronic device may include, but is not limited to, a processor D100, a memory D101. Those skilled in the art will appreciate that fig. 6 is merely an example of the electronic device D10 and does not constitute a limitation of the electronic device D10, and may include more or fewer components than those shown, or some components in combination, or different components, such as input output devices, network access devices, etc.
Processor D100 may be a Central Processing Unit (CPU), and Processor D100 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage D101 may be an internal storage unit of the electronic device D10 in some embodiments, such as a hard disk or a memory of the electronic device D10. In other embodiments, the memory D101 may also be an external storage device of the electronic device D10, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device D10. Further, the memory D101 may also include both an internal storage unit and an external storage device of the electronic device D10. The memory D101 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer programs. The memory D101 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments may be implemented.
Embodiments of the present application provide a computer program product, which when executed on an electronic device, enables the electronic device to implement the steps in the above method embodiments.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should 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; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for configuring an application, comprising:
when an application program is started, acquiring an application program configuration file corresponding to a target identifier according to the target identifier;
and configuring and displaying the application program according to the application program configuration file.
2. The method of claim 1, wherein obtaining the application configuration file corresponding to the target identifier according to the target identifier when the application is started comprises:
when the application program is started, establishing communication connection with a cloud server;
uploading a target identifier to the cloud server through the communication connection, so that the cloud server returns an application program configuration code corresponding to the target identifier according to the target identifier;
and calling a target database according to the application program configuration code returned by the cloud server to acquire an application program configuration file corresponding to the application program configuration code, wherein the target database stores various configuration files for configuring the application program.
3. The method of claim 2, wherein the calling a target database according to the application configuration code returned by the cloud server to obtain an application configuration file corresponding to the application configuration code comprises:
calling a preset interface of a target database according to the application program configuration code returned by the cloud server;
acquiring an application program configuration file identifier returned by the preset interface;
and extracting the corresponding application program configuration file from the target database according to the application program configuration file identifier.
4. The method of claim 3, wherein the application is a diagnostic application and the target identification is a vehicle identification of a target vehicle.
5. The method of claim 4, wherein the application configuration file comprises a startup picture and a function module; the application program configuration file identification comprises a starting picture identification and a function module identification.
6. The method of claim 4, prior to said obtaining an application configuration file corresponding to a target identifier based on the target identifier, further comprising:
and acquiring a vehicle identifier of a target vehicle, and determining the vehicle identifier as the target identifier.
7. The method of claim 2, wherein the target database is located in the cloud server or in a local space.
8. An apparatus for configuring an application, comprising:
the acquisition module is used for acquiring an application program configuration file corresponding to a target identifier according to the target identifier when the application program is started;
and the configuration display module is used for configuring and displaying the application program according to the application program configuration file.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202111443756.XA 2021-11-30 2021-11-30 Application program configuration method and device, electronic equipment and storage medium Pending CN114090133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111443756.XA CN114090133A (en) 2021-11-30 2021-11-30 Application program configuration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111443756.XA CN114090133A (en) 2021-11-30 2021-11-30 Application program configuration method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114090133A true CN114090133A (en) 2022-02-25

Family

ID=80305874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111443756.XA Pending CN114090133A (en) 2021-11-30 2021-11-30 Application program configuration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114090133A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7684908B1 (en) * 2004-12-29 2010-03-23 Snap-On Incorporated Vehicle identification key for use between multiple computer applications
CN103150234A (en) * 2013-03-20 2013-06-12 北京奇虎科技有限公司 Backup method and device for driver
EP3242206A1 (en) * 2016-05-04 2017-11-08 Toll Collect GmbH Method for updating the configuration of a vehicle device, vehicle device, central data processing device and toll system
CN108563476A (en) * 2018-04-18 2018-09-21 Oppo广东移动通信有限公司 application program operation method, device, storage medium and electronic equipment
CN109597655A (en) * 2017-09-28 2019-04-09 华为技术有限公司 Configure the method and device of application program
CN109814524A (en) * 2018-12-17 2019-05-28 深圳市轱辘汽车维修技术有限公司 A kind of Vehicular diagnostic method, apparatus and system
WO2020048218A1 (en) * 2018-09-07 2020-03-12 Oppo广东移动通信有限公司 Application page presentation method and apparatus, storage medium, and electronic device
WO2020206691A1 (en) * 2019-04-12 2020-10-15 深圳市欢太科技有限公司 Application processing method and apparatus, storage medium, and electronic device
CN113590181A (en) * 2021-08-10 2021-11-02 平安普惠企业管理有限公司 Configuration file checking method, device, equipment and storage medium
CN113703868A (en) * 2021-08-30 2021-11-26 深圳市元征软件开发有限公司 Vehicle diagnostic software configuration method, electronic device and readable storage medium
CN113710339A (en) * 2021-08-25 2021-11-26 商汤国际私人有限公司 Application configuration method, device and equipment and computer storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7684908B1 (en) * 2004-12-29 2010-03-23 Snap-On Incorporated Vehicle identification key for use between multiple computer applications
CN103150234A (en) * 2013-03-20 2013-06-12 北京奇虎科技有限公司 Backup method and device for driver
EP3242206A1 (en) * 2016-05-04 2017-11-08 Toll Collect GmbH Method for updating the configuration of a vehicle device, vehicle device, central data processing device and toll system
CN109597655A (en) * 2017-09-28 2019-04-09 华为技术有限公司 Configure the method and device of application program
CN108563476A (en) * 2018-04-18 2018-09-21 Oppo广东移动通信有限公司 application program operation method, device, storage medium and electronic equipment
WO2020048218A1 (en) * 2018-09-07 2020-03-12 Oppo广东移动通信有限公司 Application page presentation method and apparatus, storage medium, and electronic device
CN109814524A (en) * 2018-12-17 2019-05-28 深圳市轱辘汽车维修技术有限公司 A kind of Vehicular diagnostic method, apparatus and system
WO2020206691A1 (en) * 2019-04-12 2020-10-15 深圳市欢太科技有限公司 Application processing method and apparatus, storage medium, and electronic device
CN113590181A (en) * 2021-08-10 2021-11-02 平安普惠企业管理有限公司 Configuration file checking method, device, equipment and storage medium
CN113710339A (en) * 2021-08-25 2021-11-26 商汤国际私人有限公司 Application configuration method, device and equipment and computer storage medium
CN113703868A (en) * 2021-08-30 2021-11-26 深圳市元征软件开发有限公司 Vehicle diagnostic software configuration method, electronic device and readable storage medium

Similar Documents

Publication Publication Date Title
CN109814524B (en) Vehicle diagnosis method, device and system
CN111049878A (en) Method, device, electronic device and storage medium for visualizing micro-service call chain
CN114465998B (en) Multi-device file transmission method and device, terminal device and readable storage medium
CN111198859A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN113703868A (en) Vehicle diagnostic software configuration method, electronic device and readable storage medium
CN113490192A (en) Bluetooth connection method, device, terminal equipment and readable storage medium
CN114090133A (en) Application program configuration method and device, electronic equipment and storage medium
WO2019037090A1 (en) Construction method and apparatus for development platform, and computer readable storage medium
CN111400091A (en) Factory setting restoring method, factory setting restoring device and mobile terminal
CN110830263A (en) Automatic login method and device for vehicle-mounted system
CN114218175A (en) Resource cross-platform sharing method and device, terminal equipment and storage medium
CN111274104A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN111242256B (en) Information verification method, device and terminal
CN114157662A (en) Cloud platform parameter adaptation method and device, terminal equipment and storage medium
CN112712610A (en) Vehicle diagnosis log processing method and device, terminal device and readable storage medium
CN112651212A (en) Method and terminal for remotely acquiring word stock
CN108650716B (en) Terminal device control method, terminal device and storage medium
CN112632422A (en) Intelligent image cutting method and device, electronic equipment and storage medium
CN112948013A (en) Application probe configuration method and device, terminal equipment and storage medium
CN113885919A (en) Software acquisition method and device, terminal equipment and readable storage medium
CN113792014B (en) Nuclear power station file management method and device, terminal equipment and storage medium
CN113055250B (en) Networking communication method, device, terminal equipment and storage medium
CN113268300B (en) Information display method and device
CN109344132B (en) User information merging method, computer readable storage medium and terminal device
CN110324236B (en) Event record sharing method and device and computer equipment

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