CN106096034A - application log management method and device - Google Patents

application log management method and device Download PDF

Info

Publication number
CN106096034A
CN106096034A CN201610480444.9A CN201610480444A CN106096034A CN 106096034 A CN106096034 A CN 106096034A CN 201610480444 A CN201610480444 A CN 201610480444A CN 106096034 A CN106096034 A CN 106096034A
Authority
CN
China
Prior art keywords
log information
application program
functional device
log
abnormal
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
CN201610480444.9A
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.)
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610480444.9A priority Critical patent/CN106096034A/en
Publication of CN106096034A publication Critical patent/CN106096034A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9032Query formulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Hardware Design (AREA)
  • Probability & Statistics with Applications (AREA)
  • Quality & Reliability (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the present invention provides a kind of application log management method and device, relate to technical field of data processing, the method includes: generates the log information corresponding with each functional device in the application program being currently running respectively and stores, wherein, described functional device is to divide in advance according to the function logic related in application program running to determine;When satisfied transmission condition being detected, the log information meeting transmission condition in log information corresponding for each functional device is sent to the server corresponding with application program.By dividing each functional device comprised in this application program in advance according to the function logic of application program running, and store the log information corresponding with each functional device respectively, can obtain respectively and send and meet certain log information sending condition, enable the server to store respectively the log information of difference in functionality block, follow-up need analyze log information time, can realize analyzing and processing targetedly, be conducive to improving analyzing and processing efficiency.

Description

Application log management method and device
Technical field
The present invention relates to technical field of data processing, particularly relate to a kind of application log management method and device.
Background technology
The such as intelligent terminal such as smart mobile phone, panel computer, intelligent television have become as people life in can not or The instrument lacked.In order to meet the diversified demand that user is likely encountered in life, each application provider have developed respectively It is arranged on the intelligent terminal of oneself with planting the application program of various kinds, these application programs acquiescence or being easily selected by a user property In.
For the arbitrary application program in intelligent terminal, in order to follow the tracks of the operation behavior of user, also for working as This application program runs in the case of makeing mistakes, it is possible to analyzes and determines the reason causing mistake, when this application program is opened by user After operation, corresponding application log can be formed in intelligent terminal, for recording this application program operation aspect Various events.And then, the application log formed is sent to server corresponding to this application program by intelligent terminal, So that server stores this application log, and wait based on the analysis to application log when necessary, solve application The various abnormal problems occurred in program operation process.
Inventor, during realizing the present invention, finds that prior art at least there is problems in that intelligent terminal When carrying out application log and sending, the daily record formed when being and this is run application program sends extremely as an entirety Server, server also using this application log as an overall centralized stores.So use at server Family operation behavior is analyzed, or when when application program operation exception, location causes abnormal reason, needs are analyzed by server Substantial amounts of log information, causes server analysis treatment effeciency the lowest.
Summary of the invention
The embodiment of the present invention provides a kind of application log management method and device, in order to overcome existing application day Will is uploaded by concentration as an entirety and is centrally stored in server, causes server to need application program log analysis The problem that during process, treatment effeciency is low.
The embodiment of the present invention provides a kind of application log management method, including:
Log information that each functional device in the application program generated respectively and be currently running is corresponding also stores, its In, described functional device is to divide in advance according to the function logic related in described application program running to determine;
When satisfied transmission condition being detected, log information corresponding for described each functional device will meet described transmission condition Log information sends to the server corresponding with described application program.
The embodiment of the present invention provides a kind of application log managing device, including:
Generation module, for generating the log information corresponding with each functional device in the application program being currently running respectively, Wherein, described functional device is to divide in advance according to the function logic related in described application program running to determine;
Memory module, for storing the log information that described each functional device is corresponding;
Log transmission module, when being used for detecting satisfied transmission condition, by log information corresponding for described each functional device The log information meeting described transmission condition sends to the server corresponding with described application program.
The application log management method of embodiment of the present invention offer and device, by according to application program running In the function logic that relates to divide in advance and determine each functional device comprised in this application program, thus, when this application program is transported During row, can generate and store the log information the most corresponding with each functional device respectively.Owing to log information is according to should be diligent Energy block stores respectively, therefore, when satisfied transmission condition being detected, can obtain the daily record letter of satisfied transmission condition respectively Breath, and by obtain each log information send to corresponding server so that server can store this application program respectively The log information of difference in functionality block, follow-up need to analyze log information time, it is possible to achieve analyze and process targetedly, favorably In improving analyzing and processing efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root Other accompanying drawing is obtained according to these accompanying drawings.
The flow chart of the application log management method embodiment one that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the application log management method embodiment two that Fig. 2 provides for the embodiment of the present invention;
The flow chart of the application log management method embodiment three that Fig. 3 provides for the embodiment of the present invention;
The flow chart of the application log management method embodiment four that Fig. 4 provides for the embodiment of the present invention;
The flow chart of the application log management method embodiment five that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the application log managing device embodiment one that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the application log managing device embodiment two that Fig. 7 provides for the embodiment of the present invention;
The structural representation of the application log managing device embodiment three that Fig. 8 provides for the embodiment of the present invention;
The structural representation of the application log managing device embodiment four that Fig. 9 provides for the embodiment of the present invention;
The structural representation of the application log managing device embodiment five that Figure 10 provides for the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
The term used in embodiments of the present invention is only merely for describing the purpose of specific embodiment, and is not intended to be limiting The present invention." a kind of ", " described " and " being somebody's turn to do " of singulative used in the embodiment of the present invention and appended claims It is also intended to include most form, unless context clearly shows that other implications.
Should be appreciated that term "and/or" used herein is only a kind of incidence relation describing affiliated partner, represent Three kinds of relations, such as, A and/or B can be there are, can represent: individualism A, there is A and B, individualism B these three simultaneously Situation.It addition, character "/" herein, typically represent forward-backward correlation to as if the relation of a kind of "or".
Although should be appreciated that possible employing term first, second, third, etc. are to describe XXX in embodiments of the present invention, but These XXX should not necessarily be limited by these terms.These terms are only used for XXX is distinguished from each other out.Such as, implementing without departing from the present invention In the case of example scope, an XXX can also be referred to as the 2nd XXX, and similarly, the 2nd XXX can also be referred to as an XXX.
Depend on linguistic context, word as used in this " if ", " if " can be construed to " ... time " or " when ... " or " in response to determining " or " in response to detection ".Similarly, depend on linguistic context, phrase " if it is determined that " or " as Fruit detection (condition of statement or event) " " when determining " or " in response to determining " can be construed to or " when detection (statement Condition or event) time " or " in response to detection (condition of statement or event) ".
Also, it should be noted term " includes ", " comprising " or its any other variant are intended to nonexcludability Comprise, so that include that the commodity of a series of key element or system not only include those key elements, but also include the most clearly Other key elements listed, or also include the key element intrinsic for this commodity or system.In the feelings not having more restriction Under condition, statement " including ... " key element limited, it is not excluded that in the commodity including described key element or system also There is other identical element.
The flow chart of the application log management method embodiment one that Fig. 1 provides for the embodiment of the present invention, this embodiment The application log management method provided can be performed by application log managing device, and this device can be arranged on user Terminal unit in, in the equipment such as such as smart mobile phone, panel computer, notebook computer.As it is shown in figure 1, comprise the steps:
Step 101, generate the log information corresponding with each functional device in the application program being currently running and carry out respectively Storage, wherein, functional device is to divide in advance according to the function logic related in application program running to determine.
Step 102, when satisfied transmission condition being detected, log information corresponding for each functional device will meet transmission condition Log information sends to the server corresponding with application program.
First the main thought of the application log management method that the present embodiment provides is illustrated: should for one By program, for the angle of function logic, this application program may comprise multiple different function logic, such as certain is regarded Frequently, for application program, may relate to display homepage, the video data of certain video asking user to choose, pass through player Play the different function logics such as this video.This function logic can be understood as the process logic of certain function.Thus, According to the difference in functionality logic related in application program running, this application program can be carried out the division of functional device, Each functional device can correspond to a function logic.
Thus based on above-mentioned division result, when application program runs, patrol according to the above-mentioned i.e. difference in functionality of difference in functionality block Volume, generate the log information of the event characterizing each function logic running.It is to say, along with application program Run, can be after often having run a function logic, by log information and the corresponding function of this function logic of generation Block identification associates, and stores in the memory space corresponding to this corresponding function block identification.
The log information of application program is in addition to storing in this locality, general, in addition it is also necessary to be uploaded to application program pair In the server answered.Wherein, locally stored at terminal unit can be interim storage, and the storage time can set.
In actual application, sending log information to server can be to trigger under the conditions of different transmissions, such as should When terminating by normal program operation, detect that application program occurs abnormal etc..And, under the conditions of different transmissions, need to Which log information server sends is probably different.Which day is sent to server under the conditions of various different transmissions Will information, will described in the subsequent embodiment, the present embodiment is only emphasized no matter sent to as if what, the mode of transmission It is the same.
Specifically, the method for transmission is all based on the determination of the mark of the functional device to satisfied transmission condition, from determining Memory space corresponding to functional device mark in obtain corresponding log information, and the log information that will obtain sends to service Device.
It is to say, owing to the log information of application program is divided with functional device, then this application program is described Log information be stored in different memory spaces by piecemeal, the corresponding different functional device mark of each memory space, thus, To server send log information time, be obtain from different memory spaces targetedly correspondence log information concurrent Deliver to server.Accordingly, what server obtained is log information corresponding to each functional device, it is also possible to this is to difference in functionality block Log information store respectively.
In the present embodiment, determine that this should by dividing in advance according to the function logic related in application program running By each functional device comprised in program, thus, when this application program runs, can generate respectively and store and each functional device pair The log information answered.Owing to log information stores respectively according to application function block, therefore, when satisfied transmission condition being detected Time, can obtain the log information of satisfied transmission condition respectively, and each log information obtained is sent to corresponding service Device so that server can store the log information of the difference in functionality block of this application program respectively, analyzes daily record follow-up needs During information, it is possible to achieve analyze and process targetedly, be conducive to improving analyzing and processing efficiency.
Introduce respectively at several different transmission bars triggering log information transmission below in conjunction with Fig. 2-embodiment illustrated in fig. 4 How part, carry out the process of the transmission of log information.
The flow chart of the application log management method embodiment two that Fig. 2 provides for the embodiment of the present invention, such as Fig. 2 institute Showing, the method comprises the steps:
Step 201, generate the log information corresponding with each functional device in the application program being currently running and carry out respectively Storage.
The execution of this step can participate in the introduction of embodiment illustrated in fig. 1.
Step 202, detect that application program is properly functioning at the end of, corresponding for each functional device log information is sent to clothes Business device.
In the present embodiment, in application program running, if be unlocked up to this application journey from this application program Sequence is closed, and is not detected by running appearance abnormal, it is determined that the properly functioning end of application program always.
Wherein it is possible to based on the detection to the operation that user triggers, determine whether application program is unlocked or is closed.Ratio As, if be detected that user clicks the icon of certain application program, it is determined that user opens this application program;If be detected that User triggers the operation exiting this application program, it is determined that user closes this application program.
Wherein, for whether application program running occurs abnormal judgement, can be ought to detect performing certain The when of individual function logic, if never obtaining normal feedback result in a period of time, it is impossible to continue executing with follow-up Function logic, it is determined that run and occur extremely, otherwise, if all function logics of application program are all executed correctly, the most really Determine application program properly functioning.
If be detected that the properly functioning end of application program, now can be by daily record the most corresponding for whole each functional devices Information sends to server, in order to server stores the log information of this application program, now main from backup log information Angle considers, is stored respectively according to the difference of corresponding functional device by whole log informations.
The flow chart of the application log management method embodiment three that Fig. 3 provides for the embodiment of the present invention, such as Fig. 3 institute Show, comprise the steps:
Step 301, generate the log information corresponding with each functional device in the application program being currently running and carry out respectively Storage.
The execution of this step can participate in the introduction of embodiment illustrated in fig. 1.
Step 302, detect time application program running occurs abnormal, determine and cause abnormal abnormal function block, And log information corresponding for abnormal function block is sent to server.
Whether detection application program running there is abnormal mode, is referred to as shown in Figure 2 in embodiment Introducing, here is omitted.
Occur extremely if detecting application program to run to during certain function logic, it is determined that the function logic institute of this exception is right The functional device answered is abnormal function block, thus from the memory space of the log information storing this abnormal function block, reads storage Log information, and corresponding for abnormal function block log information is sent to server.
In the present embodiment, when detecting that application program runs appearance exception, by abnormal function block is automatically determined, The log information of abnormal function block can be sent to server, so that the operation maintenance personnel of server end can be believed based on this daily record Breath is analyzed and is produced abnormal reason, and solves this exception.
What deserves to be explained is, in actual application, when detecting that application program runs appearance exception, both can be only by abnormal Log information corresponding to functional device sends to server, thus server only needs to analyze this log information;Can also be by The log information of the most properly functioning functional device and the log information of abnormal function block the most all send to server, optional , now sending the log information of abnormal function block when, simultaneously can send an information to server, with In log information prompting which log information of server is abnormal function block.Thus, server is permissible according to this information Only analyze the log information of this abnormal function block.
In the present embodiment, when application program operation exception, can simply send the log information of abnormal function block, it is not necessary to Send the log information of whole functional modules, it is to avoid the flow of waste user, take the too much bandwidth of subscriber terminal equipment, The most also avoid increasing the storage pressure of server.
The flow chart of the application log management method embodiment four that Fig. 4 provides for the embodiment of the present invention, such as Fig. 4 institute Show, comprise the steps:
Step 401, generate the log information corresponding with each functional device in the application program being currently running and carry out respectively Storage.
The execution of this step can participate in the introduction of embodiment illustrated in fig. 1.
Step 402, detect that user have input abnormal feedback information, determine the abnormal function that abnormal feedback information is corresponding Block, and log information corresponding for abnormal function block is sent to server.
In actual application so that user can feed back that it runs into during using application program in time various Problem, can arrange the problem feedback function corresponding with this application program.If user such as can be arranged to application program Icon performs predetermined registration operation, or user have selected problem feedback option in the menu item of application program homepage, then to Family display problem feedback page.This problem feedback page can showing, would ordinarily be encountered in this application program running asks Topic.Certainly, if not having the problem that user actually encounters in the problem demonstrated, user can one problem of self-defined interpolation ?.Thus, user is by choosing or feeding back the problem run into by the way of self-defined interpolation, and the problem of this feedback is i.e. referred to as abnormal anti- Feedforward information.
Wherein, the problem of display manifestation mode in this page in problem feedback page, can be with user's visual sense The other problems describing mode performance arrived.Such as, playing process card pauses.
When, after the abnormal feedback information receiving user's input, determining the abnormal function block that abnormal feedback information is corresponding, and Log information corresponding for abnormal function block is sent to server.Wherein, abnormal feedback information is corresponding with abnormal function block closes System can be man-to-man relation, it is also possible to be the relation of one-to-many, if such as user feedback is that playing process card pauses, then Corresponding abnormal function block is probably player function block and caching video functions.
In actual application, the corresponding relation of various abnormal feedback information and each abnormal functional device can be pre-build, thus The abnormal function block corresponding to the abnormal feedback information that user inputs is determined based on this corresponding relation.
In the present embodiment, after user is based on the abnormal feedback information of self experience input, press based on to log information The mode stored respectively according to functional device, only can send the log information of corresponding abnormal function block to server, keep away Exempt to waste the flow of user, taken the too much bandwidth of subscriber terminal equipment, the most also avoid increasing the storage pressure of server.
The flow chart of the application log management method embodiment five that Fig. 5 provides for the embodiment of the present invention, as Fig. 5 shows, Comprise the steps:
The functional device that step 501, reception server send arranges instruction, and functional device arranges instruction and includes application program pair The each functional device mark answered, and the corresponding relation that each functional device mark identifies with each power function, power function is marked The power function known is the ingredient of application program.
Step 502, distribution identify the most corresponding memory space with each functional device.
Mentioning in previous embodiment, application program divides according to function logic, can obtain different functional devices.Real In the application of border, the division of this function logic can be that the staff of server end artificially delimit, and i.e. staff is according to answering The detailed process related to when running by program, delimit each function logic, and each function logic is correspondingly arranged a functional device mark Know.
Actually it is made up of substantial amounts of power function due to application program.For a function logic, typically One function logic can be made up of at least one power function.Therefore, above-mentioned staff can be based on according to certain function Logic, classifies to each power function comprised in application program, i.e. sets up the corresponding relation of function logic and power function. Owing to a function logic is corresponding to a functional device, therefore, based on this corresponding relation the most just obtained each functional device mark with The corresponding relation of each power function mark.
In order to make it easy to understand, be understood that the relation of function logic and power function: a function logic is equivalent to Being a step in a method, the power function that this function logic is corresponding is the equal of each sub-step realizing this step Suddenly, i.e. the function unit of least unit.
The above-mentioned division operation of staff and the operation setting up corresponding relation, can arrange the page in certain of server Middle realization, after it completes to arrange submission confirmation instruction, server preserves this configuration information, and meanwhile, systematic function block arranges finger Order is handed down to client, and this functional device arranges each functional device mark that instruction includes that application program is corresponding, and each functional device The corresponding relation that mark identifies with each power function.
On the one hand client receives after the functional device that server sends arranges instruction, stores this corresponding relation, the opposing party The memory space that face distribution is the most corresponding with each functional device mark.
After application program is activated operation, carry out the process of following steps:
Step 503, in application program running, generate the log information corresponding with each power function.
Step 504, the corresponding relation identified with each power function according to each functional device mark, determine each daily record letter of generation Functional device mark corresponding to breath.
Step 505, the log information belonging to same functional device mark is stored to corresponding memory space.
Step 506, when satisfied transmission condition being detected, the log information of each satisfied transmission condition is sent to application journey The server that ordered pair is answered.
During application program runs, according to current daily record generating mode, i.e. according to existing mode, when application journey After certain or some power functions in sequence have run, if showing application program running there occurs certain event, then give birth to Become corresponding log information.Focusing in the present embodiment, generates the log information of correspondence at certain power function after running Afterwards, according to each functional device mark and the corresponding relation of each power function mark, determine corresponding to each log information of generation Functional device identifies, and then is stored to corresponding memory space by the log information belonging to same functional device mark.
When detecting that any one met in aforementioned several embodiment sends condition, obtain from corresponding memory space Corresponding log information, and the log information obtained is sent to server.
In the present embodiment, by delimiting the function logic comprised in application program, distribute a merit for each function logic Energy block identification, and set up each function logic and the corresponding relation of each power function in application program, can transport at application program During row, the log information corresponding with each power function generated is associated with functional device, thus same merit will be belonged to The log information of energy block is stored in the memory space of correspondence, it is achieved that carry out dividing of log information according to functional device mark difference Do not store.
The structural representation of the application log managing device embodiment one that Fig. 6 provides for the embodiment of the present invention, such as Fig. 6 Shown in, this application log managing device includes: generation module 11, memory module 12, log transmission module 13.
Generation module 11, for generating the daily record letter corresponding with each functional device in the application program being currently running respectively Breath, wherein, described functional device is to divide in advance according to the function logic related in described application program running to determine.
Memory module 12, for storing the log information that described each functional device is corresponding.
Log transmission module 13, when being used for detecting satisfied transmission condition, by log information corresponding for described each functional device In meet the log information of described transmission condition and send to the server the most corresponding with described application program.
Fig. 6 shown device can perform the method for embodiment illustrated in fig. 1, it is achieved principle and technique effect are with reference to shown in Fig. 1 Embodiment, repeats no more.
The structural representation of the application log managing device embodiment two that Fig. 7 provides for the embodiment of the present invention, such as Fig. 7 Shown in, on the basis of embodiment illustrated in fig. 6, described log transmission module 13 includes: the first log transmission unit 131.
First log transmission unit 131, at the end of being used for detecting that described application program is properly functioning, by described each function The log information that block is corresponding sends to described server.
Fig. 7 shown device can perform the method for embodiment illustrated in fig. 2, it is achieved principle and technique effect are with reference to shown in Fig. 2 Embodiment, repeats no more.
The structural representation of the application log managing device embodiment three that Fig. 8 provides for the embodiment of the present invention, such as Fig. 8 Shown in, on the basis of embodiment illustrated in fig. 6, described log transmission module 13 includes: the second daily record transmission unit 132.
Second daily record transmission unit 132, is used for detecting in described application program running when appearance is abnormal, determines and lead Cause described abnormal abnormal function block, and log information corresponding for described abnormal function block is sent to described server.
Fig. 8 shown device can perform the method for embodiment illustrated in fig. 3, it is achieved principle and technique effect are with reference to shown in Fig. 3 Embodiment, repeats no more.
The structural representation of the application log managing device embodiment four that Fig. 9 provides for the embodiment of the present invention, such as Fig. 9 Shown in, on the basis of embodiment illustrated in fig. 6, described log transmission module 13 includes: the 3rd log transmission unit 133.
3rd log transmission unit 133, is used for detecting that user have input abnormal feedback information, determines described abnormal feedback The abnormal function block that information is corresponding, and log information corresponding for described abnormal function block is sent to described server.
Fig. 9 shown device can perform the method for embodiment illustrated in fig. 4, it is achieved principle and technique effect are with reference to shown in Fig. 4 Embodiment, repeats no more.
The structural representation of the application log managing device embodiment five that Figure 10 provides for the embodiment of the present invention, such as figure Shown in 10, on the basis of aforementioned each device embodiment, the application log managing device that the present embodiment provides also includes: receive Module 21, distribution module 22.
Receiver module 21, the functional device sent for receiving server arranges instruction, described arrange instruction and includes described Each functional device mark that application program is corresponding, and the corresponding relation that each functional device mark identifies with each power function, described merit The power function that energy function identification is identified is the ingredient of described application program.
Distribution module 22, for the memory space that distribution is the most corresponding with described each functional device mark.
Accordingly, described generation module 11 specifically for: in described application program running, generate with each function letter The log information that number is corresponding;According to described corresponding relation, determine the mark of the functional device corresponding to each log information of generation.
Described memory module 12, specifically for storing the log information belonging to same functional device mark to corresponding storage In space.
Figure 10 shown device can perform the method for embodiment illustrated in fig. 5, it is achieved principle and technique effect are with reference to shown in Fig. 5 Embodiment, repeats no more.
Fig. 6, to the part of description not deployed in embodiment illustrated in fig. 10, is referred to corresponding method embodiment, by correspondence Functional module has performed.
Optionally, also a kind of terminal unit of the embodiment of the present invention, this terminal unit includes processor and and processor The memorizer connected by bus, in this memorizer, storage has computer program, processor to call this computer program to perform Each step in above-mentioned Fig. 1-Fig. 5 embodiment of the method.This memorizer can be implemented as computer readable recording medium storing program for performing.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component can To be or to may not be physically separate, the parts shown as unit can be or may not be physics list Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers Make with so that a computer installation (can be personal computer, server, or network equipment etc.) performs each and implements The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent; And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (12)

1. an application log management method, it is characterised in that including:
Log information that each functional device in the application program generated respectively and be currently running is corresponding also stores, wherein, and institute Stating functional device is to divide in advance according to the function logic related in described application program running to determine;
When satisfied transmission condition being detected, log information corresponding for described each functional device will meet the daily record of described transmission condition Information sends to the server corresponding with described application program.
Method the most according to claim 1, it is characterised in that described in when satisfied transmission condition being detected, by described each merit The log information meeting described transmission condition in the log information that energy block is corresponding sends to the service the most corresponding with described application program Device, including:
At the end of detecting that described application program is properly functioning, log information corresponding for described each functional device is sent to described clothes Business device.
Method the most according to claim 1, it is characterised in that described in when satisfied transmission condition being detected, by described each merit The log information meeting described transmission condition in the log information that energy block is corresponding sends to the service the most corresponding with described application program Device, including:
Detect when appearance is abnormal in described application program running, determine and cause described abnormal abnormal function block, and will The log information that described abnormal function block is corresponding sends to described server.
Method the most according to claim 1, it is characterised in that described in when satisfied transmission condition being detected, by described each merit The log information meeting described transmission condition in the log information that energy block is corresponding sends to the service the most corresponding with described application program Device, including:
Detect that user have input abnormal feedback information, determine the abnormal function block that described abnormal feedback information is corresponding, and by institute State log information corresponding to abnormal function block to send to described server.
Method the most according to any one of claim 1 to 4, it is characterised in that described method also includes:
The functional device receiving server transmission arranges instruction, and described functional device arranges instruction and includes that described application program is corresponding Each functional device identifies, and the corresponding relation that each functional device mark identifies with each power function, and described power function is marked The power function known is the ingredient of described application program;
Distribute the memory space the most corresponding with described each functional device mark.
Method the most according to claim 5, it is characterised in that each merit in the application program generating respectively and being currently running Can log information corresponding to block storing, including:
In described application program running, generate the log information corresponding with each power function;
According to described corresponding relation, determine the mark of the functional device corresponding to each log information of generation;
The log information belonging to same functional device mark is stored to corresponding memory space.
7. an application log managing device, it is characterised in that including:
Generation module, for generating the log information corresponding with each functional device in the application program being currently running respectively, wherein, Described functional device is to divide in advance according to the function logic related in described application program running to determine;
Memory module, for storing the log information that described each functional device is corresponding;
Log transmission module, when being used for detecting satisfied transmission condition, will meet in log information corresponding for described each functional device The log information of described transmission condition sends to the server corresponding with described application program.
Device the most according to claim 7, it is characterised in that described log transmission module includes:
First log transmission unit is at the end of being used for detecting that described application program is properly functioning, corresponding by described each functional device Log information send to described server.
Device the most according to claim 7, it is characterised in that described log transmission module includes:
Second daily record transmission unit, is used for detecting in described application program running when appearance is abnormal, determines described in causing Abnormal abnormal function block, and log information corresponding for described abnormal function block is sent to described server.
Device the most according to claim 7, it is characterised in that described log transmission module includes:
3rd log transmission unit, is used for detecting that user have input abnormal feedback information, determines described abnormal feedback information pair The abnormal function block answered, and log information corresponding for described abnormal function block is sent to described server.
11. according to the device according to any one of claim 7 to 10, it is characterised in that also include:
Receiver module, the functional device sent for receiving server arranges instruction, and described functional device arranges instruction and includes described Each functional device mark that application program is corresponding, and the corresponding relation that each functional device mark identifies with each power function, described merit The power function that energy function identification is identified is the ingredient of described application program;
Distribution module, for the memory space that distribution is the most corresponding with described each functional device mark.
12. devices according to claim 11, it is characterised in that described generation module specifically for: in described application journey During sort run, generate the log information corresponding with each power function;According to described corresponding relation, determine each daily record of generation Functional device mark corresponding to information;
Described memory module, specifically for storing the log information belonging to same functional device mark to corresponding memory space In.
CN201610480444.9A 2016-06-27 2016-06-27 application log management method and device Pending CN106096034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610480444.9A CN106096034A (en) 2016-06-27 2016-06-27 application log management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610480444.9A CN106096034A (en) 2016-06-27 2016-06-27 application log management method and device

Publications (1)

Publication Number Publication Date
CN106096034A true CN106096034A (en) 2016-11-09

Family

ID=57253074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610480444.9A Pending CN106096034A (en) 2016-06-27 2016-06-27 application log management method and device

Country Status (1)

Country Link
CN (1) CN106096034A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886420A (en) * 2017-03-30 2017-06-23 努比亚技术有限公司 A kind of program code managing device, method and program code manager
CN107908629A (en) * 2017-06-20 2018-04-13 平安科技(深圳)有限公司 A kind of information query method, terminal and equipment
CN108108285A (en) * 2017-12-26 2018-06-01 广东欧珀移动通信有限公司 Log processing method, device, storage medium and terminal device
CN108363762A (en) * 2018-02-05 2018-08-03 广州阿里巴巴文学信息技术有限公司 A kind of collection processing method of user trajectory, device and terminal device
CN108519950A (en) * 2018-04-13 2018-09-11 深圳市国富前海区块链技术股份有限公司 Terminal, the fault detection method of application software and its device and readable storage medium storing program for executing
CN109218407A (en) * 2018-08-14 2019-01-15 平安普惠企业管理有限公司 Code management-control method and terminal device based on log monitoring technology
CN109933508A (en) * 2019-03-25 2019-06-25 北京百度网讯科技有限公司 Method and apparatus for sending information
CN111190755A (en) * 2019-08-01 2020-05-22 腾讯科技(深圳)有限公司 Application program function exception handling method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060010101A1 (en) * 2004-07-08 2006-01-12 Yasuhiro Suzuki System, method and program product for forecasting the demand on computer resources
CN103200037A (en) * 2013-04-11 2013-07-10 深圳市共进电子股份有限公司 System log (syslog) storing method
CN104572411A (en) * 2013-10-10 2015-04-29 腾讯科技(深圳)有限公司 Log data processing method and device
CN105025318A (en) * 2015-06-30 2015-11-04 北京奇艺世纪科技有限公司 Feedback method and device for abnormal log information of application program
CN105279074A (en) * 2014-06-05 2016-01-27 腾讯科技(深圳)有限公司 Method and device for displaying log information on terminal through NSLog

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060010101A1 (en) * 2004-07-08 2006-01-12 Yasuhiro Suzuki System, method and program product for forecasting the demand on computer resources
CN103200037A (en) * 2013-04-11 2013-07-10 深圳市共进电子股份有限公司 System log (syslog) storing method
CN104572411A (en) * 2013-10-10 2015-04-29 腾讯科技(深圳)有限公司 Log data processing method and device
CN105279074A (en) * 2014-06-05 2016-01-27 腾讯科技(深圳)有限公司 Method and device for displaying log information on terminal through NSLog
CN105025318A (en) * 2015-06-30 2015-11-04 北京奇艺世纪科技有限公司 Feedback method and device for abnormal log information of application program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886420B (en) * 2017-03-30 2020-10-09 广州柔视智能科技有限公司 Program code management device and method and program code manager
CN106886420A (en) * 2017-03-30 2017-06-23 努比亚技术有限公司 A kind of program code managing device, method and program code manager
CN107908629A (en) * 2017-06-20 2018-04-13 平安科技(深圳)有限公司 A kind of information query method, terminal and equipment
CN107908629B (en) * 2017-06-20 2021-03-02 平安科技(深圳)有限公司 Information query method, terminal and equipment
CN108108285A (en) * 2017-12-26 2018-06-01 广东欧珀移动通信有限公司 Log processing method, device, storage medium and terminal device
CN108363762A (en) * 2018-02-05 2018-08-03 广州阿里巴巴文学信息技术有限公司 A kind of collection processing method of user trajectory, device and terminal device
CN108519950A (en) * 2018-04-13 2018-09-11 深圳市国富前海区块链技术股份有限公司 Terminal, the fault detection method of application software and its device and readable storage medium storing program for executing
CN109218407A (en) * 2018-08-14 2019-01-15 平安普惠企业管理有限公司 Code management-control method and terminal device based on log monitoring technology
CN109218407B (en) * 2018-08-14 2022-10-25 平安普惠企业管理有限公司 Code management and control method based on log monitoring technology and terminal equipment
CN109933508A (en) * 2019-03-25 2019-06-25 北京百度网讯科技有限公司 Method and apparatus for sending information
CN109933508B (en) * 2019-03-25 2023-02-24 北京百度网讯科技有限公司 Method and apparatus for transmitting information
CN111190755A (en) * 2019-08-01 2020-05-22 腾讯科技(深圳)有限公司 Application program function exception handling method and device
CN111190755B (en) * 2019-08-01 2022-03-08 腾讯科技(深圳)有限公司 Application program function exception handling method and device

Similar Documents

Publication Publication Date Title
CN106096034A (en) application log management method and device
US9871758B2 (en) User recommendations in a social media network
CN106294176B (en) The method and system that application failure positions in Mac OS systems
CN110442712B (en) Risk determination method, risk determination device, server and text examination system
US9330378B2 (en) Management and synchronization of related electronic communications
US9762597B2 (en) Method and system to detect and interrupt a robot data aggregator ability to access a website
CN108416041B (en) Voice log analysis method and system
CN106201468B (en) A kind of processing method of screenshotss, device and electronic equipment
US20210385251A1 (en) System and methods for integrating datasets and automating transformation workflows using a distributed computational graph
US11546380B2 (en) System and method for creation and implementation of data processing workflows using a distributed computational graph
CN111552633A (en) Interface abnormal call testing method and device, computer equipment and storage medium
EP3494506A1 (en) Detection mitigation and remediation of cyberattacks employing an advanced cyber-decision platform
CN110084561A (en) Breakpoint follow-up method, electronic device and readable storage medium storing program for executing
CN107391115A (en) A kind of method, apparatus and computer equipment for realizing pop-up alternative events
US9560005B2 (en) Organizing social network messages based on temporal characteristics
CN106383721A (en) Display control method of electronic equipment, device and electronic equipment
US10834079B2 (en) Negotiative conversation chat bot
CN107741902A (en) Program application detection method and program application detection means
US20170277788A1 (en) Method and apparatus for navigational searching of a website
CN107168844B (en) Performance monitoring method and device
CN109558561A (en) A kind of user behavior path acquisition method, device, equipment and medium
CN108668241A (en) Information prompting method, device, storage medium and electronic equipment
CN110442819A (en) Data processing method, device, storage medium and terminal
US20200067985A1 (en) Systems and methods of interactive and intelligent cyber-security
CN108595957A (en) Main browser page altering detecting method, device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161109