CN108563547A - A kind of method, system and medium based on the conversion of intelligent terminal journal format - Google Patents

A kind of method, system and medium based on the conversion of intelligent terminal journal format Download PDF

Info

Publication number
CN108563547A
CN108563547A CN201810168541.3A CN201810168541A CN108563547A CN 108563547 A CN108563547 A CN 108563547A CN 201810168541 A CN201810168541 A CN 201810168541A CN 108563547 A CN108563547 A CN 108563547A
Authority
CN
China
Prior art keywords
format
log
conversion
intelligent terminal
unified
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
CN201810168541.3A
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.)
Beijing Haihang Communication Technology Co Ltd
Original Assignee
Beijing Haihang Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Haihang Communication Technology Co Ltd filed Critical Beijing Haihang Communication Technology Co Ltd
Priority to CN201810168541.3A priority Critical patent/CN108563547A/en
Publication of CN108563547A publication Critical patent/CN108563547A/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/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3068Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data format conversion

Landscapes

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

Abstract

The present invention provides a kind of method, system and medium based on the conversion of intelligent terminal journal format, this method includes executing following steps successively:Daily record crawl step:Intelligent terminal daily record is captured;Format conversion step:Intelligent terminal journal format is converted;Judgment step:Judge whether the format of conversion meets user's requirement, if so, so executing unified step of converting, otherwise executes format conversion step;Unified step of converting:Unified conversion is carried out to current log format.The beneficial effects of the invention are as follows:The present invention is a kind of by the way of format conversion, builds the form of journal format registration form, and after taking registration form in this way, active user takes the daily record after conversion, so that it may to go further analyzing processing well.

Description

A kind of method, system and medium based on the conversion of intelligent terminal journal format
Technical field
The present invention relates to technical field of data processing more particularly to a kind of sides based on the conversion of intelligent terminal journal format Method, system and medium.
Background technology
Intelligent terminal market is fast-developing, and the enterprise for being engaged in intelligent terminal exploitation occupies certain market ratio, is engaged in intelligence The personnel of energy terminal development, internet exploitation, and test, increasingly increase severely with the development in market, this is calculated being engaged in communication The talent in terms of machine is increasingly urgent to, and many Non-computer Majors also all add computer software exploitation, test etc., consulting etc. Industry, but it is engaged in intelligent terminal industry, wherein key factor is exactly to be divided intelligent terminal according to the daily record of intelligent terminal Analysis, but this is not to need to take a long time association's analysis for the learner of some time for contact intelligent terminal, To there is an urgent need to the demands of log analysis in simplifying usually.
Invention content
The present invention provides a kind of methods based on the conversion of intelligent terminal journal format, including execute following steps successively:
Daily record crawl step:Intelligent terminal daily record is captured;
Format conversion step:Intelligent terminal journal format is converted;
Judgment step:Judge whether the format of conversion meets user's requirement, if so, unified step of converting is so executed, it is no Then execute format conversion step;
Unified step of converting:Unified conversion is carried out to current log format.
As a further improvement on the present invention, in the daily record crawl step, the log in intelligent terminal is carried out first Crawl, when capturing log, according to the method for system default, to application program log, system program log, agreement log, net Network signal Log carries out unified crawl.
As a further improvement on the present invention, in the format conversion step, the daily record of intelligent terminal crawl is carried out Unified summary classification.
As a further improvement on the present invention, the summary is divided into communication class log, system-level log, application layer log.
As a further improvement on the present invention, in unified step of converting, daily record is converted into current log uniform format Format registration form.
As a further improvement on the present invention, the detailed system fortune of intelligent terminal is had recorded in the journal format registration form Market condition.
As a further improvement on the present invention, in the journal format registration form record have system mark number, module type, Module title, the process number of module or thread number, the calling correlation function of module, at module error, module problem reason, module Current time, modular filtration marking device.
The present invention also provides a kind of systems based on the conversion of intelligent terminal journal format, including:Memory, processor with And it is stored in the computer program on the memory, realize this when the computer program is configured to be called by the processor The step of inventing the method.
The present invention also provides a kind of computer readable storage mediums, which is characterized in that the computer-readable storage medium Matter is stored with computer program, and the computer program realizes the step of method of the present invention when being configured to be called by processor Suddenly.
The beneficial effects of the invention are as follows:The present invention is a kind of by the way of format conversion, builds journal format registration form Form, after taking registration form in this way, active user take conversion after daily record, so that it may to go well at further analysis Reason.
Description of the drawings
Fig. 1 is flow chart of the method for the present invention.
Fig. 2 is the summary classification chart of the present invention.
Specific implementation mode
There is the method that many intelligent terminals to daily record implement analysis currently on the market, and stresses to device log The methods of automatic collection and positioning problems.But the present invention is a kind of side converted for intelligent terminal journal format Method, it is different with traditional certain methods emphasis, the method for the present invention be stress the conversion to intelligent terminal journal format so that it is convenient to Later corresponding log analysis, daily record extraction.
As shown in Figure 1, the invention discloses a kind of methods based on the conversion of intelligent terminal journal format, including execute successively Following steps:
Step S1, daily record crawl step:Intelligent terminal daily record is captured;
Step S2, format conversion step:Intelligent terminal journal format is converted;
Step S3, judgment step:Judge whether the format of conversion meets user's requirement, if so, so executing unified conversion Otherwise step executes format conversion step;
Step S4, unified step of converting:Unified conversion is carried out to current log format.
In the daily record crawl step, the log in intelligent terminal is captured first, when capturing log, is pressed The method of lighting system acquiescence carries out unified crawl to application program log, system program log, agreement log, network signal Log.
In judgment step, if not meeting user demand, the format of system can again be divided with return to step S2 Analysis conversion;If meeting user demand, format conversion is carried out to the system format currently captured, to allow user's later stage to problem It is positioned and is tracked.
In the present invention, the log of intelligent terminal is converted, traditional mode is defeated with the format progress of system default Go out, is not that the experienced engineer of profession faces the daily record of a pile system grabs, is frequently not to know wherefrom to set about.This hair The bright daily record to intelligent terminal crawl carries out unified summary and classifies.As shown in Fig. 2, summary is divided into communication class log, system Grade log, application layer log.
In unified step of converting, journal format registration form is converted into current log uniform format, wherein the daily record lattice The detailed running situation of intelligent terminal is had recorded in formula registration form.Wherein journal format registration form format is as follows:
(0)ID:
The ID number of record positions convenient for systematic search.
(1)model type:
The type of module, that is, that system module are had recorded in currently running module type, is in application layer, frame Rack-layer, operating system layer, system kernel layer, protocol layer communicate IP layers, and communications applications layer provides the preliminary module positioning of the problem Point.
(2)model nam:
It is exactly the module name currently called that current system module name, which is recorded, if it is system kernel
(3)Model pid/tid:
The process number of current log and and corresponding thread number, if being sky without default value
(4)model invoking function:
The preliminary call relation of current block, that is, current block relating module, that module call current block, That module can be called through current block next stage.
(5)model fault/error/ANR:
If current block is wrong, the complete error message of current block is listed.
(6)modelerror causing:
The log reasons of system preliminary analysis are RAM leakage or null pointer, call error etc.
(7)model current system time:
If system current block run time such could obtain current problem time of origin point problematic.Here not It is that log gives tacit consent to the original log current times that currently capture, sometimes due to buffer, the relationship of multithreading, l currently captures original The ecological log times are not necessarily the time of current block operation.
(8)model filter:
The filter of module, sometimes since Log is too many, I is not desired to see that I merely desires to see in a certain respect too much, as long as Module inputs corresponding filter value, and system will list the corresponding information of user.
If following table is journal format registration form:
The invention also discloses a kind of systems based on the conversion of intelligent terminal journal format, including:Memory, processor with And it is stored in the computer program on the memory, realize this when the computer program is configured to be called by the processor The step of inventing the method.
The invention also discloses a kind of computer readable storage medium, the computer-readable recording medium storage has calculating The step of machine program, the computer program realizes method of the present invention when being configured to be called by processor.
The present invention is not to establish analysis system to daily record, and how to carry out location of mistake to daily record, and the present invention is only For the daily record of system grabs, the present invention is a kind of by the way of format conversion, builds the form of journal format registration form, this After sample takes registration form, active user takes the daily record after conversion, so that it may to go further analyzing processing well.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that The specific implementation of the present invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to the present invention's Protection domain.

Claims (9)

1. a kind of method based on the conversion of intelligent terminal journal format, which is characterized in that including executing following steps successively:
Daily record crawl step:Intelligent terminal daily record is captured;
Format conversion step:Intelligent terminal journal format is converted;
Judgment step:Judge whether the format of conversion meets user's requirement, if so, so executing unified step of converting, otherwise holds Row format step of converting;
Unified step of converting:Unified conversion is carried out to current log format.
2. according to the method described in claim 1, it is characterized in that, in the daily record crawl step, first to intelligent terminal In log captured, when capturing log, according to the method for system default, to application program log, system program log, Agreement log, network signal Log carry out unified crawl.
3. according to the method described in claim 2, it is characterized in that, in the format conversion step, intelligent terminal is captured Daily record carry out unified summary classification.
4. according to the method described in claim 3, it is characterized in that, the summary be divided into communication class log, system-level log, Application layer log.
5. method according to any one of claims 1 to 4, which is characterized in that in unified step of converting, to current log Uniform format is converted into journal format registration form.
6. according to the method described in claim 5, it is characterized in that, to have recorded intelligent terminal in the journal format registration form detailed Thin running situation.
7. according to the method described in claim 6, it is characterized in that, record has system mark in the journal format registration form Number, the process number of module type, module title, module or thread number, the calling correlation function of module, at module error, module Questions and prospect, module current time, modular filtration marking device.
8. a kind of system based on the conversion of intelligent terminal journal format, which is characterized in that including:It memory, processor and deposits The computer program on the memory is stored up, realizes that right is wanted when the computer program is configured to be called by the processor The step of seeking the method described in any one of 1-7.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the step of method described in any one of claim 1-7 is realized when the computer program is configured to be called by processor.
CN201810168541.3A 2018-02-28 2018-02-28 A kind of method, system and medium based on the conversion of intelligent terminal journal format Pending CN108563547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810168541.3A CN108563547A (en) 2018-02-28 2018-02-28 A kind of method, system and medium based on the conversion of intelligent terminal journal format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810168541.3A CN108563547A (en) 2018-02-28 2018-02-28 A kind of method, system and medium based on the conversion of intelligent terminal journal format

Publications (1)

Publication Number Publication Date
CN108563547A true CN108563547A (en) 2018-09-21

Family

ID=63532442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810168541.3A Pending CN108563547A (en) 2018-02-28 2018-02-28 A kind of method, system and medium based on the conversion of intelligent terminal journal format

Country Status (1)

Country Link
CN (1) CN108563547A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110488772A (en) * 2019-07-04 2019-11-22 烽台科技(北京)有限公司 A kind of centralized monitoring method of DCS, device and Centralized Monitoring terminal
CN111176680A (en) * 2019-12-25 2020-05-19 远光软件股份有限公司 Enterprise terminal management method, system, equipment and medium based on Internet of things
CN111935237A (en) * 2020-07-15 2020-11-13 展讯通信(上海)有限公司 Log processing method and system, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823811A (en) * 2012-11-19 2014-05-28 北京百度网讯科技有限公司 Method and system for processing journals
US9405755B1 (en) * 2013-10-03 2016-08-02 Initial State Technologies, Inc. Apparatus and method for processing log file data
CN105871574A (en) * 2015-01-21 2016-08-17 中国移动通信集团浙江有限公司 Method, device and system for monitoring log based on software development kit
CN106202235A (en) * 2016-06-28 2016-12-07 微梦创科网络科技(中国)有限公司 A kind of data processing method and device
CN106815306A (en) * 2016-12-16 2017-06-09 中铁程科技有限责任公司 Daily record analysis method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823811A (en) * 2012-11-19 2014-05-28 北京百度网讯科技有限公司 Method and system for processing journals
US9405755B1 (en) * 2013-10-03 2016-08-02 Initial State Technologies, Inc. Apparatus and method for processing log file data
CN105871574A (en) * 2015-01-21 2016-08-17 中国移动通信集团浙江有限公司 Method, device and system for monitoring log based on software development kit
CN106202235A (en) * 2016-06-28 2016-12-07 微梦创科网络科技(中国)有限公司 A kind of data processing method and device
CN106815306A (en) * 2016-12-16 2017-06-09 中铁程科技有限责任公司 Daily record analysis method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110488772A (en) * 2019-07-04 2019-11-22 烽台科技(北京)有限公司 A kind of centralized monitoring method of DCS, device and Centralized Monitoring terminal
CN111176680A (en) * 2019-12-25 2020-05-19 远光软件股份有限公司 Enterprise terminal management method, system, equipment and medium based on Internet of things
CN111176680B (en) * 2019-12-25 2024-02-02 远光软件股份有限公司 Enterprise terminal management method, system, equipment and medium based on Internet of things
CN111935237A (en) * 2020-07-15 2020-11-13 展讯通信(上海)有限公司 Log processing method and system, electronic device and storage medium
CN111935237B (en) * 2020-07-15 2023-02-21 展讯通信(上海)有限公司 Log processing method and system, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN108563547A (en) A kind of method, system and medium based on the conversion of intelligent terminal journal format
WO2020001642A1 (en) Operation and maintenance system and method
CN104281808B (en) A kind of general Android malicious act detection methods
CN109462590B (en) Unknown protocol reverse analysis method based on fuzzy test
CN108459967A (en) Web application method for generating test case based on user interface state flow-chart
CN107800565A (en) Method for inspecting, device, system, computer equipment and storage medium
CN108632111A (en) Service link monitoring method based on log
CN103150155B (en) Data interception method and device
CN109683990B (en) H5 multiterminal cut-in method based on mixed mode mobile application
CN104731606A (en) System and method based on identification grasping technology to achieve enterprise application integration management
CN113094269A (en) Application program test exception analysis method and device
CN102427423A (en) Method and device for network traffic tracking and fault positioning
CN110442611B (en) Automatic inquiring method and system for company brand domain name
CN116800586A (en) Method for diagnosing data communication faults of telecommunication network
CN112256636A (en) Data acquisition system for mobile application APP
CN112256959B (en) Method for analyzing information collected by WeChat public number small program
CN102932179A (en) Comprehensive inter-network multi-protection reliability analysis method for power communication services
US9077662B2 (en) Service linkage control system and method
CN111625474B (en) Automatic testing method of alliance chain
CN105337797A (en) Data capturing method of network protocol of complex electronic information system
CN107592359A (en) A kind of service end response method, device and medium based on RPC agreements
CN107426039A (en) The method and system that a kind of daily record is reported and received
CN114661623B (en) UI automatic test method for testing React Native application
CN108833125B (en) Drawing method, system, computer equipment and storage medium for restoring voice speech path
CN113780371B (en) Insulator state edge identification method based on edge calculation and deep learning

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180921