CN113138790A - Customized integration method and device for Android set top box and set top box integrated development system - Google Patents
Customized integration method and device for Android set top box and set top box integrated development system Download PDFInfo
- Publication number
- CN113138790A CN113138790A CN202110529055.1A CN202110529055A CN113138790A CN 113138790 A CN113138790 A CN 113138790A CN 202110529055 A CN202110529055 A CN 202110529055A CN 113138790 A CN113138790 A CN 113138790A
- Authority
- CN
- China
- Prior art keywords
- android
- top box
- configuration
- module
- set top
- 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.)
- Granted
Links
- 230000010354 integration Effects 0.000 title claims abstract description 41
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000011161 development Methods 0.000 title claims abstract description 21
- 230000000007 visual effect Effects 0.000 claims abstract description 24
- 230000004048 modification Effects 0.000 claims abstract description 23
- 238000012986 modification Methods 0.000 claims abstract description 23
- 238000004806 packaging method and process Methods 0.000 claims abstract description 15
- 238000004590 computer program Methods 0.000 claims description 13
- 238000012795 verification Methods 0.000 claims description 12
- 238000003860 storage Methods 0.000 claims description 8
- 238000000605 extraction Methods 0.000 claims description 4
- 238000005538 encapsulation Methods 0.000 claims 1
- 230000006978 adaptation Effects 0.000 abstract description 8
- 230000006870 function Effects 0.000 description 17
- 238000013515 script Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 4
- 239000004065 semiconductor Substances 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 238000002054 transplantation Methods 0.000 description 3
- 238000012800 visualization Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 2
- 229910052710 silicon Inorganic materials 0.000 description 2
- 239000010703 silicon Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3628—Software debugging of optimised code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The invention relates to the field of integrated development, and provides an Android set top box customized integration method, an Android set top box customized integration device and a set top box integrated development system. The method comprises the following steps: extracting API interfaces of all configuration items corresponding to customization requirements from Android source codes of different chip schemes; packaging the extracted API interfaces of the configuration items into a unified and universal API interface; extracting paths of all configuration projects through the unified and universal API interface to form a visual configuration window, and modifying the corresponding configuration projects through the visual configuration window according to customization requirements; and compiling the Android source code which finishes the modification of the configuration item to obtain an Android basic version. The invention simplifies the demand adaptation operation of the customized system integration and improves the efficiency of the set top box customized system integration.
Description
Technical Field
The invention relates to the field of integrated development, in particular to an Android set top box customized integration method, an Android set top box customized integration device, an Android set top box integrated development system and a storage medium.
Background
At present, the Android mobile operating system has become the operating system of the intelligent mobile device with the highest occupancy rate worldwide. More and more mobile equipment manufacturers and service providers concentrate on the integrated development of Android mobile equipment and applications, such as Android set-top boxes, and users also put diversified demands on the set-top boxes. In the same project source code, the ROM firmware of the android set-top box needs to be customized and developed according to the requirements of users in different regions. In the existing project development process, the android source code catalog is manually matched according to a chip scheme, a compiling rule is added, and a Git record push is submitted to a remote library and then is compiled through a server to generate a mirror image. Because different chip schemes (such as haishi, morning semiconductor amlogic, morning semiconductor mstar, and the like) correspond to different compiling environments, corresponding repetitive and mechanical operations are required to be performed on the android project source code files to perform integrated adaptation aiming at projects in different regions, for example, corresponding compiling rules are added according to the chip schemes, and information such as software versions are modified or updated according to customized requirements. These operations require developers to find file paths one by one and then modify or enter the file paths, and complicated operations such as switching file paths, copying and pasting are required. Generally, in the actual development process of an android project, the customization requirements are frequently updated or changed, a large amount of time is spent on integration and adaptation by developers, the working efficiency of the developers is reduced, and the integration efficiency of a set top box customization system is not high.
Disclosure of Invention
The embodiment of the invention aims to provide an Android set top box customization integration method and device, and aims to solve the problem that the set top box customization system is low in integration efficiency.
In order to achieve the above object, the present invention provides an Android set top box customized integration method, including: extracting API interfaces of all configuration items corresponding to customization requirements from Android source codes of different chip schemes; packaging the extracted API interfaces of the configuration items into a unified and universal API interface; extracting paths of all configuration projects through the unified and universal API interface to form a visual configuration window, and modifying the corresponding configuration projects through the visual configuration window according to customization requirements; and compiling the Android source code which finishes the modification of the configuration item to obtain an Android basic version.
Further, the modifying the corresponding configuration item through the visual configuration window according to the customized requirement includes at least one of: adding or modifying Android system attributes; modifying or updating the Android application package; performing MD5 hash value verification on the Android application package or file; carrying out electronic signature on the Android application program package; setting a starting-up animation and a logo; setting key values of a remote controller; and expanding a new functional module.
Further, the extracting API interfaces of the configuration items corresponding to the customized requirements from the Android source codes of different chip schemes includes: presetting paths of Android source codes of different chip schemes, and extracting API (application programming interface) interfaces of various configuration items corresponding to customization requirements according to the preset paths of the Android source codes.
Further, the method further comprises: and after the extracted API interfaces of the configuration items are packaged into a unified and general API interface, adding or switching chip schemes through the unified and general API interface.
Further, the method further comprises: before extracting the API interface of each configuration item corresponding to the customization requirement, acquiring the paths of the Android source codes of different chip schemes, and constructing a compiling environment required by the Android source codes.
In another aspect, the present invention provides an Android set-top box customized integration apparatus, including:
the extraction module is used for extracting API interfaces of all configuration items corresponding to customization requirements from Android source codes of different chip schemes;
the packaging module is used for packaging the extracted API interfaces of the configuration items into a uniform and general API interface;
the auxiliary tool software module is used for extracting the path of each configuration project through the unified and universal API interface to form a visual configuration window, and modifying the corresponding configuration project through the visual configuration window according to the customization requirement;
and the compiling module is used for compiling the Android source code which finishes the modification of the configuration item to obtain an Android basic version.
Further, the accessibility software module includes at least one of:
the basic information module is used for adding or modifying the Android system attribute;
the system file module is used for modifying or updating the Android application package;
the verification module is used for performing MD5 hash value verification on the Android application package or file;
the signature module is used for carrying out electronic signature on the Android application program package;
the starting animation module is used for setting starting animation and logo;
the remote controller module is used for setting key values of the remote controller;
and the extended function module is used for extending the new function module.
Further, the packaging module is also used for adding or switching chip schemes through the unified and universal API.
The invention also provides an Android set top box integrated development system which comprises the Android set top box customized integration device.
The invention also provides a machine-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed, the method for customizing and integrating the Android set top box is realized.
According to the method and the device for customizing and integrating the Android set top box, the API interfaces corresponding to the configuration items are packaged into the unified and universal API interface, developers directly use the unified and universal API interface to modify the configuration items without finding file paths and modifying or inputting the file paths one by one, the complicated mechanical operations of switching the file paths, copying, pasting and the like in the customizing system integration process are changed into visualization and automation, the required adaptation operation is simplified, the developers have more time to carry out logic or bug debugging and modification on the project codes, and the efficiency of customizing and integrating the system by the set top box is improved.
In addition, the Android system is integrated, operated and packaged into a uniform and universal API (application program interface), so that the added code modules are accurately and effectively integrated, the consistency of project management and transplantation is ensured, the coupling degree of project service codes is reduced, and the debugging and optimization of the system are facilitated; the customized integrated project code structure is neat and clear, the consistency with the baseline version is kept, and the cooperative cooperation of multiple persons and the quick take-over of different developers are facilitated. The method of the invention can be adapted to different chip schemes, is not limited to the customized integration of the set-top box, and can adapt to the diversification of chip markets and the multiple development of projects.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
fig. 1 is a flowchart of an Android set top box customized integration method according to an embodiment of the present invention;
fig. 2 is a block diagram of an Android set-top box customized integration device according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart of an Android set top box customized integration method according to an embodiment of the present invention. As shown in fig. 1, an embodiment of the present invention provides an Android set top box customized integration method, including the following steps:
and S1, extracting API interfaces of all configuration items corresponding to the customization requirements from the Android source codes of different chip schemes.
Different chip schemes such as haishi, crystal morning semiconductor amlogic, morning star semiconductor mstar, etc. Presetting paths of Android source codes of different chip schemes, and extracting API interfaces corresponding to various configuration items according to the preset paths of the Android source codes. The configuration items comprise customization requirements such as file name addition or modification, first-time startup default value modification of a database, preset startup animation logo, remote controller adaptation and the like.
Before step S1, paths of the Android system source codes of different chip schemes need to be obtained, a compiling rule is added, and a compiling environment required by the Android system source codes, such as JDK version requirements, initialization operations, and the like, is constructed.
And S2, packaging the extracted API interfaces of the configuration items into a uniform and universal API interface.
For example, a third party of the hisi scheme applies a preset path under device \ hisi silicon \ bigfish \ prebugs \ third Party applications \ and the preset path of the amlogic scheme is under device \ amlogic \ common \ China Mobile _ apps \ and if a configuration item for modifying the file name rule needs to be added, the file name rule can be automatically added when the APK application is imported by configuring the interface script. For another example, the default configuration item of the first startup of the database and the path of the wifi switch default setting bool option are frames \ base \ packages \ settingsrovider \ res \ values \ defaults. The interface can also be customized and packaged according to the compiling rules of different chip schemes, and the API interfaces of all configuration items are packaged into a uniform and universal API interface through the script, so that the complicated configuration item modification operation is changed into a one-key operation script, and the Android set top box system meeting the differentiated requirements of users in different areas is integrated.
And S3, extracting the path of each configuration project through the unified and universal API to form a visual configuration window, and modifying the corresponding configuration project through the visual configuration window according to the customization requirement.
Wherein, the corresponding configuration items are modified according to the customized requirements, including any one or more of the following items:
1) adding or modifying Android system attributes. And obtaining information such as the version number of software compiled by the current Android source code, the equipment model, the manufacturer and the like from the file corresponding to the path, and directly modifying related information according with the customization requirement. The system files comprise shell script files, build.prop files, boot rc script files, default value configuration files of a system setting database, combeyfunction.xml files, white list protection files and the like, the files are modified according to customization requirements in the development process, corresponding files are directly matched according to corresponding chip schemes, compiling operation is directly carried out, and the modified files are directly saved and updated to a source code directory.
2) And modifying or updating the Android application package. Specifically, a unified and general API (application program interface) is used for reading which apks (Android application packages, referred to as apks) are preinstalled in the current system according to the project source code paths, and updating and removing the existing apks, or required third-party apks and so library files are imported by adding, wherein the so library files comprise a same-name conflict prompting function. Or dragging the apk or library file into a visual configuration window, namely importing the source code into the corresponding directory, automatically adding the corresponding compiling rule according to the chip scheme, and integrating the third-party apk customized by the customer.
3) And performing MD5 hash value verification on the Android application package or file. In the process of project development, the effectiveness and the state of the files with the same name cannot be determined due to factors such as compiling or copying, pasting and changing, and the like, and the files can be subjected to hash value verification of MD5 through corresponding visual configuration windows.
4) And carrying out electronic signature on the Android application program package. When the third-party apk is installed, the Android system permission needs to be acquired, the apk is subjected to system platform signature operation in the visual configuration window, so that the apk carries the information of the private key file and the digital certificate file of the upper system platform, and one-key signature operation can be realized through the platform script.
5) And setting the boot animation and the logo. And the Android baseline version is configured with default boot animation and boot logo, the corresponding boot animation and logo compiled by the current system are displayed in a visual configuration window in a preview manner for developers to recognize and judge, and the corresponding new boot animation and logo are modified or imported according to customized requirements.
6) And setting key values of the remote controller. The key physical key values of different remote controllers are all inconsistent, and the Android system of the set top box can be adapted to the key values of a plurality of sets of infrared remote controllers. All infrared key value mapping tables compiled and used by the system can be read through a unified and universal API (application program interface), and a set of new remote controller key values can be modified or added.
7) And expanding a new functional module. And adding new function modules or custom functions for subsequent development, such as related functions of system upgrade package modification, upgrade scripts and upgrade strategy modification, so as to facilitate debugging of the current network version.
And S4, compiling the Android source code which completes the modification of the configuration item to obtain an Android basic version.
In this embodiment, after step S2, a chip scheme is added or switched through a unified and general API interface, for example, the hisi scheme is switched to the amlogic scheme, so that the configuration project modification under the amlogic scheme can be realized, and the Android basic version under the amlogic chip scheme is finally obtained.
According to the Android set-top box customized integration method provided by the embodiment of the invention, API interfaces corresponding to various configuration items are packaged into a unified and universal API interface, developers directly use the unified and universal API interface to modify a plurality of configuration items, and substantially modify project source codes (for example, the Android project source code files can be operated by technologies such as QT programming software, scripts, aapt tools and linux commands), so that the developers do not need to find one file path to modify or enter the file path, the complicated mechanical operations such as switching file paths, copying and pasting are changed into visualization and automation, the required adaptation operation is simplified, the developers have more time to carry out logic or bug debugging modification of the project codes, and the set-top box customized system integration efficiency is improved.
According to the method, the Android system is integrated, operated and packaged into a uniform and universal API (application program interface), so that the added code modules are accurately and effectively integrated, the consistency of project management and transplantation is ensured, the coupling degree of project service codes is reduced, and the debugging and optimization of the system are facilitated; the customized integrated project code structure is neat and clear, the consistency with the baseline version is kept, and the cooperative cooperation of multiple persons and the quick take-over of different developers are facilitated. Moreover, the method of the invention can be adapted to different chip schemes, is not limited to the customized integration of the set top box, and can adapt to the diversification of chip markets and the multiple development of projects.
Fig. 2 is a block diagram of an Android set-top box customized integration device according to an embodiment of the present invention. As shown in fig. 2, an embodiment of the present invention provides an Android set-top box customized integration apparatus, including: the system comprises an extraction module, a packaging module, an auxiliary tool software module and a compiling module. The extraction module is used for extracting the API interfaces of all configuration items corresponding to the customization requirements from the Android source codes of different chip schemes. Specifically, paths of Android source codes of different chip schemes are preset, and API interfaces corresponding to various configuration items are extracted according to the preset paths of the Android source codes. The configuration items comprise customization requirements such as file name addition or modification, first-time startup default value modification of a database, preset startup animation logo, remote controller adaptation and the like.
And the packaging module is used for packaging the extracted API interfaces of the configuration items into a uniform and general API interface. For example, a third party of the hisi scheme applies a preset path under device \ hisi silicon \ bigfish \ prebugs \ third Party applications \ and the preset path of the amlogic scheme is under device \ amlogic \ common \ China Mobile _ apps \ and if a configuration item for modifying the file name rule needs to be added, the file name rule can be automatically added when the APK application is imported by configuring the interface script. For another example, the default configuration item of the first startup of the database and the path of the wifi switch default setting bool option are frames \ base \ packages \ settingsrovider \ res \ values \ defaults. The method comprises the steps of customizing a packaging interface according to compiling rules of different chip schemes, packaging the API interface of each configuration item into a uniform and universal API interface through a script, changing complicated configuration item modification operation into a one-key operation script, and integrating the Android set top box system meeting the differentiation requirements of users in different areas.
The auxiliary tool software module is used for extracting the path of each configuration project through the unified and universal API interface to form a visual configuration window, and modifying the corresponding configuration project through the visual configuration window according to the customization requirement. In this embodiment, the auxiliary tool software module includes: the system comprises a basic information module, a system file module, a verification module, a signature module, a starting animation module, a remote controller module and an expansion function module, wherein the modules are displayed in a visual configuration window mode, and one-key operation of developers is facilitated.
The basic information module is used for adding or modifying the Android system attribute. The module acquires information such as a software version number, an equipment model and a manufacturer compiled by the current Android source code from a file of a corresponding path, and can directly modify related information according with customization requirements. The module is also used for acquiring system files, wherein the system files comprise shell script files, build.prop files, boot rc script files, default value configuration files of a system setting database, combeyfunction.xml files, white list protection files and the like. And modifying the files through the module according to customized requirements in the development process, directly matching the corresponding files according to the corresponding chip schemes, directly performing compiling operation, and directly storing and updating the modified files to a source code directory.
The system file module is used for modifying or updating the Android application package. Specifically, reading what the apk preinstalled in the current system is through a unified and general API interface according to a project source code path, and performing updating and removing operations on the existing apk, or importing a required third-party apk and a so library file through adding, wherein the so library file comprises a same-name conflict prompting function. Or dragging the apk or library file into a visual configuration window, namely importing the source code into the corresponding directory, automatically adding the corresponding compiling rule according to the chip scheme, and integrating the third-party apk customized by the customer.
The verification module is used for performing MD5 hash value verification on the Android application package or the Android application file. In the process of project development, the effectiveness and the state of the files with the same name cannot be determined due to factors such as compiling or copy-paste change, and the files can be subjected to hash value verification of MD5 through the module.
The signature module is used for carrying out electronic signature on the Android application program package. The module needs to acquire Android system permission when a third-party apk is installed, system platform signature operation is carried out on the apk in a visual configuration window, the apk is enabled to carry information of a private key file and a digital certificate file of an upper system platform, and one-key signature operation can be achieved through a platform script.
The boot animation module is used for setting boot animation and logo. And the Android baseline version is configured with default boot animation and boot logo, the corresponding boot animation and logo compiled by the current system are displayed in a visual configuration window in a preview manner for developers to recognize and judge, and the corresponding new boot animation and logo are modified or imported according to customized requirements.
The remote controller module is used for setting key values of the remote controller. The key physical key values of different remote controllers are all inconsistent, and the Android system of the set top box can be adapted to the key values of a plurality of sets of infrared remote controllers. All infrared key value mapping tables compiled and used by the system can be read through a unified and universal API (application program interface), and a set of new remote controller key values can be modified or added.
The extended function module is used for extending a new function module and adding a new function module or a custom function for subsequent development, such as modification related functions of a system upgrade package, upgrade scripts and upgrade strategy modification, so as to be beneficial to debugging of the current network version.
The compiling module is used for compiling the Android source code which finishes the modification of the configuration item to obtain an Android basic version.
After the packaging module packages the API interfaces of the configuration items into a unified and general API interface, a chip scheme may be added or switched through the unified and general API interface, for example, the hisi scheme is switched to the amlogic scheme, so that the configuration item modification under the amlogic scheme may be implemented, and the Android basic version under the amlogic chip scheme is finally obtained.
According to the Android set-top box customized integration device provided by the embodiment of the invention, the API interfaces corresponding to the configuration items are packaged into the unified and universal API interface, developers directly use the unified and universal API interface to modify the configuration items without finding file paths and modifying or inputting the file paths one by one, the complicated mechanical operations of switching the file paths, copying and pasting and the like are changed into visualization and automation, the required adaptation operation is simplified, the developers have more time to carry out logic or bug debugging and modification on the item codes, and the set-top box customized system integration efficiency is improved. The device packages the integrated operation of the Android system into a uniform and universal API interface, so that an added code module (or script program) is accurately and effectively integrated, the consistency of project management and transplantation is ensured, the coupling degree of project service codes is reduced, and the debugging and optimization of the system are facilitated; in addition, the customized and integrated project code structure of the device is neat and clear, the consistency with the baseline version is kept, and the device is convenient for cooperative cooperation of multiple persons and quick take-over of different developers. Moreover, the method of the invention can be adapted to different chip schemes, is not limited to the customized integration of the set top box, and can adapt to the diversification of chip markets and the multiple development of projects.
The embodiment of the invention also provides an Android set top box integrated development system which comprises the Android set top box customized integrated device.
The embodiment of the invention also provides a machine-readable storage medium, wherein computer program instructions are stored on the machine-readable storage medium, and when the computer program instructions are executed, the customized integration method for the Android set top box is realized.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, systems and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.
Claims (10)
1. An Android set top box customized integration method is characterized by comprising the following steps:
extracting API interfaces of all configuration items corresponding to customization requirements from Android source codes of different chip schemes;
packaging the extracted API interfaces of the configuration items into a unified and universal API interface;
extracting paths of all configuration projects through the unified and universal API interface to form a visual configuration window, and modifying the corresponding configuration projects through the visual configuration window according to customization requirements;
and compiling the Android source code which finishes the modification of the configuration item to obtain an Android basic version.
2. The Android set top box customization integration method according to claim 1, wherein the modifying the corresponding configuration item through the visual configuration window according to the customization requirement includes at least one of:
adding or modifying Android system attributes;
modifying or updating the Android application package;
performing MD5 hash value verification on the Android application package or file;
carrying out electronic signature on the Android application program package;
setting a starting-up animation and a logo;
setting key values of a remote controller;
and expanding a new functional module.
3. The Android set top box customization integration method of claim 1, wherein the extracting API interfaces of the configuration items corresponding to customization requirements from Android source codes of different chip schemes includes: presetting paths of Android source codes of different chip schemes, and extracting API (application programming interface) interfaces of various configuration items corresponding to customization requirements according to the preset paths of the Android source codes.
4. The Android set top box customized integration method of claim 1, further comprising:
and after the extracted API interfaces of the configuration items are packaged into a unified and general API interface, adding or switching chip schemes through the unified and general API interface.
5. The Android set top box customized integration method of claim 1, further comprising:
before extracting the API interface of each configuration item corresponding to the customization requirement, acquiring the paths of the Android source codes of different chip schemes, and constructing a compiling environment required by the Android source codes.
6. An Android set top box customization integration device, the device comprising:
the extraction module is used for extracting API interfaces of all configuration items corresponding to customization requirements from Android source codes of different chip schemes;
the packaging module is used for packaging the extracted API interfaces of the configuration items into a uniform and general API interface;
the auxiliary tool software module is used for extracting the path of each configuration project through the unified and universal API interface to form a visual configuration window, and modifying the corresponding configuration project through the visual configuration window according to the customization requirement;
and the compiling module is used for compiling the Android source code which finishes the modification of the configuration item to obtain an Android basic version.
7. The Android set-top box customized integration device of claim 6, wherein the accessibility software module comprises at least one of:
the basic information module is used for adding or modifying the Android system attribute;
the system file module is used for modifying or updating the Android application package;
the verification module is used for performing MD5 hash value verification on the Android application program or the file package;
the signature module is used for carrying out electronic signature on the Android application program package;
the starting animation module is used for setting starting animation and logo;
the remote controller module is used for setting key values of the remote controller;
and the extended function module is used for extending the new function module.
8. The Android set-top box customized integration apparatus of claim 6, wherein the encapsulation module is further configured to add or switch a chip scheme through the unified generic API interface.
9. An Android set top box integration development system, which is characterized by comprising the Android set top box customized integration device of any one of claims 6 to 8.
10. A storage medium having stored thereon computer program instructions, wherein the computer program instructions, when executed, implement the Android set-top box customized integration method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110529055.1A CN113138790B (en) | 2021-05-14 | 2021-05-14 | Customized integration method and device for Android set top box and integrated development system for set top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110529055.1A CN113138790B (en) | 2021-05-14 | 2021-05-14 | Customized integration method and device for Android set top box and integrated development system for set top box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113138790A true CN113138790A (en) | 2021-07-20 |
CN113138790B CN113138790B (en) | 2023-11-10 |
Family
ID=76817109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110529055.1A Active CN113138790B (en) | 2021-05-14 | 2021-05-14 | Customized integration method and device for Android set top box and integrated development system for set top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113138790B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116049799A (en) * | 2022-07-14 | 2023-05-02 | 荣耀终端有限公司 | System authority management method, system and electronic equipment |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU1295899A (en) * | 1997-11-03 | 1999-05-24 | Exigent International, Inc. | System and method for tracking with user modifiable interface |
US20020171546A1 (en) * | 2001-04-18 | 2002-11-21 | Evans Thomas P. | Universal, customizable security system for computers and other devices |
US20050060169A1 (en) * | 2003-09-15 | 2005-03-17 | Sun Microsystems, Inc. | Frameworks for integrating information systems |
US20110298581A1 (en) * | 2010-06-08 | 2011-12-08 | Wei Hsu | Universal remote controller |
CN103034491A (en) * | 2012-12-06 | 2013-04-10 | 国电南瑞科技股份有限公司 | Implementation system and method for power system interface integration |
CN103294514A (en) * | 2013-06-26 | 2013-09-11 | 深圳Tcl新技术有限公司 | System software release integrated method, compiling server and system |
CN103517334A (en) * | 2012-06-29 | 2014-01-15 | 中国电信股份有限公司 | Application processing chip, smartphone system and network access method |
CN104079976A (en) * | 2014-05-15 | 2014-10-01 | 惠州市水木网络科技有限公司 | Set top box user interface recommendation method and system |
WO2017185606A1 (en) * | 2016-04-29 | 2017-11-02 | 乐视控股(北京)有限公司 | Overlay mechanism-based apk development method and system |
CN108363574A (en) * | 2018-01-23 | 2018-08-03 | 平安普惠企业管理有限公司 | Front end method for customizing, device, terminal device and storage medium based on SDK |
CN109413499A (en) * | 2018-10-24 | 2019-03-01 | 深圳市康冠技术有限公司 | Configuration method, system and the equipment of Android TV-set fixer |
CN109584419A (en) * | 2018-12-03 | 2019-04-05 | 马立和 | Intelligent door lock unifies dynamic configuration interface system |
WO2020233048A1 (en) * | 2019-05-21 | 2020-11-26 | 深圳壹账通智能科技有限公司 | Customized software generation method and system, and electronic device and storage medium |
CN112148301A (en) * | 2020-09-23 | 2020-12-29 | 深圳鑫想科技有限责任公司 | Method, system and storage medium for integrated production of customized version of non-compiled Android system |
CN112203148A (en) * | 2020-09-25 | 2021-01-08 | 山东云缦智能科技有限公司 | Method for managing Service of Android set top box system built-in system |
-
2021
- 2021-05-14 CN CN202110529055.1A patent/CN113138790B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU1295899A (en) * | 1997-11-03 | 1999-05-24 | Exigent International, Inc. | System and method for tracking with user modifiable interface |
US20020171546A1 (en) * | 2001-04-18 | 2002-11-21 | Evans Thomas P. | Universal, customizable security system for computers and other devices |
US20050060169A1 (en) * | 2003-09-15 | 2005-03-17 | Sun Microsystems, Inc. | Frameworks for integrating information systems |
US20110298581A1 (en) * | 2010-06-08 | 2011-12-08 | Wei Hsu | Universal remote controller |
CN103517334A (en) * | 2012-06-29 | 2014-01-15 | 中国电信股份有限公司 | Application processing chip, smartphone system and network access method |
CN103034491A (en) * | 2012-12-06 | 2013-04-10 | 国电南瑞科技股份有限公司 | Implementation system and method for power system interface integration |
CN103294514A (en) * | 2013-06-26 | 2013-09-11 | 深圳Tcl新技术有限公司 | System software release integrated method, compiling server and system |
CN104079976A (en) * | 2014-05-15 | 2014-10-01 | 惠州市水木网络科技有限公司 | Set top box user interface recommendation method and system |
WO2017185606A1 (en) * | 2016-04-29 | 2017-11-02 | 乐视控股(北京)有限公司 | Overlay mechanism-based apk development method and system |
CN108363574A (en) * | 2018-01-23 | 2018-08-03 | 平安普惠企业管理有限公司 | Front end method for customizing, device, terminal device and storage medium based on SDK |
CN109413499A (en) * | 2018-10-24 | 2019-03-01 | 深圳市康冠技术有限公司 | Configuration method, system and the equipment of Android TV-set fixer |
CN109584419A (en) * | 2018-12-03 | 2019-04-05 | 马立和 | Intelligent door lock unifies dynamic configuration interface system |
WO2020233048A1 (en) * | 2019-05-21 | 2020-11-26 | 深圳壹账通智能科技有限公司 | Customized software generation method and system, and electronic device and storage medium |
CN112148301A (en) * | 2020-09-23 | 2020-12-29 | 深圳鑫想科技有限责任公司 | Method, system and storage medium for integrated production of customized version of non-compiled Android system |
CN112203148A (en) * | 2020-09-25 | 2021-01-08 | 山东云缦智能科技有限公司 | Method for managing Service of Android set top box system built-in system |
Non-Patent Citations (3)
Title |
---|
佚名, pages 1 - 3, Retrieved from the Internet <URL:《https://blog.csdn.net/weixin_43401380/article/details/112790111》> * |
沈诚辉: "基于mstar芯片平台的机顶盒统一接口研究与设计", 《万方》, pages 1 - 56 * |
许贤铭: "数字机顶盒可视化开发工具的设计与实现", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》, pages 1 - 56 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116049799A (en) * | 2022-07-14 | 2023-05-02 | 荣耀终端有限公司 | System authority management method, system and electronic equipment |
CN116049799B (en) * | 2022-07-14 | 2023-11-07 | 荣耀终端有限公司 | System authority management method, system and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113138790B (en) | 2023-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775723B (en) | Android platform-based system firmware customization method and Android device | |
CN106843837B (en) | Construction method for containerization of openstack component | |
JP7090657B2 (en) | Methods, devices, devices and storage media for upgrading applications | |
CN104252342B (en) | Embedded application implementation method and device capable of configuring parameters | |
CN102880498B (en) | The method of virtual SD card on the device of Android system | |
CN107506219A (en) | A kind of general version upgrade method based on android system | |
CN105159788B (en) | Method and system for dynamically sharing resources between Android applications | |
EP4009162A1 (en) | Code change method and device | |
CN103559065A (en) | Method and system for OTA (Over-the-Air Technology) upgrade | |
CN111443939A (en) | Configuration method and device of software development kit and storage medium | |
CN103761107A (en) | Software package customizing device and method | |
CN104699503A (en) | Method and device for replacing function execution logic in Android system | |
CN113138790A (en) | Customized integration method and device for Android set top box and set top box integrated development system | |
CN104461621A (en) | Attribute information updating method and device | |
CN115291946A (en) | Hongmong system transplanting method, device, electronic equipment and readable medium | |
EP2367103B1 (en) | A company advanced programming interface | |
CN106951240B (en) | Batch packaging method for user customized products | |
CN111506312B (en) | Page generation method and device, computer equipment and storage medium | |
CN110032390B (en) | Method for realizing multi-model co-upgrade package, storage medium and intelligent terminal | |
CN110647349B (en) | Method for realizing continuous delivery of iOS APP | |
CN103677933A (en) | Patching method and system for smart card | |
CN105700900A (en) | Method and device for optimizing wireless local area network function | |
CN106778270B (en) | Malicious application detection method and system | |
US20210271458A1 (en) | Managing an app method and system | |
CN112286568A (en) | Multi-version compatible method for Android system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |