CN104731665A - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN104731665A CN104731665A CN201510144836.3A CN201510144836A CN104731665A CN 104731665 A CN104731665 A CN 104731665A CN 201510144836 A CN201510144836 A CN 201510144836A CN 104731665 A CN104731665 A CN 104731665A
- Authority
- CN
- China
- Prior art keywords
- dynamic link
- link library
- storage space
- electronic equipment
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides an information processing method and electronic equipment, and the information processing method is applied to the electronic equipment. The information processing method includes the steps that in the process of starting of the operation system in the electric equipment, the state of a first dynamic link library loaded by the operation system is judged whether is abnormal or not, a first judging result is obtained, wherein the first dynamic link library is stored in specified storage space of the operation system; when the first judging result shows that the state of the first dynamic link library loaded by the operation system is abnormal, a second dynamic link library is obtained, the second dynamic link library is stored in first storage space, the first storage space is the storage space occupied by an application program in the starting process of the application program installed in the electric equipment; a system interface is called, and the application program is used to load the second dynamic link library.
Description
Technical field
The present invention relates to technical field of information processing, particularly relate to a kind of information processing method and electronic equipment.
Background technology
Along with electronic equipment is used more and more widely, the central processing unit of electronic equipment also develops into two kinds of processors by original single arm processor: arm processor and X 86 processor.
At present, the application program of installing in electronic equipment uses dynamic link library widely, application program, before loading dynamic link library, must be known that the central processing unit of current electronic device is arm processor or X 86 processor, could load corresponding dynamic link library.If dynamic link library loads unsuccessfully, application program will be caused to run.Loading the dynamic link library corresponding to the central processing unit of electronic equipment to realize application program in prior art, providing following solution:
The dynamic link library of application program is divided into two cover dynamic link libraries: the dynamic link library corresponding with arm processor and the dynamic link library corresponding with X 86 processor, then by the position that the operating system that this two covers dynamic link library leaves electronic equipment in specifies, operating system loads corresponding dynamic link library automatically according to the central processing unit of electronic equipment.
But present inventor is in the process realizing invention technical scheme in the embodiment of the present application, find that above-mentioned technology at least exists following technical matters:
In prior art, the operating system of electronic equipment has different versions, and hardware in different electronic equipments is different, to deposit and the difference of hardware, cause a large amount of ROM (system firmware) versions and deposit due to a large amount of operating system versions.Due to the error of ROM developer, cause operating system cannot the dynamic link library of normal load application program.Therefore, the technical matters that prior art exists is: the success ratio of the dynamic link library of electronic equipment loading application programs is low.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for the technical matters that the success ratio of the dynamic link library solving the electronic equipment loading application programs that prior art exists is low, provide a kind of method of dynamic link library of new loading application programs, when first dynamic link library of operating system load store in the storage space that operating system specifies is abnormal, second dynamic link library of load store in the storage space of application program in start-up course shared by application program, improve the success ratio of the dynamic link library of electronic equipment loading application programs.
On the one hand, the embodiment of the present invention provides a kind of information processing method, and be applied in an electronic equipment, described method comprises:
In the process of the os starting in described electronic equipment, judge to utilize described operating system whether extremely to load the state of the first dynamic link library, obtain the first judged result, wherein, described first dynamic link library is stored in the storage space that described operating system specifies;
When described first judged result is for being, obtain the second dynamic link library, described second dynamic link library is stored in the first storage space, and described first storage space is for being arranged on the storage space of application program described in start-up course shared by application program in described electronic equipment;
Calling system interface, utilizes described application program to load described second dynamic link library.
Optionally, before described acquisition second dynamic link library, described method also comprises:
Judge whether described first storage space exists dynamic link library, obtains the second judged result;
When described second judged result is for being, verifies that whether the dynamic link library in described first storage space is effective, obtaining the result;
When described the result is no or when described second judged result is no, perform step: obtain the second dynamic link library.
Optionally, described acquisition second dynamic link library, comprising:
The 3rd dynamic link library is obtained from the storage space that described application program specifies;
Described 3rd dynamic link library is copied to described first storage space;
Using the dynamic link library in described first storage space as described second dynamic link library.
Optionally, the version of described 3rd dynamic link library is first version or the second edition, and described first version can be converted to the described second edition can run on described electronic equipment by described electronic equipment.
Optionally, before described acquisition second dynamic link library, described method also comprises:
In the process of described os starting, determine version information, described version information is the version of the dynamic link library that can run on described electronic equipment;
Described acquisition second dynamic link library, comprising:
From the storage space that described application program specifies, obtain the 3rd dynamic link library conformed to described version information, in the storage space that described application program specifies, store the 3rd dynamic link library of at least two kinds of versions;
The 3rd dynamic link library obtained is copied to described first storage space;
Using the dynamic link library in described first storage space as described second dynamic link library.
On the other hand, the embodiment of the present invention provides a kind of electronic equipment, comprising:
First judging unit, in process for the os starting in described electronic equipment, judge to utilize described operating system whether extremely to load the state of the first dynamic link library, obtain the first judged result, wherein, described first dynamic link library is stored in the storage space that described operating system specifies;
First obtains unit, for when described first judged result is for being, obtain the second dynamic link library, described second dynamic link library is stored in the first storage space, and described first storage space is for being arranged on the storage space of application program described in start-up course shared by application program in described electronic equipment;
Loading unit, for calling system interface, utilizes described application program to load described second dynamic link library.
Optionally, described electronic equipment also comprises:
Second judging unit, for before described acquisition second dynamic link library, judges whether described first storage space exists dynamic link library, obtains the second judged result;
Authentication unit, for when described second judged result is for being, verifies that whether the dynamic link library in described first storage space is effective, obtaining the result;
Processing unit, during for being no when described the result or when described second judged result is no, performs step: obtain the second dynamic link library.
Optionally, described first acquisition unit comprises:
First obtains module, obtains the 3rd dynamic link library in the storage space that specifies from described application program;
First replication module, for being copied to described first storage space by described 3rd dynamic link library;
First processing module, for using the dynamic link library in described first storage space as described second dynamic link library.
Optionally, the version of described 3rd dynamic link library is first version or the second edition, and described first version can be converted to the described second edition can run on described electronic equipment by described electronic equipment.
Optionally, described electronic equipment also comprises:
Determining unit, for before described acquisition second dynamic link library, in the process of described os starting, determines version information, and described version information is the version of the dynamic link library that can run on described electronic equipment;
Described first obtains unit comprises:
Second obtains module, obtains the 3rd dynamic link library conformed to described version information, store the 3rd dynamic link library of at least two kinds of versions in the storage space that described application program specifies in the storage space that specifies from described application program;
Second replication module, for being copied to described first storage space by the 3rd dynamic link library obtained;
Second processing module, for using the dynamic link library in described first storage space as described second dynamic link library.
The one or more technical schemes provided in the embodiment of the present invention, at least have following technique effect or advantage:
The specific implementation process of the method for the dynamic link library of the loading application programs that the embodiment of the present invention provides is: first, in the process of the os starting in described electronic equipment, judge to utilize described operating system whether extremely to load the state of the first dynamic link library, obtain the first judged result, wherein, described first dynamic link library is stored in the storage space that described operating system specifies; When described first judged result is for being, obtain the second dynamic link library, described second dynamic link library is stored in the first storage space, and described first storage space is for being arranged on the storage space of application program described in start-up course shared by application program in described electronic equipment; Then, calling system interface, utilizes described application program to load described second dynamic link library.
When first dynamic link library of operating system load store in the storage space that operating system specifies is abnormal, second dynamic link library of load store in the storage space of application program in start-up course shared by application program, improves the success ratio of the dynamic link library of electronic equipment loading application programs.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of a kind of information processing method that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the detail flowchart of step 12 in the embodiment of the present invention;
The detail flowchart of the method for the loading dynamic link library that Fig. 3 provides for the embodiment of the present invention;
The schematic diagram of the another kind of electronic equipment that Fig. 4 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solving the inefficient technical matters of the electronic equipment interception sensitive function module that prior art exists, provide a kind of method of interception sensitive function module newly, without the need to considering hardware platform or the operating system of current electronic device, only need obtain the corresponding relation of functional module and coding in current electronic device, improve the efficiency of interception sensitive function module.
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for the technical matters that the success ratio of the dynamic link library solving the electronic equipment loading application programs that prior art exists is low, provide a kind of method of dynamic link library of new loading application programs, when first dynamic link library of operating system load store in the storage space that operating system specifies is abnormal, second dynamic link library of load store in the storage space of application program in start-up course shared by application program, improve the success ratio of the dynamic link library of electronic equipment loading application programs.
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Term "and/or" herein, being only a kind of incidence relation describing affiliated partner, can there are three kinds of relations in expression, and such as, A and/or B, can represent: individualism A, exists A and B simultaneously, these three kinds of situations of individualism B.In addition, character "/" herein, general expression forward-backward correlation is to the relation liking a kind of "or".
Below in conjunction with accompanying drawing, embodiments of the present invention are described in detail.
The present embodiment provides a kind of information processing method, is applied in an electronic equipment, and this electronic equipment can be smart mobile phone, panel computer, notebook computer etc.Be provided with application program in described electronic equipment, application program can be that electronic equipment is built-in when dispatching from the factory, and can also be that user downloads and installs from application market.Application program needs to use dynamic link library can run successfully, and some most basic function module package are formed by Develop Application System person by dynamic link library.The storage space that the operating system that the dynamic link library of usual application program is stored in electronic equipment specifies.
Please refer to Fig. 1, the process flow diagram of the information processing method that Fig. 1 provides for the embodiment of the present invention.The method comprises:
Step 11: in the process of the os starting in described electronic equipment, judge to utilize described operating system whether extremely to load the state of the first dynamic link library, obtain the first judged result, wherein, described first dynamic link library is stored in the storage space that described operating system specifies;
Step 12: when described first judged result is for being, obtain the second dynamic link library, described second dynamic link library is stored in the first storage space, and described first storage space is for being arranged on the storage space of application program described in start-up course shared by application program in described electronic equipment;
Step 13: calling system interface, utilizes described application program to load described second dynamic link library.
In prior art, in the process of the os starting of electronic equipment, operating system loads the first dynamic link library automatically, namely the dynamic link library leaving the storage space that operating system specifies in is automatically loaded, if load successfully, then application program is run successfully, if load unsuccessful, then application program is run unsuccessfully.
Visible, automatically load the situation of the first dynamic link library failure in prior art for operating system, do not propose alternative scheme, once operating system loads the first dynamic link library failure automatically, application program just runs failure.
For solving the problems of the technologies described above, the embodiment of the present invention proposes: except the dynamic link library that the storage space specified in the operating system of electronic equipment deposits a set of application program, the storage space also specified in application program deposits the dynamic link library of a set of application program.
First perform step 11, judge whether extremely operating system load the state of the first dynamic link library automatically, obtains the first judged result.According to the first judged result, perform step 12.
Specifically, when the first judged result is for being, also namely: when operating system loads the first dynamic link library failure automatically, obtain the second dynamic link library being stored in the first storage space, the first storage space is for installing the storage space of application program in start-up course shared by application program in the electronic device.
Because the application program of installing in the electronic device, in the process started, can take certain storage space, for convenience of description, the storage space that application program is shared in the process started is called the first storage space.First storage space is the storage space that application program directly can carry out read-write operation in start-up course, so application program can obtain the second dynamic link library from the first storage space, then utilize the second dynamic link library to start, and then run successfully.
In the embodiment of the present invention, the dynamic link library of a set of application program that the storage space specified in application program is deposited is the 3rd dynamic link library, because application program directly can not carry out read-write operation by the storage space that specifies of application programs in the process started, directly read-write operation can only be carried out to the first storage space, so after operating system loads the first dynamic link library failure automatically, can following steps be performed:
Judge whether described first storage space exists dynamic link library, obtains the second judged result; When described second judged result is no, perform step: obtain the second dynamic link library.
Specifically, if application program is successfully utilize the dynamic link library be stored in the first storage space running before, then directly the second dynamic link library can be obtained from the first storage space.
So, before acquisition second dynamic link library, first can judge whether there is dynamic link library in the first storage space, if existed, then directly from the first storage space, obtain the second dynamic link library.
Or execution following steps:
Judge whether described first storage space exists dynamic link library, obtains the second judged result;
When described second judged result is for being, verifies that whether the dynamic link library in described first storage space is effective, obtaining the result;
When described the result is no or when described second judged result is no, perform step: obtain the second dynamic link library.
In specific implementation process, in order to prevent from other application programs from distorting being stored in the dynamic link library in the first storage space, after dynamic link library can being there is in judgement first storage space, dynamic link library in first storage space is verified, verify that whether the dynamic link library in the first storage space is complete and effective, dynamic link library in the first storage space complete and effectively time, from the first storage space, directly obtain the second dynamic link library.Concrete verification method can be: utilize MD5 (Message DigestAlgorithm MD5), because MD5 is prior art, just repeat no more at this.
If judge that the first storage space does not exist the second dynamic link library, or the dynamic link library in the first storage space had lost efficacy or imperfect, then perform step 12: obtain the second dynamic link library, please refer to Fig. 2, step 12 specifically comprises:
Step 121: obtain the 3rd dynamic link library from the storage space that described application program specifies;
Step 122: described 3rd dynamic link library is copied to described first storage space;
Step 123: using the dynamic link library in described first storage space as described second dynamic link library.
Specifically, if application program is being run successfully before, utilize the first dynamic link library be stored in storage space that operating system specifies, then there is not dynamic link library in the first storage space, or application program is successfully utilize the dynamic link library be stored in the first storage space running before, but the dynamic link library in the first storage space had lost efficacy or imperfect, the dynamic link library now needing storage space application program specified to deposit is copied to the first storage space, as the second dynamic link library.
Because the storage space that the embodiment of the present invention proposes to specify in application program deposits the dynamic link library of a set of application program, so, the 3rd dynamic link library can be obtained from the storage space that application program specifies, then the 3rd dynamic link library is copied to the first storage space, application program utilizes the dynamic link library in the first storage space to start, and then runs successfully.
Specifically utilize the dynamic link library in the first storage space to start, specifically comprise:
Calling system interface, utilizes described application program to load described second dynamic link library.
Specifically, after operating system loads the first dynamic link library failure, application program can calling system interface, the second dynamic link library is loaded by application program, second dynamic link library can be inherently be stored in the first storage space, also can be to copy to the first storage space from the storage space that application program is specified.
Please refer to Fig. 3, the detail flowchart of the method for the loading dynamic link library that Fig. 3 provides for the embodiment of the present invention.The method loading dynamic link library comprises the following steps:
The first step: the instruction receiving application program launching;
Second step: in the process of os starting, waits for that operating system loads the first dynamic link library;
3rd step: obtain the state that operating system loads the first dynamic link library;
4th step: judge whether the state that operating system loads the first dynamic link library has exception, if had, proceeds to the 5th step, if not, ends process;
5th step: judge whether the first storage space exists dynamic link library, if existed, performs the 6th step, if there is no, performs the 8th step;
6th step: verify that whether the dynamic link library in the first storage space is effective, if effectively, perform the 7th step, if invalid, perform the 8th step;
7th step: calling system interface, utilizes application program to load dynamic link library in the first storage space;
8th step: obtain dynamic link library from the storage space that application program specifies;
9th step: the dynamic link library obtained in the storage space specified from application program is copied to the first storage space, proceeds to the 7th step.
In the embodiment of the present invention, the version of described 3rd dynamic link library is first version or the second edition, and described first version can be converted to the described second edition can run on described electronic equipment by described electronic equipment.
Specifically, dynamic link library due to application program is divided into two cover dynamic link libraries: the dynamic link library corresponding with arm processor and the dynamic link library corresponding with X 86 processor, so under the prerequisite that the central processing unit of electronic equipment is arm processor and the dynamic link library corresponding with X 86 processor can be translated as the dynamic link library corresponding with arm processor by electronic equipment, the 3rd dynamic link library stored in the storage space that application program specifies can for the dynamic link library corresponding with X 86 processor.Certainly, the 3rd dynamic link library stored in the storage space specified in application program can for the dynamic link library corresponding with arm processor.
Or under the prerequisite that the central processing unit of electronic equipment is X 86 processor and the dynamic link library corresponding with arm processor can be translated as the dynamic link library corresponding with X 86 processor by electronic equipment, the 3rd dynamic link library stored in the storage space that application program specifies can for the dynamic link library corresponding with arm processor.Certainly, the 3rd dynamic link library stored in the storage space specified in application program can for the dynamic link library corresponding with X 86 processor.
In another embodiment of the present invention, before described acquisition second dynamic link library, described method also comprises:
In the process of os starting, determine version information, described version information is the version of the dynamic link library that can run on described electronic equipment;
Described acquisition second dynamic link library, comprising:
From the storage space that described application program specifies, obtain the 3rd dynamic link library conformed to described version information, in the storage space that described application program specifies, store the 3rd dynamic link library of at least two kinds of versions;
The 3rd dynamic link library obtained is copied to described first storage space;
Using the dynamic link library in described first storage space as described second dynamic link library.
Specifically, dynamic link library due to application program is divided into two cover dynamic link libraries: the dynamic link library corresponding with arm processor and the dynamic link library corresponding with X 86 processor, so under the prerequisite can not translated mutually between the dynamic link library corresponding with X 86 processor and the dynamic link library corresponding with arm processor at electronic equipment, the storage space specified in application program will store two cover dynamic link libraries: the dynamic link library corresponding with arm processor and the dynamic link library corresponding with X 86 processor.
In the process of os starting, the version information of the dynamic link library that the central processing unit obtaining electronic equipment can utilize, also the central processing unit namely obtaining electronic equipment is arm processor or X 86 processor, if the central processing unit of electronic equipment is arm processor, then from the storage space that application program specifies, obtain the dynamic link library corresponding with arm processor, then copy to the first storage space; If the central processing unit of electronic equipment is X 86 processor, then from the storage space that application program specifies, obtain the dynamic link library corresponding with X 86 processor, then copy to the first storage space.
Based on the inventive concept identical with the information processing method shown in Fig. 1, the embodiment of the present invention additionally provides a kind of electronic equipment, please refer to Fig. 4, the schematic diagram of a kind of electronic equipment that Fig. 4 provides for the embodiment of the present invention.Electronic equipment comprises:
First judging unit 41, in process for the os starting in described electronic equipment, judge to utilize described operating system whether extremely to load the state of the first dynamic link library, obtain the first judged result, wherein, described first dynamic link library is stored in the storage space that described operating system specifies;
First obtains unit 42, for when described first judged result is for being, obtain the second dynamic link library, described second dynamic link library is stored in the first storage space, and described first storage space is for being arranged on the storage space of application program described in start-up course shared by application program in described electronic equipment;
Loading unit 43, for calling system interface, utilizes described application program to load described second dynamic link library.
Optionally, described electronic equipment also comprises:
Second judging unit, for before described acquisition second dynamic link library, judges whether described first storage space exists dynamic link library, obtains the second judged result;
Authentication unit, for when described second judged result is for being, verifies that whether the dynamic link library in described first storage space is effective, obtaining the result;
Processing unit, during for being no when described the result or when described second judged result is no, performs step: obtain the second dynamic link library.
Optionally, described first acquisition unit 42 comprises:
First obtains module, obtains the 3rd dynamic link library in the storage space that specifies from described application program;
First replication module, for being copied to described first storage space by described 3rd dynamic link library;
First processing module, for using the dynamic link library in described first storage space as described second dynamic link library.
Optionally, the version of described 3rd dynamic link library is first version or the second edition, and described first version can be converted to the described second edition can run on described electronic equipment by described electronic equipment.
Optionally, described electronic equipment also comprises:
Determining unit, for before described acquisition second dynamic link library, in the process of described os starting, determines version information, and described version information is the version of the dynamic link library that can run on described electronic equipment;
Described first obtains unit 42 comprises:
Second obtains module, obtains the 3rd dynamic link library conformed to described version information, store the 3rd dynamic link library of at least two kinds of versions in the storage space that described application program specifies in the storage space that specifies from described application program;
Second replication module, for being copied to described first storage space by the 3rd dynamic link library obtained;
Second processing module, for using the dynamic link library in described first storage space as described second dynamic link library.
The one or more technical schemes provided in the embodiment of the present invention, at least have following technique effect or advantage:
The specific implementation process of the method for the dynamic link library of the loading application programs that the embodiment of the present invention provides is: first, in the process of the os starting in described electronic equipment, judge to utilize described operating system whether extremely to load the state of the first dynamic link library, obtain the first judged result, wherein, described first dynamic link library is stored in the storage space that described operating system specifies; When described first judged result is for being, obtain the second dynamic link library, described second dynamic link library is stored in the first storage space, and described first storage space is for being arranged on the storage space of application program described in start-up course shared by application program in described electronic equipment; Then, calling system interface, utilizes described application program to load described second dynamic link library.
When first dynamic link library of operating system load store in the storage space that operating system specifies is abnormal, second dynamic link library of load store in the storage space of application program in start-up course shared by application program, improves the success ratio of the dynamic link library of electronic equipment loading application programs.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Specifically, the computer program instructions that a kind of information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, read by an electronic equipment when the computer program instructions corresponding with information processing method in storage medium or when being performed, comprise the steps:
In the process of the os starting in described electronic equipment, judge to utilize described operating system whether extremely to load the state of the first dynamic link library, obtain the first judged result, wherein, described first dynamic link library is stored in the storage space that described operating system specifies;
When described first judged result is for being, obtain the second dynamic link library, described second dynamic link library is stored in the first storage space, and described first storage space is for being arranged on the storage space of application program described in start-up course shared by application program in described electronic equipment;
Calling system interface, utilizes described application program to load described second dynamic link library.
Optionally, in described storage medium, also store other computer instruction, these computer instructions with step: obtain the second dynamic link library, being performed before corresponding computer instruction is performed, comprising the steps: when being performed
Judge whether described first storage space exists dynamic link library, obtains the second judged result;
When described judged result is for being, verifies that whether the dynamic link library in described first storage space is effective, obtaining the result;
When described the result is no or when described second judged result is no, perform step: obtain the second dynamic link library.
Optionally, that store in described storage medium and step: obtain the second dynamic link library, corresponding computer instruction is specifically being performed in process, is specially:
The 3rd dynamic link library is obtained from the storage space that described application program specifies;
Described 3rd dynamic link library is copied to described first storage space;
Using the dynamic link library in described first storage space as described second dynamic link library.
Optionally, the version of described 3rd dynamic link library is first version or the second edition, and described first version can be converted to the described second edition can run on described electronic equipment by described electronic equipment.
Optionally, in described storage medium, also store other computer instruction, these computer instructions with step: obtain the second dynamic link library, being performed before corresponding computer instruction is performed, comprising the steps: when being performed
In the process of described application program launching, determine version information, described version information is the version of the dynamic link library that can run on described electronic equipment;
Described acquisition second dynamic link library, comprising:
From the storage space that described application program specifies, obtain the 3rd dynamic link library conformed to described version information, in the storage space that described application program specifies, store the 3rd dynamic link library of at least two kinds of versions;
The 3rd dynamic link library obtained is copied to described first storage space;
Using the dynamic link library in described first storage space as described second dynamic link library.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. an information processing method, is applied in electronic equipment, and described method comprises:
In the process of the os starting in described electronic equipment, judge to utilize described operating system whether extremely to load the state of the first dynamic link library, obtain the first judged result, wherein, described first dynamic link library is stored in the storage space that described operating system specifies;
When described first judged result is for being, obtain the second dynamic link library, described second dynamic link library is stored in the first storage space, and described first storage space is for being arranged on the storage space of application program described in start-up course shared by application program in described electronic equipment;
Calling system interface, utilizes described application program to load described second dynamic link library.
2. the method for claim 1, is characterized in that, before described acquisition second dynamic link library, described method also comprises:
Judge whether described first storage space exists dynamic link library, obtains the second judged result;
When described second judged result is for being, verifies that whether the dynamic link library in described first storage space is effective, obtaining the result;
When described the result is no or when described second judged result is no, perform step: obtain the second dynamic link library.
3. method as claimed in claim 2, it is characterized in that, described acquisition second dynamic link library, comprising:
The 3rd dynamic link library is obtained from the storage space that described application program specifies;
Described 3rd dynamic link library is copied to described first storage space;
Using the dynamic link library in described first storage space as described second dynamic link library.
4. method as claimed in claim 3, it is characterized in that, the version of described 3rd dynamic link library is first version or the second edition, and described first version can be converted to the described second edition can run on described electronic equipment by described electronic equipment.
5. the method for claim 1, is characterized in that, before described acquisition second dynamic link library, described method also comprises:
In the process of described os starting, determine version information, described version information is the version of the dynamic link library that can run on described electronic equipment;
Described acquisition second dynamic link library, comprising:
From the storage space that described application program specifies, obtain the 3rd dynamic link library conformed to described version information, in the storage space that described application program specifies, store the 3rd dynamic link library of at least two kinds of versions;
The 3rd dynamic link library obtained is copied to described first storage space;
Using the dynamic link library in described first storage space as described second dynamic link library.
6. an electronic equipment, comprising:
First judging unit, in process for the os starting in described electronic equipment, judge to utilize described operating system whether extremely to load the state of the first dynamic link library, obtain the first judged result, wherein, described first dynamic link library is stored in the storage space that described operating system specifies;
First obtains unit, for when described first judged result is for being, obtain the second dynamic link library, described second dynamic link library is stored in the first storage space, and described first storage space is for being arranged on the storage space of application program described in start-up course shared by application program in described electronic equipment;
Loading unit, for calling system interface, utilizes described application program to load described second dynamic link library.
7. electronic equipment as claimed in claim 6, it is characterized in that, described electronic equipment also comprises:
Second judging unit, for before described acquisition second dynamic link library, judges whether described first storage space exists dynamic link library, obtains the second judged result;
Authentication unit, for when described second judged result is for being, verifies that whether the dynamic link library in described first storage space is effective, obtaining the result;
Processing unit, during for being no when described the result or when described second judged result is no, performs step: obtain the second dynamic link library.
8. electronic equipment as claimed in claim 7, is characterized in that, described first obtains unit comprises:
First obtains module, obtains the 3rd dynamic link library in the storage space that specifies from described application program;
First replication module, for being copied to described first storage space by described 3rd dynamic link library;
First processing module, for using the dynamic link library in described first storage space as described second dynamic link library.
9. electronic equipment as claimed in claim 8, it is characterized in that, the version of described 3rd dynamic link library is first version or the second edition, and described first version can be converted to the described second edition can run on described electronic equipment by described electronic equipment.
10. electronic equipment as claimed in claim 6, it is characterized in that, described electronic equipment also comprises:
Determining unit, for before described acquisition second dynamic link library, in the process of described os starting, determines version information, and described version information is the version of the dynamic link library that can run on described electronic equipment;
Described first obtains unit comprises:
Second obtains module, obtains the 3rd dynamic link library conformed to described version information, store the 3rd dynamic link library of at least two kinds of versions in the storage space that described application program specifies in the storage space that specifies from described application program;
Second replication module, for being copied to described first storage space by the 3rd dynamic link library obtained;
Second processing module, for using the dynamic link library in described first storage space as described second dynamic link library.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510144836.3A CN104731665B (en) | 2015-03-30 | 2015-03-30 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510144836.3A CN104731665B (en) | 2015-03-30 | 2015-03-30 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104731665A true CN104731665A (en) | 2015-06-24 |
CN104731665B CN104731665B (en) | 2018-08-31 |
Family
ID=53455578
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510144836.3A Active CN104731665B (en) | 2015-03-30 | 2015-03-30 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104731665B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783261A (en) * | 2018-12-14 | 2019-05-21 | 平安科技(深圳)有限公司 | The collapse processing method and processing device of terminal applies, electronic equipment, storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7739325B1 (en) * | 2000-04-24 | 2010-06-15 | Aspect Software, Inc. | Apparatus and method for extensible real-time workflows |
CN101930377A (en) * | 2009-06-22 | 2010-12-29 | 深圳市融创天下科技发展有限公司 | Link library compiling method by dynamically acquiring UID |
CN102819439A (en) * | 2011-06-10 | 2012-12-12 | 中兴通讯股份有限公司 | Method and device of dynamically loading multi-system application programs based on relocation |
US20120317564A1 (en) * | 2011-06-10 | 2012-12-13 | Andrew Hei-Yin Lee | Automated modification of pre-generated msi packaged applications |
CN102999354A (en) * | 2012-11-15 | 2013-03-27 | 北京奇虎科技有限公司 | File loading method and file loading device |
-
2015
- 2015-03-30 CN CN201510144836.3A patent/CN104731665B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7739325B1 (en) * | 2000-04-24 | 2010-06-15 | Aspect Software, Inc. | Apparatus and method for extensible real-time workflows |
CN101930377A (en) * | 2009-06-22 | 2010-12-29 | 深圳市融创天下科技发展有限公司 | Link library compiling method by dynamically acquiring UID |
CN102819439A (en) * | 2011-06-10 | 2012-12-12 | 中兴通讯股份有限公司 | Method and device of dynamically loading multi-system application programs based on relocation |
US20120317564A1 (en) * | 2011-06-10 | 2012-12-13 | Andrew Hei-Yin Lee | Automated modification of pre-generated msi packaged applications |
CN102999354A (en) * | 2012-11-15 | 2013-03-27 | 北京奇虎科技有限公司 | File loading method and file loading device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783261A (en) * | 2018-12-14 | 2019-05-21 | 平安科技(深圳)有限公司 | The collapse processing method and processing device of terminal applies, electronic equipment, storage medium |
CN109783261B (en) * | 2018-12-14 | 2023-06-06 | 平安科技(深圳)有限公司 | Crash processing method and device for terminal application, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104731665B (en) | 2018-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110286930B (en) | Cloud platform upgrading method and device, terminal and storage medium | |
US10437580B2 (en) | Software updating methods and systems | |
CN105786538B (en) | software upgrading method and device based on android system | |
CN106775610B (en) | Electronic equipment starting method and electronic equipment | |
CN106648724B (en) | Application program hot repair method and terminal | |
CN105912362B (en) | A kind of method, apparatus and electronic equipment loading plug-in unit | |
CN104978253A (en) | Target file checking method and apparatus | |
CN105335181A (en) | OTA upgrade realization method and terminal | |
CN105138352B (en) | Method and device for installing application plug-in | |
CN110659031A (en) | Compiling method and device of application program, electronic equipment and storage medium | |
CN102981872A (en) | Start-up and upgrade method of terminal equipment and terminal equipment | |
CN102043634A (en) | Embedded system and embedded software upgrading method | |
CN104731626A (en) | Application installation method and device | |
CN110851168A (en) | Data processing method and device and computer readable storage medium | |
CN106293790B (en) | application program upgrading method and device based on Firefox operating system | |
CN103885798A (en) | Data processing method and electronic device | |
US10552135B1 (en) | Reducing a size of an application package | |
CN112860297A (en) | Storage system based on automobile binocular camera and system updating method | |
WO2020233044A1 (en) | Plug-in verification method and device, and server and computer-readable storage medium | |
CN104731665A (en) | Information processing method and electronic equipment | |
CN107479923A (en) | Application program updating method, apparatus and display terminal | |
CN106933604B (en) | System upgrading method and device | |
CN116679971A (en) | Thermal repair method, device, electronic equipment and storage medium | |
US10210334B2 (en) | Systems and methods for software integrity assurance via validation using build-time integrity windows | |
CN113127015B (en) | Mounting method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |