CN109597703A - A kind of processing method, device and the equipment of Software Development Kit collapse - Google Patents

A kind of processing method, device and the equipment of Software Development Kit collapse Download PDF

Info

Publication number
CN109597703A
CN109597703A CN201811478482.6A CN201811478482A CN109597703A CN 109597703 A CN109597703 A CN 109597703A CN 201811478482 A CN201811478482 A CN 201811478482A CN 109597703 A CN109597703 A CN 109597703A
Authority
CN
China
Prior art keywords
software development
development kit
subprocess
collapse
state information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811478482.6A
Other languages
Chinese (zh)
Inventor
蔡剑文
王云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201811478482.6A priority Critical patent/CN109597703A/en
Publication of CN109597703A publication Critical patent/CN109597703A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Abstract

This application discloses processing method, device and the equipment of a kind of collapse of Software Development Kit, obtain the first running state information of the Software Development Kit in running target program;According to first running state information, judge whether the Software Development Kit collapses, obtains the first judging result;When first judging result indicates Software Development Kit collapse, the control signal of control the first subprocess starting is issued;First subprocess is for loading and executing the Software Development Kit.Pass through the above method, it is ensured that in Software Development Kit collapse, the function of Software Development Kit can be restored automatically, improve product operational reliability.

Description

A kind of processing method, device and the equipment of Software Development Kit collapse
Technical field
This application involves field of computer technology more particularly to a kind of processing methods of Software Development Kit collapse, dress It sets and equipment.
Background technique
Software Development Kit (abbreviation are as follows: SDK, foreign language full name: Software Development Kit) is usually one It is used to establish opening for application software for specific software package, software frame, hardware platform, operating system etc. by software engineer a bit Hair tool.At present in the computer client of feature-rich operating platform, it will usually use a large amount of Software Development Kit It goes to realize various functions, these Software Development Kit, which have certain probability in the use process of operating platform and program occur, to collapse It bursts.Due in operation, Software Development Kit being often loaded into the same process space on the line of operating platform and goes to execute, After Software Development Kit collapse, it will lead to the partial function failure of operating platform, reduce product operation in computer client Reliability.
Summary of the invention
The embodiment of the present application provides processing method, device and the equipment of a kind of Software Development Kit collapse, to solve Product function Problem of Failure caused by collapsing because of Software Development Kit improves product operational reliability.
A kind of processing method of Software Development Kit collapse provided by the embodiments of the present application, comprising:
Obtain the first running state information of the Software Development Kit in running target program;
According to first running state information, judge whether the Software Development Kit collapses, obtains the first judgement As a result;
When first judging result indicates Software Development Kit collapse, control the first subprocess starting is issued Control signal;First subprocess is for loading and executing the Software Development Kit.
Optionally, first running state information for obtaining the Software Development Kit in running target program, It specifically includes:
Issue the control signal for the information that catchs the exception;
The information for obtaining capture, obtains first running state information.
Optionally, after the control signal for issuing control the first subprocess starting, further includes:
Obtain the second operating status of the Software Development Kit in first subprocess;
According to second operating status, judge whether the Software Development Kit in first subprocess collapses It bursts, obtains the second judging result;
When second judging result indicates the collapse of the Software Development Kit in first subprocess, issue Control the control signal that first subprocess is closed;
Issue the control signal of control the second subprocess starting;Second subprocess is for loading and executing the software Development kit.
Optionally, before the control signal for issuing control the first subprocess starting, further includes:
When first running state information includes a not running status information, and first judging result expression institute It is not running state to first running state information when stating the Software Development Kit collapse in running target program The Software Development Kit setting collapse label of information.
A kind of processing unit of Software Development Kit collapse provided by the embodiments of the present application, comprising:
First obtains module, obtains the first operating status letter of the Software Development Kit in running target program Breath;
First judgment module judges whether the Software Development Kit collapses according to first running state information, Obtain the first judging result;
First subprocess starts control module, when first judging result indicates the Software Development Kit collapse When, issue the control signal of control the first subprocess starting;First subprocess is for loading and executing the software development Kit.
Optionally, described device further include:
Second obtains module, for obtaining the second operation shape of the Software Development Kit in first subprocess State;
Second judgment module, for judging the software in first subprocess according to second operating status Whether development kit collapses, and obtains the second judging result;
First subprocess closes control module, for indicating the institute in first subprocess when second judging result When stating Software Development Kit collapse, issues and control the control signal that first subprocess is closed;
Second subprocess starts control module, for issuing the control signal of control the second subprocess starting;Described second Subprocess is for loading and executing the Software Development Kit.
Optionally, described device further include:
Collapse label setup module, for including a not running status information when first running state information, and When first judging result indicates the collapse of the Software Development Kit in the running target program, to first fortune Row status information is the Software Development Kit setting collapse label of not running status information.
A kind of processing equipment of Software Development Kit collapse provided by the embodiments of the present application, comprising:
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one A processor executes, so that at least one described processor is able to carry out a kind of processing side of Software Development Kit collapse Method.
A kind of computer readable storage medium provided by the embodiments of the present application stores on the computer readable storage medium There is instruction, a kind of processing method of Software Development Kit collapse is realized when described instruction is executed by processor.
The embodiment of the present application provides processing method, device and the equipment of a kind of Software Development Kit collapse, this method It include: the first running state information for obtaining the Software Development Kit in running target program;According to first fortune Row status information, judges whether the Software Development Kit collapses, and obtains the first judging result;When first judging result When indicating Software Development Kit collapse, the control signal of control the first subprocess starting is issued;First subprocess For loading and executing the Software Development Kit.By the above method, the software development in target program in operation When kit collapses, the subprocess for being loaded with the Software Development Kit is automatically created, subprocess is called by starting Mode call the function of the Software Development Kit, can be automatic so that it is guaranteed that in Software Development Kit collapse Restore the function of Software Development Kit, improves product operational reliability.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is the flow diagram of the processing method provided by the embodiments of the present application for Software Development Kit collapse;
Fig. 2 is the flow diagram of the method provided by the embodiments of the present application for obtaining the first running state information;
Fig. 3 is the flow diagram of the processing method of SDK collapse in the first subprocess provided by the embodiments of the present application;
Fig. 4 is the relation schematic diagram of host process provided by the embodiments of the present application and subprocess;
Fig. 5 is the processing unit that a kind of Software Development Kit corresponding to Fig. 1 that this specification embodiment provides is collapsed Structural schematic diagram;
Fig. 6 is the processing equipment that a kind of Software Development Kit corresponding to Fig. 1 that this specification embodiment provides is collapsed Structural schematic diagram.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Fig. 1 is the flow diagram of the processing method provided by the embodiments of the present application for Software Development Kit collapse, Specifically includes the following steps:
S101: the first running state information of the Software Development Kit in running target program is obtained.
In computer science, comprising calling the program of subprocess to be known as host process, for popular, host process is a journey The part executed at first in sequence, can call some or certain subprocess in host process, after the subprocess end of run of calling Main program is still returned to continue to execute.For example, will use on operating platform (referred to as rear " operating platform ") in computer client A large amount of Software Development Kit goes to realize at least one function usually using a Software Development Kit.Running mesh Beacon course sequence means the corresponding program of the operating platform being currently running.When operating platform starts for the first time, preferentially start host process In Software Development Kit.
In this specification embodiment, the first running state information of the Software Development Kit in target program includes just Normal running state information or not running status information.When obtaining the first running state information, for a kind of Software Development Kit, First running state information of the whole Software Development Kit loaded in available target program, when in host process Software Development Kit collapse after starting the first subprocess, can also only obtain the of the Software Development Kit in subprocess One running state information.For example, when the Software Development Kit in host process is not collapsed, the first running state information of acquisition For a normal state information;When the Software Development Kit collapse in host process, when not creating the first subprocess, the of acquisition One running state information is a not running status information.When in host process Software Development Kit collapse, the first of starting Software Development Kit in subprocess is not collapsed, and the of the whole Software Development Kit loaded in target program is obtained When one running state information, the first running state information of acquisition is a not running status information and a normal operating condition Information.
S102: according to first running state information, judge whether the Software Development Kit collapses, obtain first Judging result.
In this specification embodiment, when the first running state information includes normal operating condition information, to described soft Whether part development kit, which collapses, is judged, the first obtained judging result indicates that the Software Development Kit is not collapsed. When the first running state information does not include normal operating condition information, sentence to whether the Software Development Kit collapses Disconnected, the first obtained judging result indicates that the Software Development Kit has been collapsed.
S103: when first judging result indicate the Software Development Kit collapse when, issue control first son into The control signal of Cheng Qidong;First subprocess is for loading and executing the Software Development Kit.
In this specification embodiment, specifically, when first judging result indicates that the Software Development Kit collapses When bursting, the first subprocess is created;It issues and controls the control instruction that first subprocess loads the Software Development Kit;Root The Software Development Kit in operating platform database is loaded into the first subprocess according to control instruction;It issues and calls described the The control instruction of one subprocess, control the first subprocess starting;To collapse in Software Development Kit, function can not be real In the case where existing, by calling the Software Development Kit loaded in the first subprocess, to realize the function of Software Development Kit Energy.
In practical applications, when first judging result indicates that the Software Development Kit in target program does not collapse When bursting, end step is jumped to, completes the detection of the primary collapse to a Software Development Kit and treatment process.
Method in Fig. 1, when Software Development Kit collapse in target program, automatically create one be loaded with it is described The subprocess of Software Development Kit calls the function of the Software Development Kit in such a way that subprocess is called in starting Can, so that it is guaranteed that the function of Software Development Kit can be restored automatically in Software Development Kit collapse, improve product (target program) operational reliability.
Method based on Fig. 1, this specification embodiment additionally provide some specific embodiments of this method, carry out below Explanation.
In this specification embodiment, Fig. 2 is the method provided by the embodiments of the present application for obtaining the first running state information Flow diagram, can specifically include:
Step S201: the control signal for controlling the Software Development Kit operation is issued.
In practical application, it can be issued according to default detection frequency or default detection moment and control the Software Development Tools Wrap the control signal of operation.Wherein, it presets detection frequency and means the detection frequency to Software Development Kit pre-set, As detected n times per minute;Default detection moment is time point A at the time of meaning starting detection operation.When host process and subprocess In when being all loaded with the Software Development Kit, can only issue the Software Development Kit operation in control subprocess Control signal.
Further, preset detection frequency or default detection moment can self-setting as the case may be, for example, being directed to U.S. face Software Development Kit (i.e. U.S. face SDK) in operating platform, since human eye is seeing the static state per second more than 24 frames Continuous dynamic video will be considered when picture, if being 1 time/second by default detection set of frequency, it is assumed that flat obtaining operation After U.S. face SDK in platform does not collapse 0.01 second of this judging result, the U.S. face SDK in operating platform collapses, due to Also need just to run for 0.99 second SDK collapse processing method again, therefore, in this 0.99 second the U.S. face function of operating platform without Method uses, if user uses beauty Yan Gongneng in this 0.99 second just, at this point, user will be seen that the beautiful Yan Gongneng of operating platform Failure, to influence user to the satisfaction of operating platform.If being 50 times/second by default detection set of frequency, at this point, even if beauty Face SDK collapse still can guarantee that operating platform can restore beautiful Yan Gongneng for every 0.02 second, and operating platform can be per second with 50 frames Uniform frequency provides a user the image after U.S. face function treatment, and user will be unable to find collapsing for U.S. face SDK by naked eyes Burst phenomenon, thus after U.S. face SDK collapses, guarantee each function of operating platform still can normal use, promote the satisfaction of user Degree.In the present embodiment, for U.S. face SDK, user can also set other numbers for execution number per second as the case may be It is worth, is not specifically limited in this embodiment in the present embodiment.
Further, data report Software Development Kit (i.e. data report SDK) for obtain and upload button click The data such as project, number of clicks.According to statistical data, when user uses mouse, each second is at most clicked 17 times, to guarantee user Clicking mouse every time can be reported SDK to identify and report by data, and it is respectively the integer that numerical value is 10 that default detection moment, which is arranged, The millisecond moment of multiple, i.e., it is per second to data report SDK whether collapse carry out detection 100 times, to ensure the click information of user It by 100% identification and can report.
Step S202: the control signal for the information that catchs the exception is issued.
In practical application, why SDK program, which is abnormal, even collapses, and is occurred sternly in code implementation The problem of weight is abnormal to be caused, this exception not necessarily code itself.Because computer environment factor difference caused by it is abnormal Also very common, if SDK on the machine of virus infection when running, certain operations are executed after viral injection process causes SDK abnormal; SDK conflicts with the generation of the software (such as antivirus software, input method) of certain injection processes causes SDK abnormal;Certain software modifications Certain system libraries of operating system cause routine call system library abnormal;Certain operations of SDK program are prevented from causing SDK different Often (such as rights concerns or antivirus software intercept).Specifically, exception can be used according to the control signal for the information that catchs the exception The exception or mistake that the SDK in target program that catching method goes capture to be currently running occurs in the process of running, or using different The exception or mistake that normal catching method goes the program code of capture SDK to be occurred;It can certainly go from the work log of SDK Remove capture crash log.When being all loaded with the Software Development Kit in host process and subprocess, capture can be only issued The control signal of the exception information of SDK in subprocess.
Step S203: obtaining the information of capture, obtains first running state information.
In practical application, when in the information of the capture of acquisition including at least one normal operating condition information, the first fortune Row status information indicates that the Software Development Kit in running target program is in normal operating condition.When the capture of acquisition Information in include is all error message, exception information, error code, abnormality code or when error running result, the first fortune Row status information indicates that the Software Development Kit in running target program is in not running state.It is also possible to work as and catches When the information obtained indicates all to capture crash log for any one SDK, the first running state information indicates running mesh Software Development Kit in beacon course sequence is in not running state, when the information expression of capture does not capture at least one SDK's When crash log, the first running state information indicates that the Software Development Kit in running target program is in operation shape State.
In above-mentioned steps, according to default detection frequency or default detection moment, issues and control the Software Development Kit The control signal of operation, the exception or mistake that capture SDK is occurred in the process of running, or the program code of capture SDK are sent out Raw exception or mistake obtains first running state information.Personalized the first operating status of acquisition letter is provided for user Breath method, better meets user demand.
In this specification embodiment, Fig. 3 is the processing side of SDK collapse in the first subprocess provided by the embodiments of the present application The flow diagram of method, can specifically include:
Step S301: the second operating status of the Software Development Kit in first subprocess is obtained.
In practical application, the SDK in the first subprocess is in the process of running it can also happen that collapse, therefore, sub to first Second operating status of the Software Development Kit in process is detected.It is obtained in the present embodiment in the first subprocess It is obtained in the method for second operating status of the Software Development Kit and step S101 soft in running target program The method of first running state information of part development kit is identical, and details are not described herein again.
Step S302: according to second operating status, judge the Software Development Tools in first subprocess Whether packet collapses, and obtains the second judging result.
Judge whether the Software Development Kit in first subprocess collapses in practical application, in the present embodiment Method and step S102 in judge the method the phase whether Software Development Kit in the running target program collapses Together, details are not described herein again.
Step S303: when second judging result indicates that the Software Development Kit in first subprocess collapses When bursting, issues and control the control signal that first subprocess is closed.
In practical application, a SDK is usually only executed in a subprocess.When the software in the first subprocess is opened When sending out kit collapse, needing first will be after the first subprocess be closed, the step of could executing the first subprocess of creation newly, and newly the One subprocess is for loading and executing the Software Development Kit collapsed in the first subprocess.
Step S304: the control signal of control the second subprocess starting is issued;Second subprocess is for loading and holding The row Software Development Kit.
In above-mentioned steps, after the SDK in host process collapses, the SDK in the first subprocess of starting also collapses When, by closing the first subprocess, and the new subprocess for being loaded with the SDK is created, thus in host process and first When SDK in subprocess collapses, the second subprocess can be started rapidly;By calling the load in the second subprocess SDK realizes the function of the SDK of collapse, further improves the operational reliability of operating platform.
After closing the first subprocess, and the new subprocess for being loaded with the SDK is created, is solving SDK function While energy Problem of Failure, resource occupation is reduced, operating platform is improved and uses fluency.
In this specification embodiment, after the control signal for issuing control the second subprocess starting, further includes:
Circular treatment is carried out to the SDK in the second subprocess using the method in above-mentioned steps according to preset condition, is used Method in above-mentioned steps can construct the scheme of a set of 100% reliability service for operating platform, prevent SDK in operating platform Disabler promotes user satisfaction.
In this specification embodiment, before the control signal for issuing control the first subprocess starting, it can also wrap It includes:
When first running state information includes a not running status information, and first judging result expression institute It is not running state to first running state information when stating the Software Development Kit collapse in running target program The Software Development Kit setting collapse label of information.
In practical applications, when obtaining the first running state information of whole SDK loaded in target program, described first Running state information includes a not running status information, and first judging result indicates the running target program In Software Development Kit collapse when, corresponding is the SDK collapse loaded in host process, and inactive corresponding subprocess Situation;It is marked at this point, a collapse is arranged in the SDK to collapse in host process.
Also available first running state information is the loading position of the SDK of not running status information, when the load When position is host process, setting collapse label.Certainly when the loading position is subprocess, collapse label also can be set.
In above-mentioned steps, for prompting SDK to be in collapse conditions, collapse label can also be used to mark SDK journey collapse label The code segment to malfunction in sequence, to the positioning of wrong factor when convenient for being repaired to SDK.
Fig. 4 is the relation schematic diagram of host process provided by the embodiments of the present application and subprocess.As shown in figure 4, working as host process After the first Software Development Kit collapse in 401, the subprocess 402 for being loaded with the first Software Development Kit is called, with true The function of protecting the first Software Development Kit may be implemented.
In practical application, before executing the method in Fig. 1, can also include:
Determine the Software Development Kit of required load in the target program;
The detection frequency that each Software Development Kit is arranged is identical, according to preset to each Software Development Kit Processing sequence, the method in application drawing 1 sequentially handle each Software Development Kit.
For example, it is assumed that include three kinds of SDK in main program, to the processing sequence of each Software Development Kit by after arriving first respectively SDK, recognition of face SDK and U.S. face SDK are reported for data.
Assuming that the data in host process report SDK to collapse after operating platform starting, start in the first data man who brings news of appointment into Journey;Recognition of face SDK collapse in host process, starts the first recognition of face subprocess;U.S. face SDK in host process does not collapse The step of bursting, carrying out processing one time to operating platform is specifically as follows:
Obtain the first running state information that the first data report the data in subprocess to report SDK;
Judge that the first data report the data in subprocess to report whether SDK collapses;
If so, issuing the control signal that the second data of control report subprocess to start, the second data report subprocess to use SDK is reported in loading and executing the data;If it is not, then going to the recognition of face in step the first recognition of face subprocess of acquisition The first running state information of SDK.
Obtain the first running state information of the recognition of face SDK in the first recognition of face subprocess;
Judge whether the recognition of face SDK in the first recognition of face subprocess collapses;
If so, issuing the control signal of control the second recognition of face subprocess starting, the second recognition of face subprocess is used In loading and execute the recognition of face SDK;If it is not, then going to the first operation shape for the U.S. face SDK that step obtains in host process State information;
Obtain the first running state information of the U.S. face SDK in host process;
Judge whether the U.S. face SDK in host process collapses;
If so, issuing the control signal of the U.S. face subprocess starting of control first;If it is not, then terminating.
In above-mentioned steps, the data in subprocess are reported to report the first of SDK to run shape by directly acquiring the first data State information eliminates the processing step that the data collapsed in host process are reported with SDK, improves the operation of collapse processing method Efficiency.Using the above method, by after the SDK collapse in the first subprocess, call be loaded with the second son of corresponding SDK into Journey can construct the scheme of a set of 100% reliability service for operating platform, prevent the disabler of SDK in operating platform, be promoted and used Family satisfaction.
Based on same thinking, this specification embodiment additionally provides the corresponding device of the above method.Fig. 5 is this specification The structural schematic diagram for the processing unit that a kind of Software Development Kit corresponding to Fig. 1 that embodiment provides is collapsed.Such as Fig. 5 institute Show, the apparatus may include:
First obtains module 501, obtains the first operating status of the Software Development Kit in running target program Information;
First judgment module 502 judges whether the Software Development Kit collapses according to first running state information It bursts, obtains the first judging result;
First subprocess starts control module 503, when first judging result indicates that the Software Development Kit collapses When bursting, the control signal of control the first subprocess starting is issued;First subprocess is opened for loading and executing the software Send out kit.
Device in Fig. 5, when Software Development Kit collapse in target program, automatically create one be loaded with it is described The subprocess of Software Development Kit calls the function of the Software Development Kit in such a way that subprocess is called in starting Can, so that it is guaranteed that the function of Software Development Kit can be restored automatically in Software Development Kit collapse, improve product (target program) operational reliability.
Optionally, described device further include:
Second obtains module, for obtaining the second operation shape of the Software Development Kit in first subprocess State;
Second judgment module, for judging the software in first subprocess according to second operating status Whether development kit collapses, and obtains the second judging result;
First subprocess closes control module, for indicating the institute in first subprocess when second judging result When stating Software Development Kit collapse, issues and control the control signal that first subprocess is closed;
Second subprocess starts control module, for issuing the control signal of control the second subprocess starting;Described second Subprocess is for loading and executing the Software Development Kit.
Optionally, described device further include:
Collapse label setup module, for including a not running status information when first running state information, and When first judging result indicates the collapse of the Software Development Kit in the running target program, to first fortune Row status information is the Software Development Kit setting collapse label of not running status information.
Fig. 6 is the processing equipment that a kind of Software Development Kit corresponding to Fig. 1 that this specification embodiment provides is collapsed Structural schematic diagram.As shown in fig. 6, the equipment 600 includes:
At least one processor 610;And
The memory 630 being connect at least one described processor communication;Wherein,
The memory 630 is stored with the instruction 620 that can be executed by least one described processor 610, described instruction quilt At least one described processor 610 executes, so that at least one described processor 610 can be realized above-mentioned Software Development Kit The embodiment of the processing method of collapse, concrete function realize the explanation referred in embodiment of the method, and details are not described herein.
Equipment in Fig. 6, when Software Development Kit collapse in target program, automatically create one be loaded with it is described The subprocess of Software Development Kit calls the function of the Software Development Kit in such a way that subprocess is called in starting Can, so that it is guaranteed that the function of Software Development Kit can be restored automatically in Software Development Kit collapse, improve product (target program) operational reliability.
Based on same thinking, this specification embodiment additionally provides a kind of computer readable storage medium, the calculating It is stored with instruction on machine readable storage medium storing program for executing, above-mentioned Software Development Kit collapse can be realized when described instruction is executed by processor Processing method.
It should be noted that the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also including Other elements that are not explicitly listed, or further include for this process, method, commodity or the intrinsic element of equipment. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, there is also other identical elements in commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (9)

1. a kind of processing method of Software Development Kit collapse characterized by comprising
Obtain the first running state information of the Software Development Kit in running target program;
According to first running state information, judge whether the Software Development Kit collapses, obtains the first judging result;
When first judging result indicates Software Development Kit collapse, the control of control the first subprocess starting is issued Signal processed;First subprocess is for loading and executing the Software Development Kit.
2. the method as described in claim 1, which is characterized in that the software development work obtained in running target program Have the first running state information of packet, specifically include:
Issue the control signal for the information that catchs the exception;
The information for obtaining capture, obtains first running state information.
3. the method as described in claim 1, which is characterized in that it is described issue control the first subprocess starting control signal it Afterwards, further includes:
Obtain the second operating status of the Software Development Kit in first subprocess;
According to second operating status, judge whether the Software Development Kit in first subprocess collapses, obtains To the second judging result;
When second judging result indicates the collapse of the Software Development Kit in first subprocess, control is issued The control signal that first subprocess is closed;
Issue the control signal of control the second subprocess starting;Second subprocess is for loading and executing the software development Kit.
4. the method as described in claim 1, which is characterized in that it is described issue control the first subprocess starting control signal it Before, further includes:
When first running state information includes a not running status information, and first judging result expression fortune It is not running status information to first running state information when Software Development Kit in target program in row is collapsed Software Development Kit setting collapse label.
5. a kind of processing unit of Software Development Kit collapse characterized by comprising
First obtains module, obtains the first running state information of the Software Development Kit in running target program;
First judgment module judges whether the Software Development Kit collapses according to first running state information, obtains First judging result;
First subprocess starts control module, when first judging result indicates Software Development Kit collapse, hair The control signal of the first subprocess starting is controlled out;First subprocess is for loading and executing the Software Development Tools Packet.
6. device as claimed in claim 5, which is characterized in that described device further include:
Second obtains module, for obtaining the second operating status of the Software Development Kit in first subprocess;
Second judgment module, for judging the software development in first subprocess according to second operating status Whether kit collapses, and obtains the second judging result;
First subprocess closes control module, for indicating described soft in first subprocess when second judging result When part development kit collapses, issues and control the control signal that first subprocess is closed;
Second subprocess starts control module, for issuing the control signal of control the second subprocess starting;It is described second son into Journey is for loading and executing the Software Development Kit.
7. device as claimed in claim 5, which is characterized in that described device further include:
Collapse label setup module, for including a not running status information when first running state information, and it is described When first judging result indicates the collapse of the Software Development Kit in the running target program, to the first operation shape State information is the Software Development Kit setting collapse label of not running status information.
8. a kind of processing equipment of Software Development Kit collapse characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one It manages device to execute, so that at least one described processor is able to carry out the software development work as described in claim 1-4 any one The processing method of tool packet collapse.
9. a kind of computer readable storage medium is stored with instruction on the computer readable storage medium, which is characterized in that institute State the step of realizing any one method described in claim 1-4 when instruction is executed by processor.
CN201811478482.6A 2018-12-05 2018-12-05 A kind of processing method, device and the equipment of Software Development Kit collapse Pending CN109597703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811478482.6A CN109597703A (en) 2018-12-05 2018-12-05 A kind of processing method, device and the equipment of Software Development Kit collapse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811478482.6A CN109597703A (en) 2018-12-05 2018-12-05 A kind of processing method, device and the equipment of Software Development Kit collapse

Publications (1)

Publication Number Publication Date
CN109597703A true CN109597703A (en) 2019-04-09

Family

ID=65961063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811478482.6A Pending CN109597703A (en) 2018-12-05 2018-12-05 A kind of processing method, device and the equipment of Software Development Kit collapse

Country Status (1)

Country Link
CN (1) CN109597703A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520934A (en) * 2011-11-29 2012-06-27 深圳市万兴软件有限公司 Data previewing method and relevant device
CN105224395A (en) * 2015-10-10 2016-01-06 上海斐讯数据通信技术有限公司 A kind of process management method and system
CN105653386A (en) * 2015-12-30 2016-06-08 广东欧珀移动通信有限公司 Process breakdown processing method and terminal equipment
WO2017219589A1 (en) * 2016-06-19 2017-12-28 乐视控股(北京)有限公司 Method and system for processing program crash message
CN107861865A (en) * 2017-08-29 2018-03-30 平安普惠企业管理有限公司 SDK localization methods, equipment and computer-readable recording medium
CN108255585A (en) * 2016-12-28 2018-07-06 北京奇虎科技有限公司 SDK exception controls and application program operation method, device and its equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520934A (en) * 2011-11-29 2012-06-27 深圳市万兴软件有限公司 Data previewing method and relevant device
CN105224395A (en) * 2015-10-10 2016-01-06 上海斐讯数据通信技术有限公司 A kind of process management method and system
CN105653386A (en) * 2015-12-30 2016-06-08 广东欧珀移动通信有限公司 Process breakdown processing method and terminal equipment
WO2017219589A1 (en) * 2016-06-19 2017-12-28 乐视控股(北京)有限公司 Method and system for processing program crash message
CN108255585A (en) * 2016-12-28 2018-07-06 北京奇虎科技有限公司 SDK exception controls and application program operation method, device and its equipment
CN107861865A (en) * 2017-08-29 2018-03-30 平安普惠企业管理有限公司 SDK localization methods, equipment and computer-readable recording medium

Similar Documents

Publication Publication Date Title
US20150100829A1 (en) Method and system for selecting and executing test scripts
CN108427616B (en) Background program monitoring method and monitoring device
US20150100832A1 (en) Method and system for selecting and executing test scripts
EP2357559A1 (en) Performing a workflow having a set of dependancy-related predefined activities on a plurality of task servers
US20150100830A1 (en) Method and system for selecting and executing test scripts
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
US20150100831A1 (en) Method and system for selecting and executing test scripts
CN106775981B (en) Process processing method and device and computer readable medium
CN106815063B (en) Control platform of automation equipment with multiple interaction channels
CN109597653A (en) Method, BIOS and the BMC of BIOS and BMC command interaction
CN108287769A (en) A kind of information processing method and device
US8332069B2 (en) Fault tolerance method and apparatus for robot software component
CN104391754A (en) Method and device for processing task exception
CN113037774B (en) Security management method, device, equipment and machine readable storage medium
CN106919489A (en) Monitoring method and device that the application interface of application program is exited extremely
CN112817883A (en) Method, device and system for adapting interface platform and computer readable storage medium
CN109597703A (en) A kind of processing method, device and the equipment of Software Development Kit collapse
CN107092528A (en) A kind of distributed task dispatching method, apparatus and system
US20090083747A1 (en) Method for managing application programs by utilizing redundancy and load balance
CN116089040A (en) Service flow scheduling method and device, electronic equipment and storage medium
CN108984238A (en) Gesture processing method, device and the electronic equipment of application program
JP2008123559A (en) Plc simulator device, program for simulation, and recording medium with the program recorded thereon
CN108375964A (en) A kind of dialog mode device management method and device
CN109408104B (en) Method and device for acquiring game integration information
CN114327673A (en) Task starting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20190409

Assignee: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000031

Denomination of invention: A processing method, device and equipment for software development kit crash

License type: Common License

Record date: 20210125