CN104866294A - Method and device for extending Android software function - Google Patents

Method and device for extending Android software function Download PDF

Info

Publication number
CN104866294A
CN104866294A CN201410064987.3A CN201410064987A CN104866294A CN 104866294 A CN104866294 A CN 104866294A CN 201410064987 A CN201410064987 A CN 201410064987A CN 104866294 A CN104866294 A CN 104866294A
Authority
CN
China
Prior art keywords
dynamic library
library file
function extension
function
expanded
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
Application number
CN201410064987.3A
Other languages
Chinese (zh)
Other versions
CN104866294B (en
Inventor
阎文斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Na Jia Development Of Information Science And Technology Co Ltd
Original Assignee
Beijing Na Jia Development Of Information Science And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Na Jia Development Of Information Science And Technology Co Ltd filed Critical Beijing Na Jia Development Of Information Science And Technology Co Ltd
Priority to CN201410064987.3A priority Critical patent/CN104866294B/en
Publication of CN104866294A publication Critical patent/CN104866294A/en
Application granted granted Critical
Publication of CN104866294B publication Critical patent/CN104866294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and a device for extending an Android software function and relates to the technical field of communication. With the adoption of the method and the device, the software function can be extended under the condition that the original program execution logic is unchanged, and the efficiency of extension of the software function is improved. The method mainly comprises steps as follows: unpacking an APK (Android package) file to obtain a to-be-extended dynamic library file; constructing an executable function extension section according to the platform type of the to-be-extended dynamic library file, wherein the function extension section stores a code for extending the function; constructing a function-extended dynamic library file according to the function extension section and the to-be-extended dynamic library file; packing the function-extended dynamic library file to obtain a function-extended APK file. The method and the device are mainly used in the process of extending the Android software function.

Description

A kind of method and device expanding Android software function
Technical field
The present invention relates to communication technical field, be specifically related to technical field of mobile terminals, particularly relate to a kind of method and the device of expanding Android software function.
Background technology
Along with the develop rapidly of wireless Internet technologies and intelligent terminal, android system has been widely used in the various intelligent mobile terminal such as mobile phone, panel computer, and provide abundant application software to download for user and.
For Android platform, if need to carry out Function Extension to existing application program, just need the original actuating logic of the code insertion program by realizing expanded function, thus realize the expansion of software function.But the method all needs the actuating logic of editor again when each expansion software function, thus the time of at substantial and manpower, the efficiency realizing software function expansion is lower.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and the device of expanding Android software function, solves the technical matters that above background technology part is mentioned.
On the one hand, embodiments provide a kind of method expanding Android software function, the method comprises:
Android software installation kit APK file is carried out unpack process and obtain dynamic library file to be expanded;
According to the Platform Type of dynamic library file described to be expanded, build executable Function Extension joint, in described Function Extension joint, deposit the code realizing expanded function;
According to described Function Extension joint and dynamic library file described to be expanded, the dynamic library file of constructing function expansion;
The dynamic library file of described Function Extension is carried out packing process, obtain the APK file of Function Extension.
On the other hand, the embodiment of the present invention additionally provides a kind of device expanding Android software function, and this device comprises:
Parse module, obtains dynamic library file to be expanded for Android software installation kit APK file being carried out unpack process;
Expansion module, for the Platform Type of dynamic library file to be expanded described in basis, builds executable Function Extension joint, deposits the code realizing expanded function in described Function Extension joint;
Build module, for the dynamic library file to be expanded that Function Extension saves and described parse module obtains built according to described expansion module, the dynamic library file of constructing function expansion;
Packetization module, the dynamic library file for the Function Extension by described structure module construction carries out packing process, obtains the APK file of Function Extension.
A kind of method and device expanding Android software function that the embodiment of the present invention proposes, dynamic library file to be expanded is obtained by unpacking APK file, then constructing function expansion joint carrys out the function of extended dynamic library file and packs, thus achieve the Function Extension of APK file, the object of Function Extension can be issued in the situation not changing original program actuating logic and coding criterion, improve the efficiency of software function expansion.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 is a kind of method flow diagram expanding Android software function that the specific embodiment of the invention provides;
Fig. 2 is the method flow diagram of the another kind expansion Android software function that the specific embodiment of the invention provides;
Fig. 3 is the method flow diagram of another expansion Android software function that the specific embodiment of the invention provides;
Fig. 4 is the method flow diagram of another expansion Android software function that the specific embodiment of the invention provides;
Fig. 5 is a kind of device composition frame chart expanding Android software function that the specific embodiment of the invention provides;
Fig. 6 is the device composition frame chart of the another kind expansion Android software function that the specific embodiment of the invention provides;
Fig. 7 is the device composition frame chart of the another kind expansion Android software function that the specific embodiment of the invention provides;
Fig. 8 is the device composition frame chart of the another kind expansion Android software function that the specific embodiment of the invention provides;
Fig. 9 is the device composition frame chart of the another kind expansion Android software function that the specific embodiment of the invention provides.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not full content.
The specific embodiment of the present invention provides a kind of concrete grammar expanding Android software function, one of ordinary skill in the art will appreciate that, all or part of step in described method can carry out by program the hardware that instruction is correlated with to have come, described program can be stored in a computer-readable recording medium, described storage medium comprises ROM/RAM, disk, CD etc.As shown in Figure 1, the method, when performing, comprises the steps:
101, Android software installation kit APK file is carried out unpack process and obtain dynamic library file to be expanded.
Wherein, described dynamic library file refers to the dynamic link library file in Android platform, i.e. SO (SharedObject) file, and its file name suffix is .so.SO files classes in Android are similar to the dll file in Windows, and it is the part of Android program that the function itself in described SO file can not be taken as, but can according to program need carry out load operating.When multiple program uses same dynamic library file, can call respectively, the size of executable file can be saved, also can reduce EMS memory occupation during operation, possess very high dirigibility.
Particularly, when Android software installation kit APK file is carried out unpacking process, can utilize third party's instrument (as apktool) by as described in APK file carry out unpacking process, what then obtain described APK file unpacks file, wherein, the dynamic library file that software needs to call is deposited under unpacking the lib catalogue of file described in.Android software installation kit APK file being carried out unpacking after process obtains unpacking file, according to user instruction, a dynamic library file can also be chosen as dynamic library file described to be expanded in the described lib catalogue unpacking file.
The Platform Type of dynamic library file 102, to be expanded described in basis, builds executable Function Extension joint, deposits the code realizing expanded function in described Function Extension joint.
Wherein, described platform specifically refers to that Android software may operate in the instruction set architecture on it.Current, Android software can be run on following three kinds of instruction set architectures: ARM (Advanced RISCMachines), X86 and MIPS (Million Instructions Per Second), wherein ARM and MIPS is all the frameworks based on reduced instruction set machine processor, and a kind of framework based on sophisticated vocabulary that X86 is released by Intel Company.Because Android software can be developed for different platform, so the dynamic library file that obtains after unpacking of APK file can for different Platform Types, as:
libtest_x86.so
libtest_arm.so
libtest_mips.so
The Platform Type that above-mentioned dynamic library file is corresponding is just respectively X86, ARM and MIPS framework.
Because the form of described dynamic library file and SO file meets ELF (Executable and LinkableFormat, can linking format be performed) specification, and ELF file generally includes: contents such as ELF file header (i.e. ELFHeader), program file head table (Program header table) and joints (section), wherein, save as the primary structure of ELF file, may be used for depositing the global variable of code segment, initialized global variable and static variable and no initializtion and static variable etc.
Particularly, when building executable Function Extension joint wait the Platform Type of the dynamic library file expanded described in basis, the Platform Type of dynamic library file to be expanded described in can first obtaining, then build for specific Platform Type and meet ELF specification, executable Function Extension joint, wherein, the specific code realizing expanded function is deposited in described Function Extension joint, such as, the described specific code storing ejection new window in Function Extension joint.
103, according to described Function Extension joint and dynamic library file described to be expanded, the dynamic library file of constructing function expansion.
Particularly, when the dynamic library file according to described Function Extension joint and the described dynamic library file constructing function expansion wait expanding, can according to the design feature of dynamic library file, mixing operation is carried out to described Function Extension joint and dynamic library file described to be expanded, above-mentioned two files are organically permeated the dynamic library file of individual dynamic library file and described Function Extension.Like this, dynamic library file to be expanded described in both having included in the dynamic library file of described Function Extension, also includes described Function Extension joint, therefore achieves the Function Extension of dynamic library file.
104, the dynamic library file of described Function Extension is carried out packing process, obtain the APK file of Function Extension.
Particularly, when the dynamic library file of described Function Extension being carried out packing process, third party's instrument (as apktool) can be utilized, the file that unpacks including the dynamic library file of described Function Extension is carried out packing process, thus obtains the APK file of Function Extension.When running the APK file of described Function Extension, the dynamic library file of described Function Extension can be called, thus performs described Function Extension joint, finally achieves the Function Extension of APK file.
The embodiment of the present invention obtains dynamic library file to be expanded by unpacking APK file, then constructing function expansion joint carrys out the function of extended dynamic library file and packs, thus achieve the Function Extension of APK file, the object of Function Extension can be issued in the situation not changing original program actuating logic and coding criterion, improve the efficiency of software function expansion
Further, the specific embodiment of the invention provides the concrete grammar of another kind of expansion Android software function, and as shown in Figure 2, the method comprises:
201, Android software installation kit APK file is carried out unpack process and obtain dynamic library file to be expanded.
The Platform Type of dynamic library file 202, to be expanded described in basis, builds executable Function Extension joint, deposits the code realizing expanded function in described Function Extension joint.
203, described Function Extension joint is added to described in dynamic library file to be expanded, obtain the dynamic library file of Function Extension.
Particularly, because dynamic library file described to be expanded meets ELF specification, therefore the joint set be made up of multiple data section or function joint etc. has been had in dynamic library file to be expanded described in, described in described Function Extension joint is added to wait the dynamic library file expanded time, randomly described Function Extension joint can be inserted between any two joints in described joint set, obtain the dynamic library file of Function Extension; Also can according to the concrete function of Function Extension joint, and each position distribution saved in described joint set, described Function Extension joint is inserted between two joints of specifying in described joint set, obtains the dynamic library file of Function Extension, and ensure that the continuity between other joints.
204, the dynamic library file of described Function Extension is carried out packing process, obtain the APK file of Function Extension.
And described step 201,202 and 204 other describe, can the description of relevant portion in reference diagram 1, the embodiment of the present invention will repeat no more at this.
Dynamic library file to be expanded described in described Function Extension joint is directly added to by the embodiment of the present invention further, thus obtain the dynamic library file of Function Extension, can expand by practical function rapidly, further simplify the flow process of software function expansion, significantly improve the efficiency of Android software Function Extension.
Further, the specific embodiment of the invention provides the concrete grammar of another expansion Android software function, and as shown in Figure 3, the method comprises:
301, Android software installation kit APK file is carried out unpack process and obtain dynamic library file to be expanded.
The Platform Type of dynamic library file 302, to be expanded described in basis, builds executable Function Extension joint, deposits the code realizing expanded function in described Function Extension joint.
The Platform Type of dynamic library file 303, to be expanded described in basis, builds new dynamic library file.
Wherein, the Platform Type of dynamic library file to be expanded described in also refers to the instruction set architecture that Android software is run and ARM, X86 and MIPS framework.When building new dynamic library file wait the Platform Type of the dynamic library file expanded described in basis, the Platform Type of dynamic library file to be expanded described in can first obtaining, then builds corresponding new dynamic library file for specific Platform Type, as:
newtest_x86.so
newtest_arm.so
newtest_mips.so
Described new dynamic library file meets ELF specification equally, but its body matter is sky.
304, dynamic library file described to be expanded and described Function Extension joint are all write described new dynamic library file, obtain the dynamic library file of Function Extension.
Particularly, when described dynamic library file wait expanding and described Function Extension joint are all write described new dynamic library file, can by the ELF file header of dynamic library file described to be expanded, program file head table writes the ELF file header of described new dynamic library file respectively, program file head table, can also the mesomere in dynamic library file described to be expanded and described Function Extension joint be write in the joint set of described new dynamic library file respectively, so just can obtain a complete dynamic library file, the i.e. dynamic library file of described Function Extension, its can comprise described in dynamic library file to be expanded and described Function Extension joint in full content, also the Function Extension of dynamic library file is just achieved.
305, the dynamic library file of described Function Extension is carried out packing process, obtain the APK file of Function Extension.
And described step 301,302 and 305 other describe, can the description of relevant portion in reference diagram 1, the embodiment of the present invention will repeat no more at this.
The embodiment of the present invention builds new dynamic library file further, and described Function Extension joint and dynamic library file described to be expanded are write described new dynamic library file respectively, thus obtain the dynamic library file of Function Extension, dynamic library file due to described Function Extension is a brand-new dynamic library file, other programs user or developer are difficult to tell which function and obtain through expansion, because this reducing the possibility that expanded function is modified, improve the security of the expanded function of Android software.
Further, the specific embodiment of the invention provides the concrete grammar of another expansion Android software function, and as shown in Figure 4, the method comprises:
401, Android software installation kit APK file is carried out unpack process and obtain dynamic library file to be expanded.
The Platform Type of dynamic library file 402, to be expanded described in basis, builds executable Function Extension joint, deposits the code realizing expanded function in described Function Extension joint.
403, according to described Function Extension joint and dynamic library file described to be expanded, the dynamic library file of constructing function expansion.
Particularly, according to described Function Extension joint and dynamic library file described to be expanded, during the dynamic library file of constructing function expansion, both described Function Extension can be saved dynamic library file to be expanded described in being added to, obtain the dynamic library file of Function Extension; Also according to the Platform Type of dynamic library file described to be expanded, new dynamic library file can be built, and then dynamic library file described to be expanded and described Function Extension joint are all write described new dynamic library file, obtain the dynamic library file of Function Extension.
Further, described step 403 can also comprise: dynamic library file described to be expanded and described Function Extension joint are encrypted.
Particularly, when described dynamic library file wait expanding and described Function Extension joint are encrypted, conventional data encryption algorithm can be utilized, such as AES (Advanced Encryption Standard, Advanced Encryption Standard), MD5 (Message Digest Algorithm5, Message Digest Algorithm 5) and DES (Data Encryption Standard, Data Encryption Standard) etc., data encryption is carried out to dynamic library file described to be expanded and described Function Extension joint, namely algorithm process is carried out to original clear data, dynamic library file to be expanded described in after making encryption and described Function Extension joint become unreadable code.
It should be noted that, the execution sequence of described encryption processing step is unfixed: both can first dynamic library file described to be expanded and described Function Extension joint be encrypted, then dynamic library file to be expanded described in being added to by the described Function Extension joint after encryption after encryption, obtains the dynamic library file of Function Extension; Also dynamic library file to be expanded described in can first described Function Extension joint being added to; obtain the dynamic library file of Function Extension; and then by the dynamic library file of described Function Extension according to described in the content that obtains of dynamic library file to be expanded and save according to described Function Extension the content obtained and be encrypted respectively; finally obtain the dynamic library file of the Function Extension after encrypting; no matter adopt which kind of mode; as long as achieve the encryption to all the elements in the dynamic library file of Function Extension, just in protection scope of the present invention.In like manner, described encryption processing step and dynamic library file described to be expanded and described Function Extension to be saved the order all write between described new dynamic library file be also unfixed, repeats no more here.
404, bootstrap module is write the dynamic library file of described Function Extension.
Wherein, described bootstrap module may be used for dynamic library file to be expanded described in after encryption and described Function Extension joint to be decrypted process, so that the Android software after Function Extension can trouble-free operation.Particularly, when bootstrap module being write the dynamic library file of described Function Extension, can can be write direct described bootstrap module as an independent code block assigned address of dynamic library file of described Function Extension, such as, described bootstrap module can be write in dynamic library file after joint set.
405, revise the entrance of the dynamic library file of described Function Extension, make described entrance point to described bootstrap module.
Wherein, described entrance is exactly that function that program starts to perform most, also can be called entrance function.Particularly, when revising the entrance of dynamic library file of described Function Extension, the correlation parameter being used to specify code execution sequence in described entrance function can be revised, make described entrance point to described bootstrap module.Like this, when running the dynamic library file of described Function Extension, because described bootstrap module is pointed in entrance, therefore first program runs described bootstrap module, then dynamic library file to be expanded described in after encryption and described Function Extension joint can be decrypted process by described bootstrap module, next the original function that described in just can performing, dynamic library file to be expanded realizes, and described Function Extension saves the expanded function realized.
406, by being used for, the dynamic library file that the data annotated write described Function Extension is saved to described Function Extension.
Wherein, describedly the data annotated are saved to described Function Extension can comprise the contents such as the File header information of cryptography information, key information and described new dynamic library file.Particularly, by be used for described Function Extension save the data annotated write the dynamic library file of described Function Extension time, can using the data of described annotation as after an independent code block be written in described bootstrap module, the namely end of dynamic library file.Described in after described bootstrap module is to encryption when the dynamic library file expanded and described Function Extension joint are decrypted process, just can from described Function Extension save acquisition the data that annotate decipher required for key information.
407, the dynamic library file of described Function Extension is carried out packing process, obtain the APK file of Function Extension.
And described step 401,402,403 and 407 other describe, can referring to figs. 1 to the description of relevant portion in Fig. 3, the embodiment of the present invention will repeat no more at this.
Dynamic library file described to be expanded and described Function Extension joint are encrypted by the embodiment of the present invention further; obtain the dynamic library file of Function Extension; correlative code can be protected further can not to be read by other people, revise or steal by encryption, thus further increase the security of the expanded function of Android software.
The specific embodiment of the invention provides a kind of protective device expanding Android software function, and as shown in Figure 5, this device comprises: parse module 51, expansion module 52, structure module 53 and packetization module 54.
Parse module 51, obtains dynamic library file to be expanded for Android software installation kit APK file being carried out unpack process.
Expansion module 52, for the Platform Type of dynamic library file to be expanded described in obtaining according to described parse module 51, builds executable Function Extension joint, deposits the code realizing expanded function in described Function Extension joint.
Build module 53, for the dynamic library file to be expanded that Function Extension saves and described parse module obtains built according to described expansion module 52, the dynamic library file of constructing function expansion.
Packetization module 54, the dynamic library file for the Function Extension described structure module 53 built carries out packing process, obtains the APK file of Function Extension.
Further, as shown in Figure 6, described structure module 53 can comprise: adding device 531.
Adding device 531, for dynamic library file to be expanded described in being added to by described Function Extension joint, obtains the dynamic library file of Function Extension.
Further, as shown in Figure 7, described structure module 53 also can comprise: construction unit 532 and writing unit 533.
Construction unit 532, for the Platform Type of dynamic library file to be expanded described in basis, builds new dynamic library file.
Writing unit 533, for dynamic library file described to be expanded and described Function Extension joint all being write the new dynamic library file that described construction unit 532 builds, obtains the dynamic library file of Function Extension.
Further, as shown in Figures 6 and 7, described structure module 53 can also comprise: ciphering unit 534
Ciphering unit 534, for being encrypted dynamic library file described to be expanded and described Function Extension joint.
Further, as shown in Figure 8, the protective device of described expansion Android software function can also comprise:
Writing module 55, for writing the dynamic library file of described Function Extension by bootstrap module.
Modified module 56, for revising the entrance of the dynamic library file of described Function Extension, makes described entrance point to described bootstrap module.
Wherein, when running the dynamic library file of described Function Extension, described bootstrap module is used for dynamic library file to be expanded described in after encryption and described Function Extension joint to be decrypted process.
Further, as shown in Figure 9, the protective device of described expansion Android software function can also comprise: annotations module 57.
Annotations module 57, for saving to described Function Extension the dynamic library file that the data annotated write described Function Extension by being used for.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.

Claims (12)

1. expand a method for Android software function, it is characterized in that, described method comprises:
Android software installation kit APK file is carried out unpack process and obtain dynamic library file to be expanded;
According to the Platform Type of dynamic library file described to be expanded, build executable Function Extension joint, in described Function Extension joint, deposit the code realizing expanded function;
According to described Function Extension joint and dynamic library file described to be expanded, the dynamic library file of constructing function expansion;
The dynamic library file of described Function Extension is carried out packing process, obtain the APK file of Function Extension.
2. the method for expansion Android software function according to claim 1, is characterized in that, described according to described Function Extension joint and dynamic library file described to be expanded, the dynamic library file of constructing function expansion, comprising:
Dynamic library file to be expanded described in being added to by described Function Extension joint, obtains the dynamic library file of Function Extension.
3. the method for expansion Android software function according to claim 1, is characterized in that, described according to described Function Extension joint and dynamic library file described to be expanded, the dynamic library file of constructing function expansion, comprising:
According to the Platform Type of dynamic library file described to be expanded, build new dynamic library file;
Dynamic library file described to be expanded and described Function Extension joint are all write described new dynamic library file, obtains the dynamic library file of Function Extension.
4. the method for the expansion Android software function according to Claims 2 or 3, is characterized in that, described according to described Function Extension joint and dynamic library file described to be expanded, the dynamic library file of constructing function expansion, also comprises:
Dynamic library file described to be expanded and described Function Extension joint are encrypted.
5. the method for expansion Android software function according to claim 4, is characterized in that, also comprise:
Bootstrap module is write the dynamic library file of described Function Extension;
Revise the entrance of the dynamic library file of described Function Extension, make described entrance point to described bootstrap module;
Wherein, when running the dynamic library file of described Function Extension, described bootstrap module is used for dynamic library file to be expanded described in after encryption and described Function Extension joint to be decrypted process.
6. the method for expansion Android software function according to claim 5, is characterized in that, also comprise:
By being used for, the dynamic library file that the data annotated write described Function Extension is saved to described Function Extension.
7. expand a device for Android software function, it is characterized in that, described device comprises:
Parse module, obtains dynamic library file to be expanded for Android software installation kit APK file being carried out unpack process;
Expansion module, for the Platform Type of dynamic library file to be expanded described in obtaining according to described parse module, builds executable Function Extension joint, deposits the code realizing expanded function in described Function Extension joint;
Build module, for the dynamic library file to be expanded that Function Extension saves and described parse module obtains built according to described expansion module, the dynamic library file of constructing function expansion;
Packetization module, the dynamic library file for the Function Extension by described structure module construction carries out packing process, obtains the APK file of Function Extension.
8. the device of expansion Android software function according to claim 7, is characterized in that, described structure module comprises:
Adding device, for dynamic library file to be expanded described in being added to by described Function Extension joint, obtains the dynamic library file of Function Extension.
9. the device of expansion Android software function according to claim 7, is characterized in that, described structure module comprises:
Construction unit, for the Platform Type of dynamic library file to be expanded described in basis, builds new dynamic library file;
Writing unit, for dynamic library file described to be expanded and described Function Extension joint all being write the new dynamic library file that described construction unit builds, obtains the dynamic library file of Function Extension.
10. the device of expansion Android software function according to claim 8 or claim 9, it is characterized in that, described structure module also comprises:
Ciphering unit, for being encrypted dynamic library file described to be expanded and described Function Extension joint.
The device of 11. expansion Android software functions according to claim 10, is characterized in that, also comprise:
Writing module, for writing the dynamic library file of described Function Extension by bootstrap module;
Modified module, for revising the entrance of the dynamic library file of described Function Extension, makes described entrance point to described bootstrap module;
Wherein, when running the dynamic library file of described Function Extension, described bootstrap module is used for dynamic library file to be expanded described in after encryption and described Function Extension joint to be decrypted process.
The device of 12. expansion Android software functions according to claim 10, is characterized in that, also comprise:
Annotations module, for saving to described Function Extension the dynamic library file that the data annotated write described Function Extension by being used for.
CN201410064987.3A 2014-02-25 2014-02-25 A kind of method and device for extending Android software function Active CN104866294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410064987.3A CN104866294B (en) 2014-02-25 2014-02-25 A kind of method and device for extending Android software function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410064987.3A CN104866294B (en) 2014-02-25 2014-02-25 A kind of method and device for extending Android software function

Publications (2)

Publication Number Publication Date
CN104866294A true CN104866294A (en) 2015-08-26
CN104866294B CN104866294B (en) 2018-06-15

Family

ID=53912147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410064987.3A Active CN104866294B (en) 2014-02-25 2014-02-25 A kind of method and device for extending Android software function

Country Status (1)

Country Link
CN (1) CN104866294B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019205828A1 (en) * 2018-04-28 2019-10-31 中兴通讯股份有限公司 Android service framework, and method and device for implementing extended service
CN111309396A (en) * 2020-02-14 2020-06-19 北京字节跳动网络技术有限公司 System library access method and device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6182279B1 (en) * 1997-08-12 2001-01-30 International Business Machines Corporation Method and apparatus for storing templates in a component system
CN102622241A (en) * 2011-01-26 2012-08-01 腾讯科技(深圳)有限公司 Software upgrading method and software upgrading device
CN102760219A (en) * 2011-12-20 2012-10-31 北京安天电子设备有限公司 Android platform software protecting system, method and equipment
CN103365644A (en) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 Method and device for expanding software functions

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6182279B1 (en) * 1997-08-12 2001-01-30 International Business Machines Corporation Method and apparatus for storing templates in a component system
CN102622241A (en) * 2011-01-26 2012-08-01 腾讯科技(深圳)有限公司 Software upgrading method and software upgrading device
CN102760219A (en) * 2011-12-20 2012-10-31 北京安天电子设备有限公司 Android platform software protecting system, method and equipment
CN103365644A (en) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 Method and device for expanding software functions

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019205828A1 (en) * 2018-04-28 2019-10-31 中兴通讯股份有限公司 Android service framework, and method and device for implementing extended service
CN111309396A (en) * 2020-02-14 2020-06-19 北京字节跳动网络技术有限公司 System library access method and device and computer readable storage medium
CN111309396B (en) * 2020-02-14 2023-08-15 北京字节跳动网络技术有限公司 System library access method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN104866294B (en) 2018-06-15

Similar Documents

Publication Publication Date Title
CN101751273B (en) Safety guide device and method for embedded system
CN104598274B (en) A kind of automatically instrument compiling installation method and system
CN106203006A (en) Android application reinforcement means based on dex Yu so file Dynamic Execution
CN109598107B (en) Code conversion method and device based on application installation package file
CN109062582A (en) A kind of encryption method and device of application installation package
CN105022936A (en) Class file encryption and decryption method and class file encryption and decryption device
US10380329B2 (en) Method and apparatus for preventing application from being deciphered
US9436487B2 (en) Method and apparatus for creating a platform agnostic application file
CN105095771A (en) Method and apparatus for protecting shared target file
CN107273723B (en) So file shell adding-based Android platform application software protection method
US20190034195A1 (en) Systems and methods for providing patchable rom firmware
WO2011134207A1 (en) Method for protecting software
CN104298534A (en) Programming method and device based on Lua language
JP2007233426A (en) Application execution device
CN104866504B (en) A kind of method and device that Function Extension is carried out to Android software
CN110119601B (en) Program reinforcing method and device based on application program installation package
WO2022141703A1 (en) Blockchain platform-based smart contract deployment and invocation method, and related device
CN104866294A (en) Method and device for extending Android software function
CN112966227A (en) Code encryption and decryption method and device and storage medium
US20130275688A1 (en) Data processing device and method
CN106484375B (en) Instruction block loading method, soft switch equipment and system
EP3519964B1 (en) Electronic apparatus for recording debugging information and control method thereof
CN113721928B (en) Binary analysis-based dynamic library clipping method
CN104866292A (en) Method and device for extending software function
WO2019223094A1 (en) Block chain-based file protection method, and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant