CN110020264A - A kind of determination method and device of broken hyperlink - Google Patents

A kind of determination method and device of broken hyperlink Download PDF

Info

Publication number
CN110020264A
CN110020264A CN201811634095.7A CN201811634095A CN110020264A CN 110020264 A CN110020264 A CN 110020264A CN 201811634095 A CN201811634095 A CN 201811634095A CN 110020264 A CN110020264 A CN 110020264A
Authority
CN
China
Prior art keywords
hyperlink
user
type
broken
timer
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.)
Granted
Application number
CN201811634095.7A
Other languages
Chinese (zh)
Other versions
CN110020264B (en
Inventor
鲁亚然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811634095.7A priority Critical patent/CN110020264B/en
Publication of CN110020264A publication Critical patent/CN110020264A/en
Application granted granted Critical
Publication of CN110020264B publication Critical patent/CN110020264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links

Abstract

Disclose a kind of determination method and device of broken hyperlink.A kind of determination method of broken hyperlink, this method comprises: determining the affiliated type of the selected hyperlink of user;According to the corresponding relationship of preset hyperlink type and timer, timer corresponding with user's affiliated type of selected hyperlink is generated, wherein hyperlink type and timer correspond;In the time interval that the timer is specified, the target object that the hyperlink is jumped to by current page is monitored whether;If not, it is determined that the selected hyperlink of user is connected in broken hyperlink.

Description

A kind of determination method and device of broken hyperlink
Technical field
This specification embodiment is related to the determination method and dress of Internet technical field more particularly to a kind of broken hyperlink It sets.
Background technique
Hyperlink belongs to a part of a webpage in itself, it be a kind of permission user with other webpages or website it Between the element that is attached, also refer to the connection relationship that a target object is directed toward from a webpage, this target object can be with It is another webpage, the different location being also possible in same web page can also be a picture, an e-mail address, One file, it might even be possible to be an application program.User need to only click the hyperlink in webpage, so that it may automatic jump to super The target object of link, target object are displayed on browser, and are opened or run according to the type of target object.
At present there are many hyperlink in webpage, there may be problems for some hyperlink, cause user click hyperlink can Can not have reaction (being waited for always) always, influence user experience.It causes there are many kinds of hyperlink reasons of problems, Such as the reason of hyperlink itself (belonging to illegal hyperlink), the reason of user network (user network interruption), the mesh of hyperlink The reason of marking object (target object of hyperlink can not access) causes to deposit in existing hyperlink due to various In invalid hyperlink (abbreviation broken hyperlink), therefore it is badly in need of a kind of technical solution that can determine broken hyperlink at present, Corresponding processing is made for broken hyperlink so as to subsequent, improves user experience.
Summary of the invention
In view of the above technical problems, this specification embodiment provides a kind of determination method and device of broken hyperlink, skill Art scheme is as follows:
A kind of determination method of broken hyperlink, this method comprises:
Determine the affiliated type of the selected hyperlink of user;
According to the corresponding relationship of preset hyperlink type and timer, generate and the affiliated class of the selected hyperlink of user The corresponding timer of type, wherein hyperlink type and timer correspond;
In the time interval that the timer is specified, the target that the hyperlink is jumped to by current page is monitored whether Object;
If not, it is determined that the selected hyperlink of user is connected in broken hyperlink.
A kind of determining device of broken hyperlink, the device include:
Determination type module, for determining the affiliated type of the selected hyperlink of user;
Timer generation module, for the corresponding relationship according to preset hyperlink type and timer, generation and user The corresponding timer of the selected affiliated type of hyperlink, wherein hyperlink type and timer correspond;
Monitoring modular, for monitoring whether to jump to institute by current page in the time interval that the timer is specified State the target object of hyperlink;
Broken hyperlink determining module, for if not, it is determined that the selected hyperlink of user is connected in broken hyperlink.
Technical solution provided by this specification embodiment, it is raw by determining the affiliated type of the selected hyperlink of user At timer corresponding with user's affiliated type of selected hyperlink, in the time interval that the timer is specified, monitoring is The no target object that the hyperlink is jumped to by current page, if it is not, can then determine that the selected hyperlink of user is connected in vain Hyperlink.In this way, can achieve the purpose of determining broken hyperlink, made accordingly so as to subsequent for broken hyperlink Processing improves user experience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not This specification embodiment can be limited.
In addition, any embodiment in this specification embodiment does not need to reach above-mentioned whole effects.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only The some embodiments recorded in this specification embodiment for those of ordinary skill in the art can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is that this specification implements the exemplary application schematic diagram of a scenario exemplified;
Fig. 2 is the flow diagram of the determination method of the broken hyperlink of this specification embodiment;
Fig. 3 is the structural schematic diagram of the determining device of the broken hyperlink of this specification embodiment;
Fig. 4 is the structural schematic diagram for configuring a kind of equipment of this specification embodiment device.
Specific embodiment
As shown in Figure 1, current web page includes multiple hyperlink, user there are a webpage on a mobile terminal (mobile phone) Some hyperlink in webpage need to only be clicked, so that it may automatic jump to the target object of hyperlink, target object is displayed on On browser, and opens or run according to the type of target object.
However in a practical situation, it is led although there are many hyperlink in webpage with the presence of part hyperlink problem It causes user click hyperlink that may always not reacting, for a user, may be not aware that hyperlink is caused to ask at that time The reason of topic, can only select to wait or reselect other hyperlink, influence user experience.Due to various originals Cause, causes in existing hyperlink that there are invalid hyperlink, therefore is badly in need of a kind of technology that can determine broken hyperlink at present Scheme makes corresponding processing for broken hyperlink so as to subsequent, improves user experience.
In view of the above technical problems, this specification embodiment provides a kind of technical solution, by determining that user is selected The affiliated type of hyperlink generates timer corresponding with user's affiliated type of selected hyperlink, specifies in the timer In time interval, the target object that the hyperlink is jumped to by current page is monitored whether, if it is not, can then determine selected by user The hyperlink selected is connected in broken hyperlink.In this way, can achieve the purpose of determining broken hyperlink, so as to subsequent for invalid Hyperlink makes corresponding processing, improves user experience.
Specifically, the technical solution that this specification embodiment provides is as follows:
Determine the affiliated type of the selected hyperlink of user;It is closed according to preset hyperlink type is corresponding with timer System generates timer corresponding with user's affiliated type of selected hyperlink, and wherein hyperlink type and timer one are a pair of It answers;In the time interval that the timer is specified, the target object that the hyperlink is jumped to by current page is monitored whether; If not, it is determined that the selected hyperlink of user is connected in broken hyperlink.
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual, Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
It is shown in Figure 2, it is the implementation flow chart of the determination method for the broken hyperlink that this specification embodiment provides, it should Method can specifically include following steps:
S201 determines the affiliated type of the selected hyperlink of user;
Firstly the need of the determining selected hyperlink of user.In the present specification, multiple hyperlink as shown in Figure 1, when When the operation triggering of any hyperlink in the multiple hyperlink of user click, that is, it can determine the selected hyperlink of user, such as When the operation of user click hyperlink 1 triggering, it is determined that the selected hyperlink of user is connected in hyperlink 1.
After determining the selected hyperlink of user, the affiliated type of the selected hyperlink of user is determined.In this explanation In book, different hyperlink types can be obtained previously according to the different demarcation of hyperlink connection path.Generally, according to hyperlink The difference of connection path is connect, hyperlink can be divided into such as Types Below: internal links, external linkage, anchor point link, such root Hyperlink can be divided into different types of hyperlink, available 3 kinds of hyperlink type (examples in advance according to above-mentioned division rule Such as internal type, external type, anchor point type), it is possible thereby to according to the difference of the connection path of the selected hyperlink of user, It determines hyperlink type belonging to the selected hyperlink of user (such as internal type, external type, anchor point type), may belong to In internal type, external type may be belonged to, it is also possible to belong to anchor point type etc., it is notable that institute in the present specification The title of the hyperlink type of division can be named arbitrarily, can also be type-A, B type etc., this specification does not limit this It is fixed.
Different hyperlink types is obtained alternatively, it is also possible to the different demarcation of the target object previously according to hyperlink.One As, according to the target object of hyperlink, (this target object can be another webpage, be also possible in same web page not Same position can also be a picture, an e-mail address, a file, it might even be possible to be an application program) no Together, hyperlink can be divided into such as Types Below: text hyperlink, image hyperlink, Email hyperlink, anchor point hyperlink It connects, multimedia hyperlink, null link etc., so can be in advance divided into hyperlink according to above-mentioned division rule different types of Hyperlink, available a variety of hyperlink types (such as it is text type, image type, email type, anchor point type, more Medium type, void type etc.), it is possible thereby to determine user institute according to the difference of the target object of the selected hyperlink of user Hyperlink type belonging to the hyperlink of selection may belong to text type, may belong to image type, it is also possible to belong to anchor point Type etc., it is notable that the title of the hyperlink type divided in the present specification can be named arbitrarily, can also be Type-A, B type etc., this specification is not construed as limiting this.
S202 is generated and the selected hyperlink of user according to the corresponding relationship of preset hyperlink type and timer The corresponding timer of affiliated type, wherein hyperlink type and timer correspond;
For hyperlink type identified in S201, according to the corresponding relationship of preset hyperlink type and timer, Timer (Timer) corresponding with identified hyperlink type is generated, timer generated specified between the effective time Every different hyperlink types can correspond to different Timer, so as to generate different Timer, it is meant that Timer refers to Fixed effective time interval is different with the difference of hyperlink type.
For example, identified hyperlink type is internal type, it is corresponding with timer according to preset hyperlink type Relationship, produces Timer1 corresponding with internal type, and the Timer1 specified time interval is 1S, identified hyperlink class Type is external type, according to the corresponding relationship of preset hyperlink type and timer, is produced corresponding with external type Timer2, the Timer2 specified time interval is 1.5S, and identified hyperlink type is anchor point type, according to preset super The corresponding relationship of link type and timer produces Timer3 corresponding with anchor point type, between the Timer3 specified time It is divided into 2S.
In another example identified hyperlink type is text type, it is corresponding with timer according to preset hyperlink type Relationship, produces Timer-A corresponding with text type, and the Timer-A specified time interval is 1S, identified hyperlink Type is image type, according to the corresponding relationship of preset hyperlink type and timer, is produced corresponding with image type Timer-B, the Timer-B specified time interval is 1.5S, and identified hyperlink type is email type, according to pre- If hyperlink type and timer corresponding relationship, produce Timer-C corresponding with email type, the Timer-C Specified time interval is 2S.
Wherein, the corresponding relationship of hyperlink type and timer, a kind of corresponding timing of hyperlink type are preset Device, it is as described above, 3 kinds of hyperlink types: internal type, outside are obtained previously according to the different demarcation of hyperlink connection path Type, anchor point type, the corresponding timer of every kind of hyperlink type is described also as noted above, previously according to the target of hyperlink The different demarcation of object obtains a variety of hyperlink types: text type, image type, email type, anchor point type, more matchmakers Body type, void type etc., the corresponding timer of every kind of hyperlink type.Such available hyperlink type and timer Corresponding relationship: hyperlink type and timer correspond.
S203 monitors whether to jump to the hyperlink by current page in the time interval that the timer is specified Target object;
It monitors whether to be jumped by current page in the time interval that the Timer is specified for the Timer generated in S202 The target object of hyperlink is gone to, this target object can be another webpage, be also possible to the different positions in same web page It sets, can also be a picture, an e-mail address, a file, it might even be possible to be an application program.For example, right Target object (the target that hyperlink is jumped to by current page is monitored whether in the 2S that the Timer-B is specified in Timer-B Image).
If jumping to the target object of the hyperlink by current page, the corresponding target pair of the hyperlink is shown As;
In the effective time interval that the Timer is specified, the target object of hyperlink, Yong Huke are jumped to by current page Normally to access, then the corresponding target object of hyperlink is shown.For example, for Timer-B, in the 2S that the Timer-B is specified, The target object (target image) that hyperlink is jumped to by current page then shows the target object (target image) of hyperlink.
S204, if not, it is determined that the selected hyperlink of user is connected in broken hyperlink.
In the effective time interval that the Timer is specified, the target object of hyperlink, user are not jumped to by current page It can not access, then it represents that the selected hyperlink of user is connected in broken hyperlink, can determine that the selected hyperlink of user is connected in nothing Imitate hyperlink.For example, in the 2S that the Timer-B is specified, the mesh of hyperlink is not jumped to by current page for Timer-B Object is marked, then can determine that the corresponding hyperlink 2 of Timer-B is broken hyperlink.
On the basis of above scheme, as a preferred embodiment, determining that the selected hyperlink of user is connected in In the case where broken hyperlink, new hyperlink can be recommended according to default rule, can specifically use following implementation Recommend new hyperlink:
In hyperlink history selection record, recommend at least one and the affiliated hyperlink type of the broken hyperlink at random Identical new hyperlink.The hyperlink once selected in user's history wherein is record in hyperlink history selection record, At least one new hyperlink identical with the affiliated hyperlink type of the broken hyperlink can wherein recommended at random.Example Such as, in the case where determining the selected hyperlink 1 of user is broken hyperlink, the affiliated type of broken hyperlink is inner classes Type recommends 3 new hyperlink, and this 3 affiliated types of new hyperlink are interior in hyperlink history selection record at random Category type.
In hyperlink history selection record, recommend at least one related to the target object of the broken hyperlink at random New hyperlink.Here correlation refers to that target object type is related, can also be related with feeling the pulse with the finger-tip mark contents of object.For example, In the case where determining that the selected hyperlink 1 of user is broken hyperlink, the target object of broken hyperlink is an image, In hyperlink history selection record, recommend 3 new hyperlink, and the target object (image) of this 3 new hyperlink at random It is related to target object (image) of broken hyperlink.For example, determining that the selected hyperlink 2 of user is broken hyperlink In the case of, the target object of broken hyperlink is that a text is gone through including critical field (such as hyperlink) in hyperlink History selection record in, at random recommend 3 new hyperlink, and the target object (critical field in text) of this 3 hyperlink with The target object (critical field in text) of broken hyperlink is related (such as being all to introduce hyperlink).
On the basis of above scheme, as a preferred embodiment, determining that the selected hyperlink of user is connected in In the case where broken hyperlink, rule can be spliced according to preset hyperlink, judge whether the broken hyperlink is illegal Otherwise hyperlink prompts user network to ask if so, the selected hyperlink of user can be prompted to be connected in illegal hyperlink Topic, or the target object of the prompt selected hyperlink of user can not access.Generally, a hyperlink includes the several of fixation A element, each member are known as respective attribute, and the element of certain designated positions usually, represents certain meaning, in determination In the case that the selected hyperlink of user is connected in broken hyperlink, can be by the element number for determining that broken hyperlink has It is no to meet preset requirement, can also by determine broken hyperlink header elements whether be preset element (such as Https: //, WWW) etc., and then judge whether broken hyperlink is illegal hyperlink.
On the basis of above scheme, as a preferred embodiment, determining that the selected hyperlink of user is connected in In the case where broken hyperlink, the selected hyperlink of user can be prompted to be connected in broken hyperlink.
By the description of the above-mentioned technical solution provided this specification embodiment, by determining the selected hyperlink of user Affiliated type is connect, timer corresponding with user's affiliated type of selected hyperlink is generated, in the time that the timer is specified In interval, the target object that the hyperlink is jumped to by current page is monitored whether, if it is not, can then determine that user is selected Hyperlink is connected in broken hyperlink.In this way, can achieve by technical solution provided by this specification and determine invalid hyperlink The purpose connect makes corresponding processing for broken hyperlink so as to subsequent, such as recommends new hyperlink, prompts selected by user The hyperlink selected is connected in broken hyperlink etc., improves user experience.
Relative to above method embodiment, this specification embodiment also provides a kind of determining device of broken hyperlink, ginseng As shown in Figure 3, the apparatus may include: determination type modules 310, timer generation module 320, monitoring modular 330, invalid super Link determining module 340.
Determination type module 310, for determining the affiliated type of the selected hyperlink of user;
Timer generation module 320 is generated and is used for the corresponding relationship according to preset hyperlink type and timer The corresponding timer of the family affiliated type of selected hyperlink, wherein hyperlink type and timer correspond;
Monitoring modular 330, for monitoring whether to be jumped to by current page in the time interval that the timer is specified The target object of the hyperlink;
Broken hyperlink determining module 340, for if not, it is determined that the selected hyperlink of user is connected in broken hyperlink.
In a kind of specific embodiment of this specification, the hyperlink type is previously according to hyperlink connection path Different demarcation obtain.
In a kind of specific embodiment of this specification, the hyperlink type is the target pair previously according to hyperlink The different demarcation of elephant obtains.
In a kind of specific embodiment of this specification, the device further include:
Hyperlink referral module 350, in the case where determining that the selected hyperlink of user is connected in broken hyperlink, root Recommend new hyperlink according to default rule.
In a kind of specific embodiment of this specification, the hyperlink referral module 350 is specifically used for:
In hyperlink history selection record, recommend at least one and the affiliated hyperlink type of the broken hyperlink at random Identical new hyperlink.
In a kind of specific embodiment of this specification, the hyperlink referral module 350 is specifically used for:
In hyperlink history selection record, recommend at least one related to the target object of the broken hyperlink at random New hyperlink.
In a kind of specific embodiment of this specification, the device further include:
Judgment module 360, in the case where determining that the selected hyperlink of user is connected in broken hyperlink, according to default Hyperlink splice rule, judge whether the broken hyperlink is illegal hyperlink;
If so, the prompt selected hyperlink of user is connected in illegal hyperlink, otherwise user network is prompted to go wrong, or The target object of the prompt selected hyperlink of user can not access.
In a kind of specific embodiment of this specification, the device further include:
Cue module 380, for prompting user in the case where determining that the selected hyperlink of user is connected in broken hyperlink Selected hyperlink is connected in broken hyperlink.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
By the description of the above-mentioned technical solution provided this specification embodiment, by determining the selected hyperlink of user Affiliated type is connect, timer corresponding with user's affiliated type of selected hyperlink is generated, in the time that the timer is specified In interval, the target object that the hyperlink is jumped to by current page is monitored whether, if it is not, can then determine that user is selected Hyperlink is connected in broken hyperlink.In this way, can achieve by technical solution provided by this specification and determine invalid hyperlink The purpose connect makes corresponding processing for broken hyperlink so as to subsequent, such as recommends new hyperlink, prompts selected by user The hyperlink selected is connected in broken hyperlink etc., improves user experience.
This specification embodiment also provides a kind of computer equipment, as shown in figure 4, the equipment may include: processor 410, memory 420, input/output interface 430, communication interface 440 and bus 450.Wherein processor 410, memory 420, Input/output interface 430 and communication interface 440 pass through the communication connection between the realization of bus 450 inside equipment.
Processor 410 can use general CPU (Central Processing Unit, central processing unit), micro process Device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one or The modes such as multiple integrated circuits are realized, for executing relative program, to realize technical solution provided by this specification embodiment.
Memory 420 can use ROM (Read Only Memory, read-only memory), RAM (Random Access Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 420 can store Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware When, relevant program code is stored in memory 420, and execution is called by processor 410.
Input/output interface 430 is for connecting input/output module, to realize information input and output.Input and output/ Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display, Loudspeaker, vibrator, indicator light etc..
Communication interface 440 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly (such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 450 includes an access, in various components (such as the processor 410, memory 420, input/output of equipment Interface 430 and communication interface 440) between transmit information.
It should be noted that although above equipment illustrates only processor 410, memory 420, input/output interface 430, communication interface 440 and bus 450, but in the specific implementation process, which can also include realizing to operate normally Necessary other assemblies.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising realizing in above equipment Component necessary to this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey The determination method of broken hyperlink above-mentioned is realized when sequence is executed by processor.This method includes at least:
A kind of determination method of broken hyperlink, this method comprises:
Determine the affiliated type of the selected hyperlink of user;
According to the corresponding relationship of preset hyperlink type and timer, generate and the affiliated class of the selected hyperlink of user The corresponding timer of type, wherein hyperlink type and timer correspond;
In the time interval that the timer is specified, the target that the hyperlink is jumped to by current page is monitored whether Object;
If not, it is determined that the selected hyperlink of user is connected in broken hyperlink.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media, can be by any side Method or technology realize that information stores.Information can be computer readable instructions, data structure, the module of program or other numbers According to.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to Herein defines, and computer-readable medium does not include temporary computer readable media (transitory media), such as modulation Data-signal and carrier wave.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification Embodiment can be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment Method described in certain parts of a embodiment or embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separate part description Module may or may not be physically separated, can be each module when implementing this specification example scheme Function realize in the same or multiple software and or hardware.Can also select according to the actual needs part therein or Person's whole module achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not the case where making the creative labor Under, it can it understands and implements.
The above is only the specific embodiment of this specification embodiment, it is noted that for the general of the art For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this A little improvements and modifications also should be regarded as the protection scope of this specification embodiment.

Claims (17)

1. a kind of determination method of broken hyperlink, this method comprises:
Determine the affiliated type of the selected hyperlink of user;
According to the corresponding relationship of preset hyperlink type and timer, generate and the affiliated type pair of the selected hyperlink of user The timer answered, wherein hyperlink type and timer correspond;
In the time interval that the timer is specified, the target pair that the hyperlink is jumped to by current page is monitored whether As;
If not, it is determined that the selected hyperlink of user is connected in broken hyperlink.
2. according to the method described in claim 1, the hyperlink type is the difference stroke previously according to hyperlink connection path Get.
3. according to the method described in claim 1, the hyperlink type is the difference previously according to the target object of hyperlink Division obtains.
4. according to the described in any item methods of Claims 2 or 3, the method also includes:
In the case where determining that the selected hyperlink of user is connected in broken hyperlink, recommend new hyperlink according to default rule It connects.
5. according to the method described in claim 4, described recommend new hyperlink according to default rule, comprising:
In hyperlink history selection record, recommend at least one identical as the affiliated hyperlink type of the broken hyperlink at random New hyperlink.
6. according to the method described in claim 4, described recommend new hyperlink according to default rule, comprising:
In hyperlink history selection record, recommend at least one relevant to the target object of the broken hyperlink new at random Hyperlink.
7. method according to any one of claims 1 to 3, the method also includes:
In the case where determining that the selected hyperlink of user is connected in broken hyperlink, rule is spliced according to preset hyperlink, is sentenced Whether the broken hyperlink that breaks is illegal hyperlink;
If so, the prompt selected hyperlink of user is connected in illegal hyperlink, otherwise user network is prompted to go wrong, or prompt The target object of the selected hyperlink of user can not access.
8. method according to any one of claims 1 to 6, the method also includes:
In the case where determining that the selected hyperlink of user is connected in broken hyperlink, the selected hyperlink of user is prompted to be connected in vain Hyperlink.
9. a kind of determining device of broken hyperlink, the device include:
Determination type module, for determining the affiliated type of the selected hyperlink of user;
Timer generation module, for the corresponding relationship according to preset hyperlink type and timer, generate with selected by user The corresponding timer of the affiliated type of the hyperlink selected, wherein hyperlink type and timer correspond;
Monitoring modular is described super in the time interval that the timer is specified, monitoring whether to be jumped to by current page The target object of link;
Broken hyperlink determining module, for if not, it is determined that the selected hyperlink of user is connected in broken hyperlink.
10. device according to claim 9, the hyperlink type is the difference stroke previously according to hyperlink connection path Get.
11. device according to claim 9, the hyperlink type is the difference previously according to the target object of hyperlink Division obtains.
12. 0 or 11 described in any item devices according to claim 1, described device further include:
Hyperlink referral module, in the case where determining that the selected hyperlink of user is connected in broken hyperlink, according to default Rule recommend new hyperlink.
13. device according to claim 12, the hyperlink referral module is specifically used for:
In hyperlink history selection record, recommend at least one identical as the affiliated hyperlink type of the broken hyperlink at random New hyperlink.
14. device according to claim 12, the hyperlink referral module is specifically used for:
In hyperlink history selection record, recommend at least one relevant to the target object of the broken hyperlink new at random Hyperlink.
15. according to the described in any item devices of claim 9 to 11, described device further include:
Judgment module, in the case where determining that the selected hyperlink of user is connected in broken hyperlink, according to preset hyperlink Splicing rule is connect, judges whether the broken hyperlink is illegal hyperlink;
If so, the prompt selected hyperlink of user is connected in illegal hyperlink, otherwise user network is prompted to go wrong, or prompt The target object of the selected hyperlink of user can not access.
16. according to the described in any item devices of claim 9 to 14, described device further include:
Cue module, for prompting selected by user in the case where determining that the selected hyperlink of user is connected in broken hyperlink Hyperlink be connected in broken hyperlink.
17. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, wherein the processor realizes method as claimed in any one of claims 1 to 8 when executing described program.
CN201811634095.7A 2018-12-29 2018-12-29 Method and device for determining invalid hyperlinks Active CN110020264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811634095.7A CN110020264B (en) 2018-12-29 2018-12-29 Method and device for determining invalid hyperlinks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811634095.7A CN110020264B (en) 2018-12-29 2018-12-29 Method and device for determining invalid hyperlinks

Publications (2)

Publication Number Publication Date
CN110020264A true CN110020264A (en) 2019-07-16
CN110020264B CN110020264B (en) 2023-10-24

Family

ID=67188693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811634095.7A Active CN110020264B (en) 2018-12-29 2018-12-29 Method and device for determining invalid hyperlinks

Country Status (1)

Country Link
CN (1) CN110020264B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111914522A (en) * 2020-06-20 2020-11-10 北京海金格医药科技股份有限公司 Invalid hyperlink repairing method and device, electronic equipment and readable storage medium
CN112528176A (en) * 2019-09-18 2021-03-19 北京京东振世信息技术有限公司 Information object validity detection method, device and system
CN112528176B (en) * 2019-09-18 2024-05-17 北京京东振世信息技术有限公司 Information object validity detection method, device and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1632799A (en) * 2005-01-26 2005-06-29 威盛电子股份有限公司 Hyperlink automatic redirecting and management system and method
CN102236654A (en) * 2010-04-26 2011-11-09 广东开普互联信息科技有限公司 Web useless link filtering method based on content relevancy
CN104036053A (en) * 2014-07-07 2014-09-10 广州金山网络科技有限公司 Invalid link address processing method and device
CN105069011A (en) * 2015-07-07 2015-11-18 安一恒通(北京)科技有限公司 Webpage favorite management method, device and system
CN105719162A (en) * 2016-01-20 2016-06-29 北京京东尚科信息技术有限公司 Method and device of monitoring validity of promotion links
CN105868096A (en) * 2015-01-22 2016-08-17 阿里巴巴集团控股有限公司 Methods and apparatuses used for displaying web page test result in browser and device
CN106210258A (en) * 2016-06-14 2016-12-07 北京小米移动软件有限公司 Web access method and device
CN106407219A (en) * 2015-07-31 2017-02-15 北京国双科技有限公司 Web page link crawling method and apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1632799A (en) * 2005-01-26 2005-06-29 威盛电子股份有限公司 Hyperlink automatic redirecting and management system and method
CN102236654A (en) * 2010-04-26 2011-11-09 广东开普互联信息科技有限公司 Web useless link filtering method based on content relevancy
CN104036053A (en) * 2014-07-07 2014-09-10 广州金山网络科技有限公司 Invalid link address processing method and device
CN105868096A (en) * 2015-01-22 2016-08-17 阿里巴巴集团控股有限公司 Methods and apparatuses used for displaying web page test result in browser and device
CN105069011A (en) * 2015-07-07 2015-11-18 安一恒通(北京)科技有限公司 Webpage favorite management method, device and system
CN106407219A (en) * 2015-07-31 2017-02-15 北京国双科技有限公司 Web page link crawling method and apparatus
CN105719162A (en) * 2016-01-20 2016-06-29 北京京东尚科信息技术有限公司 Method and device of monitoring validity of promotion links
CN106210258A (en) * 2016-06-14 2016-12-07 北京小米移动软件有限公司 Web access method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112528176A (en) * 2019-09-18 2021-03-19 北京京东振世信息技术有限公司 Information object validity detection method, device and system
CN112528176B (en) * 2019-09-18 2024-05-17 北京京东振世信息技术有限公司 Information object validity detection method, device and system
CN111914522A (en) * 2020-06-20 2020-11-10 北京海金格医药科技股份有限公司 Invalid hyperlink repairing method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN110020264B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
US11157818B2 (en) Model training method and apparatus based on gradient boosting decision tree
CN106133826B (en) flexible schema for language model customization
US20170085678A1 (en) Recommending Applications
CN109062626A (en) Exchange method, device and the equipment of Web page component and Native component
US11269659B2 (en) Network address management systems and methods
CN108345531A (en) A kind of test method, apparatus and system
US10656907B2 (en) Translation of natural language into user interface actions
CN111555940B (en) Client test method and device, electronic equipment and computer readable storage medium
CN108282518A (en) A kind of customer terminal webpage generation method and device
WO2021068634A1 (en) Page jump method and apparatus, electronic device and computer-readable storage medium
CN104317648B (en) A kind of method and apparatus of monitoring advertisement
CN110619100B (en) Method and apparatus for acquiring data
US20160070801A1 (en) Augmenting Search Results With Device And Application History
CN105260082A (en) Display method for test data and development terminal
CN109684008A (en) Card rendering method, device, terminal and computer readable storage medium
CN111796860A (en) Micro front-end scheme implementation method and device
CN110851211A (en) Method, apparatus, electronic device, and medium for displaying application information
CN110020264A (en) A kind of determination method and device of broken hyperlink
CN108140037A (en) Native application is instantiated in advance on backstage
CN109213468A (en) A kind of speech playing method and device
CN109857325A (en) Display interface switching method, electronic equipment and computer readable storage medium
CN109240756A (en) A kind of method and device of dynamically load JavaScript module
CN107908552A (en) A kind of test method based on link, device and equipment
CN107766230A (en) A kind of method and apparatus tested based on configuration file
CN106528733A (en) Webpage display method and apparatus

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
TA01 Transfer of patent application right

Effective date of registration: 20201014

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201014

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant