[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106293629B - Storehouse acquisition methods and device - Google Patents

Storehouse acquisition methods and device Download PDF

Info

Publication number
CN106293629B
CN106293629B CN201610676036.0A CN201610676036A CN106293629B CN 106293629 B CN106293629 B CN 106293629B CN 201610676036 A CN201610676036 A CN 201610676036A CN 106293629 B CN106293629 B CN 106293629B
Authority
CN
China
Prior art keywords
program
described program
register
specified function
address
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.)
Active
Application number
CN201610676036.0A
Other languages
Chinese (zh)
Other versions
CN106293629A (en
Inventor
甘晓霖
张墅潇
王舒捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610676036.0A priority Critical patent/CN106293629B/en
Publication of CN106293629A publication Critical patent/CN106293629A/en
Application granted granted Critical
Publication of CN106293629B publication Critical patent/CN106293629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/32Address formation of the next instruction, e.g. by incrementing the instruction counter
    • G06F9/321Program or instruction counter, e.g. incrementing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30098Register arrangements
    • G06F9/30101Special purpose registers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The disclosure is directed to a kind of storehouse acquisition methods and devices, belong to field of computer technology.The described method includes: when the local ccf layer of program is abnormal, create goal stack, and by specified function in the program counter PC register that the address in the corresponding memory headroom of described program is stored in described program, the specified function is for obtaining described program in the storehouse of virtual machine language layer;Described program is continued to run by the goal stack and the PC register, to obtain described program in the storehouse of the virtual machine language layer.Storehouse of the program obtained in the disclosure in the virtual machine language layer, it can will be determined when the local ccf layer is abnormal in order to technical staff, the calling hierarchical relationship of the virtual machine language layer at this time, and then the reason of local ccf layer is abnormal quickly is analyzed and positions convenient for technical staff.

Description

Storehouse acquisition methods and device
Technical field
This disclosure relates to field of computer technology more particularly to a kind of storehouse acquisition methods and device.
Background technique
Computer can complete different tasks by running a variety of different programs, and computer is in operation program When, the operation of the program is realized often by virtual machine language layer and local ccf layer.Wherein, virtual machine language layer is used for Support the operation of virtual machine, and virtual machine language layer can be realized by language such as java.Local ccf layer is for providing local Service, chained library etc., such as local ccf layer can be native layers, in addition, local ccf layer can pass through the language such as C, C++ It realizes.In the operational process of program, when local ccf layer is abnormal, computer often obtains the program in the local The storehouse of ccf layer, technical staff can according to the program the local ccf layer storehouse, to analyze and position the local frame The reason of rack-layer is abnormal.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of storehouse acquisition methods and device.
According to the first aspect of the embodiments of the present disclosure, a kind of storehouse acquisition methods are provided, which comprises
When the local ccf layer of program is abnormal, goal stack is created, and specified function is corresponding in described program Memory headroom in address be stored in the program counter PC register of described program, the specified function is for obtaining institute Program is stated in the storehouse of virtual machine language layer;
Described program is continued to run by the goal stack and the PC register, to obtain described program in the void The storehouse of quasi- machine linguistic level.
Optionally, described when the local ccf layer of program is abnormal, goal stack is created, and by specified function in institute It states before the address in the corresponding memory headroom of program is stored in the PC register of described program, further includes:
When detecting that the local ccf layer generates abnormal signal, determine that the local ccf layer is abnormal.
Optionally, the creation goal stack, and the address by specified function in the corresponding memory headroom of described program Before being stored in the PC register of described program, further includes:
Judge whether described program is in designated program state, the designated program state, which is used to indicate, has obtained the journey Storehouse of the sequence in the virtual machine language layer;
When described program is not in designated program state, the creation goal stack is executed, and by specified function in institute State the step that the address in the corresponding memory headroom of program is stored in the PC register of described program.
Optionally, described that address of the specified function in the corresponding memory headroom of described program is stored in described program Before in PC register, further includes:
From the corresponding memory headroom of described program, the specified function is searched;
When finding the specified function, ground of the specified function in the corresponding memory headroom of described program is obtained Location.
Optionally, described that described program is continued to run by the goal stack and the PC register, described in obtaining Storehouse of the program in the virtual machine language layer, comprising:
Described program is continued to run by the goal stack and the PC register, and is continuing to run described program In the process, the address according to the specified function stored in the PC register in the corresponding memory headroom of described program, From the corresponding memory headroom of described program, the specified function is obtained;
By executing the specified function, to obtain described program in the storehouse of the virtual machine language layer.
Optionally, described that described program is continued to run by the goal stack and the PC register, described in obtaining Program is after the storehouse of the virtual machine language layer, further includes:
Preset address is stored in the PC register;
During continuing to run described program, by the preset address stored in the PC register, to touch Send out the abnormality processing to described program.
According to the second aspect of an embodiment of the present disclosure, a kind of storehouse acquisition device is provided, described device includes:
Creation module, for creating goal stack, and specified function is existed when the local ccf layer of program is abnormal Address in the corresponding memory headroom of described program is stored in the program counter PC register of described program, the specified letter Number is for obtaining described program in the storehouse of virtual machine language layer;
Module is run, for continuing to run described program by the goal stack and the PC register, to obtain Program is stated in the storehouse of the virtual machine language layer.
Optionally, described device further include:
Detection module, for determining the local ccf layer when detecting that the local ccf layer generates abnormal signal It is abnormal.
Optionally, described device further include:
Judgment module, for judging whether described program is in designated program state, the designated program state is for referring to Show and has obtained described program in the storehouse of the virtual machine language layer;
First trigger module, for when described program is not in designated program state, triggering the creation module creation Goal stack, and address of the specified function in the corresponding memory headroom of described program is stored in the PC register of described program In.
Optionally, described device further include:
Searching module, for searching the specified function from the corresponding memory headroom of described program;
Module is obtained, it is corresponding in described program for when finding the specified function, obtaining the specified function Address in memory headroom.
Optionally, the operation module includes:
First acquisition submodule, for continuing to run described program by the goal stack and the PC register, and It is corresponding in described program according to the specified function stored in the PC register during continuing to run described program Memory headroom in address obtain the specified function from the corresponding memory headroom of described program;
Second acquisition submodule executes the specified function for passing through, to obtain described program in the virtual machine language Say the storehouse of layer.
Optionally, described device further include:
Storage module, for preset address to be stored in the PC register;
Second trigger module, for passing through what is stored in the PC register during continuing to run described program The preset address, to trigger the abnormality processing to described program.
According to the third aspect of an embodiment of the present disclosure, a kind of storehouse acquisition device is provided, described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When the local ccf layer of program is abnormal, goal stack is created, and specified function is corresponding in described program Memory headroom in address be stored in the program counter PC register of described program, the specified function is for obtaining institute Program is stated in the storehouse of virtual machine language layer;
Described program is continued to run by the goal stack and the PC register, to obtain described program in the void The storehouse of quasi- machine linguistic level.
The technical scheme provided by this disclosed embodiment can include the following benefits: in the embodiments of the present disclosure, when When the local ccf layer of program is abnormal, goal stack is created, and by specified function in the corresponding memory headroom of the program Address be stored in the PC register of the program, subsequent continue to run program when institute since goal stack can be used for storing Instruction, data, address for using etc., therefore, under the premise of the storage of the PC register of the program has address, which can lead to The PC register of goal stack and the program is crossed to keep continuing to run for the program, and then in the mistake for continuing to run the program Cheng Zhong obtains the program in the storehouse of virtual machine language layer.Storehouse due to the program in the virtual machine language layer would generally wrap Containing program instruction, parameter used in the virtual machine language layer etc., therefore, according to the program in the virtual machine language layer Storehouse, technical staff readily determine when the local ccf layer is abnormal, the calling level of the virtual machine language layer at this time Relationship, and then technical staff can quickly to analyze and position the local according to the calling hierarchical relationship of the virtual machine language layer The reason of ccf layer is abnormal, the working efficiency for the personnel that develop skill.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of storehouse acquisition methods shown according to an exemplary embodiment.
Fig. 2 is the flow chart of another storehouse acquisition methods shown according to an exemplary embodiment.
Fig. 3 A is the block diagram of the first storehouse acquisition device shown according to an exemplary embodiment.
Fig. 3 B is the block diagram of second of storehouse acquisition device shown according to an exemplary embodiment.
Fig. 3 C is the block diagram of the third storehouse acquisition device shown according to an exemplary embodiment.
Fig. 3 D is the block diagram of the 4th kind of storehouse acquisition device shown according to an exemplary embodiment.
Fig. 3 E is a kind of block diagram for running module shown according to an exemplary embodiment.
Fig. 3 F is the block diagram of the 5th kind of storehouse acquisition device shown according to an exemplary embodiment.
Fig. 4 is the block diagram of the 6th kind of storehouse acquisition device shown according to an exemplary embodiment.
Fig. 5 is the block diagram of the 7th kind of storehouse acquisition device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Before to the embodiment of the present disclosure carrying out that explanation is explained in detail, first the application scenarios of the embodiment of the present disclosure are given Explanation.In the related technology, in the operational process of program, when local ccf layer is abnormal, computer often obtains should Program the local ccf layer storehouse, technical staff can according to the program the local ccf layer storehouse, analyzing and Position the reason of local ccf layer is abnormal.Under normal conditions, the exception of local ccf layer is particularly likely that by virtual machine Caused by calling of the linguistic level to the local ccf layer, the storehouse due to program in local ccf layer generally only exists comprising the program The information such as parameter, local variable used in the local ccf layer, and and do not include the program virtual machine language layer information, So technical staff is often difficult to determine the calling of the virtual machine language layer according to the program in the storehouse of the local ccf layer Hierarchical relationship, to increase analysis and position the difficulty for the reason of local ccf layer is abnormal.Therefore, the disclosure is implemented Example provides a kind of storehouse acquisition methods, come be convenient for technical staff determine program in the calling hierarchical relationship of virtual machine language layer, And then it reduces analysis and positions the difficulty for the reason of local ccf layer is abnormal.
Fig. 1 is a kind of flow chart of storehouse acquisition methods shown according to an exemplary embodiment.As shown in Figure 1, the party Method includes the following steps.
In a step 101, when the local ccf layer of program is abnormal, goal stack is created, and specified function is existed Address in the corresponding memory headroom of program is stored in PC (Program Counter, program counter) register of program, Specified function is for obtaining program in the storehouse of virtual machine language layer.
In a step 102, program is continued to run by goal stack and PC register, to obtain program in virtual machine language The storehouse of layer.
In the embodiments of the present disclosure, when the local ccf layer of program is abnormal, goal stack is created, and by specified letter Number is in the PC register that the address in the corresponding memory headroom of the program is stored in the program, since goal stack can be used for Store it is subsequent continue to run used instruction, data, address etc. when the program, therefore, the program PC register store Under the premise of having address, the program can be kept by goal stack and the PC register of the program program after reforwarding Row, and then during continuing to run the program, the program is obtained in the storehouse of virtual machine language layer.Since the program is at this The storehouse of virtual machine language layer would generally include program instruction, parameter used in the virtual machine language layer etc., therefore, root According to the program in the storehouse of the virtual machine language layer, technical staff is readily determined when the local ccf layer is abnormal, and is somebody's turn to do The calling hierarchical relationship of virtual machine language layer at this time, and then technical staff can close according to the calling level of the virtual machine language layer System quickly analyzes and position the reason of local ccf layer is abnormal, the working efficiency for the personnel that develop skill.
Optionally, when the local ccf layer of program is abnormal, goal stack is created, and by specified function in program pair Before the address in memory headroom answered is stored in the PC register of program, further includes:
When detecting that local ccf layer generates abnormal signal, determine that local ccf layer is abnormal.
In the embodiments of the present disclosure, it can just be completed to the different of local ccf layer according only to the presence or absence of abnormal signal Judgement whether often generation, the deterministic process is simple and convenient, and judging efficiency is higher.And since abnormal signal is usually local frame What layer was automatically generated when being abnormal, therefore, accuracy of judgement degree is also higher.
Optionally, goal stack is created, and address of the specified function in the corresponding memory headroom of program is stored in journey Before in the PC register of sequence, further includes:
Whether determining program is in designated program state, and designated program state, which is used to indicate, has obtained program in virtual machine language Say the storehouse of layer;
When program is not in designated program state, creation goal stack is executed, and specified function is corresponding in program Address in memory headroom is stored in the step in the PC register of program.
In the embodiments of the present disclosure, due to creation goal stack and by specified function in the corresponding memory headroom of the program In address be stored in the PC register of the program, be in order to guarantee it is subsequent can continue to run the program, and then obtaining should Program can be determined and the journey also has not been obtained and when the program is not in designated program state in the storehouse of virtual machine language layer Sequence then needs to create goal stack in the storehouse of the virtual machine language layer at this time, and by specified function in the program is corresponding The address in space is deposited to be stored in the PC register of the program, with guarantee it is subsequent can be to the program in the virtual machine language layer Storehouse obtained.
Optionally, by specified function in the PC register that the address in the corresponding memory headroom of program is stored in program it Before, further includes:
From the corresponding memory headroom of program, specified function is searched;
When finding specified function, address of the specified function in the corresponding memory headroom of program is obtained.
In the embodiments of the present disclosure, specified function directly can be searched in the corresponding memory headroom of the program, the lookup Operation is simple, improves the search efficiency of specified function, and then improves and obtain specified function in the program is corresponding Deposit the efficiency of the address in space.
Optionally, program is continued to run by goal stack and PC register, to obtain program in virtual machine language layer Storehouse, comprising:
Program is continued to run by goal stack and PC register, and during continuing to run program, is posted according to PC Address of the specified function stored in storage in the corresponding memory headroom of program is obtained from the corresponding memory headroom of program Specified function;
By executing specified function, to obtain program in the storehouse of virtual machine language layer.
In the embodiments of the present disclosure, by the way that address of the specified function in the corresponding memory headroom of the program is stored in this In the PC register of program, it is ensured that during continuing to run the program based on the PC register, deposited according to the PC The address stored in device, quick obtaining can accurately obtain the program at this to specified function, and then by executing specified function The storehouse of virtual machine language layer.
Optionally, program is continued to run by goal stack and PC register, to obtain program in virtual machine language layer After storehouse, further includes:
Preset address is stored in PC register;
During continuing to run program, by the preset address stored in PC register, to trigger to the different of program Often processing.
It in the embodiments of the present disclosure, can be by the preset address stored in the PC register, to trigger to the program Abnormality processing can continue to carry out the program different to guarantee obtaining the program after the storehouse of the virtual machine language layer Often processing, guarantees being normally carried out for intrinsic exception handling logic.
All the above alternatives, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real It applies example and this is no longer repeated one by one.
Fig. 2 is a kind of flow chart of storehouse acquisition methods shown according to an exemplary embodiment.As shown in Fig. 2, the party Method includes the following steps.
In step 201, in the operational process of program, judge whether local ccf layer is abnormal.
It should be noted that in the operational process of program, judge that operation that whether local ccf layer is abnormal can be with It is executed by exception processing module, the embodiment of the present disclosure is not specifically limited in this embodiment.
In addition, local ccf layer, for providing local service, chained library etc., such as local ccf layer can be native layers Deng the embodiment of the present disclosure is not specifically limited in this embodiment.And local ccf layer can realize that the disclosure is real by language such as C, C++ Example is applied to be not specifically limited in this embodiment.
Wherein, when judging whether local ccf layer is abnormal, abnormal letter can be generated when detecting the local ccf layer Number when, determine that the local ccf layer is abnormal;When local ccf layer generation abnormal signal is not detected, the local is determined Ccf layer no exceptions.Certainly, in practical application, it can also judge in other ways whether local ccf layer is abnormal, The embodiment of the present disclosure is not specifically limited in this embodiment.
It is abnormal it should be noted that abnormal signal is used to indicate the local ccf layer, which can be When being abnormal, the abnormal signal is generated, and in practical application, which can produce according to different abnormal conditions Raw different abnormal signal, the embodiment of the present disclosure are not specifically limited in this embodiment.
In addition, the embodiment of the present disclosure can just be completed to the different of local ccf layer according only to the presence or absence of abnormal signal Judgement whether often generation, the deterministic process is simple and convenient, and judging efficiency is higher.And since abnormal signal is usually local frame What layer was automatically generated when being abnormal, therefore, accuracy of judgement degree is also higher.
In step 202, when ccf layer is abnormal when the local, goal stack is created, and by specified function in the journey Address in the corresponding memory headroom of sequence is stored in the PC register of the program.
It should be noted that creation goal stack, and the address by specified function in the corresponding memory headroom of the program The operation being stored in the PC register of the program can obtain module by storehouse to execute, and the storehouse obtains module and can wrap Contained in exception processing module, certainly, which obtains module can also exist independently of each other with the exception processing module, this public affairs Embodiment is opened to be not specifically limited in this embodiment.
Wherein, the operation for creating goal stack is similar with the operation for creating a certain storehouse in the related technology, and the disclosure is implemented Example is to this without elaborating.
It should be noted that goal stack can be used for storing and subsequent continue to run used instruction, number when the program According to, address etc., the embodiment of the present disclosure is not specifically limited in this embodiment.
In addition, PC register can be used for storing the address of computer instructions to be executed, computer can be according to this The address acquisition instruction stored in PC register, and then execute the instruction.
Furthermore specified function can be for obtaining the program in the storehouse of the virtual machine language layer, such as specified function Exception.printStackTrace () etc., the embodiment of the present disclosure is not specifically limited in this embodiment.
Further, the PC that address of the specified function in the corresponding memory headroom of the program is stored in the program is deposited Before in device, specified function can also be searched from the corresponding memory headroom of the program, when finding specified function, obtained Address of the specified function in the corresponding memory headroom of the program.
It wherein,, can be empty from the corresponding memory of the program when searching specified function from the corresponding memory headroom of the program Between in, search designated symbols the function where designated symbols is determined as specified function, at this time when finding designated symbols Computer can quickly and easily identify specified function according only to designated symbols, to improve the lookup of the specified function Efficiency.Certainly, in practical application, specified function, example can also be searched in other ways from the corresponding memory headroom of the program Such as, specified function can be searched according to specified function itself, directly from the corresponding memory headroom of the program, the disclosure is implemented Example is not specifically limited in this embodiment.
It should be noted that the symbol that designated symbols include by specified function, and designated symbols can be used for mark and refer to Determine function, the embodiment of the present disclosure is not specifically limited in this embodiment.
Further, goal stack is created, and address of the specified function in the corresponding memory headroom of the program is stored Before into the PC register of the program, it can also judge whether the program is in designated program state;When the program is not in When designated program state, step 202 is executed;When the program is in designated program state, abnormality processing is carried out to the program.
It should be noted that designated program state, which is used to indicate, has obtained the program in the storehouse of virtual machine language layer, and When the storehouse acquisition methods provided in the embodiment of the present disclosure, which are based on ptrace (Process Tracking) mechanism, to be realized, designated program state It can be to be tracked state etc., the embodiment of the present disclosure is not specifically limited in this embodiment.
Wherein, virtual machine language layer is used to support the operation of virtual machine, and virtual machine language layer can pass through the languages such as java Speech realizes that the embodiment of the present disclosure is not specifically limited in this embodiment.
In addition, ptrace mechanism is a kind of Process Tracking mechanism, ptrace mechanism is supplied to a program (pursuer) can To observe and control the ability of the execution of another program (traced person), and allows pursuer to check and change traced person's The value of memory and register.
Wherein, judge whether the program is in the operation of designated program state and whether judges a certain program in the related technology Operation in some program state is similar, and the embodiment of the present disclosure is to this without elaborating.
This is stored in due to creation goal stack and by address of the specified function in the corresponding memory headroom of the program In the PC register of program, be in order to guarantee it is subsequent can continue to run the program, and then obtain the program in virtual machine language The storehouse of layer, and when the program is in designated program state, it can determine and obtain the program in the virtual machine language layer Storehouse is then not required to execute step 202 again at this time, directly abnormality processing is carried out to the program, so as to avoid to the program It carries out repeating acquisition in the storehouse of the virtual machine language layer, avoids the waste to the process resource of computer.And work as the program When being not in designated program state, it can determine and the program also has not been obtained in the storehouse of the virtual machine language layer, then need at this time Step 202 is executed, to guarantee subsequent to obtain the program in the storehouse of the virtual machine language layer.
It should be noted that can be executed by exception processing module to the abnormality processing of program, the embodiment of the present disclosure pair This is not specifically limited.
In step 203, which is continued to run by the PC register of goal stack and the program, to obtain the program In the storehouse of virtual machine language layer.
It should be noted that the program is continued to run by the PC register of goal stack and the program, to obtain the journey Sequence can obtain module by storehouse to execute in the operation of the storehouse of virtual machine language layer, and the embodiment of the present disclosure is not done this specifically It limits.
In addition, in the embodiment of the present disclosure goal stack can be created and in the journey when local ccf layer is abnormal Storage address in the PC register of sequence, due to goal stack can be used for storing it is subsequent continue to run the program when used finger It enables, data, address etc., therefore, under the premise of the storage of the PC register of the program has address, which can pass through target heap Stack and the PC register of the program keep continuing to run for the program, and then during continuing to run the program, obtain Take the program in the storehouse of the virtual machine language layer.
Since what is stored in the PC register of the program is address of the specified function in the corresponding memory headroom of the program, Therefore, which is continued to run by the PC register of goal stack and the program, to obtain the program in the virtual machine language It, can be during the PC register by goal stack and the program continues to run the program, according to this when the storehouse of layer Address of the specified function stored in PC register in the corresponding memory headroom of the program, from the corresponding memory headroom of the program In, specified function is obtained, and by executing specified function, to obtain the program in the storehouse of virtual machine language layer.
Wherein, the address according to the specified function stored in the PC register in the corresponding memory headroom of the program, from In the corresponding memory headroom of the program, obtain specified function operation with it is a certain according to what is stored in PC register in the related technology Address, the operation for obtaining some function is similar, and the embodiment of the present disclosure is to this without elaborating.
In addition, can be referred to by executing specified function to obtain the program in the operation of the storehouse of virtual machine language layer The relevant technologies, the embodiment of the present disclosure is to this without elaborating.
It should be noted that in the embodiment of the present disclosure, by by specified function in the corresponding memory headroom of the program Address is stored in the PC register of the program, it is ensured that during continuing to run the program based on the PC register, According to the address stored in the PC register, quick obtaining can be obtained accurately to specified function, and then by executing specified function Take the program in the storehouse of the virtual machine language layer.Since the program would generally include the journey in the storehouse of the virtual machine language layer Sequence instruction, parameter used in the virtual machine language layer etc., therefore, according to the program the virtual machine language layer storehouse, Technical staff readily determines when the local ccf layer is abnormal, the calling hierarchical relationship of the virtual machine language layer at this time, And then technical staff can quickly to analyze and position the local ccf layer according to the calling hierarchical relationship of the virtual machine language layer The reason of being abnormal, the working efficiency for the personnel that develop skill.
Further, which is continued to run by the PC register of goal stack and the program, is existed with obtaining the program After the storehouse of the virtual machine language layer, preset address can also be stored in the PC register, and then continuing to run this During program, by the preset address stored in the PC register, to trigger the abnormality processing to the program, to guarantee The program is being obtained after the storehouse of the virtual machine language layer, computer can continue to carry out abnormality processing to the program, guarantee Intrinsic exception handling logic is normally carried out.
It should be noted that preset address is used to trigger the abnormality processing to the program, and preset address can be set in advance It sets, if preset address can be address in the corresponding memory headroom of the program of invalid address, abnormality code, abnormality processing letter Address etc. of the number in the corresponding memory headroom of the program, certainly, preset address can also be configured according to the actual situation, this Open embodiment is not specifically limited in this embodiment.Wherein, abnormality processing function is used to carry out abnormality processing to the program.
In addition, computer is according to the ground stored in the PC register when what is stored in the PC register is invalid address Location can not acquisition instruction that is to say that the operation of the program can be abnormal at this time to also can not just execute instruction, thus To realize triggering to the purpose of the abnormality processing of the program.When what is stored in the PC register is that abnormality code is corresponding in the program Memory headroom in address when, computer is according to the available abnormality code in the address stored in the PC register, in turn The abnormality code is executed, the program can be abnormal because executing the abnormality code at this time, to be achieved triggering to the journey The purpose of the abnormality processing of sequence.When what is stored in PC register is abnormality processing function in the corresponding memory headroom of the program When address, computer executes the exception according to the available abnormality processing function in the address stored in the PC register Function is handled, the program can trigger the abnormality processing to the program because executing the abnormality processing function at this time.
Furthermore since under normal conditions, after having executed some function, PC register is often by the address of itself storage Therefore preset address is stored in the PC by the address for being automatically set as storing in LR (Link Register connects register) Operation in register can realize by LR register, which can be with are as follows:, will be pre- before executing specified function If address is stored in the LR register of the program, at this time after executing specified function, which will be automatically by itself The address of storage is set as the preset address stored in the LR register, so as to realize that preset address, which is stored in the PC, to be posted Purpose in storage.
In the embodiments of the present disclosure, when the local ccf layer of program is abnormal, goal stack is created, and by specified letter Number is in the PC register that the address in the corresponding memory headroom of the program is stored in the program, since goal stack can be used for Store it is subsequent continue to run used instruction, data, address etc. when the program, therefore, the program PC register store Under the premise of having address, the program can be kept by goal stack and the PC register of the program program after reforwarding Row, and then during continuing to run the program, the program is obtained in the storehouse of virtual machine language layer.Since the program is at this The storehouse of virtual machine language layer would generally include program instruction, parameter used in the virtual machine language layer etc., therefore, root According to the program in the storehouse of the virtual machine language layer, technical staff is readily determined when the local ccf layer is abnormal, and is somebody's turn to do The calling hierarchical relationship of virtual machine language layer at this time, and then technical staff can close according to the calling level of the virtual machine language layer System quickly analyzes and position the reason of local ccf layer is abnormal, the working efficiency for the personnel that develop skill.
Fig. 3 A is a kind of block diagram of storehouse acquisition device shown according to an exemplary embodiment.Referring to Fig. 3 A, the device Including creation module 301 and operation module 302.
Creation module 301 creates goal stack for when the local ccf layer of program is abnormal, and by specified letter Number is in the program counter PC register that the address in the corresponding memory headroom of program is stored in program, and specified function is for obtaining Storehouse of the program fetch in virtual machine language layer;
Module 302 is run, for continuing to run program by goal stack and PC register, to obtain program in virtual machine The storehouse of linguistic level.
Optionally, referring to Fig. 3 B, the device further include:
Detection module 303, for when detecting that local ccf layer generates abnormal signal, determining that it is different that local ccf layer occurs Often.
Optionally, referring to Fig. 3 C, the device further include:
Whether judgment module 304 is in designated program state for determining program, and designated program state, which is used to indicate, have been obtained Storehouse of the program fetch in virtual machine language layer;
First trigger module 305, for when program is not in designated program state, triggering creation module to create target heap Stack, and by specified function in the PC register that the address in the corresponding memory headroom of program is stored in program.
Optionally, referring to Fig. 3 D, the device further include:
Searching module 306, for searching specified function from the corresponding memory headroom of program;
Module 307 is obtained, for when finding specified function, obtaining specified function in the corresponding memory headroom of program Address.
Optionally, referring to Fig. 3 E, which includes:
First acquisition submodule 3021, for continuing to run program by goal stack and PC register, and after reforwarding During line program, according to address of the specified function stored in PC register in the corresponding memory headroom of program, from journey In the corresponding memory headroom of sequence, specified function is obtained;
Second acquisition submodule 3022 executes specified function for passing through, to obtain program in the heap of virtual machine language layer Stack.
Optionally, referring to Fig. 3 F, the device further include:
Storage module 308, for preset address to be stored in PC register;
Second trigger module 309, for during continuing to run program, by stored in PC register defaultly Location, to trigger the abnormality processing to program.
In the embodiments of the present disclosure, when the local ccf layer of program is abnormal, goal stack is created, and by specified letter Number is in the PC register that the address in the corresponding memory headroom of the program is stored in the program, since goal stack can be used for Store it is subsequent continue to run used instruction, data, address etc. when the program, therefore, the program PC register store Under the premise of having address, the program can be kept by goal stack and the PC register of the program program after reforwarding Row, and then during continuing to run the program, the program is obtained in the storehouse of virtual machine language layer.Since the program is at this The storehouse of virtual machine language layer would generally include program instruction, parameter used in the virtual machine language layer etc., therefore, root According to the program in the storehouse of the virtual machine language layer, technical staff is readily determined when the local ccf layer is abnormal, and is somebody's turn to do The calling hierarchical relationship of virtual machine language layer at this time, and then technical staff can close according to the calling level of the virtual machine language layer System quickly analyzes and position the reason of local ccf layer is abnormal, the working efficiency for the personnel that develop skill.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 4 and Fig. 5 is the structural schematic diagram of storehouse acquisition device provided in an embodiment of the present invention.The storehouse acquisition device can Think terminal or server.
Fig. 4 is a kind of block diagram of device 400 obtained for storehouse shown according to an exemplary embodiment.For example, dress Setting 400 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig. 4, device 400 may include following one or more components: processing component 402, memory 404, power supply Component 406, multimedia component 408, audio component 410, the interface 412 of input/output (I/O), sensor module 414, and Communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 402 may include that one or more processors 420 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These data are shown Example includes the instruction of any application or method for operating on device 400, contact data, and telephone book data disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of device 400.Power supply module 406 may include power management system System, one or more power supplys and other with for device 400 generate, manage, and distribute the associated component of power supply.
Multimedia component 408 includes the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When device 400 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike Wind (MIC), when device 400 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set Part 416 is sent.In some embodiments, audio component 410 further includes a loudspeaker, is used for output audio signal.
I/O interface 412 provides interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor module 414 can detecte the state that opens/closes of device 400, and the relative positioning of component, for example, it is described Component is the display and keypad of device 400, and sensor module 414 can be with 400 1 components of detection device 400 or device Position change, the existence or non-existence that user contacts with device 400,400 orientation of device or acceleration/deceleration and device 400 Temperature change.Sensor module 414 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 414 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 420 of device 400 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that mobile terminal is able to carry out a kind of storehouse acquisition methods, this method comprises:
When the local ccf layer of program is abnormal, goal stack is created, and by specified function in program is corresponding It deposits the address in space to be stored in the PC register of program, specified function is for obtaining program in the heap of virtual machine language layer Stack;
Program is continued to run by goal stack and PC register, to obtain program in the storehouse of virtual machine language layer.
Optionally, when the local ccf layer of program is abnormal, goal stack is created, and by specified function in program pair Before the address in memory headroom answered is stored in the PC register of program, further includes:
When detecting that local ccf layer generates abnormal signal, determine that local ccf layer is abnormal.
Optionally, goal stack is created, and address of the specified function in the corresponding memory headroom of program is stored in journey Before in the PC register of sequence, further includes:
Whether determining program is in designated program state, and designated program state, which is used to indicate, has obtained program in virtual machine language Say the storehouse of layer;
When program is not in designated program state, creation goal stack is executed, and specified function is corresponding in program Address in memory headroom is stored in the step in the PC register of program.
Optionally, by specified function in the PC register that the address in the corresponding memory headroom of program is stored in program it Before, further includes:
From the corresponding memory headroom of program, specified function is searched;
When finding specified function, address of the specified function in the corresponding memory headroom of program is obtained.
Optionally, program is continued to run by goal stack and PC register, to obtain program in virtual machine language layer Storehouse, comprising:
Program is continued to run by goal stack and PC register, and during continuing to run program, is posted according to PC Address of the specified function stored in storage in the corresponding memory headroom of program is obtained from the corresponding memory headroom of program Specified function;
By executing specified function, to obtain program in the storehouse of virtual machine language layer.
Optionally, program is continued to run by goal stack and PC register, to obtain program in virtual machine language layer After storehouse, further includes:
Preset address is stored in PC register;
During continuing to run program, by the preset address stored in PC register, to trigger to the different of program Often processing.
In the embodiments of the present disclosure, when the local ccf layer of program is abnormal, goal stack is created, and by specified letter Number is in the PC register that the address in the corresponding memory headroom of the program is stored in the program, since goal stack can be used for Store it is subsequent continue to run used instruction, data, address etc. when the program, therefore, the program PC register store Under the premise of having address, the program can be kept by goal stack and the PC register of the program program after reforwarding Row, and then during continuing to run the program, the program is obtained in the storehouse of virtual machine language layer.Since the program is at this The storehouse of virtual machine language layer would generally include program instruction, parameter used in the virtual machine language layer etc., therefore, root According to the program in the storehouse of the virtual machine language layer, technical staff is readily determined when the local ccf layer is abnormal, and is somebody's turn to do The calling hierarchical relationship of virtual machine language layer at this time, and then technical staff can close according to the calling level of the virtual machine language layer System quickly analyzes and position the reason of local ccf layer is abnormal, the working efficiency for the personnel that develop skill.
Fig. 5 is a kind of block diagram of device 500 obtained for storehouse shown according to an exemplary embodiment.For example, dress Setting 500 may be provided as a server.Referring to Fig. 5, device 500 includes processing component 522, further comprises one or more A processor, and the memory resource as representated by memory 532, can be by the finger of the execution of processing component 522 for storing It enables, such as application program.The application program stored in memory 532 may include it is one or more each correspond to The module of one group of instruction.
Device 500 can also include the power management that a power supply module 526 is configured as executive device 500, and one has Line or radio network interface 550 are configured as device 500 being connected to network and input and output (I/O) interface 558.Dress Setting 500 can operate based on the operating system for being stored in memory 532, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In addition, processing component 522 is configured as executing instruction, to execute a kind of storehouse acquisition methods, this method comprises:
When the local ccf layer of program is abnormal, goal stack is created, and by specified function in program is corresponding It deposits the address in space to be stored in the PC register of program, specified function is for obtaining program in the heap of virtual machine language layer Stack;
Program is continued to run by goal stack and PC register, to obtain program in the storehouse of virtual machine language layer.
Optionally, when the local ccf layer of program is abnormal, goal stack is created, and by specified function in program pair Before the address in memory headroom answered is stored in the PC register of program, further includes:
When detecting that local ccf layer generates abnormal signal, determine that local ccf layer is abnormal.
Optionally, goal stack is created, and address of the specified function in the corresponding memory headroom of program is stored in journey Before in the PC register of sequence, further includes:
Whether determining program is in designated program state, and designated program state, which is used to indicate, has obtained program in virtual machine language Say the storehouse of layer;
When program is not in designated program state, creation goal stack is executed, and specified function is corresponding in program Address in memory headroom is stored in the step in the PC register of program.
Optionally, by specified function in the PC register that the address in the corresponding memory headroom of program is stored in program it Before, further includes:
From the corresponding memory headroom of program, specified function is searched;
When finding specified function, address of the specified function in the corresponding memory headroom of program is obtained.
Optionally, program is continued to run by goal stack and PC register, to obtain program in virtual machine language layer Storehouse, comprising:
Program is continued to run by goal stack and PC register, and during continuing to run program, is posted according to PC Address of the specified function stored in storage in the corresponding memory headroom of program is obtained from the corresponding memory headroom of program Specified function;
By executing specified function, to obtain program in the storehouse of virtual machine language layer.
Optionally, program is continued to run by goal stack and PC register, to obtain program in virtual machine language layer After storehouse, further includes:
Preset address is stored in PC register;
During continuing to run program, by the preset address stored in PC register, to trigger to the different of program Often processing.
In the embodiments of the present disclosure, when the local ccf layer of program is abnormal, goal stack is created, and by specified letter Number is in the PC register that the address in the corresponding memory headroom of the program is stored in the program, since goal stack can be used for Store it is subsequent continue to run used instruction, data, address etc. when the program, therefore, the program PC register store Under the premise of having address, the program can be kept by goal stack and the PC register of the program program after reforwarding Row, and then during continuing to run the program, the program is obtained in the storehouse of virtual machine language layer.Since the program is at this The storehouse of virtual machine language layer would generally include program instruction, parameter used in the virtual machine language layer etc., therefore, root According to the program in the storehouse of the virtual machine language layer, technical staff is readily determined when the local ccf layer is abnormal, and is somebody's turn to do The calling hierarchical relationship of virtual machine language layer at this time, and then technical staff can close according to the calling level of the virtual machine language layer System quickly analyzes and position the reason of local ccf layer is abnormal, the working efficiency for the personnel that develop skill.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (11)

1. a kind of storehouse acquisition methods, which is characterized in that the described method includes:
When the local ccf layer of program is abnormal, goal stack is created, and by specified function in described program is corresponding It deposits the address in space to be stored in the program counter PC register of described program, the specified function is for obtaining the journey For sequence in the storehouse of virtual machine language layer, the goal stack, which is used to store, continues to run used instruction, number when described program According to and address;
Described program is continued to run by the goal stack and the PC register, and in the process for continuing to run described program In, according to address of the specified function stored in the PC register in the corresponding memory headroom of described program, from institute It states in the corresponding memory headroom of program, obtains the specified function, by executing the specified function, exist to obtain described program The storehouse of the virtual machine language layer.
2. the method as described in claim 1, which is characterized in that the creation goal stack, and by specified function in the journey Before address in the corresponding memory headroom of sequence is stored in the PC register of described program, further includes:
Judge whether described program is in designated program state, the designated program state, which is used to indicate, have been obtained described program and exist The storehouse of the virtual machine language layer;
When described program is not in designated program state, the creation goal stack is executed, and by specified function in the journey Address in the corresponding memory headroom of sequence is stored in the step in the PC register of described program.
3. the method as described in claim 1, which is characterized in that it is described by specified function in the corresponding memory headroom of described program In address be stored in the PC register of described program before, further includes:
From the corresponding memory headroom of described program, the specified function is searched;
When finding the specified function, address of the specified function in the corresponding memory headroom of described program is obtained.
4. the method as described in claim 1-3 any claim, which is characterized in that described to pass through the goal stack and institute It states PC register and continues to run described program, to obtain described program after the storehouse of the virtual machine language layer, further includes:
Preset address is stored in the PC register;
During continuing to run described program, by the preset address stored in the PC register, to trigger pair The abnormality processing of described program.
5. the method as described in claim 1, which is characterized in that described when the local ccf layer of program is abnormal, creation Goal stack, and address of the specified function in the corresponding memory headroom of described program is stored in the PC register of described program In before, further includes:
When detecting that the local ccf layer generates abnormal signal, determine that the local ccf layer is abnormal.
6. a kind of storehouse acquisition device, which is characterized in that described device includes:
Creation module, for creating goal stack, and by specified function described when the local ccf layer of program is abnormal Address in the corresponding memory headroom of program is stored in the program counter PC register of described program, and the specified function is used In obtaining described program in the storehouse of virtual machine language layer, the goal stack is made when continuing to run described program for storing Instruction, data and address;
Module is run, for continuing to run described program by the goal stack and the PC register, and is being continued to run During described program, according to the specified function stored in the PC register in the corresponding memory headroom of described program In address obtain the specified function from the corresponding memory headroom of described program, by executing the specified function, come Described program is obtained in the storehouse of the virtual machine language layer.
7. device as claimed in claim 6, which is characterized in that described device further include:
Judgment module, for judging whether described program is in designated program state, the designated program state is used to indicate Described program is obtained in the storehouse of the virtual machine language layer;
First trigger module, for when described program is not in designated program state, triggering the creation module creation target Storehouse, and by specified function in the PC register that the address in the corresponding memory headroom of described program is stored in described program.
8. device as claimed in claim 6, which is characterized in that described device further include:
Searching module, for searching the specified function from the corresponding memory headroom of described program;
Module is obtained, for when finding the specified function, obtaining the specified function in the corresponding memory of described program Address in space.
9. the device as described in claim 6-8 any claim, which is characterized in that described device further include:
Storage module, for preset address to be stored in the PC register;
Second trigger module, for during continuing to run described program, described in being stored in the PC register Preset address, to trigger the abnormality processing to described program.
10. device as claimed in claim 6, which is characterized in that described device further include:
Detection module, for when detecting that the local ccf layer generates abnormal signal, determining that the local ccf layer occurs It is abnormal.
11. a kind of storehouse acquisition device, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When the local ccf layer of program is abnormal, goal stack is created, and by specified function in described program is corresponding It deposits the address in space to be stored in the program counter PC register of described program, the specified function is for obtaining the journey For sequence in the storehouse of virtual machine language layer, the goal stack, which is used to store, continues to run used instruction, number when described program According to and address;
Described program is continued to run by the goal stack and the PC register, and in the process for continuing to run described program In, according to address of the specified function stored in the PC register in the corresponding memory headroom of described program, from institute It states in the corresponding memory headroom of program, obtains the specified function, by executing the specified function, exist to obtain described program The storehouse of the virtual machine language layer.
CN201610676036.0A 2016-08-16 2016-08-16 Storehouse acquisition methods and device Active CN106293629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610676036.0A CN106293629B (en) 2016-08-16 2016-08-16 Storehouse acquisition methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610676036.0A CN106293629B (en) 2016-08-16 2016-08-16 Storehouse acquisition methods and device

Publications (2)

Publication Number Publication Date
CN106293629A CN106293629A (en) 2017-01-04
CN106293629B true CN106293629B (en) 2019-08-06

Family

ID=57679423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610676036.0A Active CN106293629B (en) 2016-08-16 2016-08-16 Storehouse acquisition methods and device

Country Status (1)

Country Link
CN (1) CN106293629B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704356B (en) * 2017-06-12 2019-06-28 平安科技(深圳)有限公司 Exception stack information acquisition method, device and computer readable storage medium
CN108062257A (en) * 2017-12-28 2018-05-22 北京奇虎科技有限公司 A kind of method and system for handling stack information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211309A (en) * 2006-12-29 2008-07-02 中兴通讯股份有限公司 Embedded system progress abnormal tracking position-finding method
CN104156275A (en) * 2014-06-30 2014-11-19 青岛海信移动通信技术股份有限公司 Method and device for exception handling of Android platform
US9043768B2 (en) * 2011-01-14 2015-05-26 Oracle International Corporation System and method for efficient compilation and invocation of function type calls

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211309A (en) * 2006-12-29 2008-07-02 中兴通讯股份有限公司 Embedded system progress abnormal tracking position-finding method
US9043768B2 (en) * 2011-01-14 2015-05-26 Oracle International Corporation System and method for efficient compilation and invocation of function type calls
CN104156275A (en) * 2014-06-30 2014-11-19 青岛海信移动通信技术股份有限公司 Method and device for exception handling of Android platform

Also Published As

Publication number Publication date
CN106293629A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN109144360B (en) Screen lighting method, electronic device and storage medium
CN104991789B (en) Application program open method and device
CN105224462B (en) The recognition methods of control element and device
EP3109772A1 (en) Text input method and device
CN106406562A (en) Data processing method and device
CN107423106A (en) The method and apparatus for supporting more frame grammars
CN107370772A (en) Account login method, device and computer-readable recording medium
CN104679599A (en) Application program duplicating method and device
CN106202150A (en) Method for information display and device
CN107241495A (en) The split screen treating method and apparatus of terminal device
CN106598395A (en) Method and device for executing task
CN112241361A (en) Test case generation method and device and problem scene automatic reproduction method and device
CN105183571A (en) Function calling method and device
CN107132949A (en) anti-interference method, device, terminal and storage medium
CN106775626A (en) Notification message processing method and device
CN107544802A (en) device identification method and device
CN106293629B (en) Storehouse acquisition methods and device
CN104216969B (en) Read flag method and device
CN106843627A (en) The recording method of calendar event, device and equipment
CN104899059B (en) Operating system update method and device
CN106844717A (en) Webpage search display methods and device
CN106339452B (en) Event response method and device
CN107729439A (en) Obtain the methods, devices and systems of multi-medium data
CN106919302A (en) The method of controlling operation thereof and device of mobile terminal
CN106775240A (en) The triggering method of application program, device and terminal

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