Embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although showing this public affairs in accompanying drawingThe illustrative embodiments opened, it being understood, however, that may be realized in various forms the disclosure without the reality that should be illustrated hereThe mode of applying is limited.Conversely it is able to be best understood from the disclosure there is provided these embodiments, and can be by this public affairsThe scope opened completely convey to those skilled in the art.
Fig. 1 is the adaptable exemplary scene 100 of information uploading method according to embodiment of the present invention.
As shown in figure 1, exemplary scene 100 includes information reporting terminal device 101, network 103 and service terminal 105.LetterBreath reporting terminal equipment 101 is reported by network 103 to service terminal 105 browses information.Service terminal 105 is receiving informationAfter information that what reporting terminal equipment 101 was reported browse, it is determined that what is reported browses whether information is the harmful contents such as pornographic, violenceOr the information such as waste advertisements, if it is determined that the information that browses reported is above-mentioned harmful content or information, then is shielded by network 103This browses display of the information on information reporting terminal device 101, and is set alternately through network 103 to information reporting terminalStandby 101 send and are shown for configured information reporting terminal equipment 101 and browse letter on what information reporting terminal device 101 was reportedCease the idsplay order of the advertised information shielded.Alternatively, information reporting terminal device 101, which is obtained, carrys out self serving terminal105 above-mentioned idsplay order and show advertised information.
Although in Fig. 1 by information reporting terminal device 101 and service terminal 105 be shown as intelligent mobile phone terminal andDesktop computer terminal, but information reporting terminal device 101 and service terminal 105 can also be such as tablet personal computer, intelligence electricityDepending on other electronic equipments of, portable computer etc..Network 103 can be computer network, communication network or computer communication network.
For the sake of for convenience, report that to browse information be that the news that is shown on client terminal is detailed when hereafter involvedThe snapshot of feelings page as when, unless stated otherwise, normally, screenshotss and reporting are reduced to after screenshotss to report at once such aIntegrated operation, is referred to as reporting.
Fig. 2 is the flow chart of the first information uploading method 200 according to embodiment of the present invention.
As shown in Fig. 2 being comprised the following steps according to the first information uploading method 200 of the present invention:
Step S201:Client terminal (that is, reporting terminal, information reporting terminal, customer terminal equipment, reporting terminal equipment,Information reporting terminal device 101) obtain come self serving terminal 105 (that is, service end device), require that the client terminal is reportedBrowse information (the implicit step 1 corresponded in Fig. 4, because client's " opening details page " can just browse information) reports instruction(correspond in the step 2 in Fig. 4 " client (that is, reporting terminal) check for local instruction (that is, reporting instruction),Or check whether local instruction expired " and step 3 in " if there is no local instruction or locally instruct it is expired,Then new command is asked to service end (that is, service terminal 105) ", although not shown in Fig. 4, presence service after step 3The step of holding to client transmission new command and client reception new command).
Step S203:Client terminal is reported according to information reporting trigger condition to service terminal 105 to be browsed information and (corresponds toStep 4 and step 5 in Fig. 4).
The screenshotss that information is the news details page shown on client terminal of browsing in the first information uploading method 200The html source code (correspond to hereinafter with regard to " h) of image (" screenshotss " that correspond in the step 5 in Fig. 4), news details pageAt least one of whether increase reports the switch of html source code ") and the corresponding URL of the news details page.
The generation for reporting instruction in the first information uploading method 200 is (right based on the geographical position residing for client terminalShould the description as described in " a) whether screenshotss " below), and this report instruction include it is following at least one:Client terminal markKnow symbol, report the period, report time interval, report probable value.
Information reporting trigger condition used in step S203 includes at least one of following trigger condition:Trigger condition1:Client terminal reports probable value to be reported to service terminal 105 and browsed in information (correspond to hereinafter with regard to " b) according to firstThe description of report, screenshotss or screenshotss and the probability reported ");Trigger condition 2:Client terminal reports to service terminal 105 and browses letterThe time interval of breath is more than the time interval that duration set in advance (correspond to hereinafter with regard to " d) is reported " description);TriggeringCondition 3:Client terminal belongs to one or more and reports the period at the time of reporting to service terminal 105 and browse information, and differentReport the period correspondence different period for reporting probable value (correspond to hereinafter with regard to " e) to report " description);Trigger barPart 4:When carrying out network browsing by WiFi, client terminal reports to service terminal 105 and browses information, does not carry out net by WiFiWhen network is browsed, client terminal does not report to service terminal 105 and browses information.
Alternatively, when reporting in instruction comprising domain name blacklist, the information reporting triggering bar used in step S203Part also includes trigger condition 5:Client terminal reports probable value to be reported to service terminal 105 in domain name blacklist according to secondDomain name browse information, wherein, this second reports probable value is more than in trigger condition 1 first to report probable value (to correspond toHereinafter with regard to the description of " g) domain name blacklist ").
Alternatively, when report instruction in comprising realize trigger condition 1 when used random seed, for client terminal baseWhen random seed calculating reports the factor and the factor will be reported to report probable value to be compared with first, trigger condition 1 is upperThe report factor reports during probable value to report to service terminal 105 less than or equal to first browses information (correspond to hereinafter with regard to " c) generallyThe description of random seed used in rate calculating ").
For the sake of clarity, citing below describes how the first information uploading method 200 triggers bar according to information reportingPart reports to service terminal 105 and browses information.
First, service terminal 105 is produced based on the geographical position residing for some client terminal and requires that the client terminal is reportedIt browses the instruction that reports of information, and this report instruction include it is following at least one:Client terminal identifier, on call timeSection, report time interval, report probable value.
Secondly, client terminal obtain come self serving terminal 105, require the client terminal and report to browse information this reportInstruction.
Finally, client terminal (that is, can report probable value " silent according to trigger condition 1 and trigger condition 2 according to firstPeriod after the acquisition order recognized " reports, if the time interval between reporting twice is less than duration set in advance,Reported when reaching duration set in advance) reported to service terminal 105 and browse information (for example, producing and reporting news detailsThe snapshot picture of page).Or, client terminal (that is, can give the correct time according to trigger condition 3 and trigger condition 2 on one or moreBetween section with each report the period it is corresponding it is different report probability to report, if the time interval between reporting twice be less than it is pre-The duration first set, then report when reaching duration set in advance) reported to service terminal 105 and browse information.Wherein, madeReport probable value, report the parameters such as period, time interval to make an appointment (that is, by the standard in system designChange these parameters for being required to know between client terminal and service terminal 105), or indicated by reporting.
Trigger condition 1 can carry out the efficient combination of other forms to trigger condition 5, be not limited to manner described above.The combination of other trigger conditions and trigger condition can also be included.
For example, when reporting in instruction comprising domain name blacklist, client terminal can be according to trigger condition 5 and trigger condition2 (that is, report probable value " period after the acquisition order of acquiescence " to report, if between reporting twice according to secondTime interval be less than duration set in advance, then reach duration set in advance when report) reported to service terminal 105 it is clearLook at information.
Alternatively, as shown in Fig. 2 dotted line frame, also included according to the first information uploading method 200 of the present invention followingStep:
Step S203:Client terminal obtain come self serving terminal 105 be used for indicate that the client terminal is shown on thereonThat reports browses the idsplay order for the advertised information that information has been shielded and shows the advertised information.
Wherein, service terminal 105 browses information receive that information reporting terminal device 101 reports in step S203Afterwards, it is determined that what is reported browses whether information is the information such as the harmful contents such as pornographic, violence or waste advertisements, if it is determined that reportThe information that browses be above-mentioned harmful content or information, then shielding this by network 103 browses information in information reporting terminal deviceDisplay on 101, and above-mentioned idsplay order is sent to information reporting terminal device 101 by network 103.
Fig. 3 is the flow chart of second of information uploading method 300 according to embodiment of the present invention.
As shown in figure 3, being comprised the following steps according to second of information uploading method 300 of the present invention:
Step S301:Client terminal, which confirms to be not present on client terminal, effectively reports the instruction (step corresponded in Fig. 42)。
Instruct for example, client terminal confirms to be not present on client terminal to report instruction or exist to report but report instructionThe description of expired (correspond to hereinafter with regard to " f) instruction buffer time ").
Step S303:Client terminal, which is sent, reports instruction request information (step 3 corresponded in Fig. 4).
Step S305:With step S201.
Step S307:With step S203 (step 4 and step 5 that correspond in Fig. 4).
Information (the step 1 corresponded in Fig. 4, because client " opens detailed is browsed in second of information uploading method 300Feelings page " can just browse information) be the news details page shown on client terminal the snapshot picture (step 5 corresponded in Fig. 4In " screenshotss "), the html source code of news details page (correspond to hereinafter with regard to " h) increase whether report html source codeAt least one of switch ") and the corresponding URL of the news details page.
The generation for reporting instruction in second of information uploading method 300 is (right based on the geographical position residing for client terminalShould the description as described in " a) whether screenshotss " below), and this report instruction include it is following at least one:Client terminal markKnow symbol, report the period, report time interval, report probable value.
Information reporting trigger condition used in step S307 includes at least one of following trigger condition:Trigger condition1:Client terminal reports probable value to be reported to service terminal 105 and browsed in information (correspond to hereinafter with regard to " b) according to firstThe description of report, screenshotss or screenshotss and the probability reported ");Trigger condition 2:Client terminal reports to service terminal 105 and browses letterThe time interval of breath is more than the time interval that duration set in advance (correspond to hereinafter with regard to " d) is reported " description);TriggeringCondition 3:Client terminal belongs to one or more and reports the period at the time of reporting to service terminal 105 and browse information, and differentReport the period correspondence different period for reporting probable value (correspond to hereinafter with regard to " e) to report " description);Trigger barPart 4:When carrying out network browsing by WiFi, client terminal reports to service terminal 105 and browses information, does not carry out net by WiFiWhen network is browsed, client terminal does not report to service terminal 105 and browses information.
Alternatively, when reporting in instruction comprising domain name blacklist, the information reporting triggering bar used in step S307Part also includes trigger condition 5:Client terminal reports probable value to be reported to service terminal 105 in domain name blacklist according to secondDomain name browse information, wherein, this second reports probable value is more than in trigger condition 1 first to report probable value (to correspond toHereinafter with regard to the description of " g) domain name blacklist ").
Alternatively, when report instruction in comprising realize trigger condition 1 when used random seed, for client terminal baseWhen random seed calculating reports the factor and the factor will be reported to report probable value to be compared with first, trigger condition 1 is upperThe report factor reports during probable value to report to service terminal 105 less than or equal to first browses information (correspond to hereinafter with regard to " c) generallyThe description of random seed used in rate calculating ").
For the sake of clarity, how second of information uploading method 300 of citing description below triggers bar according to information reportingPart reports to service terminal 105 and browses information.
First, client terminal, which confirms to be not present on client terminal, effectively reports instruction.
Secondly, client terminal sends and reports instruction request information.
3rd, service terminal 105 is produced based on the geographical position residing for some client terminal and requires that the client terminal is reportedIt browses the instruction that reports of information, and this report instruction include it is following at least one:Client terminal identifier, on call timeSection, report time interval, report probable value.
4th, client terminal obtain come self serving terminal 105, require the client terminal and report to browse information this reportInstruction.
Finally, client terminal (that is, can report probable value " silent according to trigger condition 1 and trigger condition 2 according to firstPeriod after the acquisition order recognized " reports, if the time interval between reporting twice is less than duration set in advance,Reported when reaching duration set in advance) reported to service terminal 105 and browse information (for example, producing and reporting news detailsThe snapshot picture of page).Or, client terminal (that is, can give the correct time according to trigger condition 3 and trigger condition 2 on one or moreBetween section with each report the period it is corresponding it is different report probability to report, if the time interval between reporting twice be less than it is pre-The duration first set, then report when reaching duration set in advance) reported to service terminal 105 and browse information.Wherein, madeReport probable value, report the parameters such as period, time interval to make an appointment (that is, by the standard in system designChange these parameters for being required to know between client terminal and service terminal 105), or indicated by reporting.
Trigger condition 1 can carry out the efficient combination of other forms to trigger condition 5, be not limited to manner described above.The combination of other trigger conditions and trigger condition can also be included.
For example, when reporting in instruction comprising domain name blacklist, client terminal can be according to trigger condition 5 and trigger condition2 (that is, report probable value " period after the acquisition order of acquiescence " to report, if between reporting twice according to secondWhen time interval is less than duration set in advance, then reported when reaching duration set in advance) reported to service terminal 105Browse information.
Alternatively, as shown in Fig. 3 dotted line frame, also included according to second of information uploading method 300 of the present invention followingStep:
Step S309:Client terminal obtain come self serving terminal 105 be used for indicate that the client terminal is shown on thereonThat reports browses the idsplay order for the advertised information that information has been shielded and shows the advertised information.
Wherein, service terminal 105 browses information receive that information reporting terminal device 101 reports in step S307Afterwards, it is determined that what is reported browses whether information is the information such as the harmful contents such as pornographic, violence or waste advertisements, if it is determined that reportThe information that browses be above-mentioned harmful content or information, then shielding this by network 103 browses information in information reporting terminal deviceDisplay on 101, and above-mentioned idsplay order is sent to information reporting terminal device 101 by network 103.
Reported although above receiving client terminal after instruction according to information reporting trigger condition to service terminal105 report browse the operation description of information in order to can arrange or specify report in the period with report spacing convention orInformation is browsed according to reporting probability to report by ordering on the upper time signal machine specified.Moreover, in order to describe for the sake of simplicity, working as instituteReporting of being related to browse information be the news details page shown on client terminal snapshot as when, by screenshotss and report simplificationFor an integrated operation, it is referred to as reporting that (more accurately, " reporting probability " above is substantially corresponding to hereafter " b) report, cut" screenshotss and the probability reported " in screen or screenshotss and the probability reported ").
However, screenshotss can also be operated and be reported operation separation (hereinafter, cut according to the above-mentioned technical proposal of the present inventionShield and report the operation for being considered as separation).For example, can be according to corresponding to hereafter " b) reporting, screenshotss or screenshotss and report" reporting probability ", " screenshotss probability " in probability " carries out reporting operation, screenshotss operation respectively.That is, except arranging or passing through orderReporting probability, report the period, report outside interval above is specified, also agreement or passes through order in addition and specifies screenshotss correspondenceScreenshotss probability, the screenshotss period, screenshotss interval come carry out reporting respectively operation, screenshotss operation.At this point it is possible to first will according to cutThe image that screen probability, screenshotss period, screenshotss interval carry out screenshotss is stored in advance in screenshotss image buffer on client terminalIn.Then further according to reporting probability, report the period, report to be spaced in and need to report selected from snapshot on the upper time signal machine that reportsAs in buffer part snapshot picture (or, after some time span set in advance is reached, will be cut in some periodThe information unification that browses of screen is reported).Moreover, can now count screenshotss number and upper count off respectively, (correspondence is below“C)”)。
Alternatively, if screenshotss content is retained in client terminal certain time and do not reported also, abandoned automatically when expired, noReport again (for example, only reporting the screenshotss content in 3 days) (correspondence below " D) ").
With reference to information uploading method described above, it is also proposed that a kind of information reporting terminal device, including display screen, depositReservoir, one or more processors;And, one or more programs, one or more of programs are stored in the storageIn device, and it is configured to by one or more of computing devices, one or more of programs are included as described aboveInformation uploading method the step of.
With reference to information uploading method described above, it is also proposed that a kind of computer-readable recording medium, including withThe computer program that the above- mentioned information reporting terminal equipment of display screen is used in combination, the computer program can be executed by processorThe step of to complete information uploading method as described above.
Above-mentioned technical proposal is by using the information reporting trigger condition rationally designed or only reports necessary information to subtractLack the data volume that needs are reported, and with preferable monitoring effect.
For the sake of clarity, set forth below is a specific implementation for realizing the above- mentioned information report method according to the present inventionExample.
Fig. 4 is the interaction schematic diagram between information reporting terminal device and service terminal according to embodiment of the present invention.
As shown in figure 4, the interaction between client and service end is as follows:
Step 1:User opens details page by client.
Step 2:Client checks for local instruction or checks whether local instruction is expired.
Alternatively, reporting can include in instruction:Client terminal identifier, whether screenshotss, screenshotss probability, random seed,Interval time, period and instruction buffer time, domain name black and white lists etc..
Step 3:It is expired if there is no local instruction or local instruction, then ask new command (can to service endClient is issued a command under selection of land, service end, client is sampled screenshotss according to instruction and is uploaded to service end, now servicesEnd to service end without asking new command).
Step 4:Judge whether to need screenshotss.
Step 5:Screenshotss are reported.
In step 4, client is received after new command, judges whether to need concrete trigger condition used in screenshotss(that is, reporting trigger condition) relate generally to whether screenshotss, the probability of screenshotss, random seed used in probability calculation, reportTime interval, the period reported, instruction buffer time and domain name black and white lists etc..Admissible concrete methods of realizingIt is described as follows respectively:
A) whether screenshotss:Service end issue whether the instruction of screenshotss.Basis can be needed to be obtained by city codes, GPS etc.The trigger conditions such as the position location information taken carry out random sampling.These trigger conditions are more complicated, and change can compare frequencyNumerous, client is unable to flexible adaptation, therefore uses service end to whether screenshotss judge.
B) report, (that is, first reports, screenshotss or screenshotss and the probability reported for screenshotss or screenshotss and the probability that reportsValue):Need to report when service end is issued, screenshotss or screenshotss and during the instruction reported, client is not that 100% ground is reported, cutScreen and is reported screenshotss, but needs to carry out probability calculation according to random seed, reported when falling into probability, screenshotss orScreenshotss and report.
C) random seed used in probability calculation:Adjust the screenshotss probability of client at any time for convenience, issue randomSeed, thus calculates random chance.
D) time interval reported:The time of the last screenshotss of distance, because screenshotss can produce interim card, and report information meetingClient and the performance of network are influenceed, therefore the time interval between screenshotss twice is limited, more than the time interval of settingWhen just carry out next time screenshotss report.
E) period reported:Service end can be set to the screenshotss period of client.Moreover, for example, it is contemplated thatFlow is kidnapped advertisement, various waste advertisements and may increased after at 12 points in evening, can now increase the screenshotss amount of reporting.
F) the instruction buffer time:Service end to client issue whether screenshotss instruction update will not too frequently, clientThe instruction of service end is held without frequent requests or inquires about, so certain cache-time is set.When user opens news page, clientDetection screenshotss instruction in end whether there is, and if there is no then request service end data, then be buffered in client, if it does,Then check whether expired, expired then re-request.
G) domain name blacklist:Under send instructions middle increase domain name blacklist, and report probability (if i.e., for blacklist increaseFirst put in being different from b) reports the second of probable value to report probable value), if current domain name and the matching of blacklist domain name, justWith the probability of blacklist, otherwise just reported, screenshotss or screenshotss and reported with the probability in b).
H) whether increase reports the switch of html source code (that is, to increase the finger for whether reporting html source code in instruction is reportedShow symbol).
Trigger condition is reported to realize client to news details page progress screenshotss and reported to service according to above-mentionedThe example interaction as shown in Figure 4 at end.
Such as screenshotss report information reporting to service end after, the related auditor of supervision department can be to upper count offAccording to being audited, it is notified that related side is handled in time after noting abnormalities.
Alternatively, it is also conceivable to herein below when realizing the information reporting from client to service end:
A given the correct time on) and take WebView URL loading chains, if for example, total report data amount has exceeded a definite limitation,Front and rear part is then taken, center section is abandoned, only reports the 1st and last 2 URL.
B time signal machine on)
Report trigger condition:Only under WiFi network
On call time:During seeing news or during bright screen
C) client increase screenshotss record is got ready, to count screenshotss number and upper count off.
D) screenshotss are retained in client certain time and not reported also, then it is automatic it is expired abandon, no longer report (preferably, onlyReport the screenshotss in 3 days, i.e. screenshotss to be retained in client in 3 days not report also, then it is automatic it is expired abandon, no longer report).
E the source for opening client browser) is distinguished, client only is opened by calling WebView in itself to clientEnd browser is monitored sampling (including news page, all pages such as registration page), to clear by other source opening clientsDevice is look at without processing.
F) android can intercept whole browser page below 6, and android more than 6 can only intercept current visual pageFace, in advance according to Android system API situations, can cut how many how many with regard to cutting.
It is to be understood that above-mentioned technical proposal disclosed in this invention is triggered by using the information reporting rationally designedCondition only reports necessary information to reduce the data volume for needing to report.However, in order to obtain more preferable monitoring effect, alsoIt can be improved from the following aspect.
1. reporting content to include screenshotss and html source code etc., packet can give bandwidth and service than larger (gzip compressions)Device affects.It therefore, it can further to optimize sampling and report trigger condition.
For example, the optimal trade-off sought between sampling proportion and monitoring effect.Or, found according in review processThe problem of to sampling report trigger condition to be updated.
2. privacy risk
Because screenshotss are uploaded in the case of user is unwitting, there is privacy risk, instructed by push, can allow visitor at any timeFamily end remove it is all do not upload cut bag.
3. technical risk
File, which is uploaded, is related to high bandwidth consumption, it is necessary to carry out flow control and network attack prevention.Therefore, it can will be upperTechnical scheme is stated as noncontinuous item, independent deployment, in case influence regular traffic, O&M is strictly weighed to the compressed package reportedLimit control.
4. the processing mode after information reporting
At present manual examination and verification processing can only be relied on after sampling screenshotss are reported.Therefore, it is also desirable to artificial examine can be substitutedOther processing modes of core processing.
5. the existing report (reporting) of optimization
Actively report is that monitoring effect is best to user, but now daily report amount is less, only 500-600.AndAnd, actively report is that user is actively reported with carrying out by itself operation to user, so the card that client screenshotss and screenshotss are caused, all without influenceing very much Consumer's Experience.Therefore, reported using the above method of the disclosure during information, it is necessary to consider followingAspect:
Optimization report entrance, it is more hidden at present;Remove login to reduce report threshold;If being in WiFi rings during reportUnder border, then using real-time report trigger condition, trigger condition is otherwise reported using sampling.
6. two times redirect
The data reported at present have been counted, it is found that most of is all the content that http 302 is redirected, occurs after redirectingThe probability of violation situation is very big, it may be considered that do not allow two jumps or the control of row black and white lists is jumped into two.
It is described above, it is only the exemplary embodiment of the present invention, but protection scope of the present invention is not limited toThis, any one skilled in the art the invention discloses technical scope in, the change that can readily occur in or replaceChange, should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection of the claimScope is defined.