CN111813393A - Application program development method and device - Google Patents

Application program development method and device Download PDF

Info

Publication number
CN111813393A
CN111813393A CN202010200842.7A CN202010200842A CN111813393A CN 111813393 A CN111813393 A CN 111813393A CN 202010200842 A CN202010200842 A CN 202010200842A CN 111813393 A CN111813393 A CN 111813393A
Authority
CN
China
Prior art keywords
internet
basic
class file
vehicles
code
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
CN202010200842.7A
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.)
Beijing Siwei Zhi Lian Technology Co ltd
Original Assignee
Beijing Siwei Zhi Lian 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 Beijing Siwei Zhi Lian Technology Co ltd filed Critical Beijing Siwei Zhi Lian Technology Co ltd
Priority to CN202010200842.7A priority Critical patent/CN111813393A/en
Publication of CN111813393A publication Critical patent/CN111813393A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Abstract

The application provides an application program development method and device, and based on a vehicle networking terminal architecture, the vehicle networking terminal architecture comprises the following steps: each component is obtained by developing each function required by the Internet of vehicles project in a componentization mode; different components interact in a routing mode, and the method comprises the following steps: acquiring the business logic of the Internet of vehicles; acquiring a component related to the car networking service logic from a car networking terminal architecture, and taking the acquired component as a target component; constructing an Internet of vehicles service module based on the target component and the Internet of vehicles service logic; and constructing the Internet of vehicles application program based on the Internet of vehicles service module. In the application, the coupling degree of the service codes can be reduced and the compiling speed can be improved through the method.

Description

Application program development method and device
Technical Field
The application relates to the technical field of vehicle networking, in particular to an application program development method and device.
Background
The internet of vehicles has the functions of vehicle interconnection, vehicle road cooperation and the like at present, so that the internet of vehicles becomes an important component of an intelligent traffic system. The application of the car networking application program applied to the car networking intelligent terminal is also developed.
At present, a development mode that all codes are mixed together is generally adopted for an Internet of vehicles application program, but the development mode has the problems of high business code coupling degree and low compiling speed.
Disclosure of Invention
In order to solve the foregoing technical problems, embodiments of the present application provide an application development method and apparatus, so as to achieve the purposes of reducing a service code coupling degree and increasing a compiling speed, and the technical solution is as follows:
an application program development method is based on a vehicle networking terminal architecture, and the vehicle networking terminal architecture comprises the following steps: each component is obtained by developing each function required by the Internet of vehicles project in a componentization mode; the different components interact in a routing mode, and the method comprises the following steps:
acquiring the business logic of the Internet of vehicles;
acquiring a component related to the car networking service logic from the car networking terminal architecture, and taking the acquired component as a target component;
constructing an Internet of vehicles service module based on the target component and the Internet of vehicles service logic;
and constructing the Internet of vehicles application program based on the Internet of vehicles service module.
Preferably, the building a car networking service module based on the target component and the car networking service logic includes:
acquiring a basic class file creating request input by a user;
responding to the basic class file creating request, creating a basic class file and writing basic codes into the basic class file;
and constructing a vehicle networking business module based on the basic class file, the basic code, the target component and the vehicle networking business logic.
Preferably, in a case where the method is applied to a terminal of an ios system, the method further includes:
acquiring a creation request input by a user for a custom file, wherein the custom file is a preset file inserted after configuring an xcode created file environment of the ios system;
responding to the creation request aiming at the self-defined class file, creating the self-defined class file and writing a self-defined class code into the self-defined class file;
constructing a vehicle networking business module based on the basic class file, the basic code, the target component and the vehicle networking business logic;
and constructing a vehicle networking business module based on the basic class file, the basic code, the custom class file, the custom class code, the target assembly and the vehicle networking business logic.
Preferably, when the method is applied to a terminal of an Android system, constructing a car networking service module based on the basic class file, the basic code, the target component and the car networking service logic includes:
when compiling, if detecting that the target component and/or the basic class code contain APT annotation, acquiring a code associated with the APT annotation;
and constructing a vehicle networking business module based on the basic class file, the basic code, the target component, the code associated with the APT annotation and the vehicle networking business logic.
Preferably, the building of the car networking application program based on the car networking service module includes:
and testing the Internet of vehicles service module, and constructing an Internet of vehicles application program based on the Internet of vehicles service module after the test is passed.
An application development device based on a vehicle networking terminal architecture, the vehicle networking terminal architecture comprising: each component is obtained by developing each function required by the Internet of vehicles project in a componentization mode; the different components interact in a routing mode, and the device comprises:
the first acquisition module is used for acquiring the business logic of the Internet of vehicles;
the second acquisition module is used for acquiring a component related to the car networking service logic from the car networking terminal architecture, and taking the acquired component as a target component;
the generating module is used for constructing an Internet of vehicles service module based on the target component and the Internet of vehicles service logic;
and the building module is used for building the Internet of vehicles application program based on the Internet of vehicles service module.
Preferably, the generating module is specifically configured to:
acquiring a basic class file creating request input by a user;
responding to the basic class file creating request, creating a basic class file and writing basic codes into the basic class file;
and constructing a vehicle networking business module based on the basic class file, the basic code, the target component and the vehicle networking business logic.
Preferably, in a case where the apparatus is applied to a terminal of an ios system, the apparatus further comprises:
a third obtaining module, configured to obtain a creation request for a custom class file input by a user, where the custom class file is a preset file inserted after configuring an xcode creation file environment of the ios system;
the creating module is used for responding to the creating request aiming at the self-defined class file, creating the self-defined class file and writing a self-defined class code into the self-defined class file;
the generation module is specifically configured to:
and constructing a vehicle networking business module based on the basic class file, the basic code, the custom class file, the custom class code, the target assembly and the vehicle networking business logic.
Preferably, when the device is applied to a terminal of an Android system, the generating module is specifically configured to:
when compiling, if detecting that the target component and/or the basic class code contain APT annotation, acquiring a code associated with the APT annotation;
and constructing a vehicle networking business module based on the basic class file, the basic code, the target component, the code associated with the APT annotation and the vehicle networking business logic.
Preferably, the building block is specifically configured to:
and testing the Internet of vehicles service module, and constructing an Internet of vehicles application program based on the Internet of vehicles service module after the test is passed.
Compared with the prior art, the beneficial effect of this application is:
each function required by the Internet of vehicles project is developed in a componentized mode, each function exists in a component mode, and the coupling degree among the functions is reduced. The method comprises the steps that interaction is carried out between different components in a car networking terminal architecture in a routing mode, information transmission among all functions is guaranteed, on the basis, car networking service logic is obtained, components related to the car networking service logic are obtained from the car networking terminal architecture, the obtained components are used as target components, car networking service modules are built on the basis of the target components and the car networking service logic, car networking application programs are built on the basis of the car networking service modules, the coupling degree of service codes can be effectively reduced, and the compiling speed is improved.
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 description of the embodiments are briefly introduced 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 labor.
Fig. 1 is a flowchart of an embodiment 1 of an application program development method provided in the present application;
FIG. 2 is a framework diagram of an application development process provided herein;
FIG. 3 is a flowchart of embodiment 2 of a method for developing an application program provided by the present application;
FIG. 4 is a schematic illustration of a deployment interface provided herein;
FIG. 5 is a flowchart of embodiment 3 of a method for developing an application program provided by the present application;
FIG. 6 is a flowchart of an embodiment 4 of a method for developing an application program provided by the present application;
FIG. 7 is a flowchart of an embodiment 5 of a method for developing an application program provided by the present application;
fig. 8 is a schematic logical structure diagram of an application development apparatus according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application discloses an application program development method, which is based on a vehicle networking terminal architecture, and the vehicle networking terminal architecture comprises the following steps: each component is obtained by developing each function required by the Internet of vehicles project in a componentization mode; the different components interact in a routing mode, and the method comprises the following steps: acquiring the business logic of the Internet of vehicles; acquiring a component related to the car networking service logic from the car networking terminal architecture, and taking the acquired component as a target component; constructing an Internet of vehicles service module based on the target component and the Internet of vehicles service logic; and constructing the Internet of vehicles application program based on the Internet of vehicles service module. According to the method and the device, the coupling degree between the service codes can be reduced, and the compiling speed can be improved.
The Application program (APP) development method disclosed by the embodiment of the Application can be applied to a terminal, specifically can be based on a vehicle networking terminal architecture, and the vehicle networking terminal architecture can include: each component is obtained by developing each function required by the Internet of vehicles project in a componentization mode; wherein, the different components interact with each other in a routing mode.
Developing the various functions required for the Internet of vehicles project in a componentized manner may rely on the language and environment written by the underlying technology stack. Languages written by the underlying technology stack may include, but are not limited to: android, Objective-c, kotlin, swift and other languages. Environments for the underlying technology stack writing may include, but are not limited to: an Android environment and an ios environment.
It will be appreciated that the various components developed in a componentized manner for the various functions required for the internet of vehicles project are proprietary components. Private components can be understood as: the user self develops or reforms the generated internal basic functional components and does not disclose the internal basic functional components to the outside.
Each component obtained by developing each function required by the Internet of vehicles project in a componentized mode can be independently operated and debugged.
In the car networking terminal architecture, different assemblies interact in a routing mode, so that mutual dependence among the assemblies can be avoided, and reliable information transmission among the assemblies can be ensured.
The process of implementing interaction between different components in a routing manner may be: each component in the terminal architecture of the internet of vehicles is respectively registered in the routing module, after the registration, the routing module can find the destination component in the routing information after receiving the routing request of the source component (which can be understood as one of the components in the terminal architecture of the internet of vehicles), and send the information that needs to be transmitted by the component to the destination component.
Wherein, the subassembly in the car networking terminal architecture can also include: an external component.
External components can be understood as: externally disclosed components are not independently developed by users.
Based on the above terminal structure of the internet of vehicles, the method for developing an application disclosed in the embodiment of the present application is described next, and as shown in fig. 1, a flowchart of embodiment 1 of the method for developing an application provided in the present application may include the following steps:
and step S11, acquiring the car networking service logic.
The car networking service logic can be understood as: the vehicle networking business logic is integrated from a plurality of vehicle networking customized projects. The car networking service logic may include: definition of data type, car networking communication protocol (e.g., protocol with server side or protocol with car side), remote control, vehicle diagnosis, driving score, electronic fence, bluetooth key, Fota upgrade, etc.
And step S12, acquiring the components related to the car networking business logic from the car networking terminal architecture, and taking the acquired components as target components.
The components related to the car networking service logic may be understood as: the components required for the functions implemented by the car networking service logic.
The target component may include: external components and/or proprietary components.
And S13, constructing a vehicle networking business module based on the target component and the vehicle networking business logic.
Different car networking business modules can respectively and independently operate.
The car networking business module at least comprises: a vehicle networking service code.
And S14, constructing a vehicle networking application program based on the vehicle networking service module.
Based on the car networking service module, constructing a car networking application can be understood as: a plurality of different Internet of vehicles service modules are combined into the Internet of vehicles application program.
In this embodiment, an overall process of a development method of an application program is introduced in combination with construction of a terminal architecture of an internet of vehicles, as shown in fig. 2, a bottom technology stack compiles a language and an environment required for development, each function required for an internet of vehicles project is developed in a componentization manner based on the language and the environment compiled by the bottom technology stack to obtain a plurality of private components, an external component is obtained from the outside, an internet of vehicles service module is obtained based on the private components, the external component and an internet of vehicles service logic, and the plurality of internet of vehicles service modules are combined into an internet of vehicles application program.
As another alternative embodiment of the present application, referring to fig. 3, a flowchart of an embodiment 2 of an application development method provided by the present application is provided, where this embodiment mainly relates to a refinement scheme of the application development method described in the above embodiment 1, as shown in fig. 3, the method may include, but is not limited to, the following steps:
and step S21, acquiring the car networking service logic.
And step S22, acquiring the components related to the car networking business logic from the car networking terminal architecture, and taking the acquired components as target components.
The detailed procedures of steps S21-S22 can be referred to the related descriptions of steps S11-S12 in embodiment 1, and are not described herein again.
And step S23, acquiring the basic class file creation request input by the user.
The base class file can be understood as: the class files that the development mode (such as MVVM mode) adopted when the application program is developed must have.
The base code associated with the base class file may be understood as: the code that the development mode (such as MVVM mode) that is adopted when the application program is developed must have.
In the process of developing an application program, a plurality of basic class files may need to be built, wherein a large amount of repeated work exists in the basic class file building and a large amount of repeated codes exist in basic codes related to the basic class files, and if a manual building mode is adopted, the workload of code compiling is very large and the efficiency is low. In order to improve efficiency, in this embodiment, an IDE plug-in is configured to automatically deploy the base class file.
In particular, the IDE plug-in may provide a deployment interface that may include: language version, options of whether each file needs to be created, and type of View, and type of layout. The IDE plug-in can obtain the basic class file creation request input by the user from the deployment interface. As shown in FIG. 4, a deployment interface is shown where a user can select a language version, enter a selected path, enter a name of a base class file, such as a login, in an input box for "module name"; whether the building is established or not can be selected according to the ViewModel and the Model; whether to create may be selected for the pull down options of View and Layout.
Wherein, the View type can be understood as the implementation manner of View, such as Activity and Fragment in android.
The Layout type can be understood as: the layout file describes what type of layout the UI interface uses, such as relative layout in Android (relalativelayout), linear layout (linear layout), frame layout (FrameLayout), etc.
Declaring the type of View at the deployment interface, the basic code for creating the View, and declaring the type of layout at the deployment interface, the basic code for creating the layout.
Step S24, responding to the basic class file creating request, creating a basic class file, and writing a basic code into the basic class file.
After the IDE responds to the basic file creating request, the IDE can automatically create the basic file, acquire the basic code corresponding to the basic file, and write the acquired basic code into the basic file.
And S25, constructing a vehicle networking business module based on the basic class file, the basic code, the target component and the vehicle networking business logic.
Steps S23-S25 are a specific implementation of step S13 in example 1.
And S26, constructing a vehicle networking application program based on the vehicle networking service module.
In the embodiment, the basic file and the basic code are automatically created through the IDE plug-in, so that the development time of the basic file and the basic code can be saved, and the development efficiency is improved.
As another alternative embodiment of the present application, referring to fig. 5, a flowchart of an embodiment 3 of an application development method provided by the present application is provided, where this embodiment is mainly an extension of the application development method described in the foregoing embodiment 2, and as shown in fig. 5, when the method is applied to a terminal of an ios system, the method may include, but is not limited to, the following steps:
and step S31, acquiring the car networking service logic.
And step S32, acquiring the components related to the car networking business logic from the car networking terminal architecture, and taking the acquired components as target components.
And step S33, acquiring the basic class file creation request input by the user.
Step S34, responding to the basic class file creating request, creating a basic class file, and writing a basic code into the basic class file.
The detailed procedures of steps S31-S34 can be seen in steps S21-S24 of embodiment 2, and are not repeated herein.
Step S35, acquiring a creation request input by a user for a custom file, wherein the custom file is a preset file inserted after configuring an xcode created file environment of the ios system.
The custom class file may be inserted into the ios system by configuring the xcode create file environment of the ios system. The custom class file may be understood as: a file preset by a user.
Step S36, responding the creation request of the self-defined class file, creating the self-defined class file and writing the self-defined class code into the self-defined class file.
In this embodiment, the IDE plug-in may also respond to the creation request for the custom class file, create the custom class file, and write the custom class code into the custom class file.
Step S37, constructing a vehicle networking service module based on the basic class file, the basic code, the custom class file, the custom class code, the target assembly and the vehicle networking service logic.
And S38, constructing a vehicle networking application program based on the vehicle networking service module.
In the embodiment, the IDE component creates the custom class file and writes the custom class code into the custom class file, so that the purposes of automatically creating the custom class file and automatically writing the custom class code into the custom class file are achieved, and the development efficiency is improved.
As another optional embodiment of the present application, referring to fig. 6, a flowchart of an embodiment 4 of an application development method provided by the present application is provided, where this embodiment is mainly an extension scheme of the application development method described in the above embodiment 2, as shown in fig. 6, when the method is applied to a terminal of an Android system, the method may include, but is not limited to, the following steps:
and step S41, acquiring the car networking service logic.
And step S42, acquiring the components related to the car networking business logic from the car networking terminal architecture, and taking the acquired components as target components.
The target component may contain APT annotations for code associated with certain functions. According to the APT (annotation processing tool) annotation, the associated function code can be called, repeated writing of the function code is avoided, the development workload is reduced, and the development efficiency is improved.
And step S43, acquiring the basic class file creation request input by the user.
Step S44, responding to the basic class file creating request, creating a basic class file, and writing a basic code into the basic class file.
The base code may contain APT notes that are used to associate code for certain functions. According to the APT annotation, the associated function code can be called, repeated writing of the function code is avoided, the development workload is reduced, and the development efficiency is improved.
The detailed procedures of steps S41-S44 can be seen in steps S21-S24 of embodiment 2, and are not repeated herein.
Step S45, when it is detected that the target component and/or the base class code includes an APT annotation during compiling, acquiring a code associated with the APT annotation.
And S46, constructing a vehicle networking business module based on the basic class file, the basic code, the target component, the code associated with the APT annotation and the vehicle networking business logic.
Steps S45-S46 are a specific implementation of step S25 in example 2.
In the embodiment, by setting the APT annotation in the component or the basic code, the repeated writing workload of the code can be reduced, and the development efficiency is improved.
In this embodiment, the AOP technology can be used to expand the car networking application, and the development of the tangent plane change can be completed without affecting the original functions.
As another alternative embodiment of the present application, referring to fig. 7, a flowchart of an embodiment 5 of an application development method provided by the present application is provided, where this embodiment is mainly an extension of the application development method described in the above embodiment 1, as shown in fig. 7, the method may include, but is not limited to, the following steps:
step S51, acquiring the car networking service logic;
step S52, acquiring components related to the car networking business logic from the car networking terminal architecture, and taking the acquired components as target components;
step S53, constructing a vehicle networking service module based on the target component and the vehicle networking service logic;
and S54, constructing a vehicle networking application program based on the vehicle networking service module.
And S55, testing the Internet of vehicles service module, and after the testing is passed, constructing an Internet of vehicles application program based on the Internet of vehicles service module.
And testing the car networking service module, and after the test is passed, constructing a car networking application program based on the car networking service module, so that the reliability of the construction of the car networking application program can be ensured.
Next, an application development device provided in the present application will be described, and the application development device described below and the application development method described above may be referred to in correspondence with each other.
The application program development device is based on a vehicle networking terminal architecture, and the vehicle networking terminal architecture comprises: each component is obtained by developing each function required by the Internet of vehicles project in a componentization mode; referring to fig. 8, the application development apparatus includes: a first acquisition module 11, a second acquisition module 12, a generation module 13 and a construction module 14.
The first acquisition module 11 is used for acquiring the car networking service logic;
a second obtaining module 12, configured to obtain a component related to the car networking service logic from the car networking terminal architecture, and use the obtained component as a target component;
the generating module 13 is used for constructing an internet of vehicles service module based on the target component and the internet of vehicles service logic;
and the building module 14 is used for building the Internet of vehicles application program based on the Internet of vehicles service module.
In this embodiment, the generating module 13 may be specifically configured to:
acquiring a basic class file creating request input by a user;
responding to the basic class file creating request, creating a basic class file and writing basic codes into the basic class file;
and constructing a vehicle networking business module based on the basic class file, the basic code, the target component and the vehicle networking business logic.
In this embodiment, in a case where the application development device is applied to a terminal of an ios system, the application development device may further include:
a third obtaining module, configured to obtain a creation request for a custom class file input by a user, where the custom class file is a preset file inserted after configuring an xcode creation file environment of the ios system;
the creating module is used for responding to the creating request aiming at the self-defined class file, creating the self-defined class file and writing a self-defined class code into the self-defined class file;
accordingly, the generating module 13 may specifically be configured to:
and constructing a vehicle networking business module based on the basic class file, the basic code, the custom class file, the custom class code, the target assembly and the vehicle networking business logic.
In this embodiment, when the application development device is applied to a terminal of an Android system, the generation module may be specifically configured to:
when compiling, if detecting that the target component and/or the basic class code contain APT annotation, acquiring a code associated with the APT annotation;
and constructing a vehicle networking business module based on the basic class file, the basic code, the target component, the code associated with the APT annotation and the vehicle networking business logic.
In this embodiment, the building module 14 may be specifically configured to:
and testing the Internet of vehicles service module, and constructing an Internet of vehicles application program based on the Internet of vehicles service module after the test is passed.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The method and the device for developing the application program provided by the present application are introduced in detail, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An application program development method is characterized in that based on a vehicle networking terminal architecture, the vehicle networking terminal architecture comprises the following steps: each component is obtained by developing each function required by the Internet of vehicles project in a componentization mode; the different components interact in a routing mode, and the method comprises the following steps:
acquiring the business logic of the Internet of vehicles;
acquiring a component related to the car networking service logic from the car networking terminal architecture, and taking the acquired component as a target component;
constructing an Internet of vehicles service module based on the target component and the Internet of vehicles service logic;
and constructing the Internet of vehicles application program based on the Internet of vehicles service module.
2. The method of claim 1, wherein constructing a vehicle networking services module based on the target component and the vehicle networking services logic comprises:
acquiring a basic class file creating request input by a user;
responding to the basic class file creating request, creating a basic class file and writing basic codes into the basic class file;
and constructing a vehicle networking business module based on the basic class file, the basic code, the target component and the vehicle networking business logic.
3. The method according to claim 2, wherein in case that the method is applied to a terminal of an ios system, the method further comprises:
acquiring a creation request input by a user for a custom file, wherein the custom file is a preset file inserted after configuring an xcode created file environment of the ios system;
responding to the creation request aiming at the self-defined class file, creating the self-defined class file and writing a self-defined class code into the self-defined class file;
constructing a vehicle networking business module based on the basic class file, the basic code, the target component and the vehicle networking business logic;
and constructing a vehicle networking business module based on the basic class file, the basic code, the custom class file, the custom class code, the target assembly and the vehicle networking business logic.
4. The method according to claim 2, wherein in the case that the method is applied to a terminal of an Android system, the building of the car networking service module based on the base class file, the base code, the target component and the car networking service logic comprises:
when compiling, if detecting that the target component and/or the basic class code contain APT annotation, acquiring a code associated with the APT annotation;
and constructing a vehicle networking business module based on the basic class file, the basic code, the target component, the code associated with the APT annotation and the vehicle networking business logic.
5. The method of claim 1, wherein building a car networking application based on the car networking service module comprises:
and testing the Internet of vehicles service module, and constructing an Internet of vehicles application program based on the Internet of vehicles service module after the test is passed.
6. An application development device, based on a terminal architecture of a vehicle networking, the terminal architecture of the vehicle networking comprises: each component is obtained by developing each function required by the Internet of vehicles project in a componentization mode; the different components interact in a routing mode, and the device comprises:
the first acquisition module is used for acquiring the business logic of the Internet of vehicles;
the second acquisition module is used for acquiring a component related to the car networking service logic from the car networking terminal architecture, and taking the acquired component as a target component;
the generating module is used for constructing an Internet of vehicles service module based on the target component and the Internet of vehicles service logic;
and the building module is used for building the Internet of vehicles application program based on the Internet of vehicles service module.
7. The apparatus of claim 6, wherein the generating module is specifically configured to:
acquiring a basic class file creating request input by a user;
responding to the basic class file creating request, creating a basic class file and writing basic codes into the basic class file;
and constructing a vehicle networking business module based on the basic class file, the basic code, the target component and the vehicle networking business logic.
8. The apparatus according to claim 7, wherein in case that the apparatus is applied to a terminal of an ios system, the apparatus further comprises:
a third obtaining module, configured to obtain a creation request for a custom class file input by a user, where the custom class file is a preset file inserted after configuring an xcode creation file environment of the ios system;
the creating module is used for responding to the creating request aiming at the self-defined class file, creating the self-defined class file and writing a self-defined class code into the self-defined class file;
the generation module is specifically configured to:
and constructing a vehicle networking business module based on the basic class file, the basic code, the custom class file, the custom class code, the target assembly and the vehicle networking business logic.
9. The device according to claim 7, wherein the generating module, when the device is applied to a terminal of an Android system, is specifically configured to:
when compiling, if detecting that the target component and/or the basic class code contain APT annotation, acquiring a code associated with the APT annotation;
and constructing a vehicle networking business module based on the basic class file, the basic code, the target component, the code associated with the APT annotation and the vehicle networking business logic.
10. The apparatus according to claim 6, wherein the building block is specifically configured to:
and testing the Internet of vehicles service module, and constructing an Internet of vehicles application program based on the Internet of vehicles service module after the test is passed.
CN202010200842.7A 2020-03-20 2020-03-20 Application program development method and device Pending CN111813393A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010200842.7A CN111813393A (en) 2020-03-20 2020-03-20 Application program development method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010200842.7A CN111813393A (en) 2020-03-20 2020-03-20 Application program development method and device

Publications (1)

Publication Number Publication Date
CN111813393A true CN111813393A (en) 2020-10-23

Family

ID=72848026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010200842.7A Pending CN111813393A (en) 2020-03-20 2020-03-20 Application program development method and device

Country Status (1)

Country Link
CN (1) CN111813393A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394920A (en) * 2020-11-19 2021-02-23 联通智网科技有限公司 Application software development method, platform and electronic equipment
CN113419710A (en) * 2021-06-25 2021-09-21 北京悟空出行科技有限公司 Development method and device of small program, electronic equipment and medium
CN113535132A (en) * 2021-07-26 2021-10-22 中移(杭州)信息技术有限公司 Device access method, device, terminal device and storage medium
CN114760290A (en) * 2022-05-07 2022-07-15 北京字跳网络技术有限公司 Application development method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684963A (en) * 2013-11-18 2014-03-26 重庆邮电大学 Framework system and implementation method of middleware applied to car networking
CN104765603A (en) * 2015-03-18 2015-07-08 百度在线网络技术(北京)有限公司 Application program building method and device
CN108563432A (en) * 2018-03-14 2018-09-21 广东能龙教育股份有限公司 Android application program componentization rapid development method through route configuration
CN109032614A (en) * 2018-08-07 2018-12-18 佛山市苔藓云链科技有限公司 A kind of system and method for Internet of Things application development and maintenance
CN109656538A (en) * 2017-10-11 2019-04-19 阿里巴巴集团控股有限公司 Generation method, device, system, equipment and the medium of application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684963A (en) * 2013-11-18 2014-03-26 重庆邮电大学 Framework system and implementation method of middleware applied to car networking
CN104765603A (en) * 2015-03-18 2015-07-08 百度在线网络技术(北京)有限公司 Application program building method and device
CN109656538A (en) * 2017-10-11 2019-04-19 阿里巴巴集团控股有限公司 Generation method, device, system, equipment and the medium of application program
CN108563432A (en) * 2018-03-14 2018-09-21 广东能龙教育股份有限公司 Android application program componentization rapid development method through route configuration
CN109032614A (en) * 2018-08-07 2018-12-18 佛山市苔藓云链科技有限公司 A kind of system and method for Internet of Things application development and maintenance

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394920A (en) * 2020-11-19 2021-02-23 联通智网科技有限公司 Application software development method, platform and electronic equipment
CN112394920B (en) * 2020-11-19 2024-03-29 联通智网科技股份有限公司 Application software development method, platform and electronic equipment
CN113419710A (en) * 2021-06-25 2021-09-21 北京悟空出行科技有限公司 Development method and device of small program, electronic equipment and medium
CN113419710B (en) * 2021-06-25 2024-03-15 北京悟空出行科技有限公司 Development method and device of applet, electronic equipment and medium
CN113535132A (en) * 2021-07-26 2021-10-22 中移(杭州)信息技术有限公司 Device access method, device, terminal device and storage medium
CN114760290A (en) * 2022-05-07 2022-07-15 北京字跳网络技术有限公司 Application development method and device, electronic equipment and storage medium
CN114760290B (en) * 2022-05-07 2024-04-12 北京字跳网络技术有限公司 Application development method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111813393A (en) Application program development method and device
Rumpe Agile Modeling with the UML
CN101276279B (en) Unified development system and method
CN100407138C (en) Brew-based dynamic user interface system structure and method for realization
US20040158820A1 (en) System for generating an application framework and components
CN100511139C (en) Computer software application program development and operation method based on XML and script language
CN105718289A (en) Component relationship establishing method and equipment
CN102306102A (en) Method and device for automatically generating program file
Giachetti et al. Using UML as a domain-specific modeling language: A proposal for automatic generation of UML profiles
CN105117215A (en) Development method and device of automobile function
CN111399840A (en) Module development method and device
CN103136100B (en) A kind of method and system of Android test
JP2008276690A (en) Development system, server for development system, and development method
CN107526679A (en) Automated test frame, the automated testing method based on thereon, storage medium and computer equipment
US20060184924A1 (en) Intelligent platform management interface firmware architecture and method of building the same
CN110134380B (en) Code generation method and device based on template engine and electronic equipment
CN106776266A (en) The collocation method and terminal device of testing tool
CN102214103A (en) Method and system for establishing and performing task program based on functional unit
CN113296742A (en) APP data processing method and device and mobile terminal
CN112631563A (en) System development method and device based on framework, computer equipment and storage medium
CN110806891B (en) Method and device for generating software version of embedded device
Engels et al. Model-driven monitoring: An application of graph transformation for design by contract
CN110780863A (en) Cross-platform development method, device, equipment and medium of storage system
Liu et al. Model-driven design of tools for multi-domain systems with loosely coupled metamodels
CN114721647A (en) Object-oriented programming method based on codeless application development

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