CN106648702A - So file processing system and method based on Android operating system - Google Patents

So file processing system and method based on Android operating system Download PDF

Info

Publication number
CN106648702A
CN106648702A CN201710001335.9A CN201710001335A CN106648702A CN 106648702 A CN106648702 A CN 106648702A CN 201710001335 A CN201710001335 A CN 201710001335A CN 106648702 A CN106648702 A CN 106648702A
Authority
CN
China
Prior art keywords
files
intelligent terminal
libssl
libcrypto
android
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710001335.9A
Other languages
Chinese (zh)
Inventor
张韶峰
王勇睿
丁方超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bai Rong (beijing) Financial Information Service Ltd By Share Ltd
Original Assignee
Bai Rong (beijing) Financial Information Service Ltd By Share 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 Bai Rong (beijing) Financial Information Service Ltd By Share Ltd filed Critical Bai Rong (beijing) Financial Information Service Ltd By Share Ltd
Priority to CN201710001335.9A priority Critical patent/CN106648702A/en
Publication of CN106648702A publication Critical patent/CN106648702A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a so file processing system and method based on an Android operating system. The method comprises the following steps: connecting a development device to an intelligent terminal based on the Android operating system; opening a / system / lib folder in the intelligent terminal by the development device, and obtaining a libssl.so file and a libcrypto.so file in the / system / lib folder. According to the so file processing system and method based on the Android operating system provided by the above technical scheme, an OpenSSL encryption method can be quickly integrated in the development process of an Android system APP, thereby reducing the processing encryption working cost.

Description

So document handling systems and method based on Android operation system
Technical field
The invention belongs to computer software technical field, more particularly to a kind of so files based on Android operation system Processing system and method.
Background technology
With the development of society, various smart machines have become electronics indispensable in people's live and work and set It is standby.Android (Android) operating system is widely used in existing smart machine, Androd systems are by Google companies and open Put the cell phone alliance leader and exploitation, and its source code is to increase income, therefore with very high utilization rate (having reached 78.1% in 2013). OpenSSL is a security socket layer cryptographic libraries, includes main cryptographic algorithm, conventional key and certificate encapsulation manager work( Can and ssl protocol, and provide abundant application program for testing or other purposes are used.
Existing many softwares (also referred to as App) based on Android operation system are in the business field higher to security requirement Need to be encrypted data in scape, wherein OpenSSL AESs are the widely used encryption softwares increased income in.These App needs that data encryption is encapsulated in so files, needs the encryption method for referring to openssl.
Existing Android operation system has generally been integrated with OpenSSL source codes, develops, upgrades, changes in App Import in development equipment (being in general computer) Deng so files for needing to encapsulate when operating.Lack in prior art simple Effectively work, fast and accurately can import development equipment by so files, cause exploitation, upgrading, modification of App etc. to operate Efficiency is low.
The content of the invention
For developing, upgrading, repairing based on the App of Android operation system and OpenSSL AESs in prior art Lacking effective tool when the operation such as changing derives the problem of so files, the purpose of the embodiment of the present invention be to provide it is a kind of effectively and efficiently So document handling systems based on Android operation system and method.
In order to solve the above problems, the embodiment of the present invention proposes a kind of so file process sides based on Android operation system Method, including:
By intelligent terminal of the development equipment connection based on Android operation system;
In the exploitation equipment opening intelligent terminal/system/lib files, obtain libssl.so therein literary Part and libcrypto.so files.
Wherein, methods described is specifically included:Obtain the ROOT authorities of intelligent terminal;Development equipment is connected to into intelligent terminal On, the File in Android device Monitor instruments in the Android studio on exploitation equipment Exporer, obtains libssl.so files and libcrypto.so files from intelligent terminal/system/lib files.
Wherein, methods described is specifically included:
Step 1, on development equipment create and simulator;And by the build.gradle configuration files of simulator PlatformVersion is configured to identical with the version of so files of intelligent terminal;
Step 2, the libssl.so files and libcrypto.so files of development equipment, OpenSSL header files are stored in In the local predetermined directories of development equipment.
Wherein, the step 2 is specifically included:
Copy OpenSSL header files to arch-arm/usr/include catalogues and rch-x86/usr/include mesh Under record;
The libssl.so files and libcrypto.so files of armeabi frameworks are stored in into arch-arm/usr/lib Under catalogue,
The libssl.so files and libcrypto.so files of x86 frameworks are stored in into arch-x86/usr/lib catalogues Under.
Meanwhile, the embodiment of the present invention also proposed a kind of so document handling systems based on Android operation system, including:If The file extraction module in development equipment is put, the file extraction module is in development equipment connection based on Android operation system After intelligent terminal, open in the intelligent terminal/system/lib files, obtain libssl.so files therein and Libcrypto.so files.
Wherein, the file extraction module is used to perform following operation:
Obtain the ROOT authorities of intelligent terminal;Development equipment is connected on intelligent terminal, on exploitation equipment The File exporer in Android device Monitor instruments in Android studio, from intelligent terminal/ Libssl.so files and libcrypto.so files are obtained in system/lib files.
Wherein, the file extraction module is used to perform following operation:
Step 1, on development equipment create and simulator;And by the build.gradle configuration files of simulator PlatformVersion is configured to identical with the version of so files of intelligent terminal;
Step 2, the libssl.so files and libcrypto.so files of development equipment, OpenSSL header files are stored in In the local predetermined directories of development equipment.
Wherein, the step 2 is specifically included:
Copy OpenSSL header files to arch-arm/usr/include catalogues and rch-x86/usr/include mesh Under record;
The libssl.so files and libcrypto.so files of armeabi frameworks are stored in into arch-arm/usr/lib Under catalogue,
The libssl.so files and libcrypto.so files of x86 frameworks are stored in into arch-x86/usr/lib catalogues Under.
The above-mentioned technical proposal of the present invention has the beneficial effect that:Above-mentioned technical scheme proposes a kind of based on Android behaviour Make so document handling systems and method of system, can in Android system App development processes fast integration OpenSSL encryption sides Method, reduces and processes encrypted work cost.
Description of the drawings
Fig. 1 is the flow chart of so document handling methods based on Android operation system of the embodiment of the present invention.
Specific embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail.
The embodiment of the present invention proposes a kind of so document handling systems based on Android operation system as shown in Figure 1 and side Method.
Methods described includes:
By intelligent terminal of the development equipment connection based on Android operation system;Exploitation equipment opens the intelligent terminal In/system/lib files, obtain libssl.so files therein and libcrypto.so files.
Wherein, methods described is specifically included:Obtain the ROOT authorities of intelligent terminal;Development equipment is connected to into intelligent terminal On, the File in Android deviceMonitor instruments in the Android studio on exploitation equipment Exporer, obtains libssl.so files and libcrypto.so files from intelligent terminal/system/lib files.
Wherein, methods described is specifically included:
Step 1, on development equipment create and simulator;And by the build.gradle configuration files of simulator PlatformVersion is configured to identical with the version of so files of intelligent terminal;
Step 2, the libssl.so files and libcrypto.so files of development equipment, OpenSSL header files are stored in In the local predetermined directories of development equipment.
Wherein, the step 2 is specifically included:
Copy OpenSSL header files to arch-arm/usr/include catalogues and rch-x86/usr/include mesh Under record;
The libssl.so files and libcrypto.so files of armeabi frameworks are stored in into arch-arm/usr/lib Under catalogue,
The libssl.so files and libcrypto.so files of x86 frameworks are stored in into arch-x86/usr/lib catalogues Under.
Android studio
Openssl header files and so files are placed under local ndk catalogues." ndk paths/platforms/android- 15/ " (version that platformVersion is used is 15)." include " under " arch-arm/usr " puts openssl heads File, transfers " libssl.so " and " libcrypto.so " from armeabi frameworks, under " arch-x86/usr " in lib " include " puts openssl header files, and in lib " libssl.so " and " libcrypto.so " from x86 frameworks is transferred.
The problem that should be noted:Openssl header files need unification to be put in " openssl " file, are placed in unification Under include paths, so files under different cup frameworks must be corresponded to, and link mistakes otherwise occur.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, on the premise of without departing from principle of the present invention, some improvements and modifications can also be made, these improvements and modifications Should be regarded as protection scope of the present invention.

Claims (8)

1. a kind of so document handling methods based on Android operation system, it is characterised in that include:
By intelligent terminal of the development equipment connection based on Android operation system;
Exploitation equipment opens in the intelligent terminal/system/lib files, obtain libssl.so files therein and Libcrypto.so files.
2. so document handling methods based on Android operation system according to claim 1, it is characterised in that methods described Specifically include:Obtain the ROOT authorities of intelligent terminal;Development equipment is connected on intelligent terminal, on exploitation equipment The File exporer in Android device Monitor instruments in Android studio, from intelligent terminal/ Libssl.so files and libcrypto.so files are obtained in system/lib files.
3. so document handling methods based on Android operation system according to claim 1, it is characterised in that methods described Specifically include:
Step 1, on development equipment create and simulator;And by the build.gradle configuration files of simulator PlatformVersion is configured to identical with the version of so files of intelligent terminal;
Step 2, the libssl.so files and libcrypto.so files of development equipment, OpenSSL header files are stored in into exploitation In the local predetermined directories of equipment.
4. so document handling methods based on Android operation system according to claim 3, it is characterised in that the step 2 specifically include:
OpenSSL header files are copied under arch-arm/usr/include catalogues and rch-x86/usr/include catalogues;
The libssl.so files and libcrypto.so files of armeabi frameworks are stored in into arch-arm/usr/lib catalogues Under,
The libssl.so files and libcrypto.so files of x86 frameworks are stored under arch-x86/usr/lib catalogues.
5. a kind of so document handling systems based on Android operation system, it is characterised in that include:In being arranged on development equipment File extraction module, after intelligent terminal of the file extraction module in development equipment connection based on Android operation system, opens In the intelligent terminal/system/lib files, obtain libssl.so files therein and libcrypto.so files.
6. so document handling systems based on Android operation system according to claim 5, it is characterised in that the file Extraction module is used to perform following operation:
Obtain the ROOT authorities of intelligent terminal;Development equipment is connected on intelligent terminal, the Android on exploitation equipment The File exporer in Android device Monitor instruments in studio, it is literary from intelligent terminal/system/lib Libssl.so files and libcrypto.so files are obtained in part folder.
7. so document handling systems based on Android operation system according to claim 5, it is characterised in that the file Extraction module is used to perform following operation:
Step 1, on development equipment create and simulator;And by the build.gradle configuration files of simulator PlatformVersion is configured to identical with the version of so files of intelligent terminal;
Step 2, the libssl.so files and libcrypto.so files of development equipment, OpenSSL header files are stored in into exploitation In the local predetermined directories of equipment.
8. so document handling systems based on Android operation system according to claim 5, it is characterised in that the step 2 specifically include:
OpenSSL header files are copied under arch-arm/usr/include catalogues and rch-x86/usr/include catalogues;
The libssl.so files and libcrypto.so files of armeabi frameworks are stored in into arch-arm/usr/lib catalogues Under,
The libssl.so files and libcrypto.so files of x86 frameworks are stored under arch-x86/usr/lib catalogues.
CN201710001335.9A 2017-01-03 2017-01-03 So file processing system and method based on Android operating system Pending CN106648702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710001335.9A CN106648702A (en) 2017-01-03 2017-01-03 So file processing system and method based on Android operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710001335.9A CN106648702A (en) 2017-01-03 2017-01-03 So file processing system and method based on Android operating system

Publications (1)

Publication Number Publication Date
CN106648702A true CN106648702A (en) 2017-05-10

Family

ID=58838272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710001335.9A Pending CN106648702A (en) 2017-01-03 2017-01-03 So file processing system and method based on Android operating system

Country Status (1)

Country Link
CN (1) CN106648702A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595214A (en) * 2018-04-11 2018-09-28 北京海杭通讯科技有限公司 Android user versions obtain the method and system of root privileges under SELinux compulsory modes

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617392A (en) * 2013-11-22 2014-03-05 北京奇虎科技有限公司 Method and device for safety scanning external storage device of smart terminal
CN105446789A (en) * 2015-11-23 2016-03-30 上海斐讯数据通信技术有限公司 Method and apparatus for building application in android system
CN105867973A (en) * 2016-03-30 2016-08-17 乐视控股(北京)有限公司 Loading method and system for so file in application program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617392A (en) * 2013-11-22 2014-03-05 北京奇虎科技有限公司 Method and device for safety scanning external storage device of smart terminal
CN105446789A (en) * 2015-11-23 2016-03-30 上海斐讯数据通信技术有限公司 Method and apparatus for building application in android system
CN105867973A (en) * 2016-03-30 2016-08-17 乐视控股(北京)有限公司 Loading method and system for so file in application program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
YEHCHITIAN: ""Android studio(1)-adb常见命令学习(装载)"", 《HTTPS://BLOG.CSDN.NET/QQ_33850438/ARTICLE/DETAILS/52432032》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595214A (en) * 2018-04-11 2018-09-28 北京海杭通讯科技有限公司 Android user versions obtain the method and system of root privileges under SELinux compulsory modes

Similar Documents

Publication Publication Date Title
CN110008757B (en) Data protection method and system in updating of terminal firmware of Internet of things
CN101908119B (en) Method and device for processing dynamic link library (DLL) file
CN104346184A (en) Application packaging device and application packaging method
CN108399319B (en) Source code protection method, application server and computer readable storage medium
CN111683066B (en) Heterogeneous system integration method, heterogeneous system integration device, computer equipment and storage medium
CN109587142B (en) Data security access module and equipment for service flow
CN105786998A (en) Database middleware system and method for processing data through database middleware system
CN104486355A (en) Method and device for preventing malicious manipulation of codes
CN101930361B (en) Method and system for providing online data storage service
WO2016024838A1 (en) Method and system for providing cloud-based application security service
CN102523095A (en) User digital certificate remote update method with intelligent card protection function
CN101945097A (en) Electronic bill processing method, device and system
US20100223469A1 (en) Method, System and Computer Program Product for Certifying Software Origination
CN105224358A (en) Under a kind of cloud computing software automatically pack dispose system and method
WO2021164462A1 (en) Data encryption method, data decryption method, computer device, and medium
CN111209001A (en) Method, system, equipment and medium for batch generation of APKs of android channels
CN103442012B (en) Method and device that CAMEL-Subscription-Information migrates is realized between internet of things equipment
CN108055585A (en) Data processing method, set top box upgrading method, terminal and set-top box
CN107479939A (en) A kind of APK installation kits repeat the implementation method of packing
CN104866504B (en) A kind of method and device that Function Extension is carried out to Android software
CN111045722A (en) Intelligent contract packaging method, device, system, computer equipment and storage medium
CN108133026B (en) Multi-data processing method, system and storage medium
CN106648702A (en) So file processing system and method based on Android operating system
CN105159797A (en) Oracle database based backup and recovery method
CN103457723B (en) A kind of encryption method and the encryption device based on it

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication