CN103593429A - Commodity template failure detection method and device - Google Patents

Commodity template failure detection method and device Download PDF

Info

Publication number
CN103593429A
CN103593429A CN201310553137.5A CN201310553137A CN103593429A CN 103593429 A CN103593429 A CN 103593429A CN 201310553137 A CN201310553137 A CN 201310553137A CN 103593429 A CN103593429 A CN 103593429A
Authority
CN
China
Prior art keywords
template
commodity
webpage
commodity template
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310553137.5A
Other languages
Chinese (zh)
Other versions
CN103593429B (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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310553137.5A priority Critical patent/CN103593429B/en
Publication of CN103593429A publication Critical patent/CN103593429A/en
Application granted granted Critical
Publication of CN103593429B publication Critical patent/CN103593429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce, e.g. shopping or e-commerce
    • G06Q30/02Marketing, e.g. market research and analysis, surveying, promotions, advertising, buyer profiling, customer management or rewards; Price estimation or determination
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce, e.g. shopping or e-commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping

Abstract

The embodiment of the invention provides a commodity template failure detection method and device. The method and the device are used for solving the problem that due to the fact that a commodity template failure detection method in the prior art is low in efficiency and poor in accuracy, large-area online commodities are removed off shelves. According to the method, in a webpage to be detected, each commodity template contained in the webpage is recognized, matching is conducted between detection parameters corresponding to the commodity templates and content information contained in the corresponding positions of the templates obtained in the webpage, and if the matching is unsuccessful, it is determined that the commodity templates fail. The embodiment of the invention further provides a commodity template failure detection device. Due to the fact that the detection parameters corresponding to the commodity templates and the content information contained in the positions of the commodity templates obtained in the webpage are used for detecting the commodity templates, whether commodity templates fail or not is judged, automation of commodity template failure detection is achieved, and commodity template failure detection efficiency and accuracy are improved.

Description

A kind of method and device that detects the inefficacy of commodity template
Technical field
The present invention relates to e-commerce technology field, relate in particular to a kind of method and device that commodity template lost efficacy that detect.
Background technology
Along with the development of electric business website, on network, be flooded with the commodity of magnanimity.User in the information of commodity is uploaded to website time, often depends on commodity template.Commodity template can effectively reduce the workload of user when carrying out merchandise news typing, avoids user's repetitive operation.While having a plurality of commodity template under a domain name, the related data of commodity template can become geometric growth, and the monitoring work of therefore carrying out commodity template has very important significance.
In prior art, staff understands regular commodity template is detected, and by manual type, judges whether commodity template lost efficacy.Because rely on manual type completely in the testing process of commodity template, and in the process detecting, workload is larger, detection efficiency and correctness rely on staff's skill level and working experience to a great extent, because can not guarantee the accuracy detecting, the efficiency detecting is in addition also very low, can not reach the object precisely detecting in real time.Therefore the failure detection mode efficiency of commodity template of the prior art is low, accuracy is poor, may, because of the problems referred to above of commodity template detection, cause the large area undercarriage of commodity on line.
Summary of the invention
The embodiment of the present invention provides a kind of method and device that commodity template lost efficacy that detect, in order to solve, the failure detection mode efficiency of commodity template in prior art is low, accuracy is poor, may, because of the problems referred to above of commodity template detection, cause the problem of the large area undercarriage of commodity on line.
The embodiment of the present invention provides a kind of method that commodity template lost efficacy that detects, and the method comprises:
Obtain the URL(uniform resource locator) of webpage to be detected, identify each commodity template that this webpage comprises;
For each the commodity template identifying, according to the position of identifying this commodity template in webpage, the relevant position in this webpage obtains the content information that this webpage comprises;
According to the identification information of described commodity template, determine the detected parameters of this commodity template, and the detected parameters of this commodity template is mated with the content information that this webpage obtaining comprises;
When the match is successful, determine that this commodity template is effective, otherwise, determine that this commodity template lost efficacy.
Preferably, in order to improve the efficiency of template identification, thereby improve the efficiency of template failure detection.Each commodity template that this webpage of described identification comprises comprises:
Adopt canonical method, identify each commodity template that this webpage comprises.
Preferably, when detecting the inefficacy of important goods template, in order to reduce user's loss, improve the Experience Degree of commodity template, after described definite this commodity template lost efficacy, described method also comprises:
Whether the commodity template that judges this inefficacy is identical with the template in important goods template base;
When the commodity template losing efficacy is identical with template in important goods template base, send warning message.
Preferably, in order effectively to realize the robotization of commodity template detection, according to the identification information of described merchandise module, determine that the detected parameters of this commodity template comprises:
When according to the identification information of described commodity template, determine when this commodity template is title template, determine that detected parameters corresponding to this title template is Word message;
When according to the identification information of described commodity template, determine when this commodity template is price template, determine that detected parameters corresponding to this price template is numerical information;
When according to the identification information of described commodity template, determine when this commodity template is graphic template, determine that the detected parameters that this graphic template is corresponding is pictorial information.
Preferably, in order effectively to realize the robotization of commodity template detection, described the detected parameters of this commodity template is mated with the content information that this webpage obtaining comprises, the match is successful comprises:
When this commodity template is title template, in the content information that this webpage that judgement is obtained comprises, whether contain Word message, while containing Word message in the content information that this webpage obtaining comprises, determine that the match is successful;
When this commodity template is price template, in the content information that this webpage that judgement is obtained comprises, whether contain numerical information, while containing numerical information in the content information that this webpage obtaining comprises, determine that the match is successful;
When this commodity template is graphic template, in the content information that this webpage that judgement is obtained comprises, whether contain pictorial information, while containing pictorial information in the content information that this webpage obtaining comprises, determine that the match is successful.
The embodiment of the present invention provides a kind of device that commodity template lost efficacy that detects, and described device comprises:
Identification module, for obtaining the URL(uniform resource locator) of webpage to be detected, identifies each commodity template that this webpage comprises;
Acquisition module, for each the commodity template for identifying, according to the position of identifying this commodity template in webpage, the relevant position in this webpage obtains the content information that this webpage comprises;
Matching detection module, for according to the identification information of described merchandise module, determines and the detected parameters of this commodity template is mated with the content information that this webpage obtaining comprises; When the match is successful, determine that this commodity template is effective, otherwise, determine that this commodity template lost efficacy.
Preferably, in order to improve the efficiency of template identification, thereby improve the efficiency of template failure detection.Described identification module, specifically for adopting canonical method, identifies each commodity template that this webpage comprises.
Preferably, when detecting the inefficacy of important goods template, in order to reduce user's loss, improve the Experience Degree of commodity template, described device also comprises:
Alarm module, for determining that matching detection module detects after the inefficacy of commodity template, judges that whether the commodity template of this inefficacy is identical with the template in important goods template base; When the commodity template losing efficacy is identical with template in important goods template base, send warning message.
Preferably, in order effectively to realize the robotization of commodity template detection, described matching detection module, specifically for working as according to the identification information of described commodity template, determine when this commodity template is title template, determine that detected parameters corresponding to this title template is Word message; When according to the identification information of described commodity template, determine when this commodity template is price template, determine that detected parameters corresponding to this price template is numerical information; When according to the identification information of described commodity template, determine when this commodity template is graphic template, determine that the detected parameters that this graphic template is corresponding is pictorial information.
Preferably, in order effectively to realize the robotization of commodity template detection, described matching detection module, specifically for when this commodity template is title template, in the content information that this webpage that judgement is obtained comprises, whether contain Word message, while containing Word message in the content information that this webpage obtaining comprises, determine that the match is successful; When this commodity template is price template, in the content information that this webpage that judgement is obtained comprises, whether contain numerical information, while containing numerical information in the content information that this webpage obtaining comprises, determine that the match is successful; When this commodity template is graphic template, in the content information that this webpage that judgement is obtained comprises, whether contain pictorial information, while containing pictorial information in the content information that this webpage obtaining comprises, determine that the match is successful.
The embodiment of the present invention provides a kind of method and device that commodity template lost efficacy that detect, the method is in webpage to be detected, identify each commodity template that this webpage comprises, the detected parameters corresponding according to this commodity template, and the content information that this template correspondence position obtaining in the page comprises mates, when coupling is unsuccessful, determine that this commodity template lost efficacy.Due in embodiments of the present invention for detected parameters corresponding to commodity template, and the content information that in webpage, the position of this commodity template comprises, commodity template is detected, with this, judge whether commodity template lost efficacy, thereby realized the robotization of commodity template failure detection, improved detection efficiency and accuracy that commodity template lost efficacy.
Accompanying drawing explanation
A kind of detection commodity template failure procedure schematic diagram that Fig. 1 provides for the embodiment of the present invention;
The schematic diagram of the URL set of the webpage detecting that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 carries out the hum pattern of commodity template failure detection for what the embodiment of the present invention provided for a certain webpage;
Test result schematic diagram after the commodity template for each webpage that Fig. 4 A, Fig. 4 B provide for the embodiment of the present invention is tested;
The detailed implementation process schematic diagram that the detection commodity template that Fig. 4 C provides for the embodiment of the present invention lost efficacy;
A kind of apparatus structure schematic diagram that detects the inefficacy of commodity template that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Commodity template is the template of using in descriptive labelling is introduced, and is all generally after designing, to offer one large piece of code that user uses, namely html code.Commodity template is only presented at the page of introducing of product, and whatsoever user can use, not restriction.The information comprising in general merchandise template is exhibition information, descriptor, postage descriptive information etc.Commodity in use template in webpage, is generally directly to call in website, when adding commodity, as long as it is just passable that the content in commodity template is carried out to corresponding modification, without downloading editor, therefore adopt commodity template can reduce user's workload, improve the efficiency of user profile issue.
The detection efficiency losing efficacy in order to improve commodity template, improve the accuracy of commodity template failure detection, avoid the large area undercarriage problem of commodity on the line causing non-timely of commodity template failure detection, the embodiment of the present invention provides a kind of method and device that commodity template lost efficacy that detect.
Below in conjunction with Figure of description, the embodiment of the present invention is elaborated.
A kind of detection commodity template failure procedure schematic diagram that Fig. 1 provides for the embodiment of the present invention, this process comprises the following steps:
S101: obtain the uniform resource position mark URL of webpage to be detected, identify each commodity template that this webpage comprises.
In order to facilitate user to carry out the editor of web page contents, website generally can offer a lot of commodity templates of user, and user can select the commodity template self needing as required.Therefore generally in webpage, include a plurality of commodity templates, title template such as carrying heading message, the price template of carrying pricing information, the graphic template of the freight charges template of carrying freightage information, carrying pictorial information, evaluation template of carrying evaluation information etc.
In embodiments of the present invention whether commodity template was lost efficacy while detecting, for each webpage, first identify each commodity template that each webpage comprises, the commodity template identifying may comprise one, several, tens not etc., by the diversity of webpage rendering content, decided.
S102: for each the commodity template identifying, according to the position of identifying this commodity template in webpage, the relevant position in this webpage obtains the content information that this webpage comprises.
When identify each commodity template that webpage comprises in webpage after, for whether commodity template was lost efficacy and detected, need to determine the content information of the position that this commodity template in webpage is corresponding, whether the detected parameters coupling corresponding with this commodity template.Therefore, need to, for the position of each the commodity template identifying, in the relevant position of webpage, obtain the content information that this webpage comprises in embodiments of the present invention.For example, identify altogether three templates and be respectively title template, price template and freight charges template in a certain webpage, identify after each commodity template, the relevant position in webpage obtains the content information that this webpage comprises in each relevant position.
S103: for each the commodity template identifying, according to the identification information of described commodity template, determine the detected parameters of this commodity template in this webpage.
S104: the detected parameters of this commodity template is mated with the content information that this webpage obtaining comprises, when the match is successful, carry out step S105, otherwise, carry out step S106.
Owing to comprising a plurality of commodity templates in each webpage, the type of each commodity template is different, and matching detection parameter corresponding to different commodity templates is also different.Therefore when having identified content information corresponding to commodity template and each commodity template, in order to detect commodity template, whether lost efficacy, need to determine according to the detected parameters of commodity template.
Concrete, for convenient, each commodity template is detected, in embodiments of the present invention for each commodity template, be provided with its corresponding detected parameters, the concrete identification information that can preserve commodity template and the corresponding relation of detected parameters.When identify its commodity template comprising in webpage after, method while writing according to commodity template, can determine the type of commodity template, thereby can determine the identification information of each commodity template, according to the identification information of this commodity template, and the corresponding relation of preserving, can determine the detected parameters that this trade mark template is corresponding.Determined after the detected parameters of commodity templates, can adopt this detected parameters to mate with corresponding content information, according to detected parameters, whether mated with corresponding content information, determined whether this commodity template lost efficacy.
S105: determine that this commodity template is effective, carry out afterwards step S107.
S106: determine that this commodity template lost efficacy, and carried out step S107 afterwards.
S107: judge whether this commodity template is last commodity template to be detected of this webpage, when judgment result is that while being, carry out step S108, otherwise, carry out step S103.
S108: the commodity template failure detection for this webpage finishes, and whether the commodity template that detects next webpage lost efficacy.
Due in embodiments of the present invention for detected parameters corresponding to commodity template, and the content information that in webpage, the position of this commodity template comprises, commodity template is detected, with this, judge whether commodity template lost efficacy, thereby realized the robotization of commodity template failure detection, improved detection efficiency and accuracy that commodity template lost efficacy.
Whether commodity template being lost efficacy while detecting, can carry out respectively for each webpage in website, but webpage that may a lot of users in website is all commodity edit model based on identical.Therefore in order to reduce the workload of commodity template failure detection, improve commodity template failure detection efficiency, select in embodiments of the present invention representative webpage as the webpage detecting, to select webpage as the basis of carrying out commodity template failure detection, regularly to selecting the commodity template of webpage to detect.
The schematic diagram of the URL set of the webpage detecting that Fig. 2 provides for the embodiment of the present invention, in Fig. 2, for a certain website (test set name), test, in this website, selected the webpage detecting, the URL of webpage to be detected has been input in pick-up unit, as shown in Figure 2.When specifically detecting, can be as required to being input to the URL of the webpage in the pick-up unit operation of modifying, or can delete, the operation such as interpolation.
Determined after each webpage to be detected, obtained the URL of this webpage, adopted canonical method or Xpach method, matched each the commodity template comprising in this webpage.Adopt canonical method or Xpach method, the process that matches commodity template in webpage belongs to prior art, at this, this process is not described, and believes those skilled in the art, can, according to description of the invention, determine concrete embodiment.
For each webpage to be detected, obtained after each commodity template that this webpage comprises, first according to the identification information of each commodity template, determine the detected parameters that each commodity template is corresponding, and then in this webpage, obtain content information corresponding to this commodity template.Concrete, while obtaining content information corresponding to this commodity template in webpage, can be according to the position of this commodity template identifying, at the correspondence position of webpage, obtain content information corresponding to this commodity template.Or, obtained after each commodity template that this webpage comprises, first in this webpage, obtain content information corresponding to this commodity template, then according to the identification information of each commodity template, determine the detected parameters that each commodity template is corresponding.
When obtaining detected parameters corresponding to commodity template and the corresponding content information in webpage, can be in the manner described above, do not limit both orders of obtaining, as long as before whether commodity template was lost efficacy detecting, obtained detected parameters and content information.
Whether commodity template was being lost efficacy while detecting, the commodity template that a certain webpage of possibility comprises is a lot, when detecting at every turn, can detect for each commodity template, also the commodity template that need to detect can be set as required, in each testing process, can detect respectively for different commodity templates.
Fig. 3 carries out the hum pattern of commodity template failure detection for what the embodiment of the present invention provided for a certain webpage, in this Fig. 3 for webpage to be detected, sample address in Fig. 3, in this webpage to be detected, the commodity template that detects this webpage comprises: title template, price template, graphic template, navigation template 1, 2 etc., and detected parameters corresponding to each commodity template as shown in Figure 3, detected parameters corresponding to title template is title (name) information, detected parameters corresponding to price template is price (price) information, the detected parameters that graphic template is corresponding is picture (image) information, the detected parameters that navigation template is corresponding is navigation (nav) information etc.And in Fig. 3, for this webpage, selected title template, price template, graphic template, navigation template, whether the title template, price template, graphic template, the navigation template that detect in this webpage lost efficacy.
When having determined each the commodity template in webpage, for each commodity template, determine the detected parameters that this commodity template is corresponding, in order effectively to realize the robotization of commodity template detection, according to the identification information of described commodity template, determine that the detected parameters of this commodity template comprises:
When according to the identification information of described commodity template, determine when this commodity template is title template, determine that detected parameters corresponding to this title template is Word message;
When according to the identification information of described commodity template, determine when this commodity template is price template, determine that detected parameters corresponding to this price template is numerical information;
When according to the identification information of described commodity template, determine when this commodity template is graphic template, determine that the detected parameters that this graphic template is corresponding is pictorial information.
Determined the detected parameters of commodity templates, and obtained after the corresponding content information in webpage, detected parameters has been mated with the corresponding content information in webpage, according to whether the match is successful, to determine whether commodity template lost efficacy.Concrete mates the detected parameters of this commodity template with the content information that this webpage obtaining comprises, the match is successful comprises: when this commodity template is title template, in the content information that this webpage that judgement is obtained comprises, whether contain Word message, while containing Word message in the content information that this webpage obtaining comprises, determine that the match is successful, this commodity template is effective; When this commodity template is price template, in the content information that this webpage that judgement is obtained comprises, whether contain numerical information, while containing numerical information in the content information that this webpage obtaining comprises, determine that the match is successful, this commodity template is effective; When this commodity template is graphic template, in the content information that this webpage that judgement is obtained comprises, whether contain pictorial information, while containing pictorial information in the content information that this webpage obtaining comprises, determine that the match is successful, this commodity template is effective.
Concrete, in embodiments of the present invention, while comprising title template in identifying this webpage, detected parameters corresponding to this title template is Word message, because should be to show with the form of word as title, therefore to mate the content information that the correspondence position in this webpage comprises and whether comprise Word message, while comprising Word message in this content information, the match is successful, illustrate that user can carry out the editor of information by this title template, this title template is effective.
And when the commodity template identifying is price template, detected parameters corresponding to this price template is numerical information, because price generally represents with numeral, therefore whether comprise numerical information if mating the content information that in this webpage, correspondence position comprises, while comprising numerical information in this content information, the match is successful, and this price template is effective.
And for graphic template, user generally has pictorial information at graphic template inediting, therefore detected parameters corresponding to graphic template is pictorial information, mate in the content information of the correspondence position in this webpage and whether include pictorial information, while including pictorial information in this content information, the match is successful, and this graphic template is effective.
Adopt said method, can detect for each the commodity template identifying in webpage.Preferably, when detecting the inefficacy of important goods template, in order to reduce user's loss, improve the Experience Degree of commodity template, after described definite this commodity template lost efficacy, described method also comprises: whether the commodity template that judges this inefficacy is identical with the template in important goods template base; When the commodity template losing efficacy is identical with template in important goods template base, send warning message.
When detecting a certain commodity template inefficacy, judge whether this commodity template is important template, when this commodity template is important template, sends warning message, to provide keeper to process, avoids commodity undercarriage on line.Concrete, can in pick-up unit, be provided with important goods template base, can preserve therein the information of important goods template, when a certain commodity template inefficacy being detected, according to this important goods template base, determine whether this inefficacy commodity template is important template, thereby determine whether to report to the police.When the non-important template of this commodity template, in will, record on weekdays the fail message of this commodity template, so that managerial personnel consult in the later stage.
Test result schematic diagram after the commodity template for each webpage that Fig. 4 A, Fig. 4 B provide for the embodiment of the present invention is tested, shown in the figure when commodity template for each webpage detects, important goods template whether detected, for important goods template, whether sent warning message.For example in Fig. 4 A when the commodity template detection in front 5 webpages, the problem that wherein exists important goods template to lose efficacy all detected, mouse is moved to chart place corresponding to alarming result, can export the information which concrete commodity template lost efficacy, the demonstration information that navigation template 2 as shown in Figure 4 B lost efficacy.The problem that does not exist important goods template to lose efficacy in Fig. 4 A in latter two webpage, what therefore on alarming result hurdle, show is " * ", and known according to " processing " printed words that record in action bar, recorded the failure conditions of each commodity template in this webpage.
The detailed implementation process schematic diagram that the detection commodity template that Fig. 4 C provides for the embodiment of the present invention lost efficacy, this process comprises the following steps:
S401: obtain the uniform resource position mark URL of webpage to be detected, identify each commodity template that this webpage comprises.
S402: for each the commodity template identifying, according to the position of identifying this commodity template in webpage, the relevant position in this webpage obtains the content information that this webpage comprises.
S403: for each the commodity template identifying, according to the identification information of described commodity template, determine the detected parameters of this commodity template in this webpage.
S404: the detected parameters of this commodity template is mated with the content information that this webpage obtaining comprises, when the match is successful, carry out step S405, otherwise, carry out step S406.
S405: determine that this commodity template is effective.
S406: determine that this commodity template lost efficacy.
S407: whether the commodity template that judges this inefficacy is identical with the template in important goods template base, when judgment result is that while being, carries out step S408, otherwise, carry out step S409.
S408: determine that this commodity template is important goods template, send warning message.
S409: determine the non-important goods template of this commodity template, record the information that this commodity template lost efficacy.
Due in embodiments of the present invention for detected parameters corresponding to commodity template, and the information that in webpage, the position of this commodity template comprises, commodity template is detected, with this, judge whether commodity template lost efficacy, thereby realized the robotization of commodity template failure detection, improved detection efficiency and accuracy that commodity template lost efficacy.
A kind of apparatus structure schematic diagram that detects the inefficacy of commodity template that Fig. 5 provides for the embodiment of the present invention, described device comprises:
Identification module 51, for obtaining the URL(uniform resource locator) of webpage to be detected, identifies each commodity template that this webpage comprises;
Acquisition module 52, for each the commodity template for identifying, according to the position of identifying this commodity template in webpage, the relevant position in this webpage obtains the content information that this webpage comprises;
Matching detection module 53, for according to the identification information of described merchandise module, determines and the detected parameters of this commodity template is mated with the content information that this webpage obtaining comprises; When the match is successful, determine that this commodity template is effective, otherwise, determine that this commodity template lost efficacy.
Preferably, in order to improve the efficiency of template identification, thereby improve the efficiency of template failure detection.Described identification module 51, specifically for adopting canonical method, identifies each commodity template that this webpage comprises.
Preferably, when detecting the inefficacy of important goods template, in order to reduce user's loss, improve the Experience Degree of commodity template, described device also comprises:
Alarm module 54, for determining that matching detection module detects after the inefficacy of commodity template, judges that whether the commodity template of this inefficacy is identical with the template in important goods template base; When the commodity template losing efficacy is identical with template in important goods template base, send warning message.
Preferably, in order effectively to realize the robotization of commodity template detection, described matching detection module 53, specifically for working as according to the identification information of described commodity template, determine when this commodity template is title template, determine that detected parameters corresponding to this title template is Word message; When according to the identification information of described commodity template, determine when this commodity template is price template, determine that detected parameters corresponding to this price template is numerical information; When according to the identification information of described commodity template, determine when this commodity template is graphic template, determine that the detected parameters that this graphic template is corresponding is pictorial information.
Preferably, in order effectively to realize the robotization of commodity template detection, described matching detection module 53, specifically for when this commodity template is title template, in the content information that this webpage that judgement is obtained comprises, whether contain Word message, while containing Word message in the content information that this webpage obtaining comprises, determine that the match is successful; When this commodity template is price template, in the content information that this webpage that judgement is obtained comprises, whether contain numerical information, while containing numerical information in the content information that this webpage obtaining comprises, determine that the match is successful; When this commodity template is graphic template, in the content information that this webpage that judgement is obtained comprises, whether contain pictorial information, while containing pictorial information in the content information that this webpage obtaining comprises, determine that the match is successful.
The embodiment of the present invention provides a kind of method and device that commodity template lost efficacy that detect, the method is in webpage to be detected, identify each commodity template that this webpage comprises, the detected parameters corresponding according to this commodity template, and the content information that this template correspondence position obtaining in the page comprises mates, when coupling is unsuccessful, determine that this commodity template lost efficacy.Due in embodiments of the present invention for detected parameters corresponding to commodity template, and the content information that in webpage, the position of this commodity template comprises, commodity template is detected, with this, judge whether commodity template lost efficacy, thereby realized the robotization of commodity template failure detection, improved detection efficiency and accuracy that commodity template lost efficacy.
Those skilled in the art should understand, the application's embodiment can be provided as method, system or computer program.Therefore, the application can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the application can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code one or more.
The application is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present application, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computing machine or other programmable data processing device is produced for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame on computing machine or other programmable devices.
Although described the application's preferred embodiment, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the application's scope.
Obviously, those skilled in the art can carry out various changes and modification and the spirit and scope that do not depart from the application to the application.Like this, if within these of the application are revised and modification belongs to the scope of the application's claim and equivalent technologies thereof, the application is also intended to comprise these changes and modification interior.

Claims (10)

1. detect the method that commodity template lost efficacy, it is characterized in that, the method comprises:
Obtain the URL(uniform resource locator) of webpage to be detected, identify each commodity template that this webpage comprises;
For each the commodity template identifying, according to the position of identifying this commodity template in webpage, the relevant position in this webpage obtains the content information that this webpage comprises;
According to the identification information of described commodity template, determine the detected parameters of this commodity template, and the detected parameters of this commodity template is mated with the content information that this webpage obtaining comprises;
When the match is successful, determine that this commodity template is effective, otherwise, determine that this commodity template lost efficacy.
2. the method for claim 1, is characterized in that, each commodity template that this webpage of described identification comprises comprises:
Adopt canonical method, identify each commodity template that this webpage comprises.
3. the method for claim 1, is characterized in that, after described definite this commodity template lost efficacy, described method also comprises:
Whether the commodity template that judges this inefficacy is identical with the template in important goods template base;
When the commodity template losing efficacy is identical with template in important goods template base, send warning message.
4. the method for claim 1, is characterized in that, according to the identification information of described merchandise module, determines that the detected parameters of this commodity template comprises:
When according to the identification information of described commodity template, determine when this commodity template is title template, determine that detected parameters corresponding to this title template is Word message;
When according to the identification information of described commodity template, determine when this commodity template is price template, determine that detected parameters corresponding to this price template is numerical information;
When according to the identification information of described commodity template, determine when this commodity template is graphic template, determine that the detected parameters that this graphic template is corresponding is pictorial information.
5. the method for claim 1, is characterized in that, described the detected parameters of this commodity template is mated with the content information that this webpage obtaining comprises, and the match is successful comprises:
When this commodity template is title template, in the content information that this webpage that judgement is obtained comprises, whether contain Word message, while containing Word message in the content information that this webpage obtaining comprises, determine that the match is successful;
When this commodity template is price template, in the content information that this webpage that judgement is obtained comprises, whether contain numerical information, while containing numerical information in the content information that this webpage obtaining comprises, determine that the match is successful;
When this commodity template is graphic template, in the content information that this webpage that judgement is obtained comprises, whether contain pictorial information, while containing pictorial information in the content information that this webpage obtaining comprises, determine that the match is successful.
6. detect the device that commodity template lost efficacy, it is characterized in that, described device comprises:
Identification module, for obtaining the URL(uniform resource locator) of webpage to be detected, identifies each commodity template that this webpage comprises;
Acquisition module, for each the commodity template for identifying, according to the position of identifying this commodity template in webpage, the relevant position in this webpage obtains the content information that this webpage comprises;
Matching detection module, for according to the identification information of described merchandise module, determines and the detected parameters of this commodity template is mated with the content information that this webpage obtaining comprises; When the match is successful, determine that this commodity template is effective, otherwise, determine that this commodity template lost efficacy.
7. device as claimed in claim 6, is characterized in that, described identification module, specifically for adopting canonical method, is identified each commodity template that this webpage comprises.
8. device as claimed in claim 6, is characterized in that, described device also comprises:
Alarm module, for determining that matching detection module detects after the inefficacy of commodity template, judges that whether the commodity template of this inefficacy is identical with the template in important goods template base; When the commodity template losing efficacy is identical with template in important goods template base, send warning message.
9. device as claimed in claim 6, is characterized in that, described matching detection module, specifically for when according to the identification information of described commodity template, is determined when this commodity template is title template, determines that detected parameters corresponding to this title template is Word message; When according to the identification information of described commodity template, determine when this commodity template is price template, determine that detected parameters corresponding to this price template is numerical information; When according to the identification information of described commodity template, determine when this commodity template is graphic template, determine that the detected parameters that this graphic template is corresponding is pictorial information.
10. device as claimed in claim 6, it is characterized in that, described matching detection module, specifically for when this commodity template is title template, in the content information that this webpage that judgement is obtained comprises, whether contain Word message, while containing Word message in the content information that this webpage obtaining comprises, determine that the match is successful; When this commodity template is price template, in the content information that this webpage that judgement is obtained comprises, whether contain numerical information, while containing numerical information in the content information that this webpage obtaining comprises, determine that the match is successful; When this commodity template is graphic template, in the content information that this webpage that judgement is obtained comprises, whether contain pictorial information, while containing pictorial information in the content information that this webpage obtaining comprises, determine that the match is successful.
CN201310553137.5A 2013-11-07 2013-11-07 Commodity template failure detection method and device Active CN103593429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310553137.5A CN103593429B (en) 2013-11-07 2013-11-07 Commodity template failure detection method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310553137.5A CN103593429B (en) 2013-11-07 2013-11-07 Commodity template failure detection method and device
PCT/CN2014/090387 WO2015067179A1 (en) 2013-11-07 2014-11-05 Method and apparatus for detecting invalid commodity templates

Publications (2)

Publication Number Publication Date
CN103593429A true CN103593429A (en) 2014-02-19
CN103593429B CN103593429B (en) 2017-02-15

Family

ID=50083570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310553137.5A Active CN103593429B (en) 2013-11-07 2013-11-07 Commodity template failure detection method and device

Country Status (2)

Country Link
CN (1) CN103593429B (en)
WO (1) WO2015067179A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015067179A1 (en) * 2013-11-07 2015-05-14 北京奇虎科技有限公司 Method and apparatus for detecting invalid commodity templates
CN105095463A (en) * 2015-07-30 2015-11-25 北京奇虎科技有限公司 Method, device and system for patrolling material link addresses
CN107329981A (en) * 2017-06-01 2017-11-07 北京京东尚科信息技术有限公司 The method and apparatus of page detection

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020087426A1 (en) * 2000-12-28 2002-07-04 Fujitsu Limited Online shopping method and system
CN102200980A (en) * 2010-03-25 2011-09-28 北京搜狗科技发展有限公司 Method and system for providing network resources
CN102495847A (en) * 2011-11-16 2012-06-13 浙江盘石信息技术有限公司 Network commodity information extraction method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727446A (en) * 2008-10-27 2010-06-09 国际商业机器公司 Method and system for accessing mobile Web, corresponding server and mobile equipment
CN102867053A (en) * 2012-09-12 2013-01-09 北京奇虎科技有限公司 Method, device and system for collecting effective information web pages in website information
CN103593429B (en) * 2013-11-07 2017-02-15 北京奇虎科技有限公司 Commodity template failure detection method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020087426A1 (en) * 2000-12-28 2002-07-04 Fujitsu Limited Online shopping method and system
CN102200980A (en) * 2010-03-25 2011-09-28 北京搜狗科技发展有限公司 Method and system for providing network resources
CN102495847A (en) * 2011-11-16 2012-06-13 浙江盘石信息技术有限公司 Network commodity information extraction method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015067179A1 (en) * 2013-11-07 2015-05-14 北京奇虎科技有限公司 Method and apparatus for detecting invalid commodity templates
CN105095463A (en) * 2015-07-30 2015-11-25 北京奇虎科技有限公司 Method, device and system for patrolling material link addresses
CN105095463B (en) * 2015-07-30 2018-09-11 北京奇虎科技有限公司 Visiting method, the apparatus and system of material chained address
CN107329981A (en) * 2017-06-01 2017-11-07 北京京东尚科信息技术有限公司 The method and apparatus of page detection

Also Published As

Publication number Publication date
WO2015067179A1 (en) 2015-05-14
CN103593429B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
KR102317535B1 (en) Methods and systems for implementing data tracking with software development kits
CN103678105A (en) Page code testing method and device
CN108665297B (en) Method and device for detecting abnormal access behavior, electronic equipment and storage medium
CN104794050A (en) Application program test method, device and system
CN104423961B (en) A kind of method and system for generating test script
CN103593429A (en) Commodity template failure detection method and device
CN105279092A (en) Software testing method and apparatus
CN104317618B (en) A kind of firmware partition treating method and apparatus
US8782626B2 (en) Search suggestions for static code analysis
CN109739725A (en) Monitoring method, device, system and storage medium based on browser
CN105224465B (en) Webpage adjustment method and device
CN109240874A (en) Website page method for detecting abnormality, apparatus and system
CN107577944A (en) Website malicious code detecting method and device based on code syntax analyzer
CN102053571A (en) Data acquisition method of information acquisition terminal
CN106095406A (en) Virtual objects methods of exhibiting, Apparatus and system
CN109561121B (en) Method and device for monitoring deployment
CN105243100A (en) Map rendering method, and method and apparatus for providing rendering target information
CN110740081A (en) Data visualization method for page performance of standard multiple companies
CN107066302B (en) Defect inspection method, device and service terminal
CN108536715B (en) Preview page generation method, device, equipment and storage medium
CN108510007A (en) A kind of webpage tamper detection method, device, electronic equipment and storage medium
CN110908907A (en) Web page testing method, device, equipment and storage medium
CN105634125A (en) Power utilization information acquisition method and system
CN111026307B (en) Method and device for quickly associating graphics primitives in graphics configuration tool
CN109491882B (en) Case data processing method and system, equipment case and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
C14 Grant of patent or utility model