[go: up one dir, main page]

CN105893219A - Error message display method and device - Google Patents

Error message display method and device Download PDF

Info

Publication number
CN105893219A
CN105893219A CN201610196023.3A CN201610196023A CN105893219A CN 105893219 A CN105893219 A CN 105893219A CN 201610196023 A CN201610196023 A CN 201610196023A CN 105893219 A CN105893219 A CN 105893219A
Authority
CN
China
Prior art keywords
web page
page code
error message
webpage
code
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
CN201610196023.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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201610196023.3A priority Critical patent/CN105893219A/en
Publication of CN105893219A publication Critical patent/CN105893219A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • G06F11/326Display of status information by lamps or LED's for error or online/offline status
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/362Debugging of software
    • G06F11/366Debugging of software using diagnostics

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 Hardware Design (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an error message display method and device and belongs to the technical field of computers. The method comprises the steps that a webpage code of a webpage display at present is obtained; according to a prestored error detection algorithm, a code error existing in the webpage code is detected, and the error message of the webpage code is obtained; the error message of the webpage code is displayed in a video playing window in the webpage. By the adoption of the error message display method and device, webpage code debugging accuracy can be improved.

Description

A kind of method and apparatus showing error message
Technical field
The present invention relates to field of computer technology, particularly to a kind of method and apparatus showing error message.
Background technology
Along with the development of Internet technology, the application of the Internet is more and more extensive, function the most from strength to strength, User can input the network address of certain website by terminal, so that terminal can be from the server that this website is corresponding Obtain the website data of this website, such that it is able to the information browsed in this website.
Properly functioning for maintaining web, technical staff often can carry out misarrangement to the web page code of website, In time the mistake in web page code is modified.Technical staff can input in the browser of terminal to be needed Carrying out the network address of the website safeguarded, corresponding web data can be sent to terminal, webpage number by server According to including web page code, after technical staff opens the webpage of this website, control can be opened in a browser Platform processed, control station may be used for detecting in the web page code that this website is currently run whether there is mistake, then Error message can be shown in the viewing area of control station.
During realizing the present invention, inventor finds that prior art at least there is problems in that
Technical staff, when web page code is carried out misarrangement, generally requires the real-time display situation according to website, Judge whether web page code exists mistake, and the display interface of control station can block the partial content of webpage, So, technical staff will be unable to see the full content of webpage, causes some mistakes to be missed, makes The accuracy that must carry out web page code misarrangement is relatively low.
Summary of the invention
In order to solve problem of the prior art, embodiments provide a kind of method showing error message And device.Described technical scheme is as follows:
First aspect, it is provided that a kind of method showing error message, described method includes:
Obtain the web page code of currently displaying webpage;
According to the arithmetic code error detection algorithm prestored, detect code error present in described web page code, Error message to described web page code;
In video playback window in described webpage, show the error message of described web page code.
Optionally, in described video playback window in described webpage, the mistake of described web page code is shown Information, including:
In the video playback window of described webpage, in the viewing area that error message is corresponding, show described net The error message of page code.
Optionally, described method also includes:
Receive the command information of user's input;
Described command information is inserted in described web page code, so that described web page code output described instruction letter The operation result that breath is corresponding;
In the video playback window of described webpage, in the viewing area that operation result is corresponding, show described fortune Row result.
So, it is also possible in video playback window, show operation result, in order to technical staff is according to display Operation result, it is judged that whether there is code error in web page code.
Optionally, described method also includes:
In video playback window in described webpage, in the viewing area that web page code is corresponding, display is described Web page code.
So, technical staff is it can be seen that the current web page code run.
Optionally, the display effect of the error message of described web page code is Dynamic Announce.
As such, it is possible to increase the quantity of information that video playback window shows, it is possible to improve Consumer's Experience.
Second aspect, it is provided that a kind of device showing error message, described device includes:
Acquisition module, for obtaining the web page code of currently displaying webpage;
Detection module, for according to the arithmetic code error detection algorithm prestored, detects in described web page code and exists Code error, obtain the error message of described web page code;
First display module, in the video playback window in described webpage, shows described web page code Error message.
Optionally, described display module, it is used for:
In the video playback window of described webpage, in the viewing area that error message is corresponding, show described net The error message of page code.
Optionally, described device also includes:
Receiver module, for receiving the command information of user's input;
Insert module, for inserting described command information in described web page code, so that described web page code Export the operation result that described command information is corresponding;
Second display module, is used in the video playback window of described webpage, the display that operation result is corresponding In region, show described operation result.
Optionally, described device also includes:
3rd display module, in the video playback window in described webpage, corresponding the showing of web page code In showing region, show described web page code.
Optionally, the display effect of the error message of described web page code is Dynamic Announce.
The technical scheme that the embodiment of the present invention provides has the benefit that
In the embodiment of the present invention, obtain the web page code of currently displaying webpage, according to the mistake prestored Detection algorithm, detects code error present in web page code, obtains the error message of web page code, at net In video playback window in Ye, the error message of display web page code, as such, it is possible to regarding in webpage Frequently in broadcast window, the error message of display web page code, it is to avoid blocking the content of webpage, technical staff can To see the full content of webpage, such that it is able to improve the accuracy carrying out web page code misarrangement.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram showing error message that the embodiment of the present invention provides;
Fig. 2 is a kind of interface display schematic diagram that the embodiment of the present invention provides;
Fig. 3 is a kind of interface display schematic diagram that the embodiment of the present invention provides;
Fig. 4 is a kind of interface display schematic diagram that the embodiment of the present invention provides;
Fig. 5 is a kind of apparatus structure schematic diagram showing error message that the embodiment of the present invention provides;
Fig. 6 is a kind of apparatus structure schematic diagram showing error message that the embodiment of the present invention provides;
Fig. 7 is a kind of apparatus structure schematic diagram showing error message that the embodiment of the present invention provides;
Fig. 8 is the structural representation of a kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention Embodiment is described in further detail.
Embodiments providing a kind of method showing error message, the executive agent of the method is terminal. Wherein, this terminal can be the mobile terminal such as mobile phone or panel computer, it is also possible to be PC (personal Computer, PC) terminal.This terminal can include processor, memorizer and display.Wherein, Memorizer may be used for storing arithmetic code error detection algorithm;Processor may be used for obtaining the net of currently displaying webpage Page code, and according to the arithmetic code error detection algorithm of storage in memorizer, detect code mistake present in web page code By mistake, the error message of web page code is obtained;Display may be used in the video playback window in webpage, The error message of display web page code.It addition, terminal can also include the parts such as sensor and transceiver.
As it is shown in figure 1, the handling process of the method can comprise the following steps that
Step 101, obtains the web page code of currently displaying webpage.
In force, when user wishes that the web page code to certain webpage carries out misarrangement, user can be in terminal Opening this webpage, so that terminal can show this webpage, this user can be technical staff or the fortune of certain webpage Dimension personnel.Wherein, currently displaying webpage can be any webpage, and currently displaying webpage can be certain net The homepage stood, it is also possible to be certain subpage frame comprised under homepage.User can open certain browser, Terminal then can show the main interface of this browser, can show for inputting the defeated of network address in this main interface Entering frame, user in this input frame, can input the network address of this webpage, clicks on and confirms option, or, use The option that certain sub-pages is corresponding can be clicked on, in certain webpage, in family, and terminal then can be corresponding to this webpage Server send to should the request of data of web data of webpage, after server receives this request of data, The web data of this webpage can be sent to terminal, web data can include web page code.Terminal receives After web page code, web page code can be resolved, then can load web page code, thus show This webpage.
Step 102, according to the arithmetic code error detection algorithm prestored, detects code error present in web page code, Obtain the error message of web page code.
In force, can prestore arithmetic code error detection algorithm in terminal, this arithmetic code error detection algorithm can use Arithmetic code error detection algorithm of the prior art, this arithmetic code error detection algorithm may be used for detecting the syntax error in code, And whether code exists overflow error etc..Such as, arithmetic code error detection algorithm can include certain code language Grammatical rules, terminal can obtain the web page code of this webpage, it is possible to whether judges web page code line by line Match with this grammatical rules, for any a line web page code, if terminal judge this row web page code with This grammatical rules matches, then illustrate to there is not syntax error in this row web page code;If terminal judges row Web page code does not mates with this grammatical rules, then illustrate to there is code error in this row web page code.Terminal is examined When measuring code error present in web page code, can be according to the error reason of this code error, it is right to generate The error message answered, in order to carry out subsequent treatment.
Optionally, user can also judge whether there is mistake in web page code by input command information, Corresponding processing procedure can be such that the command information receiving user's input;Instruction is inserted in web page code Information, so that the operation result that web page code output order information is corresponding.
In force, can be provided with the input frame for inputting command information in this webpage, this input frame can To be arranged in webpage, terminal, when showing this webpage, can show this input frame in the web page, or, This input frame can also show the upper strata at this webpage, and user can be by the input equipment of terminal (such as mouse Or keyboard etc.), input to should the idsplay order of input frame so that on the upper strata of this webpage, terminal shows that this is defeated Enter frame.
User can input command information in input frame, and terminal then can receive the instruction letter of user's input Breath, then can be inserted into the command information received in web page code, so that web page code can export The operation result that this command information is corresponding.User can input a plurality of command information in this input frame, so, This web page code can export the operation result that a plurality of command information is corresponding respectively.User can be each by checking The operation result that command information is corresponding, judges whether there is code error in web page code.
Step 103, in the video playback window in webpage, the error message of display web page code.
In force, based on above-mentioned process, terminal can judge net in the web page code of this webpage line by line The code error whether page code exists, when terminal detects that certain a line web page code exists code error, Corresponding error message can be generated according to the error reason of this code error, then can be in webpage In video playback window, showing the error message of this web page code, concrete, technical staff can pass through structure Building a JavaScript method fx.vidoDebug (data) to realize, corresponding code can be stored in server In, when user is by terminal request web page code, this code and web page code one can be risen by server Give terminal, so that terminal can be implemented in the function showing error message in video playback window.It addition, Terminal it may also be determined that line number corresponding to web page code, and can in the video playback window in webpage, The corresponding error message showing this web page code, and the line number that the web page code of code error is corresponding occurs, It addition, in this webpage, in addition to video playback window, it is also possible to include Free Talk, and each main broadcaster couple The option etc. answered, as in figure 2 it is shown, be the schematic diagram of certain webpage.So, technical staff can obtain easily Take the position (i.e. line number) of the web page code that code error occurs, and the error message that this web page code is corresponding, And then can quickly this web page code be modified, such that it is able to improve the effect carrying out web page code misarrangement Rate.
Optionally, terminal, when showing the error message of web page code, can use Dynamic Announce Mode.It is for instance possible to use the mode scrolled up shows.Terminal is also provided with mistake letter The query option that breath is corresponding, user can click on this query option, and terminal then can show this web page code pair The whole error messages answered.
Optionally, terminal can show error message, accordingly in the appointment region in video playback window , the processing procedure of step 103 can be such that in the video playback window of webpage, and error message is corresponding Viewing area in, display web page code error message.
In force, the video playback window of this webpage can show much information, as error message, when The web page code of front operation and operation result etc..Terminal can be according to the information needing display prestored Kind, or, terminal can be according to the kind of the information needing display of user setup, to the letter got Breath carries out classification display, thus improves user and browse the efficiency of information.When terminal detects certain a line webpage generation When code exists code error, corresponding error message can be generated according to the error reason of this code error, Then can be according to the corresponding relation of the information type prestored Yu viewing area, the video in webpage is broadcast Put in window, determine the viewing area (can be described as the first viewing area) that error message is corresponding, then can be This error message is shown in first viewing area.Wherein, information type can at least include error message, net Page code and operation result.
Optionally, terminal can also show that above-mentioned operation result, corresponding processing procedure can be such that at net In the video playback window of page, in the viewing area that operation result is corresponding, show operation result.
In force, after terminal gets the operation result that certain command information is corresponding, can be according to prestoring The corresponding relation of information type and viewing area, in the video playback window in webpage, determine operation knot The viewing area (can be described as the second viewing area) that fruit is corresponding, then can show in the second viewing area should Operation result.Wherein, information type can at least include error message, web page code and operation result, fortune The display mode of row result can be Dynamic Announce, it is for instance possible to use the mode scrolled up, second Viewing area shows operation result.
Optionally, terminal can also show the web page code of current operation, and corresponding processing procedure can be such that In video playback window in webpage, in the viewing area that web page code is corresponding, show web page code.
In force, the web page code that terminal can currently be run, then can be according to the information prestored Type and the corresponding relation of viewing area, in the video playback window in webpage, determine that web page code is corresponding Viewing area (can be described as the 3rd viewing area), then can show this webpage generation in the 3rd viewing area Code.Wherein, information type can at least include error message, web page code and operation result, such as, and can In the way of employing scrolls up, in the 3rd viewing area, show web page code.Wherein, the first viewing area Territory, the second viewing area and the 3rd viewing area can be the zoness of different in video playback window.
Optionally, in video playback window, the information category of display can be configured by technical staff, video Broadcast window can only show a kind of information, as in figure 2 it is shown, in fig. 2, aobvious in video playback window The information shown is error message;Or, it is also possible to display much information, as it is shown on figure 3, video playback window In Kou, the information of display is error message and operation result, as shown in Figure 4, and display in video playback window Information is error message, web page code and operation result.
In the embodiment of the present invention, obtain the web page code of currently displaying webpage, according to the mistake prestored Detection algorithm, detects code error present in web page code, obtains the error message of web page code, at net In video playback window in Ye, the error message of display web page code, as such, it is possible to regarding in webpage Frequently in broadcast window, the error message of display web page code, it is to avoid blocking the content of webpage, technical staff can To see the full content of webpage, such that it is able to improve the accuracy carrying out web page code misarrangement.
Based on identical technology design, the embodiment of the present invention additionally provides a kind of device showing error message, As it is shown in figure 5, this device includes:
Acquisition module 510, for obtaining the web page code of currently displaying webpage;
Detection module 520, for according to the arithmetic code error detection algorithm prestored, detecting in described web page code and deposit Code error, obtain the error message of described web page code;
First display module 530, in the video playback window in described webpage, shows described webpage generation The error message of code.
Optionally, described first display module 530, it is used for:
In the video playback window of described webpage, in the viewing area that error message is corresponding, show described net The error message of page code.
Optionally, as shown in Figure 6, described device also includes:
Receiver module 540, for receiving the command information of user's input;
Insert module 550, for inserting described command information in described web page code, so that described webpage generation Code exports the operation result that described command information is corresponding;
Second display module 560, is used in the video playback window of described webpage, corresponding the showing of operation result In showing region, show described operation result.
Optionally, as it is shown in fig. 7, described device also includes:
3rd display module 570, in the video playback window in described webpage, web page code is corresponding In viewing area, show described web page code.
Optionally, the display effect of the error message of described web page code is Dynamic Announce.
In the embodiment of the present invention, obtain the web page code of currently displaying webpage, according to the mistake prestored Detection algorithm, detects code error present in web page code, obtains the error message of web page code, at net In video playback window in Ye, the error message of display web page code, as such, it is possible to regarding in webpage Frequently in broadcast window, the error message of display web page code, it is to avoid blocking the content of webpage, technical staff can To see the full content of webpage, such that it is able to improve the accuracy carrying out web page code misarrangement.
It should be understood that the device showing error message that above-described embodiment provides is when showing error message, Only it is illustrated with the division of above-mentioned each functional module, in actual application, can be as desired by upper State function distribution to be completed by different functional modules, the internal structure of equipment will be divided into different function moulds Block, to complete all or part of function described above.It addition, the display mistake that above-described embodiment provides The device of information belongs to same design with the embodiment of the method for display error message, and it implements process and refers to Embodiment of the method, repeats no more here.
Refer to Fig. 8, it illustrates the structural representation of terminal involved by the embodiment of the present invention, this terminal can For the method implementing the display error message provided in above-described embodiment.Specifically:
Terminal 900 can include RF (Radio Frequency, radio frequency) circuit 110, include one or The memorizer 120 of more than one computer-readable recording medium, input block 130, display unit 140, biography Sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include one Individual or more than one process the parts such as the processor 180 of core and power supply 190.Those skilled in the art It is appreciated that the terminal structure shown in Fig. 8 is not intended that the restriction to terminal, can include than diagram more Many or less parts, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, After the downlink information of base station is received, transfer to one or more than one processor 180 processes;It addition, will Relate to up data and be sent to base station.Generally, RF circuit 110 include but not limited to antenna, at least one Amplifier, tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, coupling Clutch, LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, RF circuit 110 can also be communicated with network and other equipment by radio communication.Described radio communication can use arbitrary logical Beacon is accurate or agreement, include but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memorizer 120 can be used for storing software program and module, and processor 180 is stored in by operation The software program of reservoir 120 and module, thus perform the application of various function and data process.Memorizer 120 can mainly include store program area and storage data field, wherein, storage program area can store operating system, Application program (such as sound-playing function, image player function etc.) etc. needed at least one function;Deposit Storage data field can store the data (such as voice data, phone directory etc.) that the use according to terminal 900 is created Deng.Additionally, memorizer 120 can include high-speed random access memory, it is also possible to include non-volatile depositing Reservoir, for example, at least one disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memorizer 120 can also include Memory Controller, to provide processor 180 and input block The access of 130 pairs of memorizeies 120.
Input block 130 can be used for receive input numeral or character information, and produce with user setup with And function controls relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, Input block 130 can include Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as For touching display screen or Trackpad, can collect user thereon or neighbouring touch operation (such as user makes With any applicable object such as finger, stylus or adnexa on Touch sensitive surface 131 or attached at Touch sensitive surface 131 Near operation), and drive corresponding attachment means according to formula set in advance.Optionally, Touch sensitive surface 131 Touch detecting apparatus and two parts of touch controller can be included.Wherein, touch detecting apparatus detects user's Touch orientation, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch control Device receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 180, And order that processor 180 sends can be received and performed.Furthermore, it is possible to use resistance-type, condenser type, The polytype such as infrared ray and surface acoustic wave realizes Touch sensitive surface 131.Except Touch sensitive surface 131, input is single Unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but not It is limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, behaviour Make one or more in bar etc..
Display unit 140 can be used for showing the information inputted by user or the information being supplied to user and terminal The various graphical user interface of 900, these graphical user interface can by figure, text, icon, video and Its combination in any is constituted.Display unit 140 can include display floater 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. form configure display floater 141.Further, Touch sensitive surface 131 can cover Display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, sends process to Device 180 is to determine the type of touch event, with preprocessor 180 according to the type of touch event at display surface Corresponding visual output is provided on plate 141.Although in fig. 8, Touch sensitive surface 131 and display floater 141 It is to realize input and input function as two independent parts, but in some embodiments it is possible to will Touch sensitive surface 131 is integrated with display floater 141 and realizes input and output function.
Terminal 900 may also include at least one sensor 150, such as optical sensor, motion sensor and its His sensor.Specifically, optical sensor can include ambient light sensor and proximity transducer, wherein, environment Optical sensor can regulate the brightness of display floater 141 according to the light and shade of ambient light, and proximity transducer can be When terminal 900 moves in one's ear, close display floater 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of (generally three axles) acceleration in all directions, can time static Detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for Gyroscope that terminal 900 can also configure, barometer, drimeter, thermometer, infrared ray sensor etc. other Sensor, does not repeats them here.
Voicefrequency circuit 160, speaker 161, microphone 162 can provide the audio frequency between user and terminal 900 Interface.The signal of telecommunication after the voice data conversion that voicefrequency circuit 160 can will receive, is transferred to speaker 161, Acoustical signal output is converted to by speaker 161;On the other hand, the acoustical signal that microphone 162 will be collected Be converted to the signal of telecommunication, voicefrequency circuit 160 after receiving, be converted to voice data, then by voice data output After reason device 180 processes, through RF circuit 110 to be sent to such as another terminal, or voice data is exported To memorizer 120 to process further.Voicefrequency circuit 160 is also possible that earphone jack, outside providing If earphone and the communication of terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user by WiFi module 170 Sending and receiving e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection Net accesses.Although Fig. 8 shows WiFi module 170, but it is understood that, it is also not belonging to terminal 900 must be configured into, can omit completely as required in not changing the scope of essence of invention.
Processor 180 is the control centre of terminal 900, utilizes various interface and the whole mobile phone of connection Various piece, by running or perform to be stored in the software program in memorizer 120 and/or module, and adjusts By the data being stored in memorizer 120, perform the various functions of terminal 900 and process data, thus right Mobile phone carries out integral monitoring.Optionally, processor 180 can include one or more process core;Preferably, Processor 180 can integrated application processor and modem processor, wherein, application processor mainly processes Operating system, user interface and application program etc., modem processor mainly processes radio communication.Permissible Being understood by, above-mentioned modem processor can not also be integrated in processor 180.
Terminal 900 also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can With logically contiguous with processor 180 by power-supply management system, thus realize management by power-supply management system The functions such as charging, electric discharge and power managed.Power supply 190 can also include one or more directly Stream or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or inverter, electricity The random component such as source positioning indicator.
Although not shown, terminal 900 can also include photographic head, bluetooth module etc., does not repeats them here. The most in the present embodiment, the display unit of terminal 900 is touch-screen display, and terminal 900 also includes Memorizer, and one or more than one program, one of them or more than one program is stored in deposits In reservoir, and it is configured to be performed to state one or more than one program by one or more than one processor Comprise the instruction for carrying out following operation:
Obtain the web page code of currently displaying webpage;
According to the arithmetic code error detection algorithm prestored, detect code error present in described web page code, Error message to described web page code;
In video playback window in described webpage, show the error message of described web page code.
Optionally, in described video playback window in described webpage, the mistake of described web page code is shown Information, including:
In the video playback window of described webpage, in the viewing area that error message is corresponding, show described net The error message of page code.
Optionally, described method also includes:
Receive the command information of user's input;
Described command information is inserted in described web page code, so that described web page code output described instruction letter The operation result that breath is corresponding;
In the video playback window of described webpage, in the viewing area that operation result is corresponding, show described fortune Row result.
Optionally, described method also includes:
In video playback window in described webpage, in the viewing area that web page code is corresponding, display is described Web page code.
Optionally, the display effect of the error message of described web page code is Dynamic Announce.
In the embodiment of the present invention, obtain the web page code of currently displaying webpage, according to the mistake prestored Detection algorithm, detects code error present in web page code, obtains the error message of web page code, at net In video playback window in Ye, the error message of display web page code, as such, it is possible to regarding in webpage Frequently in broadcast window, the error message of display web page code, it is to avoid blocking the content of webpage, technical staff can To see the full content of webpage, such that it is able to improve the accuracy carrying out web page code misarrangement.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's Within spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's Within protection domain.

Claims (10)

1. the method showing error message, it is characterised in that described method includes:
Obtain the web page code of currently displaying webpage;
According to the arithmetic code error detection algorithm prestored, detect code error present in described web page code, Error message to described web page code;
In video playback window in described webpage, show the error message of described web page code.
Method the most according to claim 1, it is characterised in that described video in described webpage is broadcast Put in window, show the error message of described web page code, including:
In the video playback window of described webpage, in the viewing area that error message is corresponding, show described net The error message of page code.
Method the most according to claim 1, it is characterised in that described method also includes:
Receive the command information of user's input;
Described command information is inserted in described web page code, so that described web page code output described instruction letter The operation result that breath is corresponding;
In the video playback window of described webpage, in the viewing area that operation result is corresponding, show described fortune Row result.
Method the most according to claim 1, it is characterised in that described method also includes:
In video playback window in described webpage, in the viewing area that web page code is corresponding, display is described Web page code.
Method the most according to claim 1, it is characterised in that the error message of described web page code Display effect is Dynamic Announce.
6. the device showing error message, it is characterised in that described device includes:
Acquisition module, for obtaining the web page code of currently displaying webpage;
Detection module, for according to the arithmetic code error detection algorithm prestored, detects in described web page code and exists Code error, obtain the error message of described web page code;
First display module, in the video playback window in described webpage, shows described web page code Error message.
Device the most according to claim 6, it is characterised in that described display module, is used for:
In the video playback window of described webpage, in the viewing area that error message is corresponding, show described net The error message of page code.
Device the most according to claim 6, it is characterised in that described device also includes:
Receiver module, for receiving the command information of user's input;
Insert module, for inserting described command information in described web page code, so that described web page code Export the operation result that described command information is corresponding;
Second display module, is used in the video playback window of described webpage, the display that operation result is corresponding In region, show described operation result.
Device the most according to claim 6, it is characterised in that described device also includes:
3rd display module, in the video playback window in described webpage, corresponding the showing of web page code In showing region, show described web page code.
Device the most according to claim 6, it is characterised in that the error message of described web page code Display effect be Dynamic Announce.
CN201610196023.3A 2016-03-31 2016-03-31 Error message display method and device Pending CN105893219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610196023.3A CN105893219A (en) 2016-03-31 2016-03-31 Error message display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610196023.3A CN105893219A (en) 2016-03-31 2016-03-31 Error message display method and device

Publications (1)

Publication Number Publication Date
CN105893219A true CN105893219A (en) 2016-08-24

Family

ID=57014207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610196023.3A Pending CN105893219A (en) 2016-03-31 2016-03-31 Error message display method and device

Country Status (1)

Country Link
CN (1) CN105893219A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796897A (en) * 2020-07-03 2020-10-20 北京达佳互联信息技术有限公司 Page display method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710277A (en) * 2009-12-03 2010-05-19 深圳市同洲电子股份有限公司 Script processing method, device and digital television receiving terminal of embedded browser
US20120131416A1 (en) * 2010-11-23 2012-05-24 Echostar Technologies L.L.C. Facilitating User Support of Electronic Devices Using Matrix Codes
CN103886015A (en) * 2014-02-20 2014-06-25 新浪网技术(中国)有限公司 Web server and page error feedback method based on webpage application
CN104834589A (en) * 2014-02-11 2015-08-12 腾讯科技(深圳)有限公司 Webpage detection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710277A (en) * 2009-12-03 2010-05-19 深圳市同洲电子股份有限公司 Script processing method, device and digital television receiving terminal of embedded browser
US20120131416A1 (en) * 2010-11-23 2012-05-24 Echostar Technologies L.L.C. Facilitating User Support of Electronic Devices Using Matrix Codes
CN104834589A (en) * 2014-02-11 2015-08-12 腾讯科技(深圳)有限公司 Webpage detection method and device
CN103886015A (en) * 2014-02-20 2014-06-25 新浪网技术(中国)有限公司 Web server and page error feedback method based on webpage application

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796897A (en) * 2020-07-03 2020-10-20 北京达佳互联信息技术有限公司 Page display method and device, storage medium and electronic equipment
CN111796897B (en) * 2020-07-03 2024-12-31 北京达佳互联信息技术有限公司 Page display method, device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN104780164B (en) A kind of method and apparatus of running game client
CN105824958B (en) A kind of methods, devices and systems of inquiry log
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN105389259B (en) A kind of method, apparatus and system for carrying out Application testing
CN103310004A (en) Method, device and equipment for displaying number of unread messages
CN105788612A (en) Method and device for testing tone quality
CN105992026A (en) Method and device for displaying barrage comment information
CN104699501B (en) A kind of method and device for running application program
CN106371964A (en) Message prompting method and apparatus
CN104869465A (en) Video playing control method and device
CN105847325A (en) Method and device for debugging application client side
CN107766358A (en) The method and relevant apparatus that a kind of page is shared
CN105955597A (en) Method and device for displaying information
CN103399706B (en) Page interaction, device and terminal
CN109145182A (en) Collecting method, device, computer equipment and system
CN106155888A (en) The detection method of webpage loading performance and device in a kind of Mobile solution
CN107122036A (en) CPU frequency adjusting method and device
CN105807908A (en) Working mode switching method and device
CN109582565A (en) Prevent the method, terminal and computer storage medium of application crashes
CN103729283B (en) System log output method and device and terminal device
CN103823851B (en) Webpage display process and device
CN104750722B (en) A kind of acquisition of information and methods of exhibiting and device
CN106709330B (en) Method and device for recording file execution behaviors
CN105553718B (en) Guidance information display methods and device
CN106339391A (en) Method for displaying webpage and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160824