CN111104648A - Software processing method and device, application program and electronic equipment - Google Patents

Software processing method and device, application program and electronic equipment Download PDF

Info

Publication number
CN111104648A
CN111104648A CN201811266361.5A CN201811266361A CN111104648A CN 111104648 A CN111104648 A CN 111104648A CN 201811266361 A CN201811266361 A CN 201811266361A CN 111104648 A CN111104648 A CN 111104648A
Authority
CN
China
Prior art keywords
data stream
loading
configuration
file
identification information
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
CN201811266361.5A
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.)
Hitevision Co Ltd
Original Assignee
Hitevision 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 Hitevision Co Ltd filed Critical Hitevision Co Ltd
Priority to CN201811266361.5A priority Critical patent/CN111104648A/en
Publication of CN111104648A publication Critical patent/CN111104648A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/14Protecting executable software against software analysis or reverse engineering, e.g. by obfuscation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a software processing method and device, an application program and electronic equipment, wherein the software processing method comprises the following steps: generating identification information corresponding to each dynamic link library file and each configuration file; processing each dynamic link library file and configuration file to generate corresponding dynamic library data streams and configuration data streams; establishing a loading data comparison table, wherein the loading data comparison table comprises identification information of each dynamic link library file and a starting position and an ending position of a dynamic library data stream corresponding to the identification information in the loading data stream, and the starting position and the ending position of the identification information of each configuration file and a configuration data stream corresponding to the identification information in the loading data stream; storing a loading data stream and a loading data comparison table in a database, wherein the loading data stream comprises a dynamic library data stream and a configuration data stream; an executable program file is generated that includes identification information for each dynamic link library file, identification information for each configuration file. The invention can improve the safety of the application program.

Description

Software processing method and device, application program and electronic equipment
Technical Field
The present invention relates to the field of software processing technologies, and in particular, to a software processing method and apparatus, an application program, and an electronic device.
Background
Existing applications typically include one executable file (. exe file), multiple dynamic link library files (. dll file), multiple other associated configuration files, etc. When the application program is operated, the executable program file is executed, each dynamic link library is linked and each configuration file is read in the execution process, and the function of the application program is realized. At present, each dynamic link library file and configuration file are independent files, and the file name roughly indicates a basic function, so that according to the file composition and the file function of the whole application program, a third-party tool is combined, and reverse engineering is utilized to possibly analyze and obtain a source code of the application program, so that loss is caused to a software developer, and safety threat is caused to the application program.
Disclosure of Invention
In view of the above, the present invention provides a software processing method and apparatus, an application program, and an electronic device, which can improve the security of a software application program by processing a dynamic link library file and a configuration file.
Based on the above object, the present invention provides a software processing method, comprising:
generating identification information corresponding to each dynamic link library file;
processing each dynamic link library file to generate a corresponding dynamic library data stream;
generating identification information corresponding to each configuration file;
processing each configuration file to generate a corresponding configuration data stream;
establishing a loading data comparison table, wherein the loading data comparison table comprises the identification information of each dynamic link library file and the starting position and the ending position of the dynamic library data stream corresponding to the identification information in the loading data stream, and the identification information of each configuration file and the starting position and the ending position of the configuration data stream corresponding to the identification information in the loading data stream;
storing the loading data stream and the loading data comparison table in a database, wherein the loading data stream comprises the dynamic library data stream and the configuration data stream;
and generating an executable program file comprising the identification information of each dynamic link library file and the identification information of each configuration file.
Optionally, the method further includes:
executing the executable program file;
during the dynamic loading of the executable program file,
for loading the dynamic link library file, inquiring the loading data comparison table in the database according to the identification information of the dynamic link library file, acquiring the initial position and the end position of the corresponding dynamic library data stream in the loading data stream, acquiring the dynamic library data stream from the initial position to the end position in the loading data stream, and loading the dynamic library data stream;
for loading the configuration file, according to the identification information of the configuration file, querying the loading data comparison table in the database, obtaining the start position and the end position of the corresponding configuration data stream in the loading data stream, obtaining the configuration data stream from the start position to the end position in the loading data stream, and loading the configuration data stream.
Optionally, the method further includes:
after the corresponding configuration data stream is generated, adding a predefined data header to the configuration data stream, and storing the configuration data stream with the data header added in the loading data stream.
Optionally, the method further includes:
and after the configuration data stream added with the data head is obtained from the loading data stream, the data head is removed, and then the configuration data stream is loaded.
Optionally, the method further includes:
and processing the dynamic link library file and the configuration file by using an encryption algorithm to generate a ciphertext dynamic library data stream and a ciphertext configuration data stream, and storing the ciphertext dynamic library data stream and the ciphertext configuration data stream in the loading data stream.
Optionally, the method further comprises;
and after acquiring the ciphertext dynamic library data stream and the ciphertext configuration data stream from the loading data stream, decrypting the ciphertext dynamic library data stream and the ciphertext configuration data stream, and then loading the decrypted dynamic library data stream and the decrypted configuration data stream.
An embodiment of the present invention further provides a data processing apparatus, including:
an identification information generation module for generating identification information corresponding to each dynamic link library file and generating identification information corresponding to each configuration file;
the data processing module is used for processing each dynamic link library file to generate a corresponding dynamic library data stream, and processing each configuration file to generate a corresponding configuration data stream;
a loading data comparison table, including the identification information of each dynamic link library file and the start position and the end position of the corresponding dynamic library data stream in the loading data stream, and the identification information of each configuration file and the start position and the end position of the corresponding configuration data stream in the loading data stream;
the database is used for storing the loading data stream and the loading data comparison table, and the loading data stream comprises the dynamic library data stream and a configuration data stream;
executable program files including identification information of each dynamic link library file, identification information of each configuration file.
Optionally, the apparatus further comprises:
the execution module is used for executing the executable program file;
the loading module is used for loading the dynamic link library file and the configuration file in the dynamic loading process of the executable program file; the loading process is as follows:
for loading the dynamic link library file, inquiring the loading data comparison table in the database according to the identification information of the dynamic link library file, acquiring the initial position and the end position of the corresponding dynamic library data stream in the loading data stream, acquiring the dynamic library data stream from the initial position to the end position in the loading data stream, and loading the dynamic library data stream;
for loading the configuration file, according to the identification information of the configuration file, querying the loading data comparison table in the database, obtaining the start position and the end position of the corresponding configuration data stream in the loading data stream, and obtaining the configuration data stream from the start position to the end position in the loading data stream, wherein the configuration data stream is loaded.
Optionally, the data processing module further includes:
and the encryption submodule is used for encrypting each dynamic link library file to generate a corresponding ciphertext dynamic library data stream, and encrypting the configuration file to generate a corresponding ciphertext configuration data stream.
Optionally, the loading module further includes:
and the decryption submodule is used for decrypting the ciphertext dynamic library data stream and the ciphertext configuration data stream after the ciphertext dynamic library data stream and the ciphertext configuration data stream are obtained from the loading data stream, and then loading the decrypted dynamic library data stream and the decrypted configuration data stream.
Optionally, the data processing module further includes:
and the coding submodule is used for performing data header adding processing on the configuration data stream.
Optionally, the loading module further includes:
and the decoding submodule is used for removing the data head after the configuration data stream with the data head is obtained from the loading data stream, and then loading the configuration data stream.
The embodiment of the invention also provides an application program, which comprises;
executable program files including identification information of each dynamic link library file, identification information of each configuration file;
and the loading data comparison table comprises the identification information of each dynamic link library file and the initial position and the end position of the corresponding dynamic library data stream in the database, and the identification information of each configuration file and the initial position and the end position of the corresponding configuration data stream in the database.
Optionally, the loading data stream includes a ciphertext dynamic library data stream and a ciphertext configuration data stream formed by encrypting the dynamic library data stream and the configuration data stream.
Optionally, the load data stream includes a configuration data stream with a data header.
The embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and is characterized in that the processor implements the software processing method when executing the program.
As can be seen from the above description, the software processing method and apparatus, the application program, and the electronic device provided by the present invention generate a loading data stream by processing the dynamic link library file and the configuration file to generate a corresponding dynamic library data stream and a corresponding configuration data stream, store the loading data stream and the loading data comparison table in the database, and when the application program is executed, query the database according to the dynamic link library file and the configuration file to obtain and load the corresponding data stream. The invention can improve the safety of the application program by processing and hiding the key data.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a software processing method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a software processing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an application structure according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
Fig. 1 is a schematic flow chart of a software processing method according to an embodiment of the present invention. As shown in the figure, a software processing method provided in an embodiment of the present invention is used for generating an application program, and the method includes:
s10: generating identification information corresponding to each dynamic link library file;
s11: processing each dynamic link library file to generate a corresponding dynamic library data stream;
s12: generating identification information corresponding to each configuration file;
s13: processing each configuration file to generate a corresponding configuration data stream;
s14: establishing a loading data comparison table, wherein the loading data comparison table comprises identification information of each dynamic link library file and a starting position and an ending position of a corresponding dynamic library data stream in a loading data stream, and the identification information of each configuration file and a starting position and an ending position of a corresponding configuration data stream in the loading data stream;
s15: storing a loading data stream and a loading data comparison table in a database, wherein the loading data stream comprises a dynamic library data stream and a configuration data stream;
s16: an executable program file is generated that includes identification information for each dynamic link library file, identification information for each configuration file.
When the application program is loaded, the software processing method further comprises the following steps:
executing the executable program file;
during the dynamic loading of the executable program file,
for loading the dynamic link library file, inquiring a loading data comparison table in the database according to the identification information of the dynamic link library file, acquiring the initial position and the end position of a corresponding dynamic library data stream in the loading data stream, acquiring the dynamic library data stream from the initial position to the end position in the loading data stream, and loading the dynamic library data stream;
and for the loading configuration file, inquiring a loading data comparison table in a database according to the identification information of the configuration file, acquiring the initial position and the end position of the corresponding configuration data stream in the loading data stream, acquiring the configuration data stream from the initial position to the end position in the loading data stream, and loading the configuration data stream.
In order to improve data security, the configuration file is processed, after a corresponding configuration data stream is generated, a predefined data header is added to the configuration data stream, and the configuration data stream with the data header added is stored in a loading data stream of a database. When the application program is loaded, after the configuration data stream with the data header added is obtained according to the identification information of the configuration file, the data header is removed, and then the configuration data stream is loaded.
In order to further improve the data security, the dynamic link library file and the configuration file can be processed by using an encryption algorithm to generate a ciphertext dynamic library data stream and a ciphertext configuration data stream, and the ciphertext dynamic library data stream and the ciphertext configuration data stream are stored in the loading data stream. When the application program is loaded, after the corresponding data stream of the dynamic database of the ciphertext and the data stream of the configuration of the ciphertext are obtained according to the identification information of the dynamic link library or the configuration file, decryption processing is carried out, and then the decrypted data stream of the dynamic library and the decrypted data stream of the configuration are loaded.
Fig. 2 is a schematic structural diagram of a software processing apparatus according to an embodiment of the present invention. As shown in the drawings, a software processing apparatus provided in an embodiment of the present invention includes:
an identification information generation module for generating identification information corresponding to each dynamic link library file and generating identification information corresponding to each configuration file;
the data processing module is used for processing each dynamic link library file to generate a corresponding dynamic library data stream, and processing each configuration file to generate a corresponding configuration data stream;
a loading data comparison table, which comprises the identification information of each dynamic link library file and the initial position and the end position of the corresponding dynamic library data stream in the loading data stream, and the identification information of each configuration file and the initial position and the end position of the corresponding configuration data stream in the loading data stream;
the database is used for storing a loading data stream and a loading data comparison table, wherein the loading data stream comprises a dynamic library data stream and a configuration data stream;
executable program files including identification information for each dynamic link library file, identification information for each configuration file.
In this embodiment of the present invention, the software processing apparatus further includes:
the execution module is used for executing the executable program file;
the loading module is used for loading the dynamic link library file and the configuration file in the dynamic loading process of the executable program file; the loading process is as follows:
for loading the dynamic link library file, inquiring a loading data comparison table in the database according to the identification information of the dynamic link library file, acquiring the initial position and the end position of a corresponding dynamic library data stream in the loading data stream, acquiring the dynamic library data stream from the initial position to the end position in the loading data stream, and loading the dynamic library data stream;
and for the loading configuration file, inquiring a loading data comparison table in a database according to the identification information of the configuration file, acquiring the initial position and the end position of the corresponding configuration data stream in the loading data stream, acquiring the configuration data stream from the initial position to the end position in the loading data stream, and loading the configuration data stream.
In this embodiment of the present invention, the data processing module further includes:
and the encryption submodule is used for encrypting each dynamic link library file to generate a corresponding ciphertext dynamic library data stream, and encrypting the configuration file to generate a corresponding ciphertext configuration data stream.
In this embodiment of the present invention, the loading module further includes:
and the decryption submodule is used for decrypting the ciphertext dynamic library data stream and the ciphertext configuration data stream after the ciphertext dynamic library data stream and the ciphertext configuration data stream are obtained from the loading data stream, and then loading the decrypted dynamic library data stream and the decrypted configuration data stream.
In this embodiment of the present invention, the data processing module further includes:
and the coding submodule is used for performing data header adding processing on the configuration data stream.
The loading module further comprises:
and the decoding submodule is used for removing the data head after the configuration data stream with the data head is obtained from the loading data stream, and then loading the configuration data stream.
Fig. 3 is a schematic diagram of an application structure according to an embodiment of the present invention. In the embodiment of the invention, the application program comprises an executable program file and a database;
executable program files including identification information of each dynamic link library file, identification information of each configuration file;
the database stores a loading data stream and a loading data comparison table, wherein the loading data stream comprises a dynamic library data stream and a configuration data stream, the loading data comparison table comprises identification information of a dynamic link library file and a starting position and an ending position of the dynamic library data stream corresponding to the identification information in the database, and the starting position and the ending position of the configuration file and the configuration data stream corresponding to the identification information in the database.
The load data stream may include a ciphertext dynamic library data stream and a ciphertext configuration data stream, and the load data stream may include a configuration data stream with a data header.
In the embodiment of the invention, each dynamic link library file and each configuration file are stored in a database in a data stream mode, corresponding identification information is distributed to each dynamic link library file and each configuration file, when an executable program file is executed, the reading and loading sequence of each dynamic link library file and each configuration file is determined according to the execution sequence, when the dynamic link library file is loaded, a loading data comparison table in the database is inquired according to the identification information of the dynamic link library file, the initial position and the end position of a dynamic library data stream corresponding to the identification information of the dynamic link library file in the loading data stream are obtained, the corresponding dynamic library data stream is obtained from the initial position to the end position of the loading data stream, and the dynamic library data stream is loaded; when the configuration file is loaded, the loading data comparison table in the database is inquired according to the identification information of the configuration file, the initial position and the end position of the configuration data stream corresponding to the identification information of the configuration file in the loading data stream are obtained, the corresponding configuration data stream is obtained from the initial position to the end position of the loading data stream, and the configuration data stream is loaded, so that the loading execution process of the application program is completed. According to the invention, the dynamic link library files and the configuration files are processed and stored in the database, so that a plurality of files are prevented from being analyzed and cracked, and the safety of the application program is improved.
Based on the above purpose, the embodiment of the present invention further provides an embodiment of an apparatus for executing the software processing method. The device comprises:
one or more processors, and a memory.
The apparatus for performing the software processing method may further include: an input device and an output device.
The processor, memory, input device, and output device may be connected by a bus or other means.
The memory, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the software processing method in the embodiments of the present invention. The processor executes various functional applications of the server and data processing by executing nonvolatile software programs, instructions and modules stored in the memory, that is, the software processing method of the above-described method embodiment is realized.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of an apparatus that performs the software processing method, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory optionally includes memory remotely located from the processor, and these remote memories may be connected to the member user behavior monitoring device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means may receive input numeric or character information and generate key signal inputs related to user settings and function control of the apparatus performing the software processing method. The output device may include a display device such as a display screen.
The one or more modules are stored in the memory and, when executed by the one or more processors, perform the software processing method of any of the method embodiments described above. The technical effect of the embodiment of the device for executing the software processing method is the same as or similar to that of any method embodiment.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the processing method of the list item operation in any method embodiment. Embodiments of the non-transitory computer storage medium may be the same or similar in technical effect to any of the method embodiments described above.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes in the methods of the above embodiments may be implemented by a computer program that can be stored in a computer-readable storage medium and that, when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like. The technical effect of the embodiment of the computer program is the same as or similar to that of any of the method embodiments described above.
Furthermore, the apparatuses, devices, etc. described in the present disclosure may be various electronic terminal devices, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer (PAD), a smart television, etc., and may also be large terminal devices, such as a server, etc., and therefore the scope of protection of the present disclosure should not be limited to a specific type of apparatus, device. The client disclosed by the present disclosure may be applied to any one of the above electronic terminal devices in the form of electronic hardware, computer software, or a combination of both.
Furthermore, the method according to the present disclosure may also be implemented as a computer program executed by a CPU, which may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method of the present disclosure.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) described herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
The apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the invention, also features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity.
In addition, well known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures for simplicity of illustration and discussion, and so as not to obscure the invention. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the invention, and also in view of the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the present invention is to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the invention, it should be apparent to one skilled in the art that the invention can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
The embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements and the like that may be made without departing from the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (16)

1. A software processing method, comprising:
generating identification information corresponding to each dynamic link library file;
processing each dynamic link library file to generate a corresponding dynamic library data stream;
generating identification information corresponding to each configuration file;
processing each configuration file to generate a corresponding configuration data stream;
establishing a loading data comparison table, wherein the loading data comparison table comprises the identification information of each dynamic link library file and the starting position and the ending position of the dynamic library data stream corresponding to the identification information in the loading data stream, and the identification information of each configuration file and the starting position and the ending position of the configuration data stream corresponding to the identification information in the loading data stream;
storing the loading data stream and the loading data comparison table in a database, wherein the loading data stream comprises the dynamic library data stream and the configuration data stream;
and generating an executable program file comprising the identification information of each dynamic link library file and the identification information of each configuration file.
2. The method of claim 1, further comprising:
executing the executable program file;
during the dynamic loading of the executable program file,
for loading the dynamic link library file, inquiring the loading data comparison table in the database according to the identification information of the dynamic link library file, acquiring the initial position and the end position of the corresponding dynamic library data stream in the loading data stream, acquiring the dynamic library data stream from the initial position to the end position in the loading data stream, and loading the dynamic library data stream;
for loading the configuration file, according to the identification information of the configuration file, querying the loading data comparison table in the database, obtaining the start position and the end position of the corresponding configuration data stream in the loading data stream, obtaining the configuration data stream from the start position to the end position in the loading data stream, and loading the configuration data stream.
3. The method of claim 1, further comprising:
after the corresponding configuration data stream is generated, adding a predefined data header to the configuration data stream, and storing the configuration data stream with the data header added in the loading data stream.
4. The method of claim 3, further comprising:
and after the configuration data stream added with the data head is obtained from the loading data stream, the data head is removed, and then the configuration data stream is loaded.
5. The method of claim 1, further comprising:
and processing the dynamic link library file and the configuration file by using an encryption algorithm to generate a ciphertext dynamic library data stream and a ciphertext configuration data stream, and storing the ciphertext dynamic library data stream and the ciphertext configuration data stream in the loading data stream.
6. The method of claim 5, further comprising;
and after acquiring the ciphertext dynamic library data stream and the ciphertext configuration data stream from the loading data stream, decrypting the ciphertext dynamic library data stream and the ciphertext configuration data stream, and then loading the decrypted dynamic library data stream and the decrypted configuration data stream.
7. A data processing apparatus, comprising:
an identification information generation module for generating identification information corresponding to each dynamic link library file and generating identification information corresponding to each configuration file;
the data processing module is used for processing each dynamic link library file to generate a corresponding dynamic library data stream, and processing each configuration file to generate a corresponding configuration data stream;
a loading data comparison table, including the identification information of each dynamic link library file and the start position and the end position of the corresponding dynamic library data stream in the loading data stream, and the identification information of each configuration file and the start position and the end position of the corresponding configuration data stream in the loading data stream;
the database is used for storing the loading data stream and the loading data comparison table, and the loading data stream comprises the dynamic library data stream and a configuration data stream;
executable program files including identification information of each dynamic link library file, identification information of each configuration file.
8. The apparatus of claim 7, further comprising:
the execution module is used for executing the executable program file;
the loading module is used for loading the dynamic link library file and the configuration file in the dynamic loading process of the executable program file; the loading process is as follows:
for loading the dynamic link library file, inquiring the loading data comparison table in the database according to the identification information of the dynamic link library file, acquiring the initial position and the end position of the corresponding dynamic library data stream in the loading data stream, acquiring the dynamic library data stream from the initial position to the end position in the loading data stream, and loading the dynamic library data stream;
for loading the configuration file, according to the identification information of the configuration file, querying the loading data comparison table in the database, obtaining the start position and the end position of the corresponding configuration data stream in the loading data stream, and obtaining the configuration data stream from the start position to the end position in the loading data stream, wherein the configuration data stream is loaded.
9. The apparatus of claim 7, wherein the data processing module further comprises:
and the encryption submodule is used for encrypting each dynamic link library file to generate a corresponding ciphertext dynamic library data stream, and encrypting the configuration file to generate a corresponding ciphertext configuration data stream.
10. The apparatus of claim 9, wherein the loading module further comprises:
and the decryption submodule is used for decrypting the ciphertext dynamic library data stream and the ciphertext configuration data stream after the ciphertext dynamic library data stream and the ciphertext configuration data stream are obtained from the loading data stream, and then loading the decrypted dynamic library data stream and the decrypted configuration data stream.
11. The apparatus of claim 7, wherein the data processing module further comprises:
and the coding submodule is used for performing data header adding processing on the configuration data stream.
12. The apparatus of claim 11, wherein the loading module further comprises:
and the decoding submodule is used for removing the data head after the configuration data stream with the data head is obtained from the loading data stream, and then loading the configuration data stream.
13. An application program, comprising;
executable program files including identification information of each dynamic link library file, identification information of each configuration file;
and the loading data comparison table comprises the identification information of each dynamic link library file and the initial position and the end position of the corresponding dynamic library data stream in the database, and the identification information of each configuration file and the initial position and the end position of the corresponding configuration data stream in the database.
14. The application program of claim 13, wherein the loading data stream includes a ciphertext dynamic library data stream and a ciphertext configuration data stream formed by encrypting the dynamic library data stream and the configuration data stream.
15. The application of claim 13, wherein the load data stream comprises a configuration data stream with a data header.
16. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 6 when executing the program.
CN201811266361.5A 2018-10-29 2018-10-29 Software processing method and device, application program and electronic equipment Pending CN111104648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811266361.5A CN111104648A (en) 2018-10-29 2018-10-29 Software processing method and device, application program and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811266361.5A CN111104648A (en) 2018-10-29 2018-10-29 Software processing method and device, application program and electronic equipment

Publications (1)

Publication Number Publication Date
CN111104648A true CN111104648A (en) 2020-05-05

Family

ID=70419640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811266361.5A Pending CN111104648A (en) 2018-10-29 2018-10-29 Software processing method and device, application program and electronic equipment

Country Status (1)

Country Link
CN (1) CN111104648A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984342A (en) * 2020-09-03 2020-11-24 科大讯飞股份有限公司 Method and related device for loading dynamic link library
CN117407048A (en) * 2023-12-14 2024-01-16 江西飞尚科技有限公司 Flow configuration method and system of plug-in data processing software

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681790A (en) * 2012-03-02 2012-09-19 南京拓界信息技术有限公司 Data dump device and method and system for data dump by same
CN104680039A (en) * 2013-11-28 2015-06-03 腾讯科技(深圳)有限公司 Data protection method and device of application installation package
CN105426777A (en) * 2015-11-17 2016-03-23 中科创达软件股份有限公司 Dynamic-link library file encryption, decryption methods and devices
CN107451107A (en) * 2017-08-10 2017-12-08 中国民航信息网络股份有限公司 Data-flow conversion method and device based on XML

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681790A (en) * 2012-03-02 2012-09-19 南京拓界信息技术有限公司 Data dump device and method and system for data dump by same
CN104680039A (en) * 2013-11-28 2015-06-03 腾讯科技(深圳)有限公司 Data protection method and device of application installation package
CN105426777A (en) * 2015-11-17 2016-03-23 中科创达软件股份有限公司 Dynamic-link library file encryption, decryption methods and devices
CN107451107A (en) * 2017-08-10 2017-12-08 中国民航信息网络股份有限公司 Data-flow conversion method and device based on XML

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984342A (en) * 2020-09-03 2020-11-24 科大讯飞股份有限公司 Method and related device for loading dynamic link library
CN111984342B (en) * 2020-09-03 2023-04-07 科大讯飞股份有限公司 Method and related device for loading dynamic link library
CN117407048A (en) * 2023-12-14 2024-01-16 江西飞尚科技有限公司 Flow configuration method and system of plug-in data processing software
CN117407048B (en) * 2023-12-14 2024-03-12 江西飞尚科技有限公司 Flow configuration method and system of plug-in data processing software

Similar Documents

Publication Publication Date Title
KR102182894B1 (en) USER DEVICE PERFORMING PASSWROD BASED AUTHENTICATION AND PASSWORD Registration AND AUTHENTICATION METHOD THEREOF
US20160117518A1 (en) File Encryption/Decryption Device And File Encryption/Decryption Method
CN107786331B (en) Data processing method, device, system and computer readable storage medium
CN109145563B (en) Identity verification method and device
US10565381B2 (en) Method and apparatus for performing firmware programming on microcontroller chip, and associated microcontroller chip
CN110768784B (en) Password transmission method, device, computer equipment and storage medium
CN110210591B (en) Writing method of intelligent IC card personalized data, computer device and computer readable storage medium
CN111062189A (en) Data analysis method and device and electronic equipment
CN111104648A (en) Software processing method and device, application program and electronic equipment
US9594918B1 (en) Computer data protection using tunable key derivation function
CN113132484B (en) Data transmission method and device
CN110730167A (en) Data sending method, data query method, device, electronic equipment and system
US8904508B2 (en) System and method for real time secure image based key generation using partial polygons assembled into a master composite image
US8347113B2 (en) System and method for encrypting an electronic file in a mobile electronic device
CN108270787B (en) Data decryption method and device and electronic equipment
CN109995534B (en) Method and device for carrying out security authentication on application program
CN111104693A (en) Android platform software data cracking method, terminal device and storage medium
KR20190134817A (en) Method of restoring a secure element to a factory state
CN110851794A (en) Media file uplink method and device, storage medium and electronic device
CN110855656A (en) Plug-in flow proxy method, device and system capable of realizing application server protection
CN110806910A (en) Method and system for optimizing carousel map and electronic equipment
CN114692121A (en) Information acquisition method and related product
US20150281343A1 (en) Information processing device, information processing system, and processing method
CN111190529A (en) Keyboard input method and device and electronic equipment
CN110765738A (en) System and method for generating card number and electronic equipment

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