CN108959296A - The treating method and apparatus of web page access mistake - Google Patents
The treating method and apparatus of web page access mistake Download PDFInfo
- Publication number
- CN108959296A CN108959296A CN201710358732.1A CN201710358732A CN108959296A CN 108959296 A CN108959296 A CN 108959296A CN 201710358732 A CN201710358732 A CN 201710358732A CN 108959296 A CN108959296 A CN 108959296A
- Authority
- CN
- China
- Prior art keywords
- web page
- page access
- mistake
- access mistake
- reason
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a kind for the treatment of method and apparatus of web page access mistake, method therein is specifically included: according to the corresponding relevant information of web page access mistake, determining the corresponding error reason of the web page access mistake;The relevant information includes: at least one of error status code, web page address and network connection information;Show the corresponding error reason of the web page access mistake.The embodiment of the present invention can explain the reason of web page access mistake by error reason clear and easy to understandly, therefore the corresponding solution efficiency of web page access mistake can be improved, and can promote the usage experience of user.
Description
Technical field
The present invention relates to web page access technical fields, more particularly to the processing method and dress of a kind of web page access mistake
It sets, a kind of device of the processing for web page access mistake.
Background technique
Browser is a kind of program for showing the file on web page server and user being allowed to interact with these files, master
It to interact and obtain with web page server by HTTP (hypertext transfer protocol, Hypertext transfer protocol)
Webpage, to show the text in webpage, image and other information contents.When user inputs URL (unification in browser address bar
Resource Locator, Uniform Resoure Locator) when, browser can automatically will be on internet corresponding to this URL
Webpage is presented to the user.
In practical applications, when user opens webpage using browser, frequently encountering web page access mistake causes
The case where webpage is not opened, existing browser can be given user's miscue (such as " type of error 404 " when webpage is not opened
Deng), but it is any meaning on earth, i.e., not can be appreciated that it is that reason is led that this prompt tends not to understand for novice users
Webpage is caused to open failure, so that user emotion anxiety.
Summary of the invention
In view of the above problems, the embodiment of the present invention proposes one kind and overcomes the above problem or at least be partially solved above-mentioned
The processing method of the web page access mistake of problem, the processing unit of web page access mistake and the processing for web page access mistake
Device, the embodiment of the present invention can explain the reason of web page access mistake by error reason clear and easy to understandly, therefore can mention
The corresponding solution efficiency of high web page access mistake, and the usage experience of user can be promoted.
To solve the above-mentioned problems, the invention discloses a kind of processing methods of web page access mistake, comprising: according to webpage
The corresponding relevant information of access errors determines the corresponding error reason of the web page access mistake;The relevant information includes: mistake
Accidentally at least one of status code, web page address and network connection information;Show that the corresponding mistake of the web page access mistake is former
Cause.
Optionally, described according to the corresponding relevant information of web page access mistake, determine that the web page access mistake is corresponding
Error reason, comprising: according to the corresponding relevant information of web page access mistake, the relevant information and error reason pre-established it
Between mapping relations in searched, to obtain the corresponding error reason of the web page access mistake.
Optionally, the method also includes: the corresponding corpus of web page access mistake is analyzed, to obtain web page access
The corresponding error reason of mistake;According to the corresponding error reason of the web page access mistake, relevant information and error reason are established
Between mapping relations.
Optionally, described according to the corresponding relevant information of web page access mistake, determine that the web page access mistake is corresponding
Error reason, comprising:
Judge that the corresponding webpage of the webpage network address whether there is, if not, it is determined that the web page access mistake is corresponding
Error reason is that there is no related reasons for webpage;And/or
Judge whether the webpage network address is wrong network address, if so, determining the corresponding mistake of the web page access mistake
Reason is the reason of network address mistake correlation;And/or
Judge whether the corresponding web page address of web page access mistake is the network address of local area network, if so, determining the webpage
The corresponding error reason of access errors is the reason of Intranet network address correlation;And/or
Judge whether the corresponding web page address of web page access mistake is preset network address overseas, if so, determining the webpage
The corresponding error reason of access errors is the reason of network address correlation overseas;And/or
According to the corresponding network connection information of web page access mistake, whether judgement currently connects network, if not, it is determined that institute
State the reason that the corresponding error reason of web page access mistake is not connected network correlation.
Optionally, the method also includes: according to the corresponding relevant information of web page access mistake and/or error reason, really
Determine the corresponding solution of the web page access mistake;Show the corresponding solution of the web page access mistake.
Optionally, described according to the corresponding relevant information of web page access mistake and/or error reason, determine that the webpage is visited
Ask mistake corresponding solution, comprising:
According to the corresponding relevant information of web page access mistake and/or error reason, in the relevant information pre-established and/or
It is searched in mapping relations between error reason and solution, to obtain the corresponding solution party of the web page access mistake
Case.
Optionally, described according to the corresponding relevant information of web page access mistake and/or error reason, determine that the webpage is visited
Ask mistake corresponding solution, comprising:
If error reason is the reason of network address mistake correlation, obtain between web page address corresponding with web page access mistake
Similarity meets the target webpage address of preset similarity condition, determines that the web page access is wrong according to the target webpage address
Accidentally corresponding solution;And/or
If error reason is the reason of Intranet network address correlation, it is determined that the corresponding solution of the web page access mistake is
Connect the relevant solution of Intranet;And/or
If error reason is the reason of overseas network address correlation, it is determined that the corresponding solution of the web page access mistake is
Access the relevant solution of preset network address overseas;And/or
If error reason is the reason of not connected network correlation, it is determined that the corresponding error reason of the web page access mistake
For the relevant solution of connection network.
On the other hand, the invention discloses a kind of processing units of web page access mistake, comprising:
Error reason determining module, for determining the web page access according to the corresponding relevant information of web page access mistake
The corresponding error reason of mistake;The relevant information include: in error status code, web page address and network connection information at least
It is a kind of;And
Error reason display module, for showing the corresponding error reason of the web page access mistake.
Optionally, the error reason determining module includes:
First searches submodule, for being believed in the correlation pre-established according to the corresponding relevant information of web page access mistake
It is searched in mapping relations between breath and error reason, to obtain the corresponding error reason of the web page access mistake.
Optionally, described device further include:
Concordance module, for analyzing the corresponding corpus of web page access mistake, to obtain web page access mistake
Corresponding error reason;
Module is established in mapping, for establishing relevant information and mistake according to the corresponding error reason of the web page access mistake
The accidentally mapping relations between reason.
Optionally, the error reason determining module includes:
First judging submodule, for judging that the corresponding webpage of the webpage network address whether there is, if not, it is determined that described
The corresponding error reason of web page access mistake is that there is no related reasons for webpage;And/or
Second judgment submodule, for judging whether the webpage network address is wrong network address, if so, determining the webpage
The corresponding error reason of access errors is the reason of network address mistake correlation;And/or
Third judging submodule, for judge the corresponding web page address of web page access mistake whether be local area network network address,
If so, determining that the corresponding error reason of the web page access mistake is the reason of Intranet network address correlation;And/or
4th judging submodule, for judging whether the corresponding web page address of web page access mistake is preset network address overseas,
If so, determining that the corresponding error reason of the web page access mistake is the reason of network address correlation overseas;And/or
5th judging submodule, for according to the corresponding network connection information of web page access mistake, whether judgement currently to connect
Network is connect, if not, it is determined that the corresponding error reason of the web page access mistake is the reason of not connected network correlation.
Optionally, described device further include:
Solution determining module, for determining according to the corresponding relevant information of web page access mistake and/or error reason
The corresponding solution of the web page access mistake;
Solution display module, for showing the corresponding solution of the web page access mistake.
Optionally, the solution determining module includes:
Second searches submodule, for the corresponding relevant information of foundation web page access mistake and/or error reason, preparatory
It is searched in mapping relations between the relevant information and/or error reason and solution of foundation, to obtain the webpage
The corresponding solution of access errors.
Optionally, the solution determining module includes:
First determines submodule, wrong with web page access for obtaining when error reason is the reason of network address mistake correlation
Accidentally the similarity between corresponding web page address meets the target webpage address of preset similarity condition, according to the target webpage
Address determines the corresponding solution of the web page access mistake;And/or
Second determines submodule, for determining the web page access when error reason is the reason of Intranet network address correlation
The corresponding solution of mistake is the relevant solution of connection Intranet;And/or
Third determines submodule, for determining the web page access when error reason is the reason of network address correlation overseas
The corresponding solution of mistake is to access the relevant solution of preset network address overseas;And/or
4th determines submodule, for determining that the webpage is visited when error reason is the reason of not connected network correlation
Ask the corresponding error reason of mistake for the relevant solution of connection network.
In another aspect, include memory the invention discloses a kind of device of processing for web page access mistake, with
And one perhaps more than one program one of them or more than one program be stored in memory, and be configured to by
It includes the instruction for performing the following operation that one or more than one processor, which execute the one or more programs:
According to the corresponding relevant information of web page access mistake, the corresponding error reason of the web page access mistake is determined;The related letter
Breath includes: at least one of error status code, web page address and network connection information;Show that the web page access mistake is corresponding
Error reason.
Another aspect, the invention discloses a kind of machine readable medias, are stored thereon with instruction, when by one or more
When managing device execution, so that device executes the processing method of web page access mistake described in aforementioned one or more.
The embodiment of the present invention includes following advantages:
The embodiment of the present invention can be according to the corresponding error status code of web page access mistake, web page address and network connection letter
At least one of breath relevant information determines that the corresponding error reason of web page access mistake, above-mentioned error reason can be clear and easy to understand
The reason of web page access mistake is explained on ground, and family can be used in this way and easily understand the corresponding error reason of web page access mistake;
On the basis of user understands web page access mistake corresponding error reason, user can be helped to obtain to a certain extent and solved
The scheme of web page access mistake, therefore the corresponding solution efficiency of web page access mistake can be improved, and making for user can be promoted
With experience.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of the processing method embodiment one of web page access mistake of the invention;
Fig. 2 is a kind of step flow chart of the processing method embodiment two of web page access mistake of the invention;
Fig. 3 is a kind of structural block diagram of the processing device embodiment of web page access mistake of the invention;
Fig. 4 be a kind of device of processing for web page access mistake of the invention as terminal when structural block diagram;And
Fig. 5 be a kind of device of processing for web page access mistake of the invention as server when structural block diagram.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
The embodiment of the invention provides a kind of processing scheme of web page access mistake, the program can be according to web page access mistake
Accidentally corresponding relevant information, determines the corresponding error reason of the web page access mistake, and show the web page access mistake pair
The error reason answered;The corresponding error reason of web page access mistake of the embodiment of the present invention can be corresponding according to web page access mistake
At least one of error status code, web page address and network connection information relevant information obtain, above-mentioned error reason can be with
The reason of web page access mistake is explained clear and easy to understandly, and family can be used in this way and easily understand the corresponding mistake of web page access mistake
Accidentally reason, therefore the corresponding solution efficiency of web page access mistake can be improved, and the usage experience of user can be promoted.
The embodiment of the present invention can be applied to browser etc. have Web Page Processing function webpage correlation APP (application program,
Application in application scenarios), these webpage correlations APP can provide the functions such as the acquisition of webpage, display.The present invention
Embodiment is mainly illustrated the processing method of the web page access mistake of the embodiment of the present invention by taking browser as an example, other webpages
The processing method of the corresponding web page access mistake of related APP is cross-referenced.
The processing method of web page access mistake provided in an embodiment of the present invention can be applied to the application of client and server
In environment, wherein client and server are located in wired or wireless network, by the wired or wireless network, client and
Server carries out data interaction.
Optionally, client may operate on intelligent terminal, and above-mentioned intelligent terminal specifically includes but unlimited: intelligent hand
Machine, tablet computer, E-book reader, MP3 (dynamic image expert's compression standard audio level 3, Moving Picture
Experts Group Audio Layer III) player, MP4 (dynamic image expert's compression standard audio level 4, Moving
Picture Experts Group Audio Layer IV) player, pocket computer on knee, vehicle-mounted computer, desk-top meter
Calculation machine, set-top box, intelligent TV set, wearable device etc..
Embodiment of the method one
Referring to Fig.1, a kind of step flow chart of the processing method embodiment one of web page access mistake of the invention is shown,
It can specifically include following steps:
Step 101, the corresponding relevant information of foundation web page access mistake, determine the corresponding mistake of the web page access mistake
Reason;Above-mentioned relevant information may include: at least one of error status code, web page address and network connection information;
Step 102, the corresponding error reason of the display web page access mistake.
In practical applications, in the case where not opening webpage or webpage opening failure, webpage can be determined to be
Access errors.In such cases, the corresponding relevant information of available web page access mistake, and according to the relevant information, it determines
The corresponding error reason of the web page access mistake, it is specifically, above-mentioned according to the corresponding relevant information of web page access mistake, it determines
The process of the corresponding error reason of the web page access mistake may include: to carry out to the corresponding relevant information of web page access mistake
Analysis, to obtain the error reason of natural language format.Wherein, the error reason of natural language format can be by clear and easy to understand
Natural language description error reason, family can be used in this way and easily understand the corresponding error reason of web page access mistake, because
This can help user to obtain the scheme for solving web page access mistake to a certain extent.
In an alternative embodiment of the invention, above-mentioned relevant information may include: error status code, web page address and
At least one of network connection information.
In practical applications, HTTP status code (HTTP Status Code) is to indicate web page server http response
3 digit numerical codes of state.HTTP status code may include: the error status code for characterizing request error, error status code
It can indicate that client appears likely to that mistake has occurred, hamper the processing of server.The example of error status code can wrap
It includes: 404 NOT FOUND (can not find webpage), 403 FORBIDDEN (needing to register), 500 SERVER ERROR (webpage generations
Code mistake) etc..For the general user of Non-computer Majors, it is generally rather difficult to understand the meaning of error status code, this
The corresponding relevant information of above-mentioned foundation web page access mistake of inventive embodiments, determines the corresponding mistake of the web page access mistake
The process of reason may include: to translate to error status code, by the corresponding computer language translation of the error status code
The natural language being easier to understand at user.
Web page address is the address of webpage, and the example of web page address may include URL.In general, each on internet
Unique URL that webpage all has, and each URL requires to meet certain format specification, and user can be according to a net
The corresponding URL of page accesses the webpage.As it can be seen that user needs to learn by heart the URL of different web pages, usually exist in the URL of user's input
In the case of mistake or non-can completely, browser then possibly can not webpage required for presentation user, namely be likely to occur net
Access to web page mistake.
Network connection information can be used for indicating that browser corresponds to the network connection information of intelligent terminal, the network connection information
It may include: network connection state, which may include: to have connected network, not connected network etc., wherein
The network connection state is when having connected network, which can also include: the network information that currently connects (such as nothing
Gauze network or cable network etc.).In practical applications, net can be obtained by modes such as the registration tablies of access intelligent terminal
Network link information, the embodiment of the present invention are without restriction for the specific acquisition modes of network connection information.
The embodiment of the present invention can analyze the corresponding relevant information of web page access mistake, be visited with obtaining the webpage
Ask mistake corresponding error reason, it is correspondingly, above-mentioned according to the corresponding relevant information of web page access mistake, determine that the webpage is visited
Ask that method of determination used by the corresponding error reason of mistake may include:
Method of determination A1, judge that the corresponding webpage of the webpage network address whether there is, if not, it is determined that the web page access
The corresponding error reason of mistake is that there is no related reasons for webpage;And/or
Method of determination A2, judge the corresponding web page address of web page access mistake whether be local area network network address, if so, really
Determine the reason that the corresponding error reason of the web page access mistake is Intranet network address correlation;And/or
Method of determination A3, judge whether the corresponding web page address of web page access mistake is preset network address overseas, if so, really
Determine the reason that the corresponding error reason of the web page access mistake is network address correlation overseas;And/or
Whether method of determination A4, the corresponding network connection information of foundation web page access mistake, judgement currently connect network, if
It is no, it is determined that the corresponding error reason of the web page access mistake is the reason of not connected network correlation;And/or
Method of determination A5, judge whether the webpage network address is wrong network address, if so, determining the web page access mistake
Corresponding error reason is the reason of network address mistake correlation.
Wherein it is determined that mode A1 can whether there is corresponding first judging result according to the corresponding webpage of webpage network address,
The corresponding error reason of the web page access mistake is determined, specifically, if first judging result is no, corresponding mistake original
Because related reason can be not present for webpage.In practical applications, the corresponding webpage of webpage network address is sentenced with the presence or absence of corresponding
Disconnected mode can there are many.It is alternatively possible to judge the webpage network address according to the corresponding error status code of web page access mistake
Corresponding webpage whether there is, for example, when error status code is 404, it is possible to determine that whether the corresponding webpage of webpage network address is deposited
?.Or, it can be determined that whether webpage network address is correct, if it is not, then can be determined that the corresponding webpage of webpage network address whether there is
Deng, it will be understood that webpage corresponding for webpage network address of the embodiment of the present invention is not limited with the presence or absence of corresponding judgment mode
System.
Method of determination A2 can according to the corresponding web page address of web page access mistake whether be local area network network address it is corresponding
Second judging result determines the corresponding error reason of the web page access mistake, specifically, if second judging result be it is yes,
Then corresponding error reason can be the reason of internal address correlation.In practical applications, the corresponding webpage of web page access mistake
Address whether be local area network the corresponding judgment mode of network address can there are many.For example, the network address of local area network can be obtained in advance
Corresponding feature, and judge whether the corresponding web page address of web page access mistake meets the corresponding feature of network address of local area network, office
The corresponding feature of network address of domain net may include: with " 10. " or " 192. " beginning etc., such as " http: // 10.136.38.153/
Whitelist/frame.php " is the example of the network address of local area network.
Whether method of determination A3 can be that preset network address overseas is corresponding according to the corresponding web page address of web page access mistake
Third judging result determines the corresponding error reason of the web page access mistake, specifically, if the third judging result be it is yes,
Then corresponding error reason can be the reason of network address correlation overseas.In practical applications, the corresponding webpage of web page access mistake
Address whether be the corresponding judgment mode of preset network address overseas can there are many.For example, preset network address overseas can be pre-established
Gather, may include: international mainstream social network sites twitter, facebook, tumblr, view in the preset set of network address overseas
The corresponding network address such as frequency net Y0UTUBE, in this way, can judge web page access mistake pair by inquiring preset network address set overseas
Whether the web page address answered is preset network address overseas, certainly, life and death of the present invention return webpage corresponding for web page access mistake
Whether address is that the corresponding specific judgment mode of preset network address overseas is without restriction.
Method of determination A4 can determine the web page access according to corresponding 4th judging result of network currently whether is connected
The corresponding error reason of mistake, specifically, if the 4th judging result be it is no, corresponding error reason can be not connected net
The reason of network correlation.
Whether method of determination A5 can be corresponding 5th judging result of wrong network address according to webpage network address, determine the net
The corresponding error reason of access to web page mistake, specifically, if the 5th judging result be it is yes, corresponding error reason can be net
The reason of location mistake correlation.
Judge the webpage network address whether be wrong network address mode can there are many.Such as, it can be determined that webpage network address
It is regular (such as regular expression rule) whether corresponding character string is met;For another example, the webpage can be obtained by search engine
The corresponding search result in address can exclude the corresponding mistake original of method of determination A2 to method of determination A4 if obtaining failure
Because after, determine that webpage network address is wrong network address;For another example, it can search in network address database and to match with the web page address
Network address determines webpage network address for wrong network address if searching failure.The example of mistake network address may include: wrong defeated (such as suffix mistake
Accidentally), it leaks defeated, how defeated etc..In a kind of application example of the invention, it is possible to determine that " pianke.com " is wrong network address.
It is corresponding to obtain the web page access mistake in addition to analyzing the corresponding relevant information of web page access mistake
Except error reason, the embodiment of the present invention can also provide other skills for determining the corresponding error reason of the web page access mistake
Art scheme.Correspondingly, in an alternative embodiment of the invention, the corresponding relevant information of above-mentioned foundation web page access mistake,
The process for determining the corresponding error reason of the web page access mistake may include: according to the corresponding correlation of web page access mistake
Information is searched in the mapping relations between the relevant information and error reason pre-established, is visited with obtaining the webpage
Ask mistake corresponding error reason.It is analyzed relative to the corresponding relevant information of web page access mistake, what is pre-established
It is corresponding that the web page access mistake can be improved in the mode searched in mapping relations between relevant information and error reason
Error reason determination efficiency.
In another alternative embodiment of the invention, the mapping relations between relevant information and error reason are pre-established
Process, may include: to analyze the corresponding corpus of web page access mistake, to obtain the corresponding mistake of web page access mistake
Reason;According to the corresponding error reason of the web page access mistake, the mapping relations between relevant information and error reason are established.
In practical applications, the corresponding corpus of above-mentioned web page access mistake may include: the warp about web page access mistake
Sharing, paper etc. are tested, then the corresponding corpus of web page access mistake can be analyzed, it is corresponding to obtain web page access mistake
Error reason.It is alternatively possible to from the corresponding corpus of internet crawl web page access mistake, alternatively, can be counted from client
The corresponding corpus of web page access mistake, it will be understood that corpus corresponding for web page access mistake of the embodiment of the present invention it is specific
Acquisition modes are without restriction.
In some cases, it may include the webpage unrelated with web page access mistake from the webpage that internet grabs, this
In the case of kind, the webpage unrelated with web page access mistake can be filtered out by human-edited's mode.In addition, web page access mistake
It may include in corresponding corpus: may not be clear and coherent etc. with the unrelated text of web page access mistake or corresponding text, it is such
In the case of, satisfactory corpus can be obtained by human-edited's mode, it will be understood that the embodiment of the present invention is for specific
Human-edited's mode is without restriction.
In an alternative embodiment of the invention, the above-mentioned process that the corresponding corpus of web page access mistake is analyzed
It may include: to extract corresponding error reason from the corresponding corpus of web page access mistake, alternatively, can will be from web page access mistake
The error reason for the computer language form that corresponding corpus extracts is converted to the error reason of natural language form, for not having
For the user for having computer technology background and knowledge, the error reason of natural language form has higher understandability.
In another alternative embodiment of the invention, the above-mentioned mistake that the corresponding corpus of web page access mistake is analyzed
Journey may include: that it is corresponding to obtain web page access mistake using at least one of aforementioned method of determination A1 to method of determination A5
Error reason.
No matter the corresponding corpus of web page access mistake is analyzed using which kind of analysis mode, can be visited for webpage
Ask that mistake obtains corresponding relevant information, and according to the corresponding error reason of the web page access mistake, establish relevant information with
Mapping relations between error reason.
Referring to table 1, a kind of showing for the mapping relations between the relevant information and error reason of the embodiment of the present invention is shown
Example.Wherein it is possible to the error reason of the form using natural language, to improve the understandability of error reason.Also, it can also adopt
With the natural language description error reason of light style, the mood of user can be made to be loosened to a certain extent in this way.
Table 1
It should be noted that in practical applications, server can establish the mapping between relevant information and error reason
Relationship, and periodically issue to client the mapping relations between relevant information and error reason;And client can save correlation
Mapping relations between information and error reason, in this way, even if in the case where network connection state is not connected network, still
Corresponding error reason can be obtained by searching for the mapping relations between above-mentioned relevant information and error reason, such as "
, currently without networking!" etc., and it is supplied to user.
It is appreciated that the mapping relations shown in table 1 between relevant information and error reason are intended only as using example, it is practical
On, those skilled in the art can establish and save between required relevant information and error reason according to practical application request
Mapping relations, the embodiment of the present invention is without restriction for the specific mapping relations between relevant information and error reason.
In practical applications, relevant information and mistake can be stored using first database file or the first dictionary file
The accidentally mapping relations between reason.And it is possible to according to first frequency to the mapping relations between relevant information and error reason
It is updated, wherein can determine above-mentioned first frequency, example according to the newly-increased quantity and/or change rate of web page access mistake
Such as, if the newly-increased limited amount, and/or change rate of web page access mistake are smaller, biggish first frequency can be used;Again
Such as, if the newly-increased quantity of web page access mistake is more, and/or change rate is larger, lesser first frequency can be used, it can be with
Understand, the embodiment of the present invention is without restriction for specific first frequency and its specific method of determination.
In practical applications, the corresponding error reason of the web page access mistake that step 102 can obtain step 101
It is shown.It is alternatively possible to which it is former to carry out above-mentioned mistake using any or combination in the modes such as text, picture and animation
The display of cause.For example, can also arrange in pairs or groups the corresponding target of above-mentioned error reason while the error reason of display text mode
Picture, in this way, can be while transmitting information, the mood for the user that releives.
In a kind of application example of the invention, for webpage, there is no related reasons, can be corresponding using aircraft
The implied meaning of Target Photo auxiliary expression " webpage flies away ";Alternatively, can be corresponding using " maintenance tool " or " service worker "
Target Photo expresses the implied meaning of " webpage needs repairing, and needs to modify ";" expression packet " corresponding Target Photo can also be used
Emotions such as " Embarrassing, helpless or surprised, painful " are generated to express that webpage disappears.
To sum up, the processing method of the web page access mistake of the embodiment of the present invention, can be corresponding according to web page access mistake
At least one of error status code, web page address and network connection information relevant information determines the corresponding mistake of web page access mistake
Accidentally reason, above-mentioned error reason can explain the reason of web page access mistake clear and easy to understandly, family can be used so easily
Understand the corresponding error reason of web page access mistake;On the basis of user understands web page access mistake corresponding error reason,
User can be helped to obtain the scheme for solving web page access mistake to a certain extent, therefore web page access mistake pair can be improved
The solution efficiency answered, and the usage experience of user can be promoted.
Embodiment of the method two
Referring to Fig. 2, a kind of step flow chart of the processing method embodiment two of web page access mistake of the invention is shown,
It can specifically include following steps:
Step 201, the corresponding relevant information of foundation web page access mistake, determine the corresponding mistake of the web page access mistake
Reason;Above-mentioned relevant information may include: at least one of error status code, web page address and network connection information;
Step 202, the corresponding error reason of the display web page access mistake;
Relative to embodiment of the method one shown in Fig. 1, the method for the present embodiment can also include:
Step 203, the corresponding relevant information of foundation web page access mistake and/or error reason, determine the web page access
The corresponding solution of mistake;
Step 204, the corresponding solution of the display web page access mistake.
The present embodiment not only can determine and show the corresponding error reason of web page access mistake, but also can determine and net
The corresponding solution of access to web page mistake, in this way, family not only can be used easily in the case where there is web page access mistake
Understand the corresponding error reason of web page access mistake, and the solution of web page access mistake can be provided a user, in turn
User can be helped to walk out the corresponding predicament of current web page access errors.
In the embodiment of the present invention, the solution of web page access mistake is to solve the scheme of web page access Problem-Error.It can
Selection of land, which can be general solution, alternatively, the solution may include several operating procedures.?
In practical application, general solution can be provided first, then in response to the trigger action of user, provide the solution
Including several operating procedures;Or, it is straightforward to provide several operating procedures that the solution includes.
It should be noted that the embodiment of the present invention is for holding between step 201, step 202, step 203 and step 204
Row sequence is without restriction.For example, step 201, step 202 can be first carried out, the first triggering then in response to user is grasped
Make, executes step 203 and step 204;For another example, step 201 and step 203 can be first carried out, be then performed simultaneously step 202
With step 204 etc..
In practical applications, the corresponding relevant information of web page access mistake and/or error reason can be analyzed, with
Obtain the corresponding solution of web page access mistake, correspondingly, it is above-mentioned according to the corresponding relevant information of web page access mistake and/or
Error reason determines that method of determination used by the corresponding solution of the web page access mistake may include:
If method of determination B1, error reason are the reason of network address mistake correlation, net corresponding with web page access mistake is obtained
Similarity between page address meets the target webpage address of preset similarity condition, determines institute according to the target webpage address
State the corresponding solution of web page access mistake;And/or
If method of determination B2, error reason are the reason of Intranet network address correlation, it is determined that the web page access mistake is corresponding
Solution be the relevant solution of connection Intranet;And/or
If method of determination B3, error reason are the reason of network address correlation overseas, it is determined that the web page access mistake is corresponding
Solution be to access the relevant solution of preset network address overseas;And/or
If method of determination B4, error reason are the reason of not connected network correlation, it is determined that the web page access mistake pair
The error reason answered is the relevant solution of connection network.
Wherein it is determined that mode B1 can be adapted for the case where corresponding web page address of web page access mistake is wrong network address,
Such situation will will lead to the problem of corresponding webpage of webpage network address above-mentioned is not present, accordingly, it is determined that mode B1 can be used for solving
The problem of certainly corresponding webpage of webpage network address is not present.
In the case where the corresponding web page address of web page access mistake is wrong network address, can be based on by method of determination B1
Similarity mode obtains the mesh that the similarity between web page address corresponding with web page access mistake meets preset similarity condition
Web page address is marked, for example, the similarity between the web page address corresponding with web page access mistake of the target webpage address can surpass
Cross similarity threshold, alternatively, can calculate the web page address corresponding with web page access mistake of multiple network address in network address database it
Between multiple similarities, the similarity between the web page address corresponding with web page access mistake of the target webpage address is multiple phases
Like the maximum value etc. in degree, it will be understood that the embodiment of the present invention is without restriction for specific preset similarity condition.
Method of determination B1 determines the corresponding solution of the web page access mistake according to the target webpage address, specifically
Ground, the solution may include the target webpage address.For example, the solution can be for " whether you think access target net
Page network address etc. " or " clicking target webpage address to have a try " etc., wherein the target webpage address that the solution includes can band
There is link, if receiving user for the trigger action of the target webpage address, it is corresponding that the target webpage address can be loaded
Target webpage for another example, can be with for example, the corresponding target webpage in target webpage address can be opened by new Shipping Options Page
The corresponding target webpage in target webpage address etc. is opened by refreshing current label page.The solution can be located at webpage
Any position of the corresponding webpage of access errors, for example, the lower zone (such as tool bar region) of address field can be located at, it can
To understand, the embodiment of the present invention for solution to be particularly shown region without restriction.Including the target webpage address
The correction for wrong network address may be implemented in solution, therefore it is corresponding that user can be helped to walk out current web page access errors
Predicament.
In a kind of application example 1 of the invention, the corresponding web page address of web page access mistake is " pianke.com ", this
Inventive embodiments can be based on similarity mode, obtain target webpage address " pianke.me ", and provide corresponding solution
Whether " you want access pianke.me " or " click have a try pianke.me " etc., can help correct needed for user's access in this way
Webpage.
In the case that method of determination B2 can be adapted for the network address that the corresponding web page address of web page access mistake is local area network,
The relevant solution of its available connection Intranet.Specifically, the relevant solution of connection Intranet may include: Intranet phase
The connection type of pass, and/or several operating procedures etc. for connecting Intranet.In this way, user can be helped to visit under outer network environment
Ask the network address of local area network.
In a kind of application example 2 of the invention, the network address that could be opened in corporate intranet is needed to be referred to alternatively as local area network
Network address, when accessing the network address of local area network under the outer network environments such as network of network or cafe that user stays at home, general meeting
Encounter the situation of web page access mistake.For the general user of Non-computer Majors, do not have web page access mistake usually
Judgement and resolution ability, specifically, in the case where application example 2, user may fail to give attention to be because the network address only can be
It is accessed under intranet environment, then user can generate confused feeling, and replace the modes such as browser, plug cable by making repeated attempts and taste
Examination solves the web page access mistake, but can not all solve the web page access mistake.And the embodiment of the present invention can provide a user
The corresponding error reason of web page access mistake, such as " network address needs are opened under intranet environment, and the network that you use now is not
It is intranet environment " etc., above-mentioned error reason can help user to obtain the scheme for solving web page access mistake to a certain extent;
Also, the embodiment of the present invention can also provide a user the corresponding solution of web page access mistake, " please such as attempt to connect to
On company's internal network " or " attempt open VPN (Virtual Private Network, Virtual Private Network) connection ", " logical
The step of crossing VPN access corporate intranet " etc..
Method of determination B3 can be adapted for the case where corresponding web page address of web page access mistake is preset network address overseas,
It is available to access the relevant solution of preset network address overseas.Specifically, the relevant solution of connection Intranet may include:
Several operating procedures etc. of the relevant access mode of preset network address overseas, and/or the preset network address overseas of access.In this way, can be with
Help the preset network address overseas of user's successful access.
In a kind of application example 3 of the invention, the corresponding web page address of web page access mistake is
" www.facebook.com ", the embodiment of the present invention can obtain corresponding error reason, such as ", this is external network address,
It cannot be opened using domestic network!", and provide corresponding solution " the external net of downloading dedicated proxies access
Location " or " passing through the external network address of VPN access " or " the external network address of downloading special browser access " etc., can help in this way
Help the preset network address overseas of user's successful access.
Method of determination B4 can be adapted for the case where being currently not connected with network, the relevant solution of available connection network
Scheme.Specifically, the relevant solution of connection network may include: to connect network mode, and/or connect the several of network
A operating procedure etc..In this way, user can be helped to be successfully connected network.
In a kind of application example 4 of the invention, it is assumed that user purchased new intelligent terminal (such as PC (personal computer,
Personal Computer) etc.), it is assumed that user attempts access webpage after network is arranged, and web page access mistake occurs
Situation;In such cases, the embodiment of the present invention can provide corresponding error reason, such as ", currently without networking!";
And corresponding solution is provided, such as " how wireless router is set " or " how new computer connects network " relevant behaviour
Make step etc., user's successful access can be helped to connect network in this way.Certainly, in the case where intelligent terminal is mobile phone, accordingly
Solution can be " how mobile phone is arranged network " or " to change WIFI (Wireless Fidelity, a Wireless
Fidelity) refresh webpage after signal connection " relevant operating procedure etc..
In addition to analyzing the corresponding relevant information of web page access mistake and/or error reason, to obtain the webpage
Except the corresponding solution of access errors, the embodiment of the present invention, which can also provide, determines the corresponding solution of the web page access mistake
The certainly other technologies scheme of scheme.Correspondingly, in an alternative embodiment of the invention, above-mentioned according to web page access mistake pair
The relevant information and/or error reason answered determine the process of the corresponding solution of the web page access mistake, may include:
According to the corresponding relevant information of web page access mistake and/or error reason, in the relevant information and/or error reason pre-established
It is searched in mapping relations between solution, to obtain the corresponding solution of the web page access mistake.Relatively
Analyzed in the corresponding relevant information of web page access mistake and/or error reason, in the relevant information pre-established and/or
It is corresponding that the web page access mistake can be improved in the mode searched in mapping relations between error reason and solution
Solution determination efficiency.
In another alternative embodiment of the invention, relevant information and/or error reason and solution are pre-established
Process, may include: to analyze the corresponding corpus of web page access mistake, to obtain the corresponding mistake of web page access mistake
Reason and/or solution;Establish the mapping relations between relevant information and/or error reason and solution.
In an alternative embodiment of the invention, the above-mentioned process that the corresponding corpus of web page access mistake is analyzed
It may include: to extract corresponding error reason and/or solution from the corresponding corpus of web page access mistake, alternatively, can incite somebody to action
The error reason for the computer language form extracted from the corresponding corpus of web page access mistake is converted to the mistake of natural language form
Accidentally reason and/or solution, for not having the user of computer technology background and knowledge, the mistake of natural language form
Accidentally reason and/or solution have higher understandability.
In another alternative embodiment of the invention, the above-mentioned mistake that the corresponding corpus of web page access mistake is analyzed
Journey may include: that it is corresponding to obtain web page access mistake using at least one of aforementioned method of determination A1 to method of determination A5
Error reason;And/or using at least one of aforementioned method of determination B1 to method of determination B4, obtain web page access mistake pair
The solution answered.
No matter the corresponding corpus of web page access mistake is analyzed using which kind of analysis mode, can be visited for webpage
It asks that mistake obtains at least two in corresponding relevant information, error reason and solution, and establishes relevant information and/or mistake
The accidentally mapping relations between reason and solution.
Referring to table 2, a kind of showing for the mapping relations between the relevant information and solution of the embodiment of the present invention is shown
Example.Wherein it is possible to the error reason of the form using natural language, to improve the understandability of error reason.Also, it can also adopt
With the natural language description error reason of light style, the mood of user can be made to be loosened to a certain extent in this way.
Table 2
Referring to table 3, a kind of showing for the mapping relations between the error reason and solution of the embodiment of the present invention is shown
Example.
Table 3
It is appreciated that table 2 and table 3 are intended only as example, in fact, the embodiment of the present invention can also be established and save correlation
Mapping relations between information, error reason and solution.
In practical applications, the corresponding solution of the web page access mistake that step 204 can obtain step 203
It is shown.It is alternatively possible to carry out above-mentioned solution party using any or combination in the modes such as text, picture and animation
The display of case.Also, the display of error reason and solution can also be carried out simultaneously.
In an alternative embodiment of the invention, the corresponding solution of web page access mistake obtain failure namely
In the case where being unable to get the corresponding solution of web page access mistake, error reason can be shown simultaneously and its corresponding is remedied
Scheme.For example, for webpage, there is no related reasons, it is assumed that with can not obtaining corresponding target webpage by method of determination B1
Location, then corresponding scheme of remedying can be with are as follows: opening remedies webpage etc., and it can be homepage, web page access mistake pair that this, which remedies webpage,
The webpages such as the upper webpage of the webpage answered, the highest webpage of user's access frequency, family can be used in this way and exit web page access
The corresponding state of mistake.Specifically, it can show that this remedies the icon of webpage or network address, for user's access.Also, may be used also
To show corresponding auxiliary picture, to play corresponding relaxation effect.
In a kind of application example 5 of the invention, the case where being unable to get web page access mistake corresponding solution
Under, it can show that preset button, auxiliary picture and the explanatory note for assisting picture, the auxiliary picture can be to see to preset button
Past expression packet, assisting the explanatory note of picture can be " preset button may be important ", and user can be improved in this way
For the click probability of preset button;It is operated in next step that is, user is guided to do by auxiliary picture, and then exits current shape
State.
To sum up, the processing method of the web page access mistake of the embodiment of the present invention, not only can determine and show web page access
The corresponding error reason of mistake, and can determine solution corresponding with web page access mistake, in this way, there is webpage visit
In the case where asking mistake, family not only can be used and easily understand the corresponding error reason of web page access mistake, but also can be to
User provides the solution of web page access mistake, and then it is corresponding tired that user can be helped to walk out current web page access errors
Border.
It should be noted that for simple description, therefore, it is stated as a series of movement is dynamic for embodiment of the method
It combines, but those skilled in the art should understand that, the embodiment of the present invention is not by the limit of described athletic performance sequence
System, because according to an embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, art technology
Personnel also should be aware of, and the embodiments described in the specification are all preferred embodiments, and related athletic performance is simultaneously different
It surely is necessary to the embodiment of the present invention.
Installation practice
Referring to Fig. 3, a kind of structural block diagram of the processing device embodiment of web page access mistake of the invention is shown, specifically
May include:
Error reason determining module 301, for determining that the webpage is visited according to the corresponding relevant information of web page access mistake
Ask mistake corresponding error reason;The relevant information may include: in error status code, web page address and network connection information
At least one;And
Error reason display module 302, for showing the corresponding error reason of the web page access mistake.
Optionally, error reason determining module 301 may include:
First searches submodule, for being believed in the correlation pre-established according to the corresponding relevant information of web page access mistake
It is searched in mapping relations between breath and error reason, to obtain the corresponding error reason of the web page access mistake.
Optionally, described device can also include:
Concordance module, for analyzing the corresponding corpus of web page access mistake, to obtain web page access mistake
Corresponding error reason;
Module is established in mapping, for establishing relevant information and mistake according to the corresponding error reason of the web page access mistake
The accidentally mapping relations between reason.
Optionally, error reason determining module 301 may include:
First judging submodule, for judging that the corresponding webpage of the webpage network address whether there is, if not, it is determined that described
The corresponding error reason of web page access mistake is that there is no related reasons for webpage;And/or
Second judgment submodule, for judging whether the webpage network address is wrong network address, if so, determining the webpage
The corresponding error reason of access errors is the reason of network address mistake correlation;And/or
Third judging submodule, for judge the corresponding web page address of web page access mistake whether be local area network network address,
If so, determining that the corresponding error reason of the web page access mistake is the reason of Intranet network address correlation;And/or
4th judging submodule, for judging whether the corresponding web page address of web page access mistake is preset network address overseas,
If so, determining that the corresponding error reason of the web page access mistake is the reason of network address correlation overseas;And/or
5th judging submodule, for according to the corresponding network connection information of web page access mistake, whether judgement currently to connect
Network is connect, if not, it is determined that the corresponding error reason of the web page access mistake is the reason of not connected network correlation.
Optionally, described device can also include:
Solution determining module, for determining according to the corresponding relevant information of web page access mistake and/or error reason
The corresponding solution of the web page access mistake;
Solution display module, for showing the corresponding solution of the web page access mistake.
Optionally, the solution determining module may include:
Second searches submodule, for the corresponding relevant information of foundation web page access mistake and/or error reason, preparatory
It is searched in mapping relations between the relevant information and/or error reason and solution of foundation, to obtain the webpage
The corresponding solution of access errors.
Optionally, the solution determining module may include:
First determines submodule, wrong with web page access for obtaining when error reason is the reason of network address mistake correlation
Accidentally the similarity between corresponding web page address meets the target webpage address of preset similarity condition, according to the target webpage
Address determines the corresponding solution of the web page access mistake;And/or
Second determines submodule, for determining the web page access when error reason is the reason of Intranet network address correlation
The corresponding solution of mistake is the relevant solution of connection Intranet;And/or
Third determines submodule, for determining the web page access when error reason is the reason of network address correlation overseas
The corresponding solution of mistake is to access the relevant solution of preset network address overseas;And/or
4th determines submodule, for determining that the webpage is visited when error reason is the reason of not connected network correlation
Ask the corresponding error reason of mistake for the relevant solution of connection network.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
The embodiment of the invention provides a kind of devices of processing for web page access mistake, include memory, and
One perhaps more than one program one of them or more than one program be stored in memory, and be configured to by one
It includes the instruction for performing the following operation that a or more than one processor, which executes the one or more programs: according to
According to the corresponding relevant information of web page access mistake, the corresponding error reason of the web page access mistake is determined;The relevant information
It include: at least one of error status code, web page address and network connection information;Show that the web page access mistake is corresponding
Error reason.
Optionally, described according to the corresponding relevant information of web page access mistake, determine that the web page access mistake is corresponding
Error reason, comprising: according to the corresponding relevant information of web page access mistake, the relevant information and error reason pre-established it
Between mapping relations in searched, to obtain the corresponding error reason of the web page access mistake.
Optionally, described device is also configured to execute one or one by one or more than one processor
Procedure above includes the instruction for performing the following operation: being analyzed the corresponding corpus of web page access mistake, to obtain net
The corresponding error reason of access to web page mistake;According to the corresponding error reason of the web page access mistake, relevant information and mistake are established
The accidentally mapping relations between reason.
Optionally, described according to the corresponding relevant information of web page access mistake, determine that the web page access mistake is corresponding
Error reason, comprising:
Judge that the corresponding webpage of the webpage network address whether there is, if not, it is determined that the web page access mistake is corresponding
Error reason is that there is no related reasons for webpage;And/or
Judge whether the webpage network address is wrong network address, if so, determining the corresponding mistake of the web page access mistake
Reason is the reason of network address mistake correlation;And/or
Judge whether the corresponding web page address of web page access mistake is the network address of local area network, if so, determining the webpage
The corresponding error reason of access errors is the reason of Intranet network address correlation;And/or
Judge whether the corresponding web page address of web page access mistake is preset network address overseas, if so, determining the webpage
The corresponding error reason of access errors is the reason of network address correlation overseas;And/or
According to the corresponding network connection information of web page access mistake, whether judgement currently connects network, if not, it is determined that institute
State the reason that the corresponding error reason of web page access mistake is not connected network correlation.
Optionally, described device is also configured to execute one or one by one or more than one processor
Procedure above includes the instruction for performing the following operation: former according to the corresponding relevant information of web page access mistake and/or mistake
Cause determines the corresponding solution of the web page access mistake;Show the corresponding solution of the web page access mistake.
Optionally, described according to the corresponding relevant information of web page access mistake and/or error reason, determine that the webpage is visited
Ask mistake corresponding solution, comprising: according to the corresponding relevant information of web page access mistake and/or error reason, preparatory
It is searched in mapping relations between the relevant information and/or error reason and solution of foundation, to obtain the webpage
The corresponding solution of access errors.
Optionally, described according to the corresponding relevant information of web page access mistake and/or error reason, determine that the webpage is visited
Ask mistake corresponding solution, comprising:
If error reason is the reason of network address mistake correlation, obtain between web page address corresponding with web page access mistake
Similarity meets the target webpage address of preset similarity condition, determines that the web page access is wrong according to the target webpage address
Accidentally corresponding solution;And/or
If error reason is the reason of Intranet network address correlation, it is determined that the corresponding solution of the web page access mistake is
Connect the relevant solution of Intranet;And/or
If error reason is the reason of overseas network address correlation, it is determined that the corresponding solution of the web page access mistake is
Access the relevant solution of preset network address overseas;And/or
If error reason is the reason of not connected network correlation, it is determined that the corresponding error reason of the web page access mistake
For the relevant solution of connection network.
Fig. 4 is a kind of device of processing for web page access mistake shown according to an exemplary embodiment as terminal
When structural block diagram.For example, device 900 can be mobile phone, computer, digital broadcasting terminal, messaging device, game
Console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 4, device 900 may include following one or more components: processing component 902, memory 904, power supply
Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914, and
Communication component 916.
The integrated operation of the usual control device 900 of processing component 902, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing element 902 may include that one or more processors 920 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 902 may include one or more modules, just
Interaction between processing component 902 and other assemblies.For example, processing component 902 may include multi-media module, it is more to facilitate
Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown
Example includes the instruction of any application or method for operating on device 900, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 may include power management system
System, one or more power supplys and other with for device 900 generate, manage, and distribute the associated component of electric power.
Multimedia component 908 includes the screen of one output interface of offer between described device 900 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding motion
The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments,
Multimedia component 908 includes a front camera and/or rear camera.When equipment 900 is in operation mode, as shot mould
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike
Wind (MIC), when device 900 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set
Part 916 is sent.In some embodiments, audio component 910 further includes a loudspeaker, is used for output audio signal.
I/O interface 912 provides interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented
Estimate.For example, sensor module 914 can detecte the state that opens/closes of equipment 900, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 900, and sensor module 914 can be with 900 1 components of detection device 900 or device
Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900
Temperature change.Sensor module 914 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device
900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 904 of instruction, above-metioned instruction can be executed by the processor 920 of device 900 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Fig. 5 is a kind of device of processing for web page access mistake shown according to an exemplary embodiment as service
The structural block diagram of device.The server 1900 can generate bigger difference because configuration or performance are different, may include one or
More than one central processing unit (central processing units, CPU) 1922 is (for example, one or more are handled
Device) and memory 1932, the storage medium 1930 (such as one of one or more storage application programs 1942 or data 1944
A or more than one mass memory unit).Wherein, memory 1932 and storage medium 1930 can be of short duration storage or persistently deposit
Storage.The program for being stored in storage medium 1930 may include one or more modules (diagram does not mark), and each module can
To include to the series of instructions operation in server.Further, central processing unit 1922 can be set to be situated between with storage
Matter 1930 communicates, and the series of instructions operation in storage medium 1930 is executed on server 1900.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets
Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or
More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM
Etc..
A kind of machine readable media (such as non-transitorycomputer readable storage medium), when the instruction in the medium by
When the processor of device (intelligent terminal or server) executes, the processing for executing a kind of web page access mistake is enabled a device to
Method, which comprises according to the corresponding relevant information of web page access mistake, determine the corresponding mistake of the web page access mistake
Accidentally reason;The relevant information includes: at least one of error status code, web page address and network connection information;Display institute
State the corresponding error reason of web page access mistake.
Optionally, described according to the corresponding relevant information of web page access mistake, determine that the web page access mistake is corresponding
Error reason, comprising: according to the corresponding relevant information of web page access mistake, the relevant information and error reason pre-established it
Between mapping relations in searched, to obtain the corresponding error reason of the web page access mistake.
Optionally, the method also includes: the corresponding corpus of web page access mistake is analyzed, to obtain web page access
The corresponding error reason of mistake;According to the corresponding error reason of the web page access mistake, relevant information and error reason are established
Between mapping relations.
Optionally, described according to the corresponding relevant information of web page access mistake, determine that the web page access mistake is corresponding
Error reason, comprising:
Judge that the corresponding webpage of the webpage network address whether there is, if not, it is determined that the web page access mistake is corresponding
Error reason is that there is no related reasons for webpage;And/or
Judge whether the webpage network address is wrong network address, if so, determining the corresponding mistake of the web page access mistake
Reason is the reason of network address mistake correlation;And/or
Judge whether the corresponding web page address of web page access mistake is the network address of local area network, if so, determining the webpage
The corresponding error reason of access errors is the reason of Intranet network address correlation;And/or
Judge whether the corresponding web page address of web page access mistake is preset network address overseas, if so, determining the webpage
The corresponding error reason of access errors is the reason of network address correlation overseas;And/or
According to the corresponding network connection information of web page access mistake, whether judgement currently connects network, if not, it is determined that institute
State the reason that the corresponding error reason of web page access mistake is not connected network correlation.
Optionally, the method also includes: according to the corresponding relevant information of web page access mistake and/or error reason, really
Determine the corresponding solution of the web page access mistake;Show the corresponding solution of the web page access mistake.
Optionally, described according to the corresponding relevant information of web page access mistake and/or error reason, determine that the webpage is visited
Ask mistake corresponding solution, comprising: according to the corresponding relevant information of web page access mistake and/or error reason, preparatory
It is searched in mapping relations between the relevant information and/or error reason and solution of foundation, to obtain the webpage
The corresponding solution of access errors.
Optionally, described according to the corresponding relevant information of web page access mistake and/or error reason, determine that the webpage is visited
Ask mistake corresponding solution, comprising: if error reason is the reason of network address mistake correlation, to obtain and web page access mistake pair
The similarity between web page address answered meets the target webpage address of preset similarity condition, according to the target webpage address
Determine the corresponding solution of the web page access mistake;If and/or error reason is the reason of Intranet network address correlation, it is determined that
The corresponding solution of the web page access mistake is the relevant solution of connection Intranet;If and/or error reason is overseas
The reason of network address correlation, it is determined that the corresponding solution of the web page access mistake is to access the relevant solution of preset network address overseas
Certainly scheme;If and/or error reason is the reason of not connected network correlation, it is determined that the corresponding mistake of the web page access mistake
Reason is the relevant solution of connection network.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Above to a kind of processing method of web page access mistake provided by the present invention, a kind of processing of web page access mistake
Device and a kind of device of the processing for web page access mistake, are described in detail, specific case pair used herein
The principle of the present invention and embodiment are expounded, method of the invention that the above embodiments are only used to help understand
And its core concept;At the same time, for those skilled in the art, according to the thought of the present invention, in specific embodiment and
There will be changes in application range, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (10)
1. a kind of processing method of web page access mistake characterized by comprising
According to the corresponding relevant information of web page access mistake, the corresponding error reason of the web page access mistake is determined;The phase
Closing information includes: at least one of error status code, web page address and network connection information;
Show the corresponding error reason of the web page access mistake.
2. the method according to claim 1, wherein described according to the corresponding relevant information of web page access mistake,
Determine the corresponding error reason of the web page access mistake, comprising:
According to the corresponding relevant information of web page access mistake, the mapping between the relevant information and error reason pre-established is closed
It is searched in system, to obtain the corresponding error reason of the web page access mistake.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
The corresponding corpus of web page access mistake is analyzed, to obtain the corresponding error reason of web page access mistake;
According to the corresponding error reason of the web page access mistake, the mapping relations between relevant information and error reason are established.
4. the method according to claim 1, wherein described according to the corresponding relevant information of web page access mistake,
Determine the corresponding error reason of the web page access mistake, comprising:
Judge that the corresponding webpage of the webpage network address whether there is, if not, it is determined that the corresponding mistake of the web page access mistake
Reason is that there is no related reasons for webpage;And/or
Judge whether the webpage network address is wrong network address, if so, determining the corresponding error reason of the web page access mistake
For the reason of network address mistake correlation;And/or
Judge whether the corresponding web page address of web page access mistake is the network address of local area network, if so, determining the web page access
The corresponding error reason of mistake is the reason of Intranet network address correlation;And/or
Judge whether the corresponding web page address of web page access mistake is preset network address overseas, if so, determining the web page access
The corresponding error reason of mistake is the reason of network address correlation overseas;And/or
According to the corresponding network connection information of web page access mistake, whether judgement currently connects network, if not, it is determined that the net
The corresponding error reason of access to web page mistake is the reason of not connected network correlation.
5. method according to claim 1 or 2 or 3, which is characterized in that the method also includes:
According to the corresponding relevant information of web page access mistake and/or error reason, the corresponding solution of the web page access mistake is determined
Certainly scheme;
Show the corresponding solution of the web page access mistake.
6. according to the method described in claim 5, it is characterized in that, described according to the corresponding relevant information of web page access mistake
And/or error reason, determine the corresponding solution of the web page access mistake, comprising:
According to the corresponding relevant information of web page access mistake and/or error reason, in the relevant information and/or mistake pre-established
It is searched in mapping relations between reason and solution, to obtain the corresponding solution of the web page access mistake.
7. according to the method described in claim 5, it is characterized in that, described according to the corresponding relevant information of web page access mistake
And/or error reason, determine the corresponding solution of the web page access mistake, comprising:
If error reason is the reason of network address mistake correlation, obtain similar between web page address corresponding with web page access mistake
Degree meets the target webpage address of preset similarity condition, determines the web page access mistake pair according to the target webpage address
The solution answered;And/or
If error reason is the reason of Intranet network address correlation, it is determined that the corresponding solution of the web page access mistake is to connect
The relevant solution of Intranet;And/or
If error reason is the reason of overseas network address correlation, it is determined that the corresponding solution of the web page access mistake is to access
The relevant solution of preset network address overseas;And/or
If error reason is the reason of not connected network correlation, it is determined that the corresponding error reason of the web page access mistake is company
Connect the relevant solution of network.
8. a kind of processing unit of web page access mistake characterized by comprising
Error reason determining module, for determining the web page access mistake according to the corresponding relevant information of web page access mistake
Corresponding error reason;The relevant information includes: at least one in error status code, web page address and network connection information
Kind;And
Error reason display module, for showing the corresponding error reason of the web page access mistake.
9. a kind of device of the processing for web page access mistake, which is characterized in that include memory and one or one
A above program, perhaps more than one program is stored in memory and is configured to by one or one for one of them
It includes the instruction for performing the following operation that the above processor, which executes the one or more programs:
According to the corresponding relevant information of web page access mistake, the corresponding error reason of the web page access mistake is determined;The phase
Closing information includes: at least one of error status code, web page address and network connection information;
Show the corresponding error reason of the web page access mistake.
10. a kind of machine readable media is stored thereon with instruction, when executed by one or more processors, so that device is held
The processing method of web page access mistake of the row as described in one or more in claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710358732.1A CN108959296A (en) | 2017-05-19 | 2017-05-19 | The treating method and apparatus of web page access mistake |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710358732.1A CN108959296A (en) | 2017-05-19 | 2017-05-19 | The treating method and apparatus of web page access mistake |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108959296A true CN108959296A (en) | 2018-12-07 |
Family
ID=64463052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710358732.1A Pending CN108959296A (en) | 2017-05-19 | 2017-05-19 | The treating method and apparatus of web page access mistake |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108959296A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783326A (en) * | 2018-12-18 | 2019-05-21 | 平安普惠企业管理有限公司 | A kind of method and device of prompt system type of error, electronic equipment |
CN110287056A (en) * | 2019-07-04 | 2019-09-27 | 郑州悉知信息科技股份有限公司 | Webpage error message acquisition methods and device |
CN111080854A (en) * | 2019-12-26 | 2020-04-28 | 广东科徕尼智能科技有限公司 | Binding method and device of intelligent door lock |
WO2023088338A1 (en) * | 2021-11-18 | 2023-05-25 | 华为技术有限公司 | Webpage access abnormality processing method and related device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854579A (en) * | 2009-03-31 | 2010-10-06 | 华为软件技术有限公司 | Services-providing method for mobile station, mobile station and services-providing device |
CN101877696A (en) * | 2009-04-30 | 2010-11-03 | 国际商业机器公司 | Equipment and method for reconfiguring false response messages under network application environment |
CN101888656A (en) * | 2010-07-16 | 2010-11-17 | 北京市万网元通信技术有限公司 | Fishbone distribution-based mobile data core network failure cause analysis method |
CN102739663A (en) * | 2012-06-18 | 2012-10-17 | 奇智软件(北京)有限公司 | Detection method and scanning engine of web pages |
CN104168316A (en) * | 2014-08-11 | 2014-11-26 | 北京星网锐捷网络技术有限公司 | Webpage access control method and gateway |
-
2017
- 2017-05-19 CN CN201710358732.1A patent/CN108959296A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854579A (en) * | 2009-03-31 | 2010-10-06 | 华为软件技术有限公司 | Services-providing method for mobile station, mobile station and services-providing device |
CN101877696A (en) * | 2009-04-30 | 2010-11-03 | 国际商业机器公司 | Equipment and method for reconfiguring false response messages under network application environment |
CN101888656A (en) * | 2010-07-16 | 2010-11-17 | 北京市万网元通信技术有限公司 | Fishbone distribution-based mobile data core network failure cause analysis method |
CN102739663A (en) * | 2012-06-18 | 2012-10-17 | 奇智软件(北京)有限公司 | Detection method and scanning engine of web pages |
CN104168316A (en) * | 2014-08-11 | 2014-11-26 | 北京星网锐捷网络技术有限公司 | Webpage access control method and gateway |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783326A (en) * | 2018-12-18 | 2019-05-21 | 平安普惠企业管理有限公司 | A kind of method and device of prompt system type of error, electronic equipment |
CN109783326B (en) * | 2018-12-18 | 2023-02-03 | 平安普惠企业管理有限公司 | Method and device for prompting system error type and electronic equipment |
CN110287056A (en) * | 2019-07-04 | 2019-09-27 | 郑州悉知信息科技股份有限公司 | Webpage error message acquisition methods and device |
CN111080854A (en) * | 2019-12-26 | 2020-04-28 | 广东科徕尼智能科技有限公司 | Binding method and device of intelligent door lock |
WO2023088338A1 (en) * | 2021-11-18 | 2023-05-25 | 华为技术有限公司 | Webpage access abnormality processing method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11775607B2 (en) | Transitory salient attention capture to draw attention to digital document parts | |
CN106294372B (en) | Application program page quick access method and the mobile terminal for applying it | |
KR102006396B1 (en) | Identifying matching applications based on browsing activity | |
US8874542B2 (en) | Displaying browse sequence with search results | |
CN104268185B (en) | A kind of method and apparatus in application distribution platform search application | |
US10878044B2 (en) | System and method for providing content recommendation service | |
WO2021022689A1 (en) | Information collection method and apparatus | |
CN111651224A (en) | System and method for identifying, indexing and navigating to a depth state of a mobile application | |
CN106789543A (en) | The method and apparatus that facial expression image sends are realized in session | |
CN108959296A (en) | The treating method and apparatus of web page access mistake | |
CN105302461B (en) | A kind of method and apparatus for the offer target pages in mobile application | |
CN105989120B (en) | A kind of personalization content recommendation method and individualized content recommender system | |
CN107305549A (en) | Language data processing method, device and the device for language data processing | |
CN103870551B (en) | The method and apparatus that a kind of cross-domain data obtains | |
CN106844472A (en) | A kind of searching method and device, a kind of device for searching for | |
CN107408115A (en) | web site access control | |
CN108073606A (en) | A kind of news recommends method and apparatus, a kind of device recommended for news | |
CN109582768A (en) | A kind of text entry method and device | |
CN110222256A (en) | A kind of information recommendation method, device and the device for information recommendation | |
US20160191338A1 (en) | Retrieving content from an application | |
CN107515870A (en) | A kind of searching method and device, a kind of device for being used to search for | |
CN109120996A (en) | Video information recognition methods, storage medium and computer equipment | |
CN106209889B (en) | Detect the method and device that information is kidnapped in webpage | |
CN111506838A (en) | Method and device for displaying tab in browser, medium and equipment | |
CN109829033A (en) | Method for exhibiting data and terminal device |
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 |
Application publication date: 20181207 |
|
RJ01 | Rejection of invention patent application after publication |