Terminal installation package processing method, system, terminal and readable storage medium
By writing the main content and configuration module of the terminal installation package on the development side, and forming the corresponding functions and display on the user's side based on these content, the problem of incompatibility between the APK and the software system is solved, and the consistency of function and display is realized.
Patent Information
- Application Number
- CN201910851803.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-09
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2039-09-09
AI Technical Summary
The Android Package (APK) developed on the development side is incompatible with the software system on the user side, resulting in the inability to modify the APK file to adapt to different software systems.
On the development side, write the main content and configuration module of the terminal installation package, and send it to the user. After receiving the user terminal, the corresponding functions and display are formed according to the main content and configuration module, and the function and display of the main content of the main content through the switch variable and icon resource file of the configuration module.
Through the cooperation of the main content and the configuration module, the problem of incompatibility between the APK and the software system is solved, and the function and display consistency on different software systems are realized.
Smart Images

Figure CN110532027B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communications, and in particular to a terminal installation package processing method, system, terminal and readable storage medium. Background Art
[0002] An installation package is a collection of self-decompressible files. APK is the abbreviation of Android Package, which means Android installation package. A mobile phone cannot be used when it only has hardware facilities such as chips. Only when the entire bin file of the operating system and application is burned into the mobile phone can the mobile phone be used normally. The entire bin file burned into the mobile phone is also called the software system. Different mobile phone manufacturers have different software systems. When creating an APK, the development end often compiles the switch variables, icon resource files and source code into an APK simultaneously, and then sends it to the user end. After receiving the APK file, the user end can only form relevant functions and displays according to the content of the APK, and cannot modify the APK, so there may be problems with the APK file being incompatible with the software system.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to propose a terminal installation package processing method, system, terminal and readable storage medium, aiming to solve the technical problem that the APK developed by the development end is incompatible with the software system of the user end.
[0005] To achieve the above object, the present invention provides a terminal installation package processing method, which is applied to a development end and includes:
[0006] S11: receiving the main content of the terminal installation package and / or the writing instruction of the configuration module;
[0007] S12: Send the main body and / or the configuration module to the user end.
[0008] Optionally, the step S11 includes:
[0009] Receiving a writing instruction for calling a first code portion of the configuration module in the main content;
[0010] Defining switch variables and icon resource files of the configuration module;
[0011] An instruction for writing a second code portion for setting the function and / or display of the main content in the configuration module is received.
[0012] Optionally, the step S12 includes:
[0013] Compiling the main content into a first installation package;
[0014] Sending the first installation package to the user terminal;
[0015] The source code of the configuration module is sent to the user end.
[0016] The present invention provides a terminal installation package processing method, which is applied to a user terminal and includes:
[0017] S21: Obtain the main content and / or configuration module of the terminal installation package;
[0018] S22: The control software system forms corresponding functions and / or displays according to the main content and / or the configuration module.
[0019] Optionally, the step S21 includes:
[0020] According to the characteristic data of the software system, set the configuration module
[0021] Optionally, the step S22 includes:
[0022] Compiling the set configuration module into a second installation package;
[0023] The first installation package and the second installation package are integrated into the software system.
[0024] Optionally, the step S22 includes:
[0025] The second installation package sets the function and / or display of the first installation package according to the set content;
[0026] The first installation package sets the function and / or display of the software system.
[0027] The present invention also provides a terminal installation package processing system, the terminal installation package processing system includes a development end and a user end,
[0028] The development end receives the main content of the terminal installation package and / or the writing instruction of the configuration module;
[0029] The development end sends the main body and / or the configuration module to the user end.
[0030] The user end obtains the main content and / or configuration module in the terminal installation package sent by the development end;
[0031] The user-side control software system forms corresponding functions and / or displays according to the main content and / or the configuration module.
[0032] The present invention also provides a terminal, which includes: a memory, a processor, and a terminal installation package processing program stored in the memory and executable on the processor, wherein the terminal installation package processing program implements the steps of the terminal installation package processing method as described above when executed by the processor.
[0033] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the terminal installation package processing method as described above are implemented.
[0034] The present invention writes the main content and configuration module of the terminal installation package at the development end, and sends the main part and the configuration module to the user end; at the user end, the main content and configuration module of the terminal installation package are obtained, and the software system is controlled to form corresponding functions and displays according to the main content and the configuration module. At the development end, in addition to the main content of the installation package, the developer will also provide a configuration module, and the configuration module is related to the main content. At the user end, according to the main content and configuration module of the obtained installation package, corresponding functions and displays are formed, and a configuration module is added, which can have different configurations according to different software systems, avoiding incompatibility between the installation package and the software system. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0037] Figure 1 A schematic diagram of the device structure of the hardware operating environment involved in the development end of the present invention;
[0038] Figure 2 A schematic diagram of the hardware structure of a mobile terminal for implementing the user end of the present invention;
[0039] Figure 3 A schematic diagram of a process flow of a terminal installation package processing method provided by the first embodiment of the present invention;
[0040] Figure 4 A partial flow chart of a terminal installation package processing method provided by a second embodiment of the present invention;
[0041] Figure 5A schematic diagram of a process flow of a terminal installation package processing method provided by a second embodiment of the present invention;
[0042] Figure 6 A partial flow chart of a terminal installation package processing method provided in the second embodiment of the present invention.
[0043] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0045] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0046] The terminal of the embodiment of the present invention can be a fixed terminal, such as an IoT smart device, including smart home appliances such as smart air conditioners, smart lights, smart power supplies, smart routers, etc.; it can also be a mobile terminal, including smart phones, wearable networked AR / VR devices, smart speakers, self-driving cars and many other networked devices.
[0047] The architecture design of the terminal installation package processing system includes a development end and a user end.
[0048] like Figure 1 As shown, the development end device structure may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0049] Optionally, the terminal installation package processing system may also include a user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. The user interface may include a display, a touch screen, a camera (including AR / VR devices), etc., and the optional user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface, a Bluetooth interface, a probe interface, a 3G / 4G / 5G networking communication interface, etc.).
[0050] Those skilled in the art will understand that Figure 1 The terminal installation package processing system structure shown in the figure does not constitute a limitation on the terminal installation package processing system, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0051] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, and a terminal installation package processing program. The operating system is a program that manages and controls the hardware and software resources of the terminal installation package processing system, and supports the operation of the terminal installation package processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the memory 1005, and the communication with other hardware and software in the terminal installation package processing system.
[0052] The terminal at the user end may be a mobile terminal.
[0053] See also Figure 2 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 2 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0054] Combine the following Figure 2 The following is a detailed introduction to the various components of the mobile terminal:
[0055] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.
[0056] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 2 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as needed without changing the essence of the invention.
[0057] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.
[0058] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.
[0059] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can also be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0060] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0061] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.
[0062] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 2 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.
[0063] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
[0064] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0065] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.
[0066] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0067] although Figure 2 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.
[0068] The invention provides a terminal installation package processing method.
[0069] Reference Figure 3 In the first embodiment of the terminal installation package processing method of the present invention, the terminal installation package processing method is applied to the development end, and the method includes:
[0070] Step S11, receiving the main content of the terminal installation package and / or the writing instruction of the configuration module;
[0071] There are switch variables and icon resource files in the configuration module. The main content is closely related to the configuration module. The code in the main content can call the content in the configuration module. Conversely, the configuration can set the main part through switch variables and icon resource files.
[0072] Step S12, sending the main body and / or the configuration module to the user terminal;
[0073] The main part is sent to the user end in the form of an installation package, and the configuration module sends the source code to the user end.
[0074] The terminal installation package processing method is applied to the user terminal, and the method comprises:
[0075] Step S21, obtaining the main content and / or configuration module of the terminal installation package;
[0076] The main content and / or configuration module of the terminal installation package obtained is the corresponding content sent by the development end, wherein the main content is the received installation package and cannot be modified by the user end, and the configuration module is received in the form of source code and can be modified by the user end.
[0077] Step S22, controlling the software system to form corresponding functions and / or displays according to the main content and / or the configuration module;
[0078] The configuration module may be reset by the user, and after the setting is completed, it will be compiled into an installation package file. After that, the two installation packages compiled from the main content and the configuration module will be combined into the software system to jointly set the functions and / or display of the software system.
[0079] In this embodiment, after the development end has written the main content and / or configuration module of the installation package, the main content and / or configuration module is sent to the user end. After the user end receives the main content and / or configuration module, it controls the software system to form corresponding functions and / or displays according to the main content and / or configuration module. Through the mutual cooperation of the main content of the installation package and the configuration module, different functions and / or displays can be realized for different software systems, solving the incompatibility problem between the installation package and the software system.
[0080] Step S11 and step S12 are described below using separate embodiments.
[0081] Reference Figure 3 and Figure 4 In a second embodiment of the terminal installation package processing method of the present invention, the terminal installation package processing method is applied to the development end, and the method includes:
[0082] Step S11, receiving the main content of the terminal installation package and / or the writing instruction of the configuration module;
[0083] Specifically, step S11 includes:
[0084] Step S111, receiving a writing instruction for calling a first code portion of the configuration module in the main content;
[0085] In the programming process, it is very complicated to put all the content in one function or module, so there are usually calls between different functions or modules. The calling methods here use the common calling methods of Android, such as class methods and instance methods. The common calling methods are used here to avoid incompatibility issues. The main content code here includes not only this part, but also other required code parts.
[0086] Step S112, defining switch variables and icon resource files of the configuration module;
[0087] Switch variables can control different functions, and icon resource files can produce different displays.
[0088] Step S113, receiving a writing instruction of a second code part for setting the function and / or display of the main content in the configuration module;
[0089] This portion of code can be linked to the first portion of code in the main content, and provide content that can be called by the main content to achieve its function and / or display.
[0090] Step S12: sending the main body and / or the configuration module to the user terminal.
[0091] In this embodiment, through the connection between the main content of the installation package and the configuration module, the main content can call the configuration module, and the configuration module can set the function and / or display of the main content, thereby splitting the content that is conventionally written into the installation package into two different parts.
[0092] Further, refer to Figure 5 Based on the second embodiment of the terminal installation package processing method of the present invention, a third embodiment of the terminal installation package processing method is provided. In the third embodiment,
[0093] Step S12 includes:
[0094] Step S121, compiling the main content into a first installation package;
[0095] The content of this part cannot be modified by the user. Compiling it into an installation package can also reduce the file size, which is more convenient for sending it to the user.
[0096] Step S122, sending the first installation package to the user terminal;
[0097] Step S123, sending the source code of the configuration module to the user terminal;
[0098] The software systems of the user end may be different. In order to facilitate the user end to configure the configuration module according to the software system, the source code of the configuration module is sent to the user end here.
[0099] In this embodiment, for the main content and configuration modules of the installation package, corresponding file formats are selected for sending according to the different processing procedures they will undergo in the subsequent process.
[0100] At the same time, the third embodiment can also be combined with the first embodiment, that is, the prepared main content and configuration are sent to the user end in two different file formats, thereby reducing the size of the transmitted file without affecting the subsequent normal use of the file.
[0101] Step S21 and step S22 are described below using separate embodiments.
[0102] Reference Figure 3 and Figure 6 In a fourth embodiment of the terminal installation package processing method of the present invention, the terminal installation package processing method is applied to a user terminal, and the method includes:
[0103] Step S21, obtaining the main content and / or configuration module of the terminal installation package;
[0104] Specifically, step S21 includes:
[0105] Step A, setting a configuration module according to characteristic data of the software system;
[0106] Different software systems are different, and the data therein may be different, such as whether the screen display ratio is 16:9 or 18:9, etc. The user end sets the configuration module according to the data in the software system to adjust the switch variables of the configuration module and the corresponding icon resource files.
[0107] Step S22, controlling the software system to form corresponding functions and displays according to the main content and the configuration module;
[0108] Specifically, before step S22, the following steps are included:
[0109] Step S221, compiling the set configuration module into a second installation package;
[0110] After the configuration module is set up, it needs to be compiled into an installation package file, because in order for the software system to be able to read the main content and the code in the configuration module, it needs to be converted into an installation package.
[0111] Step S222, integrating the first installation package and the second installation package into the software system;
[0112] The contents of the two installation packages are indispensable, so that the two installation packages exist at the same time to fully realize the relevant functions and / or displays in the software system.
[0113] Specifically, step S22 includes:
[0114] Step S223, the second installation package sets the function and / or display of the first installation package according to the set content;
[0115] Step S224: the first installation package sets the function and / or display of the software system.
[0116] The communication between the two installation packages is achieved through the calling relationship and setting relationship between the main content and the configuration module. That is to say, on the user side, the functions and / or displays in the main content are set according to the switch variables and icon resource files configured in the configuration module, and then the software system is set through the main content to achieve the corresponding functions and / or displays.
[0117] In this embodiment, after receiving the main content and configuration module of the installation package from the development end, the user end can set the configuration module according to the characteristic data of the software system, and then the set configuration module and the main content together set the function and / or display of the software system. By setting the configuration module, different functions and / or displays can be generated for different software systems.
[0118] The present invention also provides a terminal installation package system, which includes a development end and a user end; the extended content of the specific implementation methods of the development end and the user end of the terminal installation package system is basically the same as the various embodiments of the above-mentioned terminal installation package processing method, and will not be repeated here.
[0119] The method implemented when the terminal and the readable storage medium (ie, the computer-readable storage medium) of the present invention are executed can refer to the various embodiments of the terminal installation package processing method of the present invention, and will not be described in detail here.
[0120] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, terminals or computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0121] The present application is described with reference to the flowcharts and / or block diagrams of the methods, terminals (systems) and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0122] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0124] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0125] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0126] In the description of the present invention, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of the present description. Similarly, it should be understood that in order to simplify the disclosure of the present invention and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed invention requires more features than the features explicitly stated in each claim. More specifically, as reflected in the claims, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict. The present invention is not limited to any single aspect, nor to any single embodiment, nor to any combination and / or permutation of these aspects and / or embodiments. Furthermore, each aspect and / or embodiment of the present invention may be used alone or in combination with one or more of the other aspects and / or embodiments thereof.
[0127] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A terminal installation package processing method, characterized in that: The terminal installation package processing method is applied to the development end, and the terminal installation package processing method includes the following steps: S11: receiving the main content of the terminal installation package and / or the writing instruction of the configuration module; S12: sending the main content and / or the configuration module to the user terminal, so that after obtaining the main content and / or the configuration module, the user terminal sets the switch variable and icon resource file of the configuration module according to the characteristic data of the software system, compiles the set configuration module into a second installation package, and integrates the first installation package and the second installation package into the software system to control the software system to form corresponding functions and / or displays according to the main content and / or the configuration module; The step S11 includes: Receiving a writing instruction for calling a first code portion of the configuration module in the main content; Defining switch variables and icon resource files of the configuration module, wherein the switch variables are used to control different functions, and the icon resource files are used to generate different displays; Receiving a writing instruction of a second code portion for setting a function and / or display of the main content in the configuration module; The step S12 includes: Compiling the main content into a first installation package; Sending the first installation package to the user terminal; The source code of the configuration module is sent to the user end.
2. A terminal installation package processing method, characterized in that: The terminal installation package processing method is applied to the user terminal, and the steps of the terminal installation package processing method include: S21: Obtaining the main content and / or configuration module of the terminal installation package, wherein the main content and / or the configuration module are sent by the development end after receiving the writing instruction of the first code part of calling the configuration module in the main content, defining the switch variable and icon resource file of the configuration module, and receiving the writing instruction of the second code part of setting the function and / or display of the main content in the configuration module, the main content is sent in the form of an installation package, the configuration module is sent in the form of source code, the switch variable is used to control different functions, and the icon resource file is used to generate different displays; S22: controlling the software system to form corresponding functions and / or displays according to the main content and / or the configuration module; The step S21 then includes: According to the characteristic data of the software system, setting the switch variables and icon resource files of the configuration module; The S22 step includes: Compiling the set configuration module into a second installation package; The first installation package and the second installation package are integrated into the software system.
3. The terminal installation package processing method according to claim 2, characterized in that: The step S22 includes: The second installation package sets the function and / or display of the first installation package according to the set content; The first installation package sets the function and / or display of the software system.
4. A terminal installation package processing system, characterized in that: The terminal installation package processing system includes a development end and a user end. The development end receives the main content and / or configuration module writing instructions of the terminal installation package; receives the writing instructions of the first code part in the main content for calling the configuration module; defines the switch variables and icon resource files of the configuration module, wherein the switch variables are used to control different functions and the icon resource files are used to generate different displays; receives the writing instructions of the second code part in the configuration module for setting the function and / or display of the main content; The development end sends the main content and / or the configuration module to the user end; compiles the main content into a first installation package; sends the first installation package to the user end; sends the source code of the configuration module to the user end; The user end obtains the main content and / or configuration module in the terminal installation package sent by the development end; sets the switch variable and icon resource file of the configuration module according to the characteristic data of the software system; The user end compiles the set configuration module into a second installation package; integrates the first installation package and the second installation package into the software system; and controls the software system to form corresponding functions and / or displays according to the main content and / or the configuration module.
5. A terminal, characterized in that: The terminal includes: a memory, a processor, and a terminal installation package processing program stored in the memory and executable on the processor. When the terminal installation package processing program is executed by the processor, the steps of the terminal installation package processing method according to any one of claims 1 or 2 to 3 are implemented.
6. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the terminal installation package processing method according to any one of claims 1 or 2 to 3 are implemented.
Citation Information
Patent Citations
Software customization method, device and system and terminal
CN109725897A