CN108052452A - The visual optimization method that a kind of daily record is checked and accepted - Google Patents

The visual optimization method that a kind of daily record is checked and accepted Download PDF

Info

Publication number
CN108052452A
CN108052452A CN201711475838.6A CN201711475838A CN108052452A CN 108052452 A CN108052452 A CN 108052452A CN 201711475838 A CN201711475838 A CN 201711475838A CN 108052452 A CN108052452 A CN 108052452A
Authority
CN
China
Prior art keywords
daily record
accepted
checked
keyword
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711475838.6A
Other languages
Chinese (zh)
Inventor
郭艳杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kuwo Technology Co Ltd
Original Assignee
Beijing Kuwo 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 Kuwo Technology Co Ltd filed Critical Beijing Kuwo Technology Co Ltd
Priority to CN201711475838.6A priority Critical patent/CN108052452A/en
Publication of CN108052452A publication Critical patent/CN108052452A/en
Pending legal-status Critical Current

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/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results 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/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to the visual optimization method that a kind of daily record is checked and accepted, step is as follows:In client setting home server LocalServer addresses, and open local logging mode iLocalLogMode, log information is sent to home server by client, after home server receives log information, active push data to check and accept end, it checks and accepts end and shows end as what is checked and accepted for daily record, it is presented in the form of the html pages, when generating the html pages, call js local program angularjs App, js local program angularjs App pass through information filtering, carry out the following visual optimization present invention, after log information is produced, after-treatment is carried out to information, visual(It is visual)On optimize, aim at final day checking and accepting end and presented using the html pages in the form of, can increase abundant customization service, realize in real time, visual good daily record examination, the update of daily record can be presented in real time, improve efficiency and accuracy that daily record is checked and accepted.

Description

The visual optimization method that a kind of daily record is checked and accepted
Technical field
The present invention relates to log management technical field, specifically a kind of visual optimization method of daily record examination.
Background technology
In existing software development, in order to monitor, debugging software, find as far as possible and solve existing Bug, software exists When test run, commencement of commercial operation, log information can be all generated, certain operations processing when detailed logging software is run, exception are wrong The relevant informations such as mistake, so that engineer can have the miscue of refinement directly perceived, the source of easy-to-look-up problem.
Log information is due to containing much information, itself is directly perceived readable there is no considering, many daily records are united for system, backstage Meter uses, front end wishes to check, checks and accepts daily record send out it is complete, to or not when, due to log information excessively very complicated, it is difficult to It reads, understand, poor visibility.
The content of the invention
For defect in the prior art, it is an object of the invention to provide the visual optimization sides that a kind of daily record is checked and accepted Method after log information is produced, carries out after-treatment, visual to information(It is visual)On optimize, final day aims at testing Receiving end is presented in the form of the html pages, can increase abundant customization service, realizes that real-time, visual good daily record is checked and accepted, The update of daily record can be presented in real time, improve the efficiency and accuracy of daily record examination.
To achieve the above objectives, the present invention adopts the technical scheme that:
The visual optimization method that a kind of daily record is checked and accepted, which is characterized in that include the following steps:
In client setting home server LocalServer addresses, and local logging mode iLocalLogMode is opened,
Log information is sent to home server by client in real time,
After home server receives log information, active push data to examination end,
It checks and accepts end and shows end as what is checked and accepted for daily record, presented in the form of the html pages,
When generating the html pages, js local program angularjs App are called,
Js local program angularjs App carry out following visual optimization by information filtering:
The keyword that information filtering is specified replaces with the explanation character string for being easy to read,
The color attribute for the keyword that information filtering is specified is set as the color specified,
The font size for the keyword that information filtering is specified is set as the size specified,
The display properties for the keyword that information filtering is specified is set as hiding,
The keyword and the appearance relation of conjunctive word specified according to information filtering, when do not meet there is relation when, increase mistake carry Awake character string.
Based on the above technical solutions, it is described occur relation include it is following one of arbitrary or two or more:
Keyword and conjunctive word should occur in same a line,
Keyword and conjunctive word should not occur in a line,
There is conjunctive word to keyword in several row planted agents downwards,
Keyword conjunctive word should not occur in several rows downwards.
Based on the above technical solutions, the client operation intelligent operating system, the intelligent operating system bag Include iOS system.
Based on the above technical solutions, log information is sent to local clothes by client in real time using post services Business device.
Based on the above technical solutions, home server receives post numbers using the websocket services of Node.js According to asking and handled accordingly,
Home server operation has Nodejs webSocketServer, for providing websocket services.
Based on the above technical solutions, the Nodejs webSocketServer on home server, pass through broadcast Service ws.onMessage, by log information to it is all examination ends in js local service advertisements,
After the js local services checked and accepted in end receive log information, low level information filtering processing is first carried out, then is carried out high-level Information highlights processing at random, and log information then is added to daily record container.
Based on the above technical solutions, js local programs angularjs App read the data in daily record container,
The data of reading and log list are bound, the binding of data and page view is used to implement, realizes the row of data-driven Table real-time update,
Information filtering msgFilter is called visually to be optimized,
Data after visually optimizing are carried out to turn html text-processings,
Html trust filtering htmlTrust Filter is called to filter out the not accredited html contents of setting,
Accredited html contents are returned to log list,
Log list, which is finally presented on, checks and accepts end and shows.
Based on the above technical solutions, log list, which is called, rolls plug-in unit so that is automatically scrolling to during data update Bottom shows newest log information.
After log information is produced, secondary place is carried out to information for the visual optimization method that daily record of the present invention is checked and accepted Reason, visual(It is visual)On optimize, aim at final day check and accept end presented in the form of the html pages, can increase abundant Customization service, realize in real time, visual good daily record check and accept, the update of daily record can be presented in real time, improve daily record examination Efficiency and accuracy.
Description of the drawings
The present invention has drawings described below:
The flow chart of Fig. 1 present invention.
Specific embodiment
The present invention is described in further detail below in conjunction with attached drawing.
As shown in Figure 1, the visual optimization method that daily record of the present invention is checked and accepted, includes the following steps:
In client setting home server LocalServer addresses, and local logging mode iLocalLogMode is opened,
Log information is sent to home server by client in real time,
After home server receives log information, active push data to examination end,
It checks and accepts end and shows end as what is checked and accepted for daily record, presented in the form of the html pages,
When generating the html pages, js local program angularjs App are called,
Js local program angularjs App carry out following visual optimization by information filtering:
The keyword that information filtering is specified replaces with the explanation character string for being easy to read,
The color attribute for the keyword that information filtering is specified is set as the color specified,
The font size for the keyword that information filtering is specified is set as the size specified,
The display properties for the keyword that information filtering is specified is set as hiding,
The keyword and the appearance relation of conjunctive word specified according to information filtering, when do not meet there is relation when, increase mistake carry Awake character string.
Further, it is described occur relation include it is following one of arbitrary or two or more:
Keyword and conjunctive word should occur in same a line,
Keyword and conjunctive word should not occur in a line,
There is conjunctive word to keyword in several row planted agents downwards,
Keyword conjunctive word should not occur in several rows downwards.
In said program, active push data to the show log for the purpose of checking and accepting end being real-time high-efficiency avoid checking and accepting end(Exhibition Now hold)The operation of timing pulling data.
Based on the above technical solutions, the client operation intelligent operating system, the intelligent operating system bag Include iOS system.
Based on the above technical solutions, log information is sent to local clothes by client in real time using post services Business device.
I.e.:Using http communication modes, parameter is placed in http request data, passes to home server.
Based on the above technical solutions, home server receives post numbers using the websocket services of Node.js According to asking and handled accordingly,
Home server operation has Nodejs webSocketServer, for providing websocket services.
Node.js is the JavaScript running environment based on ChromeV8 engines.Node.js has used a thing Part driving, the model of non-block type I/O make its light weight again efficient.Websocket services are based on event-driven, are supported complete double Work communicates.
Based on the above technical solutions, the Nodejs webSocketServer on home server, pass through broadcast Service ws.onMessage, by log information to it is all examination ends in js local service advertisements,
After the js local services checked and accepted in end receive log information, low level information filtering processing is first carried out, then is carried out high-level Information highlights processing at random, and log information then is added to daily record container.
Based on the above technical solutions, js local programs angularjs App read the data in daily record container,
The data of reading and log list are bound, the binding of data and page view is used to implement, realizes the row of data-driven Table real-time update,
Information filtering msgFilter is called visually to be optimized,
Data after visually optimizing are carried out to turn html text-processings,
Html trust filtering htmlTrust Filter is called to filter out the not accredited html contents of setting,
Accredited html contents are returned to log list,
Log list, which is finally presented on, checks and accepts end and shows.
Based on the above technical solutions, log list, which is called, rolls plug-in unit so that is automatically scrolling to during data update Bottom shows newest log information.
The content not being described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (8)

1. the visual optimization method that a kind of daily record is checked and accepted, which is characterized in that include the following steps:
In client setting home server LocalServer addresses, and local logging mode iLocalLogMode is opened,
Log information is sent to home server by client in real time,
After home server receives log information, active push data to examination end,
It checks and accepts end and shows end as what is checked and accepted for daily record, presented in the form of the html pages,
When generating the html pages, js local program angularjs App are called,
Js local program angularjs App carry out following visual optimization by information filtering:
The keyword that information filtering is specified replaces with the explanation character string for being easy to read,
The color attribute for the keyword that information filtering is specified is set as the color specified,
The font size for the keyword that information filtering is specified is set as the size specified,
The display properties for the keyword that information filtering is specified is set as hiding,
The keyword and the appearance relation of conjunctive word specified according to information filtering, when do not meet there is relation when, increase mistake carry Awake character string.
2. the visual optimization method that daily record as described in claim 1 is checked and accepted, it is characterised in that:It is described relation occur including following It is one of arbitrary or two or more:
Keyword and conjunctive word should occur in same a line,
Keyword and conjunctive word should not occur in a line,
There is conjunctive word to keyword in several row planted agents downwards,
Keyword conjunctive word should not occur in several rows downwards.
3. the visual optimization method that daily record as described in claim 1 is checked and accepted, it is characterised in that:The client operation intelligence behaviour Make system, the intelligent operating system includes iOS system.
4. the visual optimization method that daily record as described in claim 1 is checked and accepted, it is characterised in that:Client is real using post services When log information is sent to home server.
5. the visual optimization method that daily record as claimed in claim 4 is checked and accepted, it is characterised in that:Home server uses The websocket services of Node.js receive post request of data and are handled accordingly,
Home server operation has Nodejs webSocketServer, for providing websocket services.
6. the visual optimization method that daily record as claimed in claim 5 is checked and accepted, it is characterised in that:Nodejs on home server WebSocketServer, by broadcast service ws.onMessage, by js local service of the log information into all examination ends Broadcast,
After the js local services checked and accepted in end receive log information, low level information filtering processing is first carried out, then is carried out high-level Information highlights processing at random, and log information then is added to daily record container.
7. the visual optimization method that daily record as claimed in claim 6 is checked and accepted, it is characterised in that:Js local programs angularjs App reads the data in daily record container,
The data of reading and log list are bound, the binding of data and page view is used to implement, realizes the row of data-driven Table real-time update,
Information filtering msgFilter is called visually to be optimized,
Data after visually optimizing are carried out to turn html text-processings,
Html trust filtering htmlTrust Filter is called to filter out the not accredited html contents of setting,
Accredited html contents are returned to log list,
Log list, which is finally presented on, checks and accepts end and shows.
8. the visual optimization method that daily record as claimed in claim 7 is checked and accepted, it is characterised in that:Log list is called to roll and inserted Part so that bottom is automatically scrolling to during data update and shows newest log information.
CN201711475838.6A 2017-12-29 2017-12-29 The visual optimization method that a kind of daily record is checked and accepted Pending CN108052452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711475838.6A CN108052452A (en) 2017-12-29 2017-12-29 The visual optimization method that a kind of daily record is checked and accepted

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711475838.6A CN108052452A (en) 2017-12-29 2017-12-29 The visual optimization method that a kind of daily record is checked and accepted

Publications (1)

Publication Number Publication Date
CN108052452A true CN108052452A (en) 2018-05-18

Family

ID=62129369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711475838.6A Pending CN108052452A (en) 2017-12-29 2017-12-29 The visual optimization method that a kind of daily record is checked and accepted

Country Status (1)

Country Link
CN (1) CN108052452A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959199A (en) * 2018-06-28 2018-12-07 武汉斗鱼网络科技有限公司 A kind of log highlights method, apparatus, storage medium and android terminal
CN109344064A (en) * 2018-09-26 2019-02-15 北京酷我科技有限公司 It is a kind of to apply remote debugging method

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6055572A (en) * 1998-01-20 2000-04-25 Netscape Communications Corporation System and method for creating pathfiles for use to predict patterns of web surfaces
CN101594342A (en) * 2008-05-29 2009-12-02 国际商业机器公司 log recording method and device
CN101651707A (en) * 2009-09-22 2010-02-17 西安交通大学 Method for automatically acquiring user behavior log of network
US20100332837A1 (en) * 2008-07-07 2010-12-30 Phion Ag Web application security filtering
CN103425750A (en) * 2013-07-23 2013-12-04 国云科技股份有限公司 Cross-platform and cross-application log collecting system and collecting managing method thereof
CN103634441A (en) * 2012-08-24 2014-03-12 腾讯科技(深圳)有限公司 Method and device for testing mobile terminal
CN104182059A (en) * 2013-05-23 2014-12-03 华为技术有限公司 Generation method and system of natural language
CN104376043A (en) * 2014-10-14 2015-02-25 深圳怡化电脑股份有限公司 Log recording and displaying method and device
CN106294672A (en) * 2016-08-08 2017-01-04 杭州玳数科技有限公司 The method and system that a kind of daily record represents in real time and inquires about
CN107273280A (en) * 2017-06-30 2017-10-20 百度在线网络技术(北京)有限公司 A kind of log processing method, device, electronic equipment and storage medium
CN107301115A (en) * 2017-06-26 2017-10-27 中国铁道科学研究院电子计算技术研究所 Application exception is monitored and restoration methods and equipment
CN107332703A (en) * 2017-06-28 2017-11-07 武汉斗鱼网络科技有限公司 A kind of inspection method and device of many application daily records
AU2016346740A1 (en) * 2015-10-27 2018-05-10 A1 Media Group Co., Ltd. Internet content providing server and computer readable recording medium embodying same method
CN111984488A (en) * 2020-09-27 2020-11-24 苏州浪潮智能科技有限公司 Memory fault detection method and device, electronic equipment and readable storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6055572A (en) * 1998-01-20 2000-04-25 Netscape Communications Corporation System and method for creating pathfiles for use to predict patterns of web surfaces
CN101594342A (en) * 2008-05-29 2009-12-02 国际商业机器公司 log recording method and device
US20100332837A1 (en) * 2008-07-07 2010-12-30 Phion Ag Web application security filtering
CN101651707A (en) * 2009-09-22 2010-02-17 西安交通大学 Method for automatically acquiring user behavior log of network
CN103634441A (en) * 2012-08-24 2014-03-12 腾讯科技(深圳)有限公司 Method and device for testing mobile terminal
CN104182059A (en) * 2013-05-23 2014-12-03 华为技术有限公司 Generation method and system of natural language
CN103425750A (en) * 2013-07-23 2013-12-04 国云科技股份有限公司 Cross-platform and cross-application log collecting system and collecting managing method thereof
CN104376043A (en) * 2014-10-14 2015-02-25 深圳怡化电脑股份有限公司 Log recording and displaying method and device
AU2016346740A1 (en) * 2015-10-27 2018-05-10 A1 Media Group Co., Ltd. Internet content providing server and computer readable recording medium embodying same method
CN106294672A (en) * 2016-08-08 2017-01-04 杭州玳数科技有限公司 The method and system that a kind of daily record represents in real time and inquires about
CN107301115A (en) * 2017-06-26 2017-10-27 中国铁道科学研究院电子计算技术研究所 Application exception is monitored and restoration methods and equipment
CN107332703A (en) * 2017-06-28 2017-11-07 武汉斗鱼网络科技有限公司 A kind of inspection method and device of many application daily records
CN107273280A (en) * 2017-06-30 2017-10-20 百度在线网络技术(北京)有限公司 A kind of log processing method, device, electronic equipment and storage medium
CN111984488A (en) * 2020-09-27 2020-11-24 苏州浪潮智能科技有限公司 Memory fault detection method and device, electronic equipment and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JIENAN CHEN等: "High Throughput Stochastic Log-MAP Turbo-Decoder Based on Low Bits Computation", 《IEEE SIGNAL PROCESSING LETTERS》 *
李祝启等: "基于Web日志统计分析的公共图书馆用户行为研究", 《图书馆杂志》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959199A (en) * 2018-06-28 2018-12-07 武汉斗鱼网络科技有限公司 A kind of log highlights method, apparatus, storage medium and android terminal
CN108959199B (en) * 2018-06-28 2022-08-16 武汉斗鱼网络科技有限公司 Log highlighting method and device, storage medium and android terminal
CN109344064A (en) * 2018-09-26 2019-02-15 北京酷我科技有限公司 It is a kind of to apply remote debugging method

Similar Documents

Publication Publication Date Title
CN107295050B (en) Front-end user behavior statistical method and device
CN108519952B (en) A kind of distributed WEB automatization test system and method
CN108363602B (en) Intelligent UI (user interface) layout method and device, terminal equipment and storage medium
CN101826085B (en) AJAX-based method for importing/exporting large file into/from web page on line
CN106897215A (en) A kind of method gathered based on WebView webpages loading performance and user behavior flow data
CN110704047B (en) Dynamic visual configuration system and operation management method based on same
CN108256897A (en) Marketing method, electronic device and the storage medium propagated based on H5 loose-leafs
CN104881776B (en) Easy to the office system of multi-user Cooperation
CN101662493A (en) Data acquiring method, system and server of user access path
CN104935660B (en) A kind of cloud program development operating system, method and device
CN105930460A (en) Multi-algorithm-integrated big data analysis middleware platform
CN107508720A (en) A kind of automated testing method and device
CN102523106A (en) Video website user behavior analysis system based on Flex RIA (Rich Internet Applications) technology
CN108052452A (en) The visual optimization method that a kind of daily record is checked and accepted
CN105405221A (en) Method and device for automated test
CN105549972A (en) Unified authentication protocol-based mvc frame structure and running method thereof
CN109473160A (en) The mark qualification of medical image determines method and device
CN102891875A (en) Signaling trace method, WEB client, service end and signaling trace system
CN105719195A (en) Gradual-type expressing method and system for intelligent-substation event sequence analysis
CN104657248A (en) Java thread stack analysis method and system
CN110209578A (en) A kind of information on-line testing platform
CN111209329B (en) Dynamic analysis method, device and system based on full-traffic price and cost transaction path
CN109739754B (en) Automatic testing method and system for application program based on WeChat development
CN106357466A (en) Monitoring method for internet products and monitoring system
CN110134394A (en) A kind of web interface generation method for supporting multiple terminals

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