CN108153676A - Debugging management method, apparatus, storage medium and terminal device - Google Patents

Debugging management method, apparatus, storage medium and terminal device Download PDF

Info

Publication number
CN108153676A
CN108153676A CN201711434079.9A CN201711434079A CN108153676A CN 108153676 A CN108153676 A CN 108153676A CN 201711434079 A CN201711434079 A CN 201711434079A CN 108153676 A CN108153676 A CN 108153676A
Authority
CN
China
Prior art keywords
debugging
item
target
identified
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711434079.9A
Other languages
Chinese (zh)
Other versions
CN108153676B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711434079.9A priority Critical patent/CN108153676B/en
Publication of CN108153676A publication Critical patent/CN108153676A/en
Application granted granted Critical
Publication of CN108153676B publication Critical patent/CN108153676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A kind of debugging management method, apparatus, storage medium and the terminal device provided in the embodiment of the present application, this method is by judging whether application item to be identified meets preset rules;If the application item to be identified meets preset rules, the application item to be identified is determined as target debugging item;The startup information of the target debugging item is obtained, and the startup information of target debugging item is stored to debugging and calls library.By using above-mentioned technical proposal, the target for needing to be managed debugging item can be determined by preset rules, to be managed collectively to debugging item, user is facilitated to inquire debugging item corresponding with calling, improves the debugging item rate of user.

Description

Debugging management method, apparatus, storage medium and terminal device
Technical field
The invention relates to computer debugging technique field more particularly to a kind of debugging management method, apparatus, storages Medium and terminal device.
Background technology
With the development of mobile intelligent terminal equipment, the function that terminal device can be realized is more and more, is set including terminal The types of applications program (APP, Application) of standby upper installation.It is typically necessary the various functions of the operation to terminal device It is debugged, to investigate the mistake in operational process, but as the function items on terminal device are more and more, needs what is carried out Debugging is also more and more.And user is needed to find corresponding debugging item in numerous application items in systems in the prior art and is adjusted Examination, as the debugging item on terminal device is more and more, the operation that corresponding debugging item is also found to user is brought much not Just, cause debugging efficiency low.
Invention content
The embodiment of the present application provides a kind of debugging management method, apparatus, storage medium and terminal device, can improve user Debugging efficiency.
In a first aspect, the embodiment of the present application provides a kind of debugging management method, including:
Judge whether application item to be identified meets preset rules;
If the application item to be identified meets preset rules, the application item to be identified is determined as target debugging ;
The startup information of the target debugging item is obtained, and the startup information of target debugging item is stored to debugging and is adjusted Use library.
Second aspect, the embodiment of the present application provide a kind of debugging management device, including:
Regular judgment module, for judging whether application item to be identified meets preset rules;
Target determination module, if meeting preset rules for the application item to be identified, by the application to be identified Item is determined as target debugging item;
Start information storage module, for obtaining the startup information of the target debugging item, and the target is debugged into item Startup information store to debugging call library.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the debugging management method as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal device, including memory, processor and are stored in storage And can be in the computer program of processor operation on device, the processor is realized when performing the computer program as the application is real Apply the debugging management method described in example.
A kind of debugging management scheme provided in the embodiment of the present application, by judging it is default whether application item to be identified meets Rule;If the application item to be identified meets preset rules, the application item to be identified is determined as target debugging item;It obtains The startup information of the target debugging item is taken, and the startup information of target debugging item is stored to debugging and calls library.Pass through Using above-mentioned technical proposal, the target for needing to be managed debugging item can be determined by preset rules, to be carried out to debugging item Unified management facilitates user to inquire debugging item corresponding with calling, improves the debugging item rate of user.
Description of the drawings
Fig. 1 is a kind of flow diagram of debugging management method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another debugging management method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another debugging management method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another debugging management method provided by the embodiments of the present application;
Fig. 5 is the flow diagram of another debugging management method provided by the embodiments of the present application;
Fig. 6 is a kind of structure diagram of debugging management device provided by the embodiments of the present application;
Fig. 7 is a kind of structure diagram of terminal device provided by the embodiments of the present application;
Fig. 8 is the structure diagram of another terminal device provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that It is that specific embodiment described herein is used only for explaining the application rather than the restriction to the application.It further needs exist for illustrating , part relevant with the application rather than entire infrastructure are illustrated only for ease of description, in attached drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of sequence, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Terminal device may include smart mobile phone, tablet computer and other equipment with operating system.Terminal device, terminal Application program or other function items in equipment need to debug its operational process at runtime, corresponding to obtain Daily record (log) file.A variety of debugging plug-in units also are provided in the system of terminal device, are respectively used to realize different debugging operations. The application can be inquired and be started calling for user by being managed concentratedly to multiple debugging plug-in units to multiple debugging plug-in units.
Fig. 1 is a kind of flow diagram of debugging management method provided by the embodiments of the present application, and this method can be by debugging Managing device performs, and wherein the device can be generally integrated in terminal device, also may be used by software and or hardware realization It is equipped in the equipment of operating system with being integrated in other.As shown in Figure 1, this method includes:
S110, judge whether application item to be identified meets preset rules.
Wherein, the application item to be identified can be the program (program) or application program for being used to implement different function (Application), multiple application programs to be identified are stored in the system of terminal device, application item to be identified includes:With In the application item for realizing system function, the application item for realizing user function and including debugging plug-in unit, debugging plug-in unit is used for not It is debugged with application item.Debugging plug-in unit and other application item belong to application item to be identified, the entity text of application item to be identified Part can be using APMB package, the packaging file of the function of specially corresponding realization.Illustratively, if terminal device System is Android (Android) system, then application item to be identified is apk (AndroidPackage, the installation in Android system Packet) file, corresponding application program or program by performing apk files and can be mounted in Android system by Android system, Apk files are actually a kind of compressed package form, and the correlation text of corresponding application program or program is also included in apk files Part.
The preset rules are the rule for distinguishing the classification of application item to be identified, can be by judging application to be identified Entity file in the difference of the information included distinguish different application items to be identified, can be distinguished and treated by preset rules Whether identification application item is target debugging item.
If S111, the application item to be identified meet preset rules, the application item to be identified is determined as target Debug item.
Debugging plug-in unit of the target debugging item to be used to implement different debugging functions on terminal device, debugging plug-in unit can be with For being debugged to other application item, can be also used for debugging the pre-set programs on terminal device or for pair The function module run on terminal device.Optionally, the target debugging item may include:Dump controls, red screen put forward wrong, dynamic Log, fall control, configuration Devicelog, Systrace tool, log frequency monitorings, Audio debugging and touch screen debugging etc..Show Example property, wherein dynamic log is dynamic generation log.Systrace tools are that performance data sampling is used to implement in Android system With the tool of analysis, user's intuitively analysis system operation bottleneck, and improve system performance can be helped.The target debugs item It can be the default debugging plug-in unit that developer is written in the development phase in system.
S112, the startup information for obtaining target debugging item, and by the startup information of target debugging item store to Library is called in debugging.
The information that starts is included for starting the information that target debugs item, can be the target debugging illustratively The corresponding module information of item, the module information can be used for opening the interface of corresponding function items.Start information can also be It is used to open the routing information of target debugging item storage address.
The startup information of all targets debugging item on terminal device is all stored to debugging and calls library, so that user can be with Library is called to obtain the startup information that target debugs item, and unified pipe is carried out to the target debugging item on terminal device by debugging Reason, inquiry or calling.It can be that storage folder, database or server etc. are used for the work stored that library is called in the debugging Tool, the embodiment of the present application are not limited thereto.
Optionally, it after the startup information by target debugging item stores and calls library to debugging, further includes:
When target debugging item is chosen, is called from the debugging and startup corresponding with target debugging item is determined in library Information.
Wherein it is possible to select corresponding target debugging item by operational order input by user or according in system The call instruction in portion selects corresponding target debugging item.When target debugging item is chosen, it is possible to be called in library from debugging Corresponding startup information is found, and then corresponding target debugging item can be started according to information is started.Without in terminal device System in look for the debugging item that user needs in many application items for storing.It only needs to call library by accessing debugging, you can Target debugging item on terminal device is inquired and called, the operating efficiency of user's debugging can be improved.
Fig. 2 is the flow diagram of another debugging management method provided by the embodiments of the present application, in above-described embodiment institute On the basis of the technical solution of offer, optionally, as shown in Fig. 2, this method includes:
S120, judge whether application item to be identified meets preset rules.
If S121, the application item to be identified meet preset rules, the application item to be identified is determined as target Debug item.
S122, the startup information for obtaining target debugging item, and by the startup information of target debugging item store to Library is called in debugging.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
S123, debugging selection instruction input by user is received, determines to select corresponding mesh according to the debugging selection instruction Mark debugging item.
Wherein it is possible to corresponding target is selected to debug item by debugging selection instruction input by user.The debugging choosing It is the operational order for selecting the debugging item of user demand to select instruction, can be that user is referred to by the operation of touch screen input Order or the operational order inputted by physical button or the operational order inputted by other equipment, can also be that user is pre- The internal system call instruction first set.According to debugging selection instruction input by user, it may be determined that corresponding target debugs item; Illustratively, if input by user is text information corresponding with the title of target debugging item, according to text input by user Word information determines corresponding target debugging item.
Optionally, can the corresponding mesh of selection be determined in library is called in debugging according to debugging selection instruction input by user Mark debugging item.The target debugging item stored in library on terminal device is called in debugging, is selected in library is called in debugging, can be with The range of choice of user is further reduced, improves the search efficiency of user.For example, user can be by keying in Query Information " systrace ", then can be quick in library is called in debugging according to debugging selection instruction input by user as debugging selection instruction Determine that target debugging item is Systrace tools.
S124, target debugging item be chosen when, from it is described debugging call library in determine with the target debug item it is corresponding Startup information.
The startup information that target debugging item all in terminal device is stored in library is called in debugging, i.e. debugging is called in library Store the correspondence that target debugging Xiang Yuqi starts information.It is determined by debugging selection instruction input by user corresponding When target debugs item, corresponding startup information can be determined in library is called in debugging.And then use can be started according to information is started The selected target debugging item in family, carries out corresponding debugging efforts.
S125, corresponding target debugging item is started according to the startup information.
Debugging selection instruction is inputted according to user, calls library that can realize the target to terminal device by accessing to debug Debugging item is inquired and is called, and user is facilitated to be managed target debugging item, improves the operating efficiency of user's debugging.
Optionally, receiving debugging selection instruction input by user can be implemented by following manner:
Debugging selection instruction input by user is received by default interface;Wherein, the default interface is pre- independently of system If file manager.
Wherein, the default interface can be the interface shown on the screen of terminal device.It is described by default Interface receives debugging selection instruction input by user, can be that user is instructed by presetting the touch operation that interface inputs, can be with At least one of operational order is keyed in including slip instruction, click commands and word.
The systemic presupposition file manager can be preset file manager or in terminal in terminal device That is installed in equipment is used to implement the application program of file management, such as file great master.Systemic presupposition file manager can be right File in the system of terminal device is managed, and the behaviour such as can the file in system be deleted, changes, copies and be moved Make.Systemic presupposition file management stores the storage catalogue by traversing the storage catalogue of local All Files, and then can be with All Files are managed.
The default interface of the embodiment of the present application independently of systemic presupposition file manager, i.e., described default interface not with system The management function of default file manager is coupled, and the embodiment of the present application debugs the management of item by rebuilding a target Function is that default interface is used.If user by default interface keys in Query Information to be inquired and selection target When debugging item, inquired by systemic presupposition file manager, systemic presupposition file manager is in systems in All Files It is inquired, much debugs the incoherent file of item with target in addition to target debugging item can also inquire, reduce looking into for user Ask efficiency.So by the way that default interface is provided separately from systemic presupposition file manager, the inquiry effect of user can be improved Rate.
Optionally, after the application item to be identified to be determined as to target debugging item, packet management service can also be passed through (PackageManagerService) target debugging item is managed, to realize inquiry and tune of the user to target debugging item With.Packet management service is one of most common service in Android system, and packet management service is used for the packet in Android system (Package) file is managed, and can realize peace loading, unloading, information inquiry of application item etc..
Fig. 3 is the flow diagram of another debugging management method provided by the embodiments of the present application, in above-described embodiment institute On the basis of the technical solution of offer, optionally, as shown in figure 3, this method includes:
S130, judge whether application item to be identified meets preset rules.
If S131, the application item to be identified meet preset rules, the application item to be identified is determined as target Debug item.
S132, the startup information for obtaining target debugging item, and by the startup information of target debugging item store to Library is called in debugging.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
S133, the startup information debugged and called in library is obtained.
S134, the corresponding target debugging item of the startup information is determined.
Wherein, all startup information in the debugging calling library are obtained, and determine all startup information pair All target debugging items answered, you can all targets stored in library is called to debug item to obtain to debug.
S135, the corresponding target debugging item of the startup information is shown at default interface.
Optionally, the display information of the corresponding target debugging item of the startup information is shown at default interface, institute The information of target debugging item can be embodied by stating title, icon that display information can be target debugging item or other.It will obtain The debugging got calls target debugging item all in library to be shown at default interface, and user can be made to pass through default interface Solution debugs items to all targets stored in calling library is debugged, and overview understanding there are one the information of item is debugged to target.Into And user can be by inputting debugging selection instruction at default interface, and selects corresponding target debugging item.
S136, debugging selection instruction input by user is received, determines to select corresponding mesh according to the debugging selection instruction Mark debugging item.
Optionally, can debugging selection instruction input by user be received, and according to the debugging by the default interface Selection instruction determines to select corresponding target debugging item.The debugging selection instruction can be that user is inputted by default interface Clicking operation.User by clicking operation in debugging item in all targets of default interface display by determining corresponding target Item is debugged, the inquiry of user and the operating efficiency of selection can be improved.
S137, target debugging item be chosen when, from it is described debugging call library in determine with the target debug item it is corresponding Startup information.
S138, corresponding target debugging item is started according to the startup information.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
Fig. 4 is the flow diagram of another debugging management method provided by the embodiments of the present application, in above-mentioned arbitrary implementation It is optimized on the basis of the technical solution that is provided of example to judging whether application item to be identified meets the operations of preset rules, Optionally, as shown in figure 4, this method includes:
S140, the configuration file for determining application item to be identified.
Wherein, the configuration file is all application items (hereinafter referred to as application item) to be identified necessary text at runtime Part, by the way that corresponding application item necessary module information, authority information and other phases at runtime are configured in configuration file Information is closed, can be the entry file of application item.Illustratively, the configuration file can be the configuration text in Android system Part:AndroidManifest.xml files, the configuration file describe the component of the common class in application item, and various components are each From realization class, various components processed data and position etc. can be started.Include in the configuration file and application item Corresponding information can distinguish application item by the information in configuration file.
S141, judge whether include preset configuration information in the configuration file.
Wherein it is possible to by judging in configuration file whether to carry out area to application item to be identified including preset configuration information Point.Because including all multi informations corresponding with application item in configuration file, developer can be by writing in configuration file Enter preset information to be distinguished to application item, it is possible to by judging whether include preset configuration information in configuration file Target debugging item is identified and be distinguished.The preset configuration information is to be used to implement the letter for being targeted debugging item Breath, it may include for distinguishing the information of different application item, preset configuration information can also be that developer is previously written application item In information.Illustratively, developer can be by being written to carry out application item in the configuration information in application item The information of differentiation, so that developer can quickly position in subsequent development or calling application item.
If S142, the configuration file include preset configuration information, the application item to be identified is determined as mesh Mark debugging item.
Wherein, if the configuration file includes preset configuration information, application item to be identified can be determined as mesh Mark debugging item, and the startup information of target debugging item is stored to debugging and is called in library, so that user can be called by debugging Library obtains the startup information of target debugging item, and carries out unified management, inquiry or tune to the target debugging item on terminal device With.
S143, the startup information for obtaining target debugging item, and by the startup information of target debugging item store to Library is called in debugging.
Specific embodiment can refer to associated description above, and details are not described herein.
Fig. 5 is the flow diagram of another debugging management method provided by the embodiments of the present application, in above-mentioned arbitrary implementation It is optimized on the basis of the technical solution that is provided of example to judging whether application item to be identified meets the operations of preset rules, Optionally, as shown in figure 5, this method includes:
S150, the configuration file for determining application item to be identified.
Specific embodiment can refer to associated description above, and details are not described herein.
S151, judge whether include preset configuration information in rights statements in the configuration file.
If S152, the rights statements of the configuration file include preset configuration information, by the application to be identified Item is determined as target debugging item.
Wherein, the rights statements include the information of the Permission Levels of application item to be identified, and system can be answered according to be identified The permission of application item to be identified is correspondingly given with the rights statements of item.Illustratively, the rights statements can be Uses-permission functions in AndroidManifest.xml files, uses-permission is should in Android system With the function of the self-defined permission of item, developer can be believed by the preset configuration defined in uses-permission functions Breath, and then whether including preset configuration information target debugging item can be identified, and by target according in rights statements The startup information of debugging item, which is stored to debugging, to be called in library, and item is debugged so that user can call library to obtain target by debugging Start information, and unified management, inquiry or calling are carried out to the target debugging item on terminal device.
S153, the startup information for obtaining target debugging item, and by the startup information of target debugging item store to Library is called in debugging.
Specific embodiment can refer to associated description above, and details are not described herein.
Fig. 6 is a kind of structure diagram of debugging management device provided by the embodiments of the present application, which can perform debugging Management method, as shown in fig. 6, the device includes:
Regular judgment module 210, for judging whether application item to be identified meets preset rules;
Target determination module 211, if meeting preset rules for the application item to be identified, by it is described it is to be identified should It is determined as target debugging item with item;
Start information storage module 212, for obtaining the startup information of the target debugging item, and the target is debugged The startup information of item stores to debugging and calls library.
A kind of debugging management device provided in the embodiment of the present application, by judging it is default whether application item to be identified meets Rule;If the application item to be identified meets preset rules, the application item to be identified is determined as target debugging item;It obtains The startup information of the target debugging item is taken, and the startup information of target debugging item is stored to debugging and calls library.Pass through Using above-mentioned technical proposal, the target for needing to be managed debugging item can be determined by preset rules, to be carried out to debugging item Unified management facilitates user to inquire debugging item corresponding with calling, improves the debugging item rate of user.
Optionally, it further includes:
Start determining module, for being stored by the startup information of target debugging item to debugging calling library, When target debugging item is chosen, is called from the debugging and startup information corresponding with target debugging item is determined in library.
Optionally, it further includes:
Receiving module is selected, for receiving debugging selection instruction input by user, is determined according to the debugging selection instruction Select corresponding target debugging item;
Start execution module, for determining to believe with corresponding start of target debugging item in library is called from the debugging After breath, corresponding target is started according to the startup information and debugs item.
Optionally, it further includes:
Start data obtaining module, for before reception debugging selection instruction input by user, obtaining the tune The startup information in library is called in examination;
Target debugs item determining module, for determining the corresponding target debugging item of the startup information;
Default display module, for the corresponding target debugging item of the startup information to be shown at default interface.
Optionally, selection receiving module is specifically used for:
Debugging selection instruction input by user is received by default interface;Wherein, the default interface is pre- independently of system If file manager.
Optionally, regular judgment module specifically includes:
Determination unit is configured, for determining the configuration file of application item to be identified;
Configuration determination unit, for judging whether include preset configuration information in the configuration file;
Correspondingly, target determination module is specifically used for:
If the configuration file includes preset configuration information, the application item to be identified is determined as target debugging .
Optionally, configuration determination unit is specifically used for:
Judge whether include preset configuration information in the rights statements in the configuration file;
Correspondingly, target determination module is specifically used for:
If the rights statements of the configuration file include preset configuration information, the application item to be identified is determined Item is debugged for target.
A kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer can perform The debugging management operation being not limited to the described above is instructed, the debugging management side that the application any embodiment is provided can also be performed Relevant operation in method.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform When being performed by computer processor for performing debugging management method, this method includes for instruction:
Judge whether application item to be identified meets preset rules;
If the application item to be identified meets preset rules, the application item to be identified is determined as target debugging ;
The startup information of the target debugging item is obtained, and the startup information of target debugging item is stored to debugging and is adjusted Use library.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can further include other The memory or combination of type.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside in different location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement For computer program).
The embodiment of the present application provides a kind of terminal device, and tune provided by the embodiments of the present application can be integrated in the terminal device Try managing device.
Fig. 7 is a kind of structure diagram of terminal device provided by the embodiments of the present application, and the embodiment of the present application provides one Kind of terminal device including memory 31, processor 32 and is stored on memory 31 and can be in the computer journey that processor is run Sequence, the processor realize the debugging management method described in above-described embodiment when performing the computer program.The application is implemented The terminal device that example provides can be managed collectively debugging item, user is facilitated to inquire debugging item corresponding with calling, is improved The debugging item rate of user.
Fig. 8 is a kind of structure diagram of terminal device provided by the embodiments of the present application.As shown in figure 8, the terminal device It can include:Housing (not shown), touch screen (not shown), touch key-press (not shown), memory 301, Central processing unit (Central Processing Unit, CPU) 302 (also known as processor, hereinafter referred to as CPU), circuit board (figure In be not shown) and power circuit (not shown).The circuit board is placed in the space interior that the housing surrounds;It is described CPU302 and the memory 301 are arranged on the circuit board;The power circuit, for for each of the terminal device Circuit or device power supply;The memory 301, for storing executable program code;The CPU302 described in reading by depositing The executable program code stored in reservoir 301 runs computer program corresponding with the executable program code, with reality Existing following steps:
Judge whether application item to be identified meets preset rules;
If the application item to be identified meets preset rules, the application item to be identified is determined as target debugging ;
The startup information of the target debugging item is obtained, and the startup information of target debugging item is stored to debugging and is adjusted Use library.
The terminal device further includes:Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio-frequency electric Road 306, loud speaker 311, power management chip 308, input/output (I/O) subsystem 309, touch screen 312, other input/controls Control equipment 310 and outside port 304, these components are communicated by one or more communication bus or signal wire 307.
It should be understood that graphic terminal 300 is only an example of terminal device, and terminal device 300 Can have than more or less components shown in figure, two or more components can be combined or can be with It is configured with different components.Various parts shown in figure can be including one or more signal processings and/or special Hardware, software including integrated circuit are realized in the combination of hardware and software.
Just the terminal device provided in this embodiment for being used to implement debugging management is described in detail below, which sets For by taking mobile phone as an example.
Memory 301, the memory 301 can be by access such as CPU302, Peripheral Interfaces 303, and the memory 301 can To include high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU302 and deposited by Peripheral Interface 303, the Peripheral Interface 303 Reservoir 301.
I/O subsystems 309, the I/O subsystems 309 can be by the input/output peripherals in equipment, such as touch screen 312 With other input/control devicess 310, it is connected to Peripheral Interface 303.I/O subsystems 309 can include 3091 He of display controller For controlling one or more input controllers 3092 of other input/control devicess 310.Wherein, one or more input controls Device 3092 processed receives electric signal from other input/control devicess 310 or sends electric signal to other input/control devicess 310, Other input/control devicess 310 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.What deserves to be explained is input controller 3092 can with it is following any one connect:Keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Touch screen 312, the touch screen 312 are the input interface and output interface between subscriber terminal equipment and user, Visual output is shown to user, visual output can include figure, text, icon, video etc..
Display controller 3091 in I/O subsystems 309 receives electric signal from touch screen 312 or is sent out to touch screen 312 Electric signals.Touch screen 312 detects the contact on touch screen, and the contact detected is converted to and shown by display controller 3091 The interaction of user interface object on touch screen 312, that is, realize human-computer interaction, the user interface being shown on touch screen 312 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse are the extensions for not showing the touch sensitive surface visually exported or the touch sensitive surface formed by touch screen.
RF circuits 305 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 305 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 305 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 305 can include performing The known circuit of these functions includes but not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 306 is mainly used for receiving audio data from Peripheral Interface 303, which is converted to telecommunications Number, and the electric signal is sent to loud speaker 311.
Loud speaker 311 for the voice signal for receiving mobile phone from wireless network by RF circuits 305, is reduced to sound And play the sound to user.
Power management chip 308, the hardware for being connected by CPU302, I/O subsystem and Peripheral Interface are powered And power management.
Terminal device provided by the embodiments of the present application can be managed collectively debugging item, facilitate user's inquiry and adjust With corresponding debugging item, the debugging item rate of user is improved.
Debugging management device, storage medium and the terminal device provided in above-described embodiment, which can perform the application, arbitrarily to be implemented The debugging management method that example is provided has and performs the corresponding function module of this method and advantageous effect.Not in above-described embodiment In detailed description technical detail, reference can be made to the debugging management method that the application any embodiment is provided.
Note that it above are only the preferred embodiment of the application and institute's application technology principle.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation, The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also It can include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.

Claims (10)

1. debugging management method, which is characterized in that including:
Judge whether application item to be identified meets preset rules;
If the application item to be identified meets preset rules, the application item to be identified is determined as target debugging item;
The startup information of the target debugging item is obtained, and the startup information of target debugging item is stored to debugging and is called Library.
2. the method as described in claim 1, which is characterized in that the startup information by target debugging item is stored to tune After library is called in examination, further include:
When target debugging item is chosen, is called from the debugging and determine to believe with corresponding start of target debugging item in library Breath.
3. method as claimed in claim 2, which is characterized in that further include:
Debugging selection instruction input by user is received, according to the debugging selection instruction determines that corresponding target is selected to debug item;
It calls after startup information corresponding with target debugging item is determined in library, further includes from the debugging:
Corresponding target debugging item is started according to the startup information.
4. method as claimed in claim 3, which is characterized in that before the reception debugging selection instruction input by user, also Including:
Obtain the startup information in the debugging calling library;
Determine the corresponding target debugging item of the startup information;
The corresponding target debugging item of the startup information is shown at default interface.
5. method as claimed in claim 3, which is characterized in that receive debugging selection instruction input by user and include:
Debugging selection instruction input by user is received by default interface;Wherein, the default interface is independently of systemic presupposition text Part manager.
6. such as method described in any one of claim 1 to 5, which is characterized in that described to judge whether application item to be identified meets Preset rules include:
Determine the configuration file of application item to be identified;
Judge whether include preset configuration information in the configuration file;
Correspondingly, if the application item to be identified meets preset rules, the application item to be identified is determined as mesh Mark debugging item, including:
If the configuration file includes preset configuration information, the application item to be identified is determined as target debugging item.
7. method as claimed in claim 6, which is characterized in that described to judge whether include preset configuration in the configuration file Information includes:
Judge whether include preset configuration information in the rights statements in the configuration file;
Correspondingly, if the configuration file includes preset configuration information, the application item to be identified is determined as Target debugs item, including:
If the rights statements of the configuration file include preset configuration information, the application item to be identified is determined as mesh Mark debugging item.
8. debugging management device, which is characterized in that including:
Regular judgment module, for judging whether application item to be identified meets preset rules;
Target determination module, it is if meeting preset rules for the application item to be identified, the application item to be identified is true It is set to target debugging item;
Start information storage module, for obtaining the startup information of the target debugging item, and opening target debugging item Dynamic information stores to debugging and calls library.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The debugging management method as described in any one of claim 1-7 is realized during row.
10. a kind of terminal device, which is characterized in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, which is characterized in that the processor realizes that claim 1-7 such as appoints when performing the computer program Debugging management method described in one.
CN201711434079.9A 2017-12-26 2017-12-26 Debugging management method and device, storage medium and terminal equipment Active CN108153676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711434079.9A CN108153676B (en) 2017-12-26 2017-12-26 Debugging management method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711434079.9A CN108153676B (en) 2017-12-26 2017-12-26 Debugging management method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN108153676A true CN108153676A (en) 2018-06-12
CN108153676B CN108153676B (en) 2021-08-20

Family

ID=62462372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711434079.9A Active CN108153676B (en) 2017-12-26 2017-12-26 Debugging management method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN108153676B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110674368A (en) * 2019-09-11 2020-01-10 深圳创维-Rgb电子有限公司 System debugging result information processing method and device
CN114089892A (en) * 2021-11-25 2022-02-25 上海豪承信息技术有限公司 Equipment debugging method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1118939A2 (en) * 2000-01-18 2001-07-25 Mitel Semiconductor Limited Software debugger user interface
CN102279796A (en) * 2011-08-25 2011-12-14 北京神州绿盟信息安全科技股份有限公司 Method and device for testing software compatibility
CN103458312A (en) * 2013-08-22 2013-12-18 深圳Tcl新技术有限公司 Terminal debugging method and device
CN103631589A (en) * 2013-11-08 2014-03-12 华为技术有限公司 Method and device for recognizing application
CN105224574A (en) * 2014-06-30 2016-01-06 北京金山安全软件有限公司 Method and device for automatically identifying junk files
CN106095501A (en) * 2016-06-12 2016-11-09 华为软件技术有限公司 A kind of application section arranging method and device
CN107291618A (en) * 2017-06-20 2017-10-24 广东欧珀移动通信有限公司 Application memory method, device and terminal device
CN107423216A (en) * 2017-06-21 2017-12-01 广州视源电子科技股份有限公司 Debugging tool configuration method, readable storage medium and debugging tool configuration device
CN107480484A (en) * 2016-11-02 2017-12-15 深圳市波普安创技术有限公司 The valid application debugging system and its method of information safety devices

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1118939A2 (en) * 2000-01-18 2001-07-25 Mitel Semiconductor Limited Software debugger user interface
CN102279796A (en) * 2011-08-25 2011-12-14 北京神州绿盟信息安全科技股份有限公司 Method and device for testing software compatibility
CN103458312A (en) * 2013-08-22 2013-12-18 深圳Tcl新技术有限公司 Terminal debugging method and device
CN103631589A (en) * 2013-11-08 2014-03-12 华为技术有限公司 Method and device for recognizing application
CN105224574A (en) * 2014-06-30 2016-01-06 北京金山安全软件有限公司 Method and device for automatically identifying junk files
CN106095501A (en) * 2016-06-12 2016-11-09 华为软件技术有限公司 A kind of application section arranging method and device
CN107480484A (en) * 2016-11-02 2017-12-15 深圳市波普安创技术有限公司 The valid application debugging system and its method of information safety devices
CN107291618A (en) * 2017-06-20 2017-10-24 广东欧珀移动通信有限公司 Application memory method, device and terminal device
CN107423216A (en) * 2017-06-21 2017-12-01 广州视源电子科技股份有限公司 Debugging tool configuration method, readable storage medium and debugging tool configuration device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈晖 等: "基于XAI实现的应用识别及分类的方法", 《制造业自动化》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110674368A (en) * 2019-09-11 2020-01-10 深圳创维-Rgb电子有限公司 System debugging result information processing method and device
CN114089892A (en) * 2021-11-25 2022-02-25 上海豪承信息技术有限公司 Equipment debugging method and device and electronic equipment
CN114089892B (en) * 2021-11-25 2024-02-23 上海豪承信息技术有限公司 Equipment debugging method and device and electronic equipment

Also Published As

Publication number Publication date
CN108153676B (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN106357921B (en) A kind of data sharing method of application, device and mobile terminal
CN106445647B (en) Open the data manipulation method, device and mobile terminal of application more
CN109947449B (en) System upgrading method and device, storage medium and electronic equipment
CN106484547B (en) Multi-open application management method and device and terminal
CN108681474B (en) Application preloading method and device, storage medium and terminal
CN107861738A (en) Using abnormality eliminating method, device, storage medium and terminal device
CN109408465B (en) File attribution information recording method, device, storage medium and terminal
CN108108285A (en) Log processing method, device, storage medium and terminal device
CN107729764A (en) Guard method, device, storage medium and the electronic equipment of sensitive information
CN106484479B (en) A kind of management method, device and intelligent terminal for opening application more
CN106648737B (en) A kind of control method of application, device and mobile terminal
CN106445671B (en) A kind of management method of application program, device and terminal
CN108933968B (en) Message format conversion method and device, storage medium and android terminal
CN109271211A (en) Method, apparatus of attending to anything else, equipment and the medium of application program
CN107026933A (en) A kind of information management method, device and intelligent terminal for opening application more
CN106485136A (en) The authority configuring method of application program, device and mobile terminal
CN106445706B (en) Open the data transmission method, device and mobile terminal of application more
CN106487789A (en) A kind of method of the password of modification application account, device and mobile terminal
CN106502732B (en) Application closing method and device and intelligent terminal
CN106648736A (en) Application control method and device and mobile terminal
CN108153676A (en) Debugging management method, apparatus, storage medium and terminal device
CN106484419A (en) Information searching method, device and mobile terminal in a kind of application program
CN106445670B (en) A kind of data managing method, device and mobile terminal for opening application more
CN106383672B (en) A kind of data-erasure method, device and mobile terminal for opening application more
CN106650403B (en) A kind of right management method, device and intelligent terminal for opening application more

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant