CN111104178A - Dynamic library loading method, terminal device and storage medium - Google Patents
Dynamic library loading method, terminal device and storage medium Download PDFInfo
- Publication number
- CN111104178A CN111104178A CN201811257308.9A CN201811257308A CN111104178A CN 111104178 A CN111104178 A CN 111104178A CN 201811257308 A CN201811257308 A CN 201811257308A CN 111104178 A CN111104178 A CN 111104178A
- Authority
- CN
- China
- Prior art keywords
- dynamic library
- library file
- physical memory
- memory space
- size
- 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
- 238000011068 loading method Methods 0.000 title claims abstract description 26
- 238000000034 method Methods 0.000 claims abstract description 35
- 230000006870 function Effects 0.000 claims abstract description 33
- 238000004590 computer program Methods 0.000 claims description 18
- 230000008569 process Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Abstract
The invention discloses a dynamic library loading method, a terminal device and a storage medium, which are suitable for the technical field of application starting. The method provided by the invention comprises the following steps: calling a CreateFile function to open a dynamic library file and acquiring a handle of the dynamic library file; applying for a physical memory space with a preset size on the RAM; reading the dynamic library file according to the handle of the dynamic library file and storing the dynamic library file into the physical memory space; and calling LoadLibrary to load the dynamic library file after the dynamic library file is completely stored in the physical memory space. The invention avoids the time consumption caused by frequent violating I/O operation, thereby greatly accelerating the application starting speed.
Description
Technical Field
The invention belongs to the technical field of application starting, and particularly relates to a dynamic library loading method, a terminal device and a storage medium.
Background
In the Windows operating system, an executable file is provided for realizing common code multiplexing, and the executable file, namely a dynamic library file, is loaded in the starting process of an application program. Usually, a large amount of dynamic library files are loaded in the starting process of a client, and this way of directly loading the dynamic library files from a hard disk triggers a large amount of I/O operations, which are time-consuming and result in slow starting of the client application.
Disclosure of Invention
In view of this, embodiments of the present invention provide a dynamic library loading method, a terminal device, and a storage medium, so as to accelerate a client application start speed.
In a first aspect of the embodiments of the present invention, a method for loading a dynamic library is provided, including:
calling a CreateFile function to open a dynamic library file and acquiring a handle of the dynamic library file;
applying for a physical memory space with a preset size on the RAM;
reading the dynamic library file according to the handle of the dynamic library file and storing the dynamic library file into the physical memory space;
and calling LoadLibrary to load the dynamic library file after the dynamic library file is completely stored in the physical memory space.
In a second aspect of the embodiments of the present invention, there is provided a terminal apparatus, including:
an acquisition module: the device is used for calling a CreateFile function to open the dynamic library file and acquiring a handle of the dynamic library file;
an application module: the device comprises a RAM, a memory controller and a memory controller, wherein the RAM is used for applying a physical memory space with a preset size on the RAM;
a storage module: the device is used for reading the dynamic library file according to the handle of the dynamic library file and storing the dynamic library file into the physical memory space;
loading a module: and the method is used for calling the LoadLibrary to load the dynamic library file after the dynamic library file is completely stored in the physical memory space.
In a third aspect of the embodiments of the present invention, there is provided a terminal apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the method according to the first aspect of the embodiments of the present invention.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method provided in the first aspect of the embodiments of the present invention.
In a fifth aspect of embodiments of the present invention, a computer program product is provided, the computer program product comprising a computer program that, when executed by one or more processors, performs the steps of the method provided in the first aspect of embodiments of the present invention.
In the embodiment of the invention, the dynamic library file is stored in the physical memory on the RAM through the memory pointer and is loaded. The application program does not need to go to the hard disk to load the dynamic library file when being started, and the time consumption caused by frequent offending of I/O operation is avoided, so that the application starting speed is greatly accelerated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an embodiment of a dynamic library loading method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another embodiment of a dynamic library loading method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal device for dynamic library loading according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a dynamic library loading method, a terminal device and a storage medium, which are used for quickly starting a client application.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
referring to fig. 1, a flow diagram of a dynamic library loading method according to an embodiment of the present invention includes the following steps:
s101, calling a CreateFile function to open a dynamic library file and acquiring a handle of the dynamic library file;
the dynamic library is Windows, which provides a library containing code and data that can be used by multiple programs simultaneously, and the relevant executable files in the dynamic library are loaded during the running process of the programs, and the dynamic library files usually have dll extensions or exes.
The CreateFile function may be used to open a file or I/O device and return a handle to the accessible file. The handle is the only identification for the opened file.
The dynamic library file is a corresponding dynamic library file which is relevant to be loaded in the starting process of the application program. Calling the CreateFile function may access the associated file in the dynamic library through a path.
S102, applying for a physical memory space with a preset size on the RAM;
the ram (random access memory), i.e. a random access memory, can directly exchange data with the CPU, and is usually used as a temporary storage medium for the running program. In the embodiment of the invention, the memory space applied on the physical memory can load the dynamic library file into the physical memory before the application is started, so that the time consumption of reading data by a hard disk is reduced.
Optionally, the data size of each read dynamic library file is set, and the VirtualAlloc is called to apply for the physical memory space with the preset size, wherein the data size is equal to the physical memory space with the preset size. The VirtualAlloc function may reserve a memory region in the physical memory, and return an address of the memory region when the reservation succeeds.
S103, reading the dynamic library file through a memory pointer according to the handle of the dynamic library file and storing the dynamic library file into the physical memory space;
the corresponding dynamic library file can be found through the handle of the dynamic library file, when the memory space is applied, the applied physical memory pointer is returned, and the address of the physical memory can be obtained through the memory pointer to store data.
Reading according to the byte number, data buffer area, file handle and the like preset and read by the dynamic library file, and adjusting through a file pointer. After the reading is finished, the data in the buffer area is loaded to the physical memory corresponding to the address according to the address of the variable of the buffer area.
Specifically, a ReadFile function is called to read the dynamic library file data with a preset size, and the data is stored in a preset buffer variable, wherein the data in the buffer variable can be automatically loaded into the physical memory. And storing the dynamic file data read by the ReadFile function into a self-defined buffer area variable, wherein the buffer area variable stores an address pointer of the applied physical memory, and the buffer area data can be automatically loaded into the corresponding physical memory through the pointer.
In the embodiment of the invention, the mode of reading the dynamic library files of the hard disk in a centralized sequence is adopted, so that the reading efficiency can be improved, the hard disk seek time can be reduced, and the I/O operation efficiency can be further improved.
Optionally, a GetFileSize function is called to obtain the size of the dynamic library file. In step S101, a dynamic library file is opened, and the data size of the dynamic library file can be obtained through the GetFileSize function.
Optionally, the size of the dynamic library file read each time is accumulated, when the size read in the accumulation mode is not smaller than the size of the dynamic library file, the reading is judged to be finished, otherwise, the remaining dynamic library files are continuously read. And circularly judging the current reading progress, and terminating the reading operation when the reading is finished. The method for reading the dynamic library files of the hard disk sequentially is adopted for reading.
And S104, calling LoadLibrary to load the dynamic library file after the dynamic library file is completely stored in the physical memory space.
In the embodiment of the present invention, the current process (and the application start process) obtains the relevant file of the dynamic library of the loading system through the LoadLibrary function, and the dynamic library file can be directly loaded from the RAM. The problem that a CPU starting process needs to be frequently read from a computer hard disk to a RAM and consumes a lot of time is avoided.
In the steps, the dynamic library files in the hard disk are read in a centralized sequence, and the dynamic library files are loaded to the physical memory, so that the time consumption of I/O operation can be reduced, and the starting speed of the client is increased.
Example two:
on the basis of fig. 1, taking program code as an example, a detailed implementation process for processing a network request is described in detail with reference to fig. 2, as follows:
the corresponding dynamic library file may be opened by calling the CreateFile function in S201, and an accessible handle may be returned. The file corresponding to the identification can be found through the file handle.
Defining a variable step size to set the data size of each read dynamic library file to be 1024 × 1024, and placing the dynamic library file read each time into a physical memory with the corresponding size.
And calling a VirtualAlloc function to apply for the memory with the size of step _ size, and storing a returned memory pointer by using a defined buffer variable.
In the embodiment of the present invention, the memory data stored in the buffer variable may be automatically loaded into the physical memory.
The dynamic library file size is obtained by calling GetFileSize in step S203, and is stored by the total _ read variable.
When the dynamic library file is read in S204, a ReadFile function is called to read the step _ size file into the buffer variable, and the memory data in the buffer can be automatically loaded into the to-be-physical memory.
Accumulating the size of the file data which is read each time, storing the size into a current _ size variable, judging whether the current _ size is larger than or equal to the total _ read or not, and if not, continuing to read through the ReadFile function until all the dynamic library files are read.
The hard disk is read in a centralized sequence, so that the hard disk seek time can be reduced, and the I/O operation efficiency is improved. Meanwhile, the mapping from the hard disk data to the physical memory is reserved for a period of time according to the time locality principle by pre-reading the dynamic library file to the memory. Therefore, when the client loads the dynamic library, the data of the dynamic library file in the hard disk can not be read, thereby avoiding the I/O operation of large data volume;
in S205, the dynamic library file is already mapped from the hard disk to the physical memory. At this point the operating system does not have to load the dynamic library file from the hard disk.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example three:
the above mainly describes a dynamic library loading method, and a detailed description will be given below of a terminal device for dynamic library loading.
Fig. 3 shows a schematic structural diagram of a terminal device for dynamic library loading, which includes:
the obtaining module 310: the device is used for calling a CreateFile function to open the dynamic library file and acquiring a handle of the dynamic library file;
application module 320: the device comprises a RAM, a memory controller and a memory controller, wherein the RAM is used for applying a physical memory space with a preset size on the RAM;
optionally, the application module 320 includes:
application unit: setting the data size of each read dynamic library file, and calling VirtualAlloc to apply for the physical memory space with the preset size, wherein the data size is equal to the physical memory space with the preset size.
The storage module 330: the device is used for reading the dynamic library file according to the handle of the dynamic library file and storing the dynamic library file into the physical memory space;
optionally, the reading the dynamic library file and storing the dynamic library file in the physical memory space specifically includes:
and calling a ReadFile function to read the dynamic library file data with a preset size and storing the data into a preset buffer variable, wherein the data in the buffer variable can be automatically loaded into the physical memory.
The loading module 340: and the method is used for calling the LoadLibrary to load the dynamic library file after the dynamic library file is completely stored in the physical memory space.
Optionally, the reading the dynamic library file through a memory pointer and storing the dynamic library file into the physical memory space according to the handle of the dynamic library file further includes:
and calling GetFileSize to acquire the size of the dynamic library file.
Optionally, the invoking GetFileSize to obtain the size of the dynamic library file further includes:
and accumulating the size of the dynamic library file read each time, judging that the reading is finished when the accumulated read size exceeds the size of the dynamic library file, and otherwise, continuously reading the rest dynamic library files.
The terminal device manages the transmission of the network request through the transmission module, and the storage module and the retransmission module receive the response data and process the error information, so that the network request can be effectively managed.
Example four:
fig. 4 is a schematic diagram of a structure of a terminal device for dynamic library loading according to an embodiment of the present invention. The terminal device is a mobile computer device with a touch screen, including but not limited to a smart phone, a smart watch, a notebook, a tablet computer, a POS machine, and even a vehicle-mounted computer. As shown in fig. 4, the server 4 of this embodiment includes: a memory 410, a processor 420, and a system bus 430, the memory 410 including an executable program 4101 stored thereon, it being understood by those skilled in the art that the server architecture shown in FIG. 4 does not constitute a limitation of a server and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The following specifically describes each constituent component of the terminal apparatus with reference to fig. 4:
the memory 410 may be used to store software programs and modules, and the processor 420 performs various functional applications of the terminal and data processing by operating the software programs and modules stored in the memory 410. The memory 410 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the server, and the like. Further, the memory 410 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 volatile solid state storage device.
An executable program 4101 for a network request method is contained on a memory 410, the executable program 4101 can be divided into one or more modules/units, the one or more modules/units are stored in the memory 410 and executed by a processor 420 to realize fast loading of dynamic library files at program startup, and the one or more modules/units can be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used for describing the execution process of the computer program 4101 in the server 4. For example, the computer program 4101 may be divided into an acquisition module, an application module, a storage module and a loading module.
The processor 420 is a control center of the server, connects various parts of the entire terminal device using various interfaces and lines, performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 410 and calling data stored in the memory 410, thereby integrally monitoring the terminal. Alternatively, processor 420 may include one or more processing units; preferably, the processor 420 may integrate an application processor, which mainly handles operating systems, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 420.
The system bus 430 is used to connect functional units inside the computer, and can transmit data information, address information, and control information, and may be, for example, a PCI bus, an ISA bus, a VESA bus, etc. The instructions of the processor 420 are transmitted to the memory 410 through the bus, the memory 410 feeds data back to the processor 420, and the system bus 430 is responsible for data and instruction interaction between the processor 420 and the memory 410. Of course, the system bus 430 may also access other devices such as network interfaces, display devices, and the like.
The terminal device at least comprises a network card, an output device and the like, and other components are not described in detail herein.
In this embodiment of the present invention, the executable program executed by the processor 420 included in the terminal device specifically includes:
a method of dynamic library loading, comprising:
calling a CreateFile function to open a dynamic library file and acquiring a handle of the dynamic library file;
applying for a physical memory space with a preset size on the RAM;
reading the dynamic library file according to the handle of the dynamic library file and storing the dynamic library file into the physical memory space;
and calling LoadLibrary to load the dynamic library file after the dynamic library file is completely stored in the physical memory space.
Further, the applying for the physical memory space of the preset size on the RAM specifically includes:
setting the data size of each read dynamic library file, and calling VirtualAlloc to apply for the physical memory space with the preset size, wherein the data size is equal to the physical memory space with the preset size.
Further, the reading the dynamic library file and storing the dynamic library file into the physical memory space specifically includes:
and calling a ReadFile function to read the dynamic library file data with a preset size and storing the data into a preset buffer variable, wherein the data in the buffer variable can be automatically loaded into the physical memory.
Further, the reading the dynamic library file through a memory pointer and storing the dynamic library file into the physical memory space according to the handle of the dynamic library file further includes:
and calling GetFileSize to acquire the size of the dynamic library file.
Further, the step of calling GetFileSize to obtain the size of the dynamic library file further includes:
and accumulating the size of the dynamic library file read each time, judging that the reading is finished when the accumulated read size exceeds the size of the dynamic library file, and otherwise, continuously reading the rest dynamic library files.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the modules, elements, and/or method steps of the various embodiments described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A dynamic library loading method, comprising:
calling a CreateFile function to open a dynamic library file and acquiring a handle of the dynamic library file;
applying for a physical memory space with a preset size on the RAM;
reading the dynamic library file according to the handle of the dynamic library file and storing the dynamic library file into the physical memory space;
and after the dynamic library file is completely stored in the physical memory space, calling a LoadLibrary function to load the dynamic library file.
2. The method according to claim 1, wherein the applying for the physical memory space of the preset size on the RAM specifically comprises:
and setting the data size of each read dynamic library file, and calling a VirtualAlloc function to apply for the physical memory space with the preset size, wherein the data size is equal to the physical memory space with the preset size.
3. The method according to claim 1, wherein the reading the dynamic library file and storing the dynamic library file in the physical memory space specifically comprises:
and calling a ReadFile function to read the dynamic library file data with a preset size and storing the data into a preset buffer variable, wherein the data in the buffer variable can be automatically loaded into the physical memory.
4. The method according to claim 1, wherein reading the dynamic library file via a memory pointer and storing the dynamic library file in the physical memory space according to the handle of the dynamic library file further comprises:
and calling a GetFileSize function to acquire the size of the dynamic library file.
5. The method of claim 4, wherein the invoking GetFileSize to obtain a dynamic library file size further comprises:
and accumulating the size of the dynamic library file read each time, judging that the reading is finished when the accumulated read size is not smaller than the size of the dynamic library file, and otherwise, continuously reading the rest dynamic library files.
6. A terminal device, comprising:
an acquisition module: the device is used for calling a CreateFile function to open the dynamic library file and acquiring a handle of the dynamic library file;
an application module: the device comprises a RAM, a memory controller and a memory controller, wherein the RAM is used for applying a physical memory space with a preset size on the RAM;
a storage module: the device is used for reading the dynamic library file according to the handle of the dynamic library file and storing the dynamic library file into the physical memory space;
loading a module: and the method is used for calling the LoadLibrary to load the dynamic library file after the dynamic library file is completely stored in the physical memory space.
7. The terminal apparatus of claim 6, wherein the application module comprises:
application unit: the device is used for setting the data size of each time of reading the dynamic library file, and calling VirtualAlloc to apply for the physical memory space with the preset size, wherein the data size is equal to the physical memory space with the preset size.
8. The terminal apparatus according to claim 6, wherein the reading the dynamic library file and storing the dynamic library file in the physical memory space specifically includes:
and calling a ReadFile function to read the dynamic library file data with a preset size and storing the data into a preset buffer variable, wherein the data in the buffer variable can be automatically loaded into the physical memory.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the dynamic library loading method according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the dynamic library loading method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811257308.9A CN111104178A (en) | 2018-10-26 | 2018-10-26 | Dynamic library loading method, terminal device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811257308.9A CN111104178A (en) | 2018-10-26 | 2018-10-26 | Dynamic library loading method, terminal device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111104178A true CN111104178A (en) | 2020-05-05 |
Family
ID=70418498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811257308.9A Pending CN111104178A (en) | 2018-10-26 | 2018-10-26 | Dynamic library loading method, terminal device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111104178A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559067A (en) * | 2020-12-08 | 2021-03-26 | 浪潮商用机器有限公司 | Dynamic library loading method and related device |
CN112925758A (en) * | 2021-02-05 | 2021-06-08 | 深圳市优必选科技股份有限公司 | Method and device for generating compressed packet and terminal equipment |
CN115048155A (en) * | 2022-08-11 | 2022-09-13 | 成都智暄科技有限责任公司 | Method and system for loading dynamic library, computer readable storage medium and device |
CN116661905A (en) * | 2023-07-27 | 2023-08-29 | 北京瑞华赢科技发展股份有限公司 | Method and system for realizing automatic adaptation of equipment based on dynamic library loading |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104199684A (en) * | 2014-08-13 | 2014-12-10 | 百度在线网络技术(北京)有限公司 | Browser cold-booting method and device |
CN105955762A (en) * | 2016-04-19 | 2016-09-21 | 北京金山安全软件有限公司 | Method and device for injecting dynamic link library file and electronic equipment |
-
2018
- 2018-10-26 CN CN201811257308.9A patent/CN111104178A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104199684A (en) * | 2014-08-13 | 2014-12-10 | 百度在线网络技术(北京)有限公司 | Browser cold-booting method and device |
CN105955762A (en) * | 2016-04-19 | 2016-09-21 | 北京金山安全软件有限公司 | Method and device for injecting dynamic link library file and electronic equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559067A (en) * | 2020-12-08 | 2021-03-26 | 浪潮商用机器有限公司 | Dynamic library loading method and related device |
CN112925758A (en) * | 2021-02-05 | 2021-06-08 | 深圳市优必选科技股份有限公司 | Method and device for generating compressed packet and terminal equipment |
CN115048155A (en) * | 2022-08-11 | 2022-09-13 | 成都智暄科技有限责任公司 | Method and system for loading dynamic library, computer readable storage medium and device |
CN116661905A (en) * | 2023-07-27 | 2023-08-29 | 北京瑞华赢科技发展股份有限公司 | Method and system for realizing automatic adaptation of equipment based on dynamic library loading |
CN116661905B (en) * | 2023-07-27 | 2023-10-20 | 北京瑞华赢科技发展股份有限公司 | Method and system for realizing automatic adaptation of equipment based on dynamic library loading |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111104178A (en) | Dynamic library loading method, terminal device and storage medium | |
CN109347898B (en) | Scene information sending method, scene information display method, server and mobile terminal | |
CN110704202B (en) | Multimedia recording data sharing method and terminal equipment | |
CN110442308B (en) | Data block storage method, device, equipment and storage medium | |
WO2020220971A1 (en) | File loading method and apparatus, electronic device, and storage medium | |
CN112783761A (en) | Method, device and system for testing cold start duration of application program | |
US20190107929A1 (en) | Method and device for loading content of page, and electronic device | |
CN111679728B (en) | Data reading method and device | |
CN112416359A (en) | Dynamic partition customizing method, device, equipment and computer readable storage medium | |
CN108255989B (en) | Picture storage method and device, terminal equipment and computer storage medium | |
CN109933595B (en) | Internet of things equipment information sharing system and device and terminal equipment | |
CN109358927B (en) | Application program display method and device and terminal equipment | |
CN110020371B (en) | Method and device for page layout linkage based on react-native | |
CN111143240B (en) | Image storage method, system and terminal equipment | |
CN113272785B (en) | Method for mounting file system, terminal equipment and storage medium | |
CN116909634A (en) | Radio frequency drive identification method and device, storage medium and electronic equipment | |
CN111444117A (en) | Method and device for realizing fragmentation of storage space, storage medium and electronic equipment | |
CN115878327A (en) | Bus reservation method, device, server, electronic equipment and storage medium | |
CN113064655B (en) | BIOS network starting method and device and computer readable storage medium | |
CN111427550A (en) | Object creating method, terminal device and storage medium | |
CN113051105A (en) | Data processing method, device, equipment and storage medium | |
CN110428453B (en) | Data processing method, data processing device, data processing equipment and storage medium | |
CN114070892A (en) | Data transmission method and device | |
CN112328351A (en) | Animation display method, animation display device and terminal equipment | |
CN112188177A (en) | Screen-splash prevention method, terminal device 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200505 |