CN110083362A - Document handling method, system, readable storage medium storing program for executing and equipment - Google Patents
Document handling method, system, readable storage medium storing program for executing and equipment Download PDFInfo
- Publication number
- CN110083362A CN110083362A CN201910245764.XA CN201910245764A CN110083362A CN 110083362 A CN110083362 A CN 110083362A CN 201910245764 A CN201910245764 A CN 201910245764A CN 110083362 A CN110083362 A CN 110083362A
- Authority
- CN
- China
- Prior art keywords
- file
- document handling
- script file
- apk
- default
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000013515 script Methods 0.000 claims abstract description 134
- 238000004321 preservation Methods 0.000 claims abstract description 18
- 238000009434 installation Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 6
- 238000011900 installation process Methods 0.000 abstract description 9
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 239000000835 fiber Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003012 network analysis Methods 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/53—Decompilation; Disassembly
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Abstract
The present invention provides a kind of document handling method, system, readable storage medium storing program for executing and equipment, and the document handling method includes: to identify when the decompiling for receiving APK file is requested to the current operation system of document handling apparatus operation;Default script file corresponding with the current operation system is called, includes the exectorial execution program of setting in the default script file;The default script file is executed, to execute the APK file by the execution order of the setting.Document handling method in the present invention, by the script file for presetting corresponding format respectively for each operating system, so that APK file can realize decompiling, preservation, the compiling automation for returning volume and installation process under any operating system, compiling efficiency greatly improved, simultaneously, the compatibility of multisystem is also achieved, the order for the APK decompiling instrument for making operator go to understand in each system further increases compiling efficiency.
Description
Technical field
The present invention relates to computer data processing technology field, in particular to a kind of document handling method, readable is deposited at system
Storage media and equipment.
Background technique
APK file is the abbreviation of AndroidPackage file, as Android installation kit (and can be described as Android installation
Packet).Installation can be completed by the way that APK file to be passed directly to execute in Android simulator or Android phone.
It when needing to edit APK file again, generally requires and decompiling is carried out to APK file, APK decompiling is exactly
By using APK decompiling instrument, by APK file source file and resource decompiling come out, obtained source file and resource
File can be compiled again, return volume after editor again, can repack generation APK file.
In the prior art, at present when being compiled to APK file is counter, returning the operations such as volume, installation, operator is needed to go
Anti- volume is clicked one by one, returns volume and installation order, and an operation, low efficiency could repeatedly be completed by generally requiring to click.Meanwhile it is different
Operating system (such as windows system, Linux system) on APK decompiling instrument be different, this requires operators
Member needs to go to understand the order of the APK decompiling instrument in each system, further affects compiling efficiency.
Summary of the invention
Based on this, the object of the present invention is to provide a kind of document handling method, system, readable storage medium storing program for executing and equipment, with
The technical issues of solving APK file compiling low efficiency in the prior art.
A kind of document handling method according to an embodiment of the present invention is applied to document handling apparatus, which comprises
When receive APK file decompiling request when, to the document handling apparatus operation current operation system into
Row identification;
Default script file corresponding with the current operation system is called, includes setting in the default script file
Exectorial execution program;
The default script file is executed, to execute the APK file by the execution order of the setting.
In addition, a kind of document handling method according to the above embodiment of the present invention, can also have following additional technology
Feature:
Further, execution order includes decompiling, preservations, returns volume and at least one of installation is worked as.
Further, the document handling apparatus includes multiple operating systems that can mutually switch, described to the text
Before the step of current operation system of part processing equipment is identified, further includes:
According to the type of the APK file, the corresponding Optimum Operation system of the APK file is switched to the current behaviour
Make system.
Further, each operating system corresponds to the default script file of different-format, the default script
The generating mode of file includes:
Obtain the exectorial execution program of the setting;
The execution program is respectively written into the blank script of different-format, to obtain described in multiple and different formats
Default script file.
Further, the step of calling default script file corresponding with the current operation system includes:
Determine the text formatting of the script file of the current operation system;
From default script bank, format script file identical with the text formatting is obtained, to obtain the default foot
This document.
Further, described from default script bank, obtain the step of format script file identical with the text formatting
Suddenly include:
Search name includes the file of the text formatting in the default script bank;
The script file under the file is obtained, to obtain the default script file.
Further, after the execution default script file the step of, further includes:
Record the execution track of the default script file;
When restarting after the default script file interrupts, continued to execute since the point of interruption.
A kind of document handling system according to an embodiment of the present invention is applied to document handling apparatus, the system comprises:
System identification module, for being run to the document handling apparatus when the decompiling for receiving APK file is requested
Current operation system identified;
Script calling module, for calling default script file corresponding with the current operation system, the default foot
It include the exectorial execution program of setting in this document;
Script execution module, for executing the default script file, described in being executed by the execution order of the setting
APK file.
The present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program, and the program is processed
Device realizes above-mentioned document handling method when executing.
The present invention also proposes a kind of document handling apparatus, including memory, processor and storage are on a memory and can
The computer program run on a processor, the processor realize above-mentioned document handling method when executing described program.
Document handling method, system, readable storage medium storing program for executing and equipment in the present invention, are receiving the anti-of APK file
When requirement for compiler, default script file is executed, executes the APK file to preset the execution order of script file setting by this,
So as to realize the decompiling, preservation, the automation for returning volume and installation process of APK file, point one by one is removed without operator
Order is hit, compiling efficiency greatly improved.In addition, passing through the script text for presetting corresponding format respectively for each operating system
Part, and in the decompiling request for receiving APK file, first the current operation system of equipment operation is identified, is then adjusted
It is executed with the corresponding script file of current operation system, realizes the compatibility of multisystem, so that APK file is in any operation
System is lower can to realize decompiling, preservation, the compiling automation for returning volume and installation process, and operator is made to go understanding each
The order of APK decompiling instrument in system, further increases compiling efficiency.
Detailed description of the invention
Fig. 1 is the flow chart of the document handling method in first embodiment of the invention;
Fig. 2 is the flow chart of the document handling method in second embodiment of the invention;
Fig. 3 is the structural schematic diagram of the document handling system in third embodiment of the invention;
Fig. 4 is the structural schematic diagram of the document handling apparatus in fourth embodiment of the invention.
Main element symbol description:
Following specific embodiments will further illustrate the present invention in conjunction with above-mentioned attached drawing.
Specific embodiment
To facilitate the understanding of the present invention, a more comprehensive description of the invention is given in the following sections with reference to the relevant attached drawings.In attached drawing
Give several embodiments of the invention.But the invention can be realized in many different forms, however it is not limited to this paper institute
The embodiment of description.On the contrary, purpose of providing these embodiments is make it is more thorough and comprehensive to the disclosure.
It should be noted that it can directly on the other element when element is referred to as " being fixedly arranged on " another element
Or there may also be elements placed in the middle.When an element is considered as " connection " another element, it, which can be, is directly connected to
To another element or it may be simultaneously present centering elements.Term as used herein " vertical ", " horizontal ", " left side ",
" right side " and similar statement are for illustrative purposes only.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term " and or " used herein includes one or more phases
Any and all combinations of the listed item of pass.
Referring to Fig. 1, showing the document handling method in first embodiment of the invention, it is applied to document handling apparatus,
Including step S01 to step S03.This document processing equipment can be by software and or hardware realization.
Step S01, when the decompiling for receiving APK file is requested, to the current behaviour of document handling apparatus operation
It is identified as system.
Wherein, APK file is Android installation kit, is directly to run in Android simulator or Android phone
And the file packet installed.Under normal conditions, when need to be compiled an APK file (as upgrading APK, personalized customization, Chinesizing
Apk etc.) when, generally require successively by APK instead compiles and return compile operation, APK instead compile refer to using APK decompiling instrument by
Source file and resource decompiling in APK file come out, and obtained source file and resource file can be compiled again, Bian Jihou
Volume is returned again, can be repacked and be generated new APK file.
In the present embodiment, pulled when APK decompiling instrument opens an APK file, such as by an APK file
In the page of APK decompiling instrument, when having opened the APK file, then it is defaulted as receiving the decompiling request of the APK file.
In other embodiments, the decision procedure for receiving the decompiling request of APK file can also be appointing in following manner
It anticipates one kind:
(1) detect that compiling instruction, compiling instruction can be generated by clicking the compiler directive in APK decompiling instrument.
(2) APK file is downloaded or received, such as when uploading an APK file using USB flash disk, then is defaulted as receiving this
The decompiling of APK file is requested.
It should be pointed out that the current operation system can be but be not limited to windows system, Linux system,
Any one in the systems such as android system, Mac OS system.Since each operating system corresponds to the script of different-format
Program will all run the corresponding shell script of the system, therefore by current Run Script program in any system operation
Format analyzed, that is, may recognize that equipment operation current operation system.
Step S02, calls corresponding with the current operation system default script file, in the default script file
Exectorial execution program comprising setting.
In the specific implementation, the script file that corresponding format can be preset respectively for each operating system, in these scripts
In file, in addition to format, plain text content can be completely the same.Meanwhile these script files can be all stored in this and set
In standby memory, so that no matter the equipment runs that system, will all be stored with the system in memory can be transported
Capable script file, to realize the decompiling that can realize APK file under any operating system, preservation, return and compile and install
The compiling automation of process.
Step S03 executes the default script file, to execute the APK file by the execution order of the setting.
Wherein, execution order includes decompiling, preservations, returns volume and at least one of installation is worked as.
In the present embodiment, when being compiled using this document processing method to an APK file, compiled once APK is counter
The tool open APK file is translated, system will carry out decompiling to the APK file automatically, and after decompiling is completed, user can be right
Decompiling file is edited, and after having edited, system automatically saves content of edit, and returns automatically and weave into new APK file, together
When connect Android simulator or when Android phone, system can also send out the new APK file when document handling apparatus
Android simulator or Android phone are given, to realize automatic installation APK file.
To sum up, the document handling method in the above embodiment of the present invention, in the decompiling request for receiving APK file
When, default script file is executed, executes the APK file to preset the execution order of script file setting by this, so as to
The decompiling, preservation, the automation for returning volume and installation process for realizing APK file, go to click order one by one without operator, greatly
Width improves compiling efficiency.In addition, by the script file for presetting corresponding format respectively for each operating system, and receiving
To APK file decompiling request when, first to equipment operation current operation system identify, then call current operation system
Corresponding script file unite to execute, realizes the compatibility of multisystem, so that APK file can be real under any operating system
Existing decompiling, preservation, the compiling automation for returning volume and installation process, make operator go to understand the APK in each system
The order of decompiling instrument further increases compiling efficiency.
Referring to Fig. 2, showing the document handling method in second embodiment of the invention, it is applied to document handling apparatus,
Including step S11 to step S22.This document processing equipment can by software and or hardware realization, meanwhile, this document processing set
Standby may include multiple operating systems that can mutually switch, and the operating system includes but is not limited to windows system, linux
System, android system, Mac OS system etc..
Step S11, when the decompiling for receiving APK file is requested, according to the type of the APK file, by the APK
The corresponding Optimum Operation system of file is switched to current operation system.
In the present embodiment, pulled when APK decompiling instrument opens an APK file, such as by an APK file
In the page of APK decompiling instrument, when having opened the APK file, then it is defaulted as receiving the decompiling request of the APK file.
It should be pointed out that some APK files may be the APK file under appointing system, and other APK files can be with
It is operated under multiple systems.In the specific implementation, can be automatically analyzed out according to the type and attribute information of APK file should
The Optimum Operation system of APK file.Wherein, which can be any one in following system:
(1) the fastest operating system of the APK file is run
(2) presently most idle operating system;
(3) operating system that the APK file can only be run.
For example, in the present embodiment, when the APK decompiling instrument under Linux system requires to open an APK file
When, network analysis to the APK file can only be run under android system, and android system is switched to currently by equipment automatically
Operating system, and employ the APK decompiling instrument under android system certainly and open the APK file.
Step S12 identifies the current operation system of document handling apparatus operation.
Step S13, calls corresponding with the current operation system default script file, in the default script file
Exectorial execution program comprising setting.
Wherein, each operating system corresponds to the default script file of different-format.
In the specific implementation, the script file that corresponding format can be preset respectively for each operating system, in these scripts
In file, in addition to format, plain text content can be completely the same.Meanwhile these script files can be all stored in this and set
In standby memory, so that no matter the equipment runs that system, will all be stored with the system in memory can be transported
Capable script file, to realize the decompiling that can realize APK file under any operating system, preservation, return and compile and install
The compiling automation of process.
Wherein, call the mode of default script file corresponding with current operation system can be specific according to the following steps real
It applies:
Step 1, determine the current operation system script file text formatting;
Step 2, from default script bank, identical with the text formatting script file of format is obtained, described in obtaining
Default script file.
It should be understood that in step 1, since each operating system corresponds to the shell script of different-format, any
When system is run, the corresponding shell script of the system will be all run, therefore carry out by the format to current Run Script program
Analysis, that is, can determine that the text formatting of the script file under current operation system.
In addition, the default script bank is in the memory of the equipment for storing all default feet in step 2
The storage unit of this document.Therefore it according to the text formatting identified in step 1, calls and corresponds to directly from default script bank
Required default script file can be obtained in the file of format.
Meanwhile from default script bank, the mode of format script file (step 1) identical with the text formatting is obtained
It can be embodied according to the following steps:
Step 1.1, search name includes the file of the text formatting in the default script bank;
Script file under step 1.2, the acquisition file, to obtain the default script file.
For the ease of management and subsequent calling, the script file of different-format is stored in different files by the present embodiment
In folder, and this document folder is named with the format of the script file stored in it, is directly searched and is called convenient for system.
Step S14 executes the default script file, to execute the APK file by the execution order of the setting.
Wherein, execution order includes decompiling, preservations, returns volume and at least one of installation is worked as.
Step S15 records the execution track of the default script file.
Step S16 is continued to execute since the point of interruption when restarting after the default script file interrupts.
Specifically, all can be execution flowing water information preservation into database when each script file executes, and work
After the completion of each working node executes in stream, state can all be updated into the execution flowing water of database, with logger task
Execution track.After task execution is interrupted, in its recovery, the failure flowing water in database can be obtained, is executed since breakpoint,
It saves big task duplication and executes the time.
In order to mitigate the workload that early period presets script, in an embodiment, the generation side of the default script file
Formula includes:
Obtain the exectorial execution program of the setting;
The execution program is respectively written into the blank script of different-format, to obtain described in multiple and different formats
Default script file.
In the specific implementation, each exectorial execution sequencing can be defined in the blank script, execute item
Part, implementing result assignment etc. so that after inputting content of text content, be capable of forming can entire run script text.Citing
For, in the specific implementation, (for human-edited or can be by the program documentaion of decompiling, preservation, time volume and installation operation
The pure program documentaion that system automatically generates) it imported into this document processing equipment, equipment is being got comprising exectorial text
After this content, text content can be respectively written into the blank script (such as C header file) of different-format, with obtain it is multiple not
With the default script file of format, so that processor can successively realize APK file when executing the default script file automatically
Decompiling, preservation return and compile and install operation.
Another aspect of the present invention also provides a kind of document handling system, please refers to Fig. 3, show third embodiment of the invention
In document handling system, be applied to document handling apparatus, this document processing equipment can be by software and or hardware realization, institute
Stating document handling system includes:
System identification module 11, for being transported to the document handling apparatus when the decompiling for receiving APK file is requested
Capable current operation system is identified;
Script calling module 12, it is described default for calling default script file corresponding with the current operation system
It include the exectorial execution program of setting in script file;
Script execution module 13, for executing the default script file, to execute institute by the execution order of the setting
State APK file.
Wherein, execution order includes decompiling, preservations, returns volume and at least one of installation is worked as.
Further, the document handling apparatus includes multiple operating systems that can mutually switch, the file process system
System further include:
System switching module 14, for the type according to the APK file, by the corresponding Optimum Operation of the APK file
System is switched to the current operation system.
Further, each operating system corresponds to the default script file of different-format, the file process
System further include:
Text obtains module 15, for obtaining the exectorial execution program of the setting;
Script generation module 16, for the execution program to be respectively written into the blank script of different-format, with
To the default script file of multiple and different formats.
Further, the script calling module 12 includes:
Format determination unit 121, the text formatting of the script file for determining the current operation system;
File obtaining unit 122, for from default script bank, obtaining format script text identical with the text formatting
Part, to obtain the default script file.
Further, the file obtaining unit 122 includes:
Subelement 1221 is searched for, for file of the search name comprising the text formatting in the default script bank
Folder;
File acquisition subelement 1222, for obtaining the script file under the file, to obtain the default script
File.
Further, the document handling system further include:
Logging modle 17 is executed, for recording the execution track of the default script file;
Execution module 18 being interrupted, when for restarting after the default script file interrupts, being continued since the point of interruption
It executes.
To sum up, the document handling system in the above embodiment of the present invention, in the decompiling request for receiving APK file
When, default script file is executed, executes the APK file to preset the execution order of script file setting by this, so as to
The decompiling, preservation, the automation for returning volume and installation process for realizing APK file, go to click order one by one without operator, greatly
Width improves compiling efficiency.In addition, by the script file for presetting corresponding format respectively for each operating system, and receiving
To APK file decompiling request when, first to equipment operation current operation system identify, then call current operation system
Corresponding script file unite to execute, realizes the compatibility of multisystem, so that APK file can be real under any operating system
Existing decompiling, preservation, the compiling automation for returning volume and installation process, make operator go to understand the APK in each system
The order of decompiling instrument further increases compiling efficiency.
The present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program, and the program is processed
Such as above-mentioned document handling method is realized when device executes.
Another aspect of the present invention also proposes a kind of document handling apparatus, referring to Fig. 4, showing fourth embodiment of the invention
Document handling apparatus in the middle, including processor 10, memory 20 and storage can be run on a memory and on a processor
Computer program 30, the processor 10 realizes such as above-mentioned document handling method when executing described program 30.
In the present embodiment, document handling apparatus can be computer, PC (Personal Computer, PC),
The terminal devices such as smart phone, tablet computer.
Wherein, processor 10 can be a central processing unit (Central Processing in some embodiments
Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, for what is stored in run memory 20
Program code or processing data, such as execute documentor etc..
Wherein, memory 20 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory,
Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 20
It can be the internal storage unit of document handling apparatus, such as the hard disk of this document processing equipment in some embodiments.Storage
Device 20 is also possible to the External memory equipment of document handling apparatus in further embodiments, such as is equipped on document handling apparatus
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card,
Flash card (Flash Card) etc..Further, memory 20 can also both include the internal storage unit of document handling apparatus
It also include External memory equipment.Memory 20 can be not only used for storage and be installed on the application software of document handling apparatus and all kinds of
Data, such as the code of documentor etc. can be also used for temporarily storing the data that has exported or will export.
Optionally, this document processing equipment can also include user interface, network interface, communication bus etc., user interface
It may include display (Display), input unit such as keyboard (Keyboard), optional user interface can also include mark
Wireline interface, the wireless interface of standard.Optionally, in some embodiments, display can be light-emitting diode display, liquid crystal display,
Touch-control liquid crystal display and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device
Deng.Wherein, display appropriate can also be known as display screen or display unit, handle in document handling apparatus for being shown in
Information and for showing visual user interface.Network interface optionally may include the wireline interface of standard, wirelessly connect
Mouth (such as WI-FI interface), commonly used in establishing communication connection between the device and other electronic equipments.Communication bus is for real
Connection communication between these existing components.
It should be pointed out that the structure shown in Fig. 4 does not constitute the restriction to document handling apparatus, work as in other embodiments
In, this document processing equipment may include that components less perhaps more more than diagram perhaps combine certain components or different
Component layout.
To sum up, the document handling apparatus in the present invention executes default in the decompiling request for receiving APK file
Script file executes the APK file to preset the execution order of script file setting by this, so as to realize APK file
Decompiling, preservation, return compile and installation process automation, go to click order one by one without operator, volume greatly improved
Translate efficiency.In addition, by the script file for presetting corresponding format respectively for each operating system, and receiving APK file
Decompiling request when, first to equipment operation current operation system identify, then call current operation system it is corresponding
Script file executes, and realizes the compatibility of multisystem, so that APK file can realize anti-volume under any operating system
The compiling automation of translating, save, returning volume and installation process, makes operator go to understand the APK decompiling in each system
The order of tool further increases compiling efficiency.
It will be understood by those skilled in the art that in flow charts indicate or logic described otherwise above herein and/or
Step may be embodied in and appoint for example, being considered the order list of the executable instruction for realizing logic function
In what computer-readable medium, for instruction execution system, device or equipment (such as computer based system including processor
System or other can be from instruction execution system, device or equipment instruction fetch and the system executed instruction) use, or combine this
A little instruction execution systems, device or equipment and use.For the purpose of this specification, " computer-readable medium " can be it is any can be with
Include, store, communicate, propagate, or transport program is for instruction execution system, device or equipment or in conjunction with these instruction execution systems
System, device or equipment and the device used.
The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more wirings
Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of document handling method is applied to document handling apparatus, which is characterized in that the described method includes:
When the decompiling for receiving APK file is requested, the current operation system of document handling apparatus operation is known
Not;
Default script file corresponding with the current operation system is called, includes holding for setting in the default script file
The execution program of line command;
The default script file is executed, to execute the APK file by the execution order of the setting.
2. document handling method according to claim 1, which is characterized in that execution order include decompiling, preservation,
It returns and compiles and installation at least one of is worked as.
3. document handling method according to claim 1, which is characterized in that the document handling apparatus include it is multiple can phase
The operating system mutually switched, before the step of current operation system to the document handling apparatus identifies, also
Include:
According to the type of the APK file, the corresponding Optimum Operation system of the APK file is switched to the current operation system
System.
4. document handling method according to claim 3, which is characterized in that each operating system corresponds to different-format
The default script file, the generating mode of the default script file includes:
Obtain the exectorial execution program of the setting;
The execution program is respectively written into the blank script of different-format, to obtain the described default of multiple and different formats
Script file.
5. document handling method according to claim 1, which is characterized in that the calling and the current operation system pair
The step of default script file answered includes:
Determine the text formatting of the script file of the current operation system;
From default script bank, format script file identical with the text formatting is obtained, to obtain the default script text
Part.
6. document handling method according to claim 5, which is characterized in that it is described from default script bank, obtain format
The step of script file identical with the text formatting includes:
Search name includes the file of the text formatting in the default script bank;
The script file under the file is obtained, to obtain the default script file.
7. document handling method according to claim 1, which is characterized in that in the execution default script file
After step, further includes:
Record the execution track of the default script file;
When restarting after the default script file interrupts, continued to execute since the point of interruption.
8. a kind of document handling system is applied to document handling apparatus, which is characterized in that the system comprises:
System identification module, for working as to the document handling apparatus operation when the decompiling for receiving APK file is requested
Preceding operating system is identified;
Script calling module, for calling default script file corresponding with the current operation system, the default script text
It include the exectorial execution program of setting in part;
Script execution module, for executing the default script file, to execute the APK text by the execution order of the setting
Part.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
Method as claimed in claim 1 is realized when row.
10. a kind of document handling apparatus, including memory, processor and storage can be run on a memory and on a processor
Computer program, which is characterized in that the processor is realized as claimed in claim 1 when executing described program
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910245764.XA CN110083362A (en) | 2019-03-28 | 2019-03-28 | Document handling method, system, readable storage medium storing program for executing and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910245764.XA CN110083362A (en) | 2019-03-28 | 2019-03-28 | Document handling method, system, readable storage medium storing program for executing and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110083362A true CN110083362A (en) | 2019-08-02 |
Family
ID=67413756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910245764.XA Pending CN110083362A (en) | 2019-03-28 | 2019-03-28 | Document handling method, system, readable storage medium storing program for executing and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110083362A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110764784A (en) * | 2019-10-24 | 2020-02-07 | 北京智游网安科技有限公司 | Method for identifying three-party SO file, intelligent terminal and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080127175A1 (en) * | 2006-11-01 | 2008-05-29 | Microsoft Corporation | Packaging software products as single-file executables containing scripting logic |
CN104714788A (en) * | 2013-12-12 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Method and device for automatically generating software installation package |
CN106155717A (en) * | 2015-04-01 | 2016-11-23 | 北京蓝海讯通科技有限公司 | A kind of method and apparatus that SDK is integrated into third party APK |
-
2019
- 2019-03-28 CN CN201910245764.XA patent/CN110083362A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080127175A1 (en) * | 2006-11-01 | 2008-05-29 | Microsoft Corporation | Packaging software products as single-file executables containing scripting logic |
CN104714788A (en) * | 2013-12-12 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Method and device for automatically generating software installation package |
CN106155717A (en) * | 2015-04-01 | 2016-11-23 | 北京蓝海讯通科技有限公司 | A kind of method and apparatus that SDK is integrated into third party APK |
Non-Patent Citations (1)
Title |
---|
CHOUY: "自动把apk反编译的脚本", 《HTTP://BLOG.CHINAUNIX.NET/UID-540802-ID-138871.HTML》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110764784A (en) * | 2019-10-24 | 2020-02-07 | 北京智游网安科技有限公司 | Method for identifying three-party SO file, intelligent terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11789715B2 (en) | Systems and methods for transformation of reporting schema | |
US20160357519A1 (en) | Natural Language Engine for Coding and Debugging | |
US11188319B2 (en) | Systems and methods for entry point-based code analysis and transformation | |
US11429365B2 (en) | Systems and methods for automated retrofitting of customized code objects | |
CN108139891B (en) | Method and system for generating suggestions to correct undefined token errors | |
US20180121320A1 (en) | Analysis to check web api code usage and specification | |
US20160306612A1 (en) | Determining errors and warnings corresponding to a source code revision | |
CN104424402B (en) | It is a kind of for detecting the method and device of pirate application program | |
CN105793818A (en) | Source code translation | |
CN102750152B (en) | Method and device of application for generating a plurality of programming languages based on descriptive language | |
CN105446725A (en) | Method and system for model driven development | |
US9195567B1 (en) | Debugging data format conversion | |
WO2020206837A1 (en) | Code segment positioning method and device, computer apparatus, and storage medium | |
WO2017020459A1 (en) | Method and apparatus for configuring plugin package for host | |
CN112615758B (en) | Application identification method, device, equipment and storage medium | |
CN101251799B (en) | Apparatus and method for implementing management | |
CN110659210A (en) | Information acquisition method and device, electronic equipment and storage medium | |
CN105183476A (en) | Cross-application program construction method and device | |
CN110083362A (en) | Document handling method, system, readable storage medium storing program for executing and equipment | |
CN113760306A (en) | Method and device for installing software, electronic equipment and storage medium | |
CN111158777A (en) | Component calling method and device and computer readable storage medium | |
CN113805861B (en) | Code generation method based on machine learning, code editing system and storage medium | |
CN115640279A (en) | Method and device for constructing data blood relationship | |
CN113448572B (en) | Software project development method and device, computer storage medium and computer equipment | |
CN114116471A (en) | Automatic code scanning method, system, electronic equipment and storage medium |
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: 20190802 |
|
RJ01 | Rejection of invention patent application after publication |