CN108021368A - Characterize the method, apparatus and terminal device of operating system nucleus - Google Patents
Characterize the method, apparatus and terminal device of operating system nucleus Download PDFInfo
- Publication number
- CN108021368A CN108021368A CN201711311473.3A CN201711311473A CN108021368A CN 108021368 A CN108021368 A CN 108021368A CN 201711311473 A CN201711311473 A CN 201711311473A CN 108021368 A CN108021368 A CN 108021368A
- Authority
- CN
- China
- Prior art keywords
- compiling
- operating system
- kernel
- source code
- system kernel
- 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
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000008569 process Effects 0.000 claims abstract description 20
- 230000015654 memory Effects 0.000 claims description 27
- 238000004891 communication Methods 0.000 claims description 24
- 238000001914 filtration Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 10
- 230000008859 change Effects 0.000 abstract description 6
- 238000012512 characterization method Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 13
- 238000004364 calculation method Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000001413 cellular effect Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/48—Incremental compilation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
An embodiment of the present invention provides a kind of method, apparatus and terminal device for characterizing operating system nucleus, wherein, characterizing the method for operating system nucleus includes:The compiling file that the compiling demand of loading and current operation system kernel matches;Operating system nucleus is compiled accordingly based on compiling file;In compilation process, the compiling mark of the source code based on partly or entirely non-dynamic information generation characterization operating system nucleus.Method provided in an embodiment of the present invention, when compiling kernel, source code generation compiling mark based on partly or entirely non-dynamic information generation operating system nucleus, so as to which as long as non-dynamic information only related with the source code of kernel does not change, even across the compiling of multiplicating property, compiling can also generate identical compiling mark every time, only when non-dynamic information only related with the source code of kernel is changed, different compiling marks can be just generated in compiling so that user very clear can know that operating system nucleus is changed based on compiling mark.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for representing an operating system kernel and terminal equipment.
Background
The kernel is the core part of the operating system, which is responsible for managing the processes, memory, device drivers, files and network systems of the system, determines the performance and stability of the system, is a piece of software that provides secure access to computer hardware for many applications, and determines when a program operates on a piece of hardware for how long.
The kernel version of the operating system is continuously updated, and generally, the updated kernel can support more hardware, has better process management capability and faster and more stable running speed, and can generally repair many bugs found in the old version. If the installed operating system is not roll-upgraded or has no kernel update option, if the user wants to use the new features or wants to customize a more efficient, stable and faster kernel according to the own hardware platform, the kernel needs to be recompiled, and meanwhile, when the user executes the compiling work with different compiling requirements based on the kernel of the operating system of the same version, the kernel of the operating system of the same version can be repeatedly compiled. Because some variable data are generated in the compiling process of the operating system kernel, even if the kernel is not updated, the compiling identifications generated after the operating system kernel is compiled are inconsistent, that is, each pair of operating system kernels generate a different compiling identification after being compiled once, so that whether the kernel version is updated cannot be known, and therefore, as time goes on, particularly after the operating system kernel is compiled for many times, a user cannot identify which compiling identification represents that the operating system kernel is updated in version from numerous compiling identifications, or which compiling identification represents that the operating system kernel is not updated in version and is only repeatedly compiled.
Disclosure of Invention
The present invention aims to solve at least one of the above technical drawbacks, and proposes the following technical solutions:
according to one aspect, embodiments of the present invention provide a method for characterizing an operating system kernel, comprising:
loading a compiling file matched with the compiling requirement of the current operating system kernel;
correspondingly compiling the kernel of the operating system based on the compiled file;
and in the compiling process, generating a compiling identifier of the source code for representing the kernel of the operating system based on part or all of the non-dynamic information.
Preferably, before the step of loading the compiled file matching the compiling requirement of the current operating system kernel, the method further comprises:
acquiring a first compiled file from a first storage area and acquiring a second compiled file from a second storage area, wherein the first storage area is isolated from the second storage area;
wherein, the step of loading the compiled file matched with the compiling requirement of the current operating system kernel comprises the following steps:
and loading a compiled file matched with the compiling requirement of the current operating system kernel by loading the first compiled file and the second compiled file, wherein the first compiled file comprises the source code of the current operating system kernel, and the second compiled file comprises additional information which is related to the compiling of the current operating system kernel except the source code.
Preferably, the generating a compiled identifier of a source code characterizing the kernel of the operating system based on part or all of the non-dynamic information includes:
generating a first compilation result based on the first compilation file;
and generating a compiling identifier of the source code for representing the kernel of the operating system according to part or all of the first compiling results.
Preferably, before the step of loading the compiled file matching the compiling requirement of the current operating system kernel, the method further comprises:
acquiring a third compiled file from the first storage area;
wherein, the step of loading the compiled file matched with the compiling requirement of the current operating system kernel comprises the following steps:
and loading a compiled file matched with the compiling requirement of the current operating system kernel by loading the third compiled file, wherein the third compiled file simultaneously comprises the source code of the current operating system kernel and additional information related to the compiling of the current operating system kernel.
Preferably, the generating a compiled identifier of a source code characterizing the kernel of the operating system based on part or all of the non-dynamic information includes:
generating a second compilation result of the operating system kernel based on the third compilation file;
filtering dynamic information from the second compiling result according to a preset filtering mode;
generating a compiling identifier of a source code representing the kernel of the operating system based on a second compiling result obtained after partial or all dynamic information is filtered;
wherein the dynamic information comprises at least one of: compile time, compile times, compile state information.
Preferably, the manner of generating the compiled identity of the source code characterizing the operating system kernel includes at least one of:
CRC32 values, hash values, MD5 values.
Preferably, the method further comprises:
judging whether the generated compiling identification of the source code representing the operating system kernel is the same as the compiling identification of the pre-stored source code or not;
and if the source codes are different, updating and storing the generated compiling identification of the source codes representing the operating system kernel.
Preferably, the method further comprises the following steps:
and when the generated compiling identification of the source code representing the operating system kernel is updated and stored, recording the generation time corresponding to the compiling identification.
According to another aspect, an embodiment of the present invention further provides an apparatus for characterizing an operating system kernel, including:
the loading module is used for loading a compiling file matched with the compiling requirement of the current operating system kernel;
the compiling module is used for correspondingly compiling the kernel of the operating system based on the compiling file;
and the generating module is used for generating a compiling identifier of the source code representing the operating system kernel based on part or all of the non-dynamic information in the compiling process.
Preferably, the apparatus further comprises a first obtaining module;
the first obtaining module is used for obtaining a first compiled file from a first storage area and obtaining a second compiled file from a second storage area, and the first storage area is isolated from the second storage area; and the number of the first and second groups,
the loading module is specifically configured to load a compiled file matched with the compiling requirement of the current operating system kernel by loading the first compiled file and the second compiled file, where the first compiled file includes a source code of the current operating system kernel, and the second compiled file includes additional information related to compiling of the current operating system kernel except the source code.
Preferably, the generating module comprises: a first compiling result generating submodule and a first compiling identification generating submodule;
the first compiling result generating submodule is used for generating a first compiling result based on the first compiling file;
and the first compiling identification generating submodule is used for generating a compiling identification of a source code representing the kernel of the operating system according to part or all of the first compiling results.
Preferably, the apparatus further comprises a second obtaining module;
the second obtaining module is used for obtaining a third compiled file from the first storage area; and the number of the first and second groups,
the loading module is specifically configured to load a compiled file matched with the compiling requirement of the current operating system kernel by loading the third compiled file, where the third compiled file includes both the source code of the current operating system kernel and additional information related to the compiling of the current operating system kernel.
Preferably, the generating module comprises: a second compiling result generating submodule, a filtering submodule and a second compiling identification generating submodule;
the second compiling result generating submodule is used for generating a second compiling result based on the third compiling file;
the filtering submodule is used for filtering dynamic information from the second compiling result according to a preset filtering mode;
the second compiling identification generating submodule is used for generating a compiling identification representing the source code of the operating system kernel based on a second compiling result after partial or all dynamic information is filtered;
wherein the dynamic information comprises at least one of: compile time, compile times, compile state information.
Preferably, the manner of generating the compiled identity of the source code characterizing the operating system kernel includes at least one of:
CRC32 values, hash values, MD5 values.
Preferably, the apparatus further comprises: a judging module and an updating module;
the judging module is used for judging whether the generated compiling identification of the source code representing the operating system kernel is the same as the compiling identification of the pre-stored source code;
and the updating module is used for updating and storing the generated compiling identification of the source code representing the operating system kernel when the generated compiling identification of the source code representing the operating system kernel is different from the pre-stored compiling identification of the source code.
Preferably, the updating module is further configured to record, when the generated compiling identifier representing the source code of the operating system kernel is updated and stored, a generation time corresponding to the compiling identifier.
According to another aspect, an embodiment of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for characterizing an operating system kernel described above.
According to another aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores thereon a computer program, which when executed by a processor implements the above-mentioned method for characterizing an operating system kernel.
According to another aspect, embodiments of the present invention provide a computing device comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the method for characterizing the operating system kernel.
The embodiment of the invention loads the compiling file matched with the compiling requirement of the current operating system kernel, can accurately acquire the compiling file required by the compiling of the current operating system kernel, is convenient for executing corresponding compiling work according to the compiling file subsequently, correspondingly compiles the operating system kernel based on the compiling file so as to finish the compiling work required by a user, generates the compiling identification of the source code representing the operating system kernel based on partial or all non-dynamic information in the compiling process, generates the compiling identification of the source code of the operating system kernel based on partial or all non-dynamic information only when compiling the kernel, generates the same compiling identification every time as long as only the non-dynamic information related to the source code of the kernel does not change, even if the compiling is repeatedly carried out for many times, only changes the non-dynamic information related to the source code of the kernel, different compiling identifications are generated during compiling, so that a user can know that the kernel of the operating system is changed based on the compiling identifications at a glance.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of a method of characterizing an operating system kernel according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method of characterizing an operating system kernel according to a second embodiment of the present invention;
FIG. 3 is a diagram illustrating a basic structure of an apparatus for characterizing an operating system kernel according to a third embodiment of the present invention;
FIG. 4 is a detailed structural diagram of an apparatus for characterizing an operating system kernel according to a third embodiment of the present invention;
fig. 5 is a schematic diagram of a basic structure of a terminal device according to a fourth embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, a "terminal" as used herein includes both devices having a wireless signal receiver, which are devices having only a wireless signal receiver without transmit capability, and devices having receive and transmit hardware, which have devices having receive and transmit hardware capable of two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
A first embodiment of the present invention provides a method for characterizing an operating system kernel, where a specific flow is shown in fig. 1, and the method includes: step 110, loading a compiling file matched with the compiling requirement of the current operating system kernel; step 120, correspondingly compiling the kernel of the operating system based on the compiled file; step 130, in the compiling process, a compiling identification of the source code for representing the kernel of the operating system is generated based on part or all of the non-dynamic information.
The first embodiment of the present invention loads the compiled file matching with the compiling requirement of the current operating system kernel, can accurately obtain the compiled file required for compiling the current operating system kernel, facilitates subsequent execution of corresponding compiling work according to the compiled file, correspondingly compiles the operating system kernel based on the compiled file to complete the compiling work required by the user, generates the compiling identification of the source code representing the operating system kernel based on part or all of the non-dynamic information during compiling the kernel, generates the compiling identification only based on the non-dynamic information only related to the source code of the operating system kernel, generates the same compiling identification every time even after repeated compiling, only when the non-dynamic information only related to the source code of the kernel is changed, different compiling identifications are generated during compiling, so that a user can know that the kernel of the operating system is changed based on the compiling identifications at a glance.
The first embodiment of the present invention is described in detail below, specifically as follows:
in step 110, a compiled file matching the compilation requirements of the current operating system kernel is loaded.
Preferably, before the step of loading the compiled file matching the compiling requirement of the current operating system kernel, the method further comprises the following steps: acquiring a first compiled file from a first storage area, and acquiring a second compiled file from a second storage area, wherein the first storage area is isolated from the second storage area; the step of loading the compiled file matched with the compiling requirement of the current operating system kernel comprises the following steps: and loading a compiled file matched with the compiling requirement of the current operating system kernel by loading a first compiled file and a second compiled file, wherein the first compiled file comprises the source code of the current operating system kernel, and the second compiled file comprises additional information which is relevant to the compiling of the current operating system kernel except the source code.
Optionally, before the step of loading the compiled file matching the compilation requirement of the current operating system kernel, the method further includes: acquiring a third compiled file from the first storage area; the step of loading the compiled file matched with the compiling requirement of the current operating system kernel comprises the following steps: and loading a compiled file matched with the compiling requirement of the current operating system kernel by loading a third compiled file, wherein the third compiled file simultaneously comprises the source code of the current operating system kernel and additional information related to the compiling of the current operating system kernel.
Specifically, in the process of compiling the operating system kernel, the compiled file matching the compiling requirement of the operating system kernel needs to be obtained in advance, and then the obtained compiled file matching the compiling requirement of the operating system kernel can be loaded, and corresponding compiling work is performed based on the compiled file.
Further, the manner of pre-fetching the compiled file matching the compiling requirement of the operating system kernel includes: the method comprises the steps of firstly, acquiring a first compiled file from a first storage area and acquiring a second compiled file from a second storage area, wherein the first storage area is isolated from the second storage area, the first compiled file comprises source codes of a current operating system kernel, and the second compiled file comprises additional information related to compilation of the current operating system kernel except the source codes; that is, the compiled file in the default form stored in the kernel is modified and adjusted appropriately, so that the compiled file becomes a compiled file including a first compiled file and a second compiled file, the source code of the current operating system kernel is stored in the first compiled file, the additional information related to the compilation of the operating system kernel is extracted and stored in the second compiled file, of course, the additional information related to the compilation of the operating system kernel can be extracted and stored in the first compiled file, and the source code of the current operating system kernel is stored in the second compiled file, which is not limited in the present application, wherein the first compiled file and the second compiled file are stored in two storage areas isolated from each other, that is, if the first compiled file is stored in a certain storage area, the second compiled file needs to be stored in another area different from the storage area of the first compiled file, meanwhile, the additional information mentioned in the present application includes information related to the compiling time, and information such as content, data, or function that causes the kernel to generate a different compiling identifier in each compiling process, and may also include other information that causes the kernel to generate a different compiling identifier in each compiling process. Acquiring a third compiled file from the first storage area, wherein the third compiled file simultaneously comprises source codes of a current operating system kernel and additional information related to the compilation of the current operating system kernel; that is, the compiled file in the default form stored in the kernel is not modified, and the compiled file in the default form, which is defaulted by those skilled in the art, includes both the source code of the operating system kernel and the additional information related to the compilation of the current operating system kernel, where the storage area of the third compiled file should be the same as the storage area of the compiled file including the source code of the operating system kernel, and at the same time, the content of the additional information included in the third compiled file is also the same as the content of the additional information included in the first manner described above.
Further, when a compiled file matched with the compiling requirement of the kernel of the operating system is obtained in the first mode, the compiled file matched with the compiling requirement of the kernel of the current operating system is loaded by loading the first compiled file and the second compiled file; and when the compiling file matched with the compiling requirement of the operating system kernel is obtained in the second mode, loading the compiling file matched with the compiling requirement of the current operating system kernel by loading the third compiling file.
In step 120, the operating system kernel is compiled accordingly based on the compiled file.
Specifically, after the compilation file matched with the compilation requirement of the current operating system kernel is loaded, the corresponding compilation work can be performed on the kernel of the operating system according to the compilation requirement of the kernel, for example, the kernel compilation is performed by developing a more efficient, more stable and faster kernel according to a hardware platform of the kernel, and for example, the kernel of the operating system based on the same version executes the compilation work with different compilation requirements and the kernel of the operating system performs the repetitive compilation.
In step 130, during the compilation process, a compilation identifier characterizing the source code of the operating system kernel is generated based on part or all of the non-dynamic information.
Preferably, generating a compiled identity of source code characterizing the kernel of the operating system based on part or all of the non-dynamic information includes: generating a first compilation result based on the first compilation file; and generating a compiling identifier of the source code representing the kernel of the operating system according to the first compiling result.
Optionally, generating a compiled identifier of source code characterizing the kernel of the operating system based on part or all of the non-dynamic information includes: generating a second compilation result of the operating system kernel based on the third compilation file; filtering dynamic information from the second compiling result according to a preset filtering mode; generating a compiling identifier of a source code representing an operating system kernel based on a second compiling result obtained after partial or all dynamic information is filtered; wherein the dynamic information comprises at least one of: compile time, compile times, compile state information.
Preferably, the manner of generating the compiled identity of the source code characterizing the operating system kernel includes at least one of: CRC32 values, hash values, MD5 values.
Specifically, on one hand, when a compiled file matching the compiling requirement of the current operating system kernel is loaded by loading the first compiled file and the second compiled file, a way of generating a compiling identifier of a source code representing the operating system kernel based on part or all of the non-dynamic information is as follows: the method comprises the steps of firstly generating a first compiling result based on a first compiling file, and then generating a compiling identifier of a source code representing an operating system kernel according to part or all of the first compiling result. On the other hand, when the compiled file matched with the compiling requirement of the current operating system kernel is loaded by loading the third compiled file, the way of generating the compiling identifier of the source code representing the operating system kernel is as follows: generating a second compiling result of the operating system kernel based on the third compiling file, wherein the third compiling file comprises both the source code of the operating system kernel and the compiling-related additional information of the current operating system kernel, and therefore the second compiling result not only comprises the compiling result related to the kernel source code, but also comprises the compiling result related to the additional information; filtering dynamic information from the second compiling result according to a predetermined filtering mode, namely filtering the dynamic information which can cause different compiling identifications to be generated when compiling the kernel each time even under the condition that the source code of the kernel is not changed, wherein the dynamic information comprises compiling time, compiling times, compiling state information and other information related to the compiling time; and generating a compiling identifier for representing the source code of the kernel of the operating system based on the second compiling result after partially or completely filtering the dynamic information, so that the corresponding compiling identifier is generated only according to the partial or all compiling results related to the kernel source code in the second compiling result.
Further, when the compiling identifier of the source code representing the kernel of the operating system is generated based on the first compiling result generated by part or all of the first compiling file, because the first compiling file includes the source code of the current kernel of the operating system, when the compiling identifier of the source code representing the kernel of the operating system is generated, if the source code of the kernel is not changed, the compiling identifier of the source code representing the kernel of the operating system does not change, that is, under the condition that the source code of the kernel of the operating system is not changed, the generated compiling identifier does not change no matter how many times the compiling is repeated in the operating system, and only when the source code of the kernel of the operating system is changed, different compiling identifiers are generated when the kernel is compiled. When the compiling identifier of the source code representing the kernel of the operating system is generated based on the second compiling result generated by the third compiling file after partially or completely filtering the dynamic information, because the dynamic information which can cause different compiling identifiers to be generated when the kernel is compiled each time is filtered in advance even under the condition that the source code of the kernel is not changed, the technical effect that the compiling identifiers generated when the kernel is compiled can not be changed as long as the source code of the kernel of the operating system is not changed, and different compiling identifiers can be generated when the kernel is compiled only when the source code of the kernel of the operating system is changed is achieved.
Further, the compiling identifier of the source code representing the kernel of the operating system may be generated by using a CRC32 value, a hash value, or an MD5 value, or a combination of a CRC32 value, a hash value, and an MD5 value, for example, by using only a CRC32 value calculation method, or only a hash value calculation method, or only an MD5 value calculation method; for another example, a CRC32 value calculation mode is first adopted, and then a hash value or MD5 value calculation mode is adopted to generate a compiled identifier of a source code representing an operating system kernel; for another example, the compiling identifier of the source code representing the kernel of the operating system is generated by first adopting a calculation method of MD5 value and then adopting a calculation method of CRC32 value or hash value, and for another example, the compiling identifier of the source code representing the kernel of the operating system is generated by first adopting a calculation method of hash value and then adopting a calculation method of CRC32 value or MD5 value.
It should be noted that the dynamic information in the embodiment of the present invention includes information related to compilation time, compilation times, compilation state information, and the like, and the non-dynamic information is a reverse side of the dynamic information, that is, information unrelated to compilation time, compilation times, compilation state information, and the like, that is, information related to the source code of the kernel of the operating system only, and the non-dynamic information does not change as long as the source code of the kernel of the operating system does not change, and only changes the non-dynamic information when the source code of the kernel of the operating system changes.
By the method for representing the kernel of the operating system, the generated compiling identifier for representing the source code of the kernel of the operating system can not be changed even if the kernel is repeatedly compiled for many times under the condition that the non-dynamic information related to the source code of the kernel is not changed, and different compiling identifiers can be generated when the kernel is compiled only when the non-dynamic information related to the source code of the kernel of the operating system is changed, so that a user can know that the kernel of the operating system is changed at a glance according to the compiling identifier.
The second embodiment of the present invention provides a method for characterizing an operating system kernel, which is further improved based on the first embodiment, and the main improvement is that: in a second embodiment of the present invention, the compiled identifier of the source code that characterizes the kernel of the operating system and is generated by the storage is further saved or updated, as specifically shown in fig. 2.
Steps 210 to 230 are substantially the same as steps 110 to 130 of the first embodiment of the present invention, and are not described herein again.
Step 240: and judging whether the generated compiling identification of the source code representing the operating system kernel is the same as the pre-stored compiling identification of the source code.
Specifically, whether a compiling identifier of a source code representing an operating system kernel generated by compiling the kernel this time is the same as a previously stored compiling identifier is judged, if yes, the source code of the kernel is not changed, the compiling is repeated compiling of the kernel with the same source code, and the compiling identifier is stored before, so that the compiling identifier does not need to be stored again; if the source codes of the kernels are different, the source codes of the kernels are changed, the current compilation is the compilation of the kernels with different source codes, and because the kernels with different source codes are not compiled before, different compilation identifications are generated in the process of compiling the kernels at this time, and the generated compilation identifications representing the source codes of the kernels of the operating system need to be updated and stored, that is, the step 250 is executed.
Step 250: and updating and storing the generated compiling identification of the source code representing the kernel of the operating system.
Specifically, when it is determined that the generated compiled identifier of the source code representing the kernel of the operating system is different from the pre-stored compiled identifier of the source code, the generated compiled identifier of the source code representing the kernel of the operating system needs to be updated to represent that the source code of the kernel has been changed.
Furthermore, when the generated compiling identifier representing the source code of the operating system kernel is updated and stored, the generation time corresponding to the compiling identifier is recorded, so that a user can know the generation time of the compiling identifier when looking up the compiling identifier, and the user can deduce the time for changing the source code of the kernel based on the generation time to a certain extent.
According to the embodiment of the invention, when the generated compiling identifier of the source code representing the kernel of the operating system is different from the pre-stored compiling identifier of the source code, the compiling identifier of the source code representing the kernel of the operating system is updated and stored, so that a user can know the generation time of the compiling identifier when looking up the compiling identifier, and the user can deduce the time for changing the source code of the kernel based on the generation time to a certain extent.
A third embodiment of the present invention relates to a device for characterizing a kernel of an operating system, as shown in fig. 3, which specifically includes: a loading module 31, a compiling module 32 and a generating module 33. Wherein,
the loading module 31 is configured to load a compiled file matched with the compiling requirement of the current operating system kernel; the compiling module 32 is configured to correspondingly compile an operating system kernel based on the compiled file; and a generating module 33, configured to generate, during the compiling process, a compiling identifier of the source code that characterizes the operating system kernel based on part or all of the non-dynamic information.
Preferably, the apparatus further includes a first obtaining module 34, specifically as shown in fig. 4, the first obtaining module 34 is configured to obtain the first compiled file from a first storage area, and obtain the second compiled file from a second storage area, where the first storage area is isolated from the second storage area; the loading module 31 is specifically configured to load a compiled file matched with the compiling requirement of the current operating system kernel by loading a first compiled file and a second compiled file, where the first compiled file includes the source code of the current operating system kernel, and the second compiled file includes additional information related to the compiling of the current operating system kernel except the source code.
Preferably, the generating module 33 includes a first compiling result generating sub-module 331 and a first compiling identification generating sub-module 332, where the first compiling result generating sub-module 331 is configured to generate a first compiling result based on the first compiling file; the first compiling identification generating submodule 332 is configured to generate a compiling identification of the source code representing the kernel of the operating system according to a part or all of the first compiling results.
Preferably, the apparatus further includes a second obtaining module 35, specifically as shown in fig. 4, the second obtaining module 35 is configured to obtain the third compiled file from the first storage area; and the loading module S3 is specifically configured to load a compiled file matching the compiling requirement of the current operating system kernel by loading a third compiled file, where the third compiled file includes both the source code of the current operating system kernel and additional information related to the compiling of the current operating system kernel.
Preferably, the generating module 33 comprises: a second compiling result generating sub-module 333, a filtering sub-module 334 and a second compiling identifier generating sub-module 335, which are specifically shown in fig. 4; a second compiling result generating sub-module 333 configured to generate a second compiling result based on the third compiled file; a filtering submodule 334, configured to filter dynamic information from the second compilation result according to a predetermined filtering manner; a second compiling identification generating submodule 335, configured to generate a compiling identification representing a source code of the operating system kernel based on the second compiling result after partial or all dynamic information is filtered out; wherein the dynamic information comprises at least one of: compile time, compile times, compile state information.
Preferably, the manner of generating the compiled identity of the source code characterizing the operating system kernel includes at least one of: CRC32 values, hash values, MD5 values.
Preferably, the apparatus further comprises: a determination module 36 and an update module 37, as shown in fig. 4; a judging module 36, configured to judge whether the generated compiling identifier of the source code representing the operating system kernel is the same as a pre-stored compiling identifier of the source code; and an updating module 37, configured to update and store the generated compiled identifier of the source code representing the operating system kernel when the generated compiled identifier of the source code representing the operating system kernel is different from the pre-stored compiled identifier of the source code.
Preferably, the updating module 37 is further configured to, when the generated compiling identifier of the source code characterizing the operating system kernel is updated and stored, record a generation time corresponding to the compiling identifier.
The embodiment of the invention loads the compiling file matched with the compiling requirement of the current operating system kernel, can accurately acquire the compiling file required by the compiling of the current operating system kernel, is convenient for executing corresponding compiling work according to the compiling file subsequently, correspondingly compiles the operating system kernel based on the compiling file so as to finish the compiling work required by a user, generates the compiling identification of the source code representing the operating system kernel based on partial or all non-dynamic information in the compiling process, generates the compiling identification of the source code representing the operating system kernel only based on partial or all non-dynamic information when compiling the kernel, generates the same compiling identification every time even after repeated compiling for a plurality of times as long as the non-dynamic information related to the source code of the kernel is not changed, and only changes the non-dynamic information related to the source code of the kernel, different compiling identifications are generated during compiling, so that a user can know that the kernel of the operating system is changed based on the compiling identifications at a glance.
A fourth embodiment of the present invention provides a terminal device, as shown in fig. 5, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the technology are not disclosed, please refer to the method part of the embodiment of the present invention. The terminal may be any terminal device including a desktop computer, a tablet computer, a PDA (Personal Digital Assistant), a mobile phone, a POS (Point of Sales), a vehicle-mounted computer, and the like, taking the terminal as the mobile phone as an example:
fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present invention. Referring to fig. 5, the handset includes: radio Frequency (RF) circuit 510, memory 520, input unit 530, display unit 540, sensor 550, audio circuit 560, wireless fidelity (WiFi) module 570, processor 580, and power supply 590. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
RF circuit 510 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for processing downlink information of a base station after receiving the downlink information to processor 580; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 510 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 520 may be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage 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 cellular phone, and the like. Further, the memory 520 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.
The input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also called a touch screen, can collect touch operations of a user on or near the touch panel 531 (for example, operations of the user on or near the touch panel 531 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 530 may include other input devices 532 in addition to the touch panel 531. In particular, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 531 may cover the display panel 541, and when the touch panel 531 detects a touch operation on or near the touch panel 531, the touch panel is transmitted to the processor 580 to determine the type of the touch event, and then the processor 580 provides a corresponding visual output on the display panel 541 according to the type of the touch event. Although the touch panel 531 and the display panel 541 are shown as two separate components in fig. 5 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 531 and the display panel 541 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 541 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 560, speaker 561, and microphone 562 may provide an audio interface between a user and a cell phone. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker 561, and convert the electrical signal into a sound signal by the speaker 561 for output; on the other hand, the microphone 562 converts the collected sound signals into electrical signals, which are received by the audio circuit 560 and converted into audio data, which are then processed by the audio data output processor 580, and then passed through the RF circuit 510 to be sent to, for example, another cellular phone, or output to the memory 520 for further processing.
WiFi belongs to short distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 570, which provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 570, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the mobile phone. Alternatively, processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor, which mainly handles operating systems, user interfaces, 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 580.
The handset also includes a power supply 590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 580 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present invention, the processor 580 included in the terminal further has the following functions:
loading a compiling file matched with the compiling requirement of the current operating system kernel;
correspondingly compiling the kernel of the operating system based on the compiling file;
and in the compiling process, generating a compiling identifier of the source code for representing the kernel of the operating system based on part or all of the non-dynamic information.
Preferably, before the step of loading the compiled file matching the compiling requirement of the current operating system kernel, the method further comprises the following steps: acquiring a first compiled file from a first storage area, and acquiring a second compiled file from a second storage area, wherein the first storage area is isolated from the second storage area; the step of loading the compiled file matched with the compiling requirement of the current operating system kernel comprises the following steps: and loading a compiled file matched with the compiling requirement of the current operating system kernel by loading a first compiled file and a second compiled file, wherein the first compiled file comprises the source code of the current operating system kernel, and the second compiled file comprises additional information which is relevant to the compiling of the current operating system kernel except the source code.
Preferably, generating a compiled identity of source code characterizing the kernel of the operating system based on part or all of the non-dynamic information includes: generating a first compilation result based on the first compilation file; and generating a compiling identifier of the source code for representing the kernel of the operating system according to part or all of the first compiling results.
Preferably, before the step of loading the compiled file matching the compiling requirement of the current operating system kernel, the method further comprises the following steps: acquiring a third compiled file from the first storage area; the step of loading the compiled file matched with the compiling requirement of the current operating system kernel comprises the following steps: and loading a compiled file matched with the compiling requirement of the current operating system kernel by loading a third compiled file, wherein the third compiled file simultaneously comprises the source code of the current operating system kernel and additional information related to the compiling of the current operating system kernel.
Preferably, generating a compiled identity of source code characterizing the kernel of the operating system based on part or all of the non-dynamic information includes: generating a second compilation result of the operating system kernel based on the third compilation file; filtering dynamic information from the second compiling result according to a preset filtering mode; generating a compiling identifier of a source code representing an operating system kernel based on a second compiling result obtained after partial or all dynamic information is filtered; wherein the dynamic information comprises at least one of: compile time, compile times, compile state information.
Preferably, the manner of generating the compiled identity of the source code characterizing the operating system kernel includes at least one of: CRC32 values, hash values, MD5 values.
Preferably, the method further comprises the following steps: judging whether the generated compiling identification of the source code representing the operating system kernel is the same as the compiling identification of the pre-stored source code or not; and if the difference is different, updating, storing and generating the compiled identification of the source code representing the kernel of the operating system.
Preferably, the method further comprises the following steps: when the generated compiling identification of the source code representing the operating system kernel is updated, the generation time corresponding to the compiling identification is recorded.
In a fifth embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for characterizing an operating system kernel as described above.
A sixth embodiment of the present invention provides a computing device, including: the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the method for characterizing the operating system kernel.
Those skilled in the art will appreciate that the present invention includes apparatus directed to performing one or more of the operations described in the present application. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have stored therein computer programs that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (Erasable programmable Read-Only memories), EEPROMs (Electrically Erasable programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions may be implemented by a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the features specified in the block or blocks of the block diagrams and/or flowchart illustrations of the present disclosure.
Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
1. A method for characterizing an operating system kernel, comprising:
loading a compiling file matched with the compiling requirement of the current operating system kernel;
correspondingly compiling the kernel of the operating system based on the compiled file;
and in the compiling process, generating a compiling identifier of the source code for representing the kernel of the operating system based on part or all of the non-dynamic information.
2. The method of claim 1, further comprising, prior to the step of loading a compiled file that matches the compilation requirements of the current operating system kernel:
acquiring a first compiled file from a first storage area and acquiring a second compiled file from a second storage area, wherein the first storage area is isolated from the second storage area;
wherein, the step of loading the compiled file matched with the compiling requirement of the current operating system kernel comprises the following steps:
and loading a compiled file matched with the compiling requirement of the current operating system kernel by loading the first compiled file and the second compiled file, wherein the first compiled file comprises the source code of the current operating system kernel, and the second compiled file comprises additional information which is related to the compiling of the current operating system kernel except the source code.
3. The method of claim 2, wherein generating a compiled identity of source code characterizing the operating system kernel based on part or all of the non-dynamic information comprises:
generating a first compilation result based on the first compilation file;
and generating a compiling identifier of the source code for representing the kernel of the operating system according to part or all of the first compiling results.
4. The method of claim 1, further comprising, prior to the step of loading a compiled file that matches the compilation requirements of the current operating system kernel:
acquiring a third compiled file from the first storage area;
wherein, the step of loading the compiled file matched with the compiling requirement of the current operating system kernel comprises the following steps:
and loading a compiled file matched with the compiling requirement of the current operating system kernel by loading the third compiled file, wherein the third compiled file simultaneously comprises the source code of the current operating system kernel and additional information related to the compiling of the current operating system kernel.
5. The method of claim 4, wherein generating a compiled identity of source code characterizing the operating system kernel based on part or all of the non-dynamic information comprises:
generating a second compilation result of the operating system kernel based on the third compilation file;
filtering dynamic information from the second compiling result according to a preset filtering mode;
generating a compiling identifier of a source code representing the kernel of the operating system based on a second compiling result obtained after partial or all dynamic information is filtered;
wherein the dynamic information comprises at least one of: compile time, compile times, compile state information.
6. The method according to any one of claims 1-5, further comprising:
judging whether the generated compiling identification of the source code representing the operating system kernel is the same as the compiling identification of the pre-stored source code or not;
and if the source codes are different, updating and storing the generated compiling identification of the source codes representing the operating system kernel.
7. An apparatus for characterizing an operating system kernel, comprising:
the loading module is used for loading a compiling file matched with the compiling requirement of the current operating system kernel;
the compiling module is used for correspondingly compiling the kernel of the operating system based on the compiling file;
and the generating module is used for generating a compiling identifier of the source code representing the operating system kernel based on part or all of the non-dynamic information in the compiling process.
8. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of characterizing an operating system kernel of any one of claims 1 to 6 when executing the program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the method of characterizing an operating system kernel according to any one of claims 1 to 6.
10. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the corresponding operation of the method for characterizing the kernel of the operating system according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711311473.3A CN108021368B (en) | 2017-12-11 | 2017-12-11 | Method and device for representing kernel of operating system and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711311473.3A CN108021368B (en) | 2017-12-11 | 2017-12-11 | Method and device for representing kernel of operating system and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108021368A true CN108021368A (en) | 2018-05-11 |
CN108021368B CN108021368B (en) | 2021-09-07 |
Family
ID=62072826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711311473.3A Active CN108021368B (en) | 2017-12-11 | 2017-12-11 | Method and device for representing kernel of operating system and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108021368B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053831A (en) * | 2010-12-10 | 2011-05-11 | 浪潮(北京)电子信息产业有限公司 | Linux operating system customizing method and system |
CN105335137A (en) * | 2014-07-23 | 2016-02-17 | 国际商业机器公司 | Method and device used for processing source file |
CN105404535A (en) * | 2015-11-30 | 2016-03-16 | 中国人民解放军装甲兵工程学院 | Nanosecond timing method and system based on ARM framework |
US20160283158A1 (en) * | 2015-03-25 | 2016-09-29 | International Business Machines Corporation | Accessing global data from accelerator devices |
CN106648467A (en) * | 2016-12-28 | 2017-05-10 | 税友软件集团股份有限公司 | Log generation method and system |
-
2017
- 2017-12-11 CN CN201711311473.3A patent/CN108021368B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102053831A (en) * | 2010-12-10 | 2011-05-11 | 浪潮(北京)电子信息产业有限公司 | Linux operating system customizing method and system |
CN105335137A (en) * | 2014-07-23 | 2016-02-17 | 国际商业机器公司 | Method and device used for processing source file |
US20160283158A1 (en) * | 2015-03-25 | 2016-09-29 | International Business Machines Corporation | Accessing global data from accelerator devices |
CN105404535A (en) * | 2015-11-30 | 2016-03-16 | 中国人民解放军装甲兵工程学院 | Nanosecond timing method and system based on ARM framework |
CN106648467A (en) * | 2016-12-28 | 2017-05-10 | 税友软件集团股份有限公司 | Log generation method and system |
Non-Patent Citations (1)
Title |
---|
JEANCHENG: "Linux内核的构建过程——Linux内核剖析(五)", 《CSDN论坛,HTTPS://BLOG.CSDN.NET/GATIEME/ARTICLE/DETAILS/48918399》 * |
Also Published As
Publication number | Publication date |
---|---|
CN108021368B (en) | 2021-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103473163B (en) | application program detection method and device | |
US10186244B2 (en) | Sound effect processing method and device, plug-in unit manager and sound effect plug-in unit | |
CN107908407B (en) | Compiling method and device and terminal equipment | |
CN106775827B (en) | Application program updating method and device and computer equipment | |
CN106331370B (en) | A kind of data transmission method and terminal device | |
CN106066686B (en) | A kind of information processing method and terminal device | |
WO2015035947A1 (en) | Method for realizing cellphone without card, cellphone and server | |
CN107967153B (en) | Application program management method and mobile terminal | |
CN112148579B (en) | User interface testing method and device | |
CN106227588A (en) | The creation method of a kind of multi-instance object, device and mobile terminal | |
CN106203228A (en) | Two-dimensional code information transmission method, device and equipment | |
TWI494755B (en) | Method,device and computer readable storage component for software repair | |
CN110830127B (en) | Radio frequency parameter processing method and device, mobile terminal and storage medium | |
CN106936516B (en) | Display screen display state control method, storage medium and terminal | |
CN112689872B (en) | Audio detection method, computer-readable storage medium and electronic device | |
CN109284146B (en) | Light application starting method and mobile terminal | |
CN109309659B (en) | Mobile terminal and method and device for logging in application of mobile terminal | |
CN108228357B (en) | Memory cleaning method and mobile terminal | |
CN104244448B (en) | Reduce the method and system of data transmission delay | |
CN111966373A (en) | APN resetting method, terminal equipment and storage medium | |
CN105528220B (en) | Method and device for loading dynamic shared object | |
CN108491225B (en) | Update package generation method and mobile terminal | |
CN106201536A (en) | The replacing options of a kind of application icon and terminal unit | |
CN108021368B (en) | Method and device for representing kernel of operating system and terminal equipment | |
CN107122204B (en) | Application unloading state detection method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |