CN107729454A - The method and apparatus of displaying gauge number to page designated area - Google Patents

The method and apparatus of displaying gauge number to page designated area Download PDF

Info

Publication number
CN107729454A
CN107729454A CN201710930766.3A CN201710930766A CN107729454A CN 107729454 A CN107729454 A CN 107729454A CN 201710930766 A CN201710930766 A CN 201710930766A CN 107729454 A CN107729454 A CN 107729454A
Authority
CN
China
Prior art keywords
page
designated area
area
viewing area
height
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710930766.3A
Other languages
Chinese (zh)
Inventor
吴凯
王海旭
张斌
李吉文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710930766.3A priority Critical patent/CN107729454A/en
Publication of CN107729454A publication Critical patent/CN107729454A/en
Pending legal-status Critical Current

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of method and apparatus of the displaying gauge number to page designated area, it is related to field of computer technology.One embodiment of this method includes:Whether in page open and/or the page moves after stopping every time, according to designated area described in position judgment of the viewing area of the presently described page in the page in the range of the viewing area, if so, then the displaying amount to the designated area counts.The embodiment can more accurately count the displaying amount of page area.

Description

The method and apparatus of displaying gauge number to page designated area
Technical field
The present invention relates to a kind of method of field of computer technology, more particularly to displaying gauge number to page designated area And device.
Background technology
Counted for the displaying amount in the specified page region of Website page, be website operation management in it is critically important Data acquisition link, the effect of user behavior and specific webpage region, can be analyzed by counting obtained data. The method that the displaying amount in the existing specified page region for the page is counted be by count the number of visits of the page and Count the interface interchange number realization in specified page region.
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:By counting the page Number of visits the problem of data statistics inaccuracy be present come the mode for obtaining the displaying amount in specified page region.The finger counted Page area is determined by taking advertisement position as an example, when advertisement position is located at page bottom, when user's opening page, but does not browse to advertisement position Position, advertisement position is also not yet in effect to show user, but its displaying amount can be calculated, and cause advertisement under such a scenario The displaying amount of position can be excessive by statistics.Either user is rolled to page bottommost from advertisement position, and then scroll up Hui Guang again Position is accused, now advertisement position is shown again, but displaying amount can't be re-computed, and causes the displaying of the advertisement position under the scene Amount can be counted very few.
By way of counting displaying amount of the interface interchange number in specified page region to obtain specified page region The problem of data statistics inaccuracy be present.For example, user is in the page having already turned on, refresh page or again in the short time When returning to the page just accessed, because browser has caching mechanism, the information in lower specified page region can be cached, is brushed in user Specified page Area Interfaces will not be recalled when new page or again access, so interface interchange amount can be caused than actual displaying amount Few situation.
Therefore, need badly a kind of more accurately to the method and apparatus for showing gauge number of page designated area.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method and apparatus of the displaying gauge number to page designated area, The displaying amount of designated area in the page can more accurately be counted.
To achieve the above object, one side according to embodiments of the present invention, there is provided a kind of to page designated area The method for showing gauge number, methods described include:
In page open and/or the page moves after stopping every time, according to the viewing area of the presently described page described Whether designated area described in the position judgment in the page is in the range of the viewing area, if so, then to the designated area Displaying amount is counted.
Further, the step of whether designated area is located in the range of the viewing area of the page judged described Include:
Can according to determining the position of the height of the viewing area and presently described viewing area in the page The scope of viewed area, wherein, the height rolled away by the presently described page determines the presently described viewing area in the page Position in face.
Further, the step of whether designated area is located in the range of the viewing area of the page judged described Include:In page open, the viewing area is located at the page top, when the height of the viewing area is more than described The distance of designated area and the page top, it is determined that the designated area is located in the viewing area,
Or after the page every time mobile stopping, when the distance of the designated area and the page top is more than described The height that the page has rolled away, and the height that has rolled away of the page and the height of the viewing area and, it is determined that the finger Determine region to be located in the range of the viewing area.
Optionally, the distance of the designated area and the page top for the designated area top or bottom with it is described The distance of page top.
To achieve the above object, other side according to embodiments of the present invention, there is provided a kind of to page designated area Displaying gauge number device, described device includes:
Counting module, in page open and/or the page every time it is mobile stop after, according to presently described viewing area Whether designated area described in the position judgment in the page is in the range of the viewing area, if so, then being specified to this The displaying amount in region is counted.
Further, the counting module is further used for the height according to the viewing area and presently described visible area Position of the domain in the page determines the scope of the viewing area, wherein, the height rolled away by the presently described page To determine position of the presently described viewing area in the page.
Further, the counting module is further used for, and in page open, the viewing area is located at the page Top, when the height of the viewing area is more than the distance of the designated area and the page top, it is determined that described to specify Region is located in the viewing area,
Or after the page every time mobile stopping, when the distance of the designated area and the page top is more than described The height that the page has rolled away, and the height rolled away less than the page and the height of the viewing area and, it is determined that institute Designated area is stated to be located in the range of the viewing area.
Further, the counting module is further used for the top of the designated area or bottom and the page top The distance in portion is as the designated area and the distance of the page top.
To achieve the above object, other side according to embodiments of the present invention, there is provided a kind of to page designated area Displaying gauge number electronic equipment, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processing The method that device realizes the displaying gauge number provided in an embodiment of the present invention to page designated area.
To achieve the above object, other side according to embodiments of the present invention, there is provided a kind of computer-readable medium, Computer program is stored thereon with, is realized when described program is executed by processor and provided in an embodiment of the present invention area is specified to the page The method of the displaying gauge number in domain.
The method and apparatus of displaying gauge number provided in an embodiment of the present invention to page designated area, it is real with designated area Border is counted premised on showing user, falls number in the viewing area of the page by counting designated area come to specifying The displaying amount in region is counted, so as to avoid the problem of statistics number existing for prior art is excessive or very few.And this Invention determines that the designated area in viewing area is shown when the page remains static, so as to accurately know user's reality The designated area browsed on border so that the statistical accuracy of the displaying amount for designated area is higher, more suits user's reality The scene of browsing pages.And whenever a designated area is once shown, then the displaying of the designated area is reported immediately To service end, counted by server, so as to avoid user in browsing pages, due to closing the page or pass hull closure etc. Situation causes the generation of loss of data.At the same time, application scenarios of the invention are extensive, can apply to browse row for user For the analysis that becomes more meticulous, such as the arrival that the displaying amount of designated area obtained by the present invention can be to user's browsing pages is deep Degree and notice distribution situation are analyzed.
Further effect adds hereinafter in conjunction with embodiment possessed by above-mentioned non-usual optional mode With explanation.
Brief description of the drawings
Accompanying drawing is used to more fully understand the present invention, does not form inappropriate limitation of the present invention.Wherein:
Fig. 1 is the method flow diagram of the displaying gauge number provided in an embodiment of the present invention to page designated area;
Fig. 2 is the schematic diagram of the viewing area of browser provided in an embodiment of the present invention;
Fig. 3 is that the application flow of the method for the displaying gauge number provided in an embodiment of the present invention to page designated area is illustrated Figure;
Fig. 4 is the schematic device of the displaying gauge number provided in an embodiment of the present invention to page designated area;
Fig. 5 is that the embodiment of the present invention can apply to exemplary system architecture figure therein;
Fig. 6 is adapted for the structural representation of the computer system of the electronic equipment for realizing the embodiment of the present invention.
Embodiment
The one exemplary embodiment of the present invention is explained below in conjunction with accompanying drawing, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize Arrive, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together Sample, for clarity and conciseness, the description to known function and structure is eliminated in following description.
The embodiment of the present invention provides a kind of method of the displaying gauge number to page designated area, and this method accesses in user During the page, the displaying amount of one or more designated areas to being set in the page counts, as shown in figures 1 and 3, this method Including:Step S101.
In step S101, in page open, and the page moves after stopping every time, according to the visible area of current page Sentence to whether the one or more designated areas set in the page are located in the range of viewing area position of the domain in the page It is disconnected, when designated area is located in the range of the viewing area of the page, then judge that the designated area is shown, and area is specified to this The displaying amount in domain is counted, meet above-mentioned condition designated area may be simultaneously present it is multiple, then can be to the plurality of specified area The displaying in domain is counted simultaneously.
In embodiments of the present invention, the viewing area of the page is that user can see by display device in Website page Region, user can move by showing interactive software, such as browser accordingly, change viewing area and exist to the page Position in the page, so as to the full content of browsing pages.For example, as shown in Fig. 2 the page viewing area of browser is in figure Window portion at the top of viewing area between the bottom of viewing area.
In embodiments of the present invention, designated area can be the various elements in the page, for example, picture, word, link with And advertisement etc..
In step S101, when designated area is located in the range of the viewing area of the page, it is determined that the designated area is carried out Displaying.Only when designated area falls in the viewing area of the page, user can browse to the designated area, therefore, When judging whether designated area shows, whenever designated area falls in the viewing area of the page, that is, think that the designated area is entered Go and once shown.Relative in the prior art by way of the number of visits and interface interchange number that count the page, this hair It is bright to fall the number in the viewing area of the page to count the displaying amount of designated area, with designated area by counting designated area Actually show and counted premised on user, the problem of so as to avoid excessive existing for prior art or very few statistics.And And difference and prior art, present invention could apply to the analysis that becomes more meticulous for user browsing behavior, such as pass through the present invention The displaying amount of the designated area of acquisition can be to user's browsing pages arrival depth and notice distribution situation analyze.
As shown in figure 3, step S101 is moved after stopping every time in page open with the page, to page viewing area scope Inside whether there is designated area to be judged, during page open and the page the mobile latter two state that stops is browsing including user every time During the page, all situations that the page remains static.That is the inventive method in user during browsing pages, page When face remains static, to whether thering is designated area to judge in the range of page viewing area.The page remains static Show user just in the content of the viewing area of browsing pages, it is relative when the page is in mobile status, then show user In the mobile page, browsing pages content is not used in actually.The present invention determines viewing area when the page remains static Interior designated area is shown, so as to accurately know the designated area that user actually browses to, and is reported and is counted, So that the statistical accuracy of the displaying amount for designated area is higher, more suit the scene of the actual browsing pages of user.
In a kind of embodiment of the inventive method, the judgement whether shown for designated area can be real in client Existing, when it is determined that designated area has carried out displaying, by the displaying of the clients report designated area, the displaying of report is used for pair The displaying amount of the designated area is counted.In the present invention, displaying is reported to counting module, by counting module to specifying area The displaying amount in domain is counted.The function of counting module can be only fitted to client or service end is realized, when configuration is servicing During end, whenever a designated area is once shown that the displaying of the designated area is just reported service by client immediately End, is counted by service end, so as to avoid user in the Client browse page, due to closing the page or pass hull closure etc. Situation causes the generation of loss of data.
In step S101, the judgement whether designated area shows is carried out after the page moves stopping every time, wherein, the page Movement refer to that the page carries out the movement of any direction on two dimensional surface in display device screen, for example, move up and down, left and right It is mobile etc..Step S101 determines position of the viewing area in the page after mobile end, and combines designated area in the page Position judges whether designated area falls in the range of viewing area.
In embodiments of the present invention, by taking the moving up and down of user's usual progress to the page as an example, as shown in Fig. 2 user exists When being moved up and down to the page, respective change occurs for the height that the page has rolled away, and therefore, can pass through the height of viewing area The height rolled away with the page determines the scope of viewing area, the height that the page has rolled away i.e. scroll bar and page top away from From, that is, at the top of viewing area with the distance of page top, rolled away height of height and the page of viewing area and i.e. Viewing area bottom and the distance of page top, the designated area in falling between the top and bottom of viewing area fall In the range of viewing area.
Therefore, in page open, viewing area is located at page top, when viewing area height be more than designated area with The distance of page top, it is determined that designated area is located in viewing area.
The page every time it is mobile stop after, when the distance of designated area and page top is more than the height that the page rolled away, And the height that has rolled away less than the page and viewing area height and, it is determined that designated area is located in viewing area.
In embodiments of the present invention, top or bottom and page of the distance of designated area and page top for the designated area Distance at the top of face.The position that designated area is assert at the top of designated area can be used, the bottom of designated area can also be used The position of designated area is assert in portion, can combine actual application demand and carry out relative set.
Designated area is by taking advertisement as an example, when needing advertisement position all to appear in viewing area, such as specifying in Fig. 2 Region A, when just thinking that advertisement position has carried out displaying, in page open, specified area can be assert with the bottom of designated area The position in domain, the height of viewing area are more than the distance of designated area bottom and page top, it is determined that designated area is located at can In viewed area, after the page every time mobile stopping, designated area can be assert with the bottom and top of designated area respectively Position, it is more than the height that the page has rolled away, and designated area bottom and the page with the distance of page top at the top of designated area The distance at top be less than the height of the height that has rolled away of the page and viewing area and, it is determined that designated area is located at viewing area It is interior.
It is opposite, as long as when needing an advertisement position part to appear in viewing area, so that it may think that advertisement position is opened up When showing, such as designated area B and designated area C in Fig. 2, in page open, can be assert with the top of designated area The position of designated area, the height of viewing area are more than the distance at the top of designated area with page top, it is determined that designated area , can be specified with assert at the top and bottom of designated area respectively after the page every time mobile stopping in viewing area The position in region, when the distance of designated area bottom and page top is more than the height that has rolled away of the page, and at the top of designated area With the distance of page top be less than the height of height that the page rolled away and viewing area and, it is determined that designated area is located at can In viewed area.
The method of displaying gauge number provided by the invention to page designated area can by page html files and The literal translation formula script JavaScript of configuration wherein is realized, wherein it is possible to be monitored by corresponding JavaScript code Scroll bar position, so as to obtain the distance of scroll bar and page top, i.e. the page has rolled away height, and by corresponding JavaScript code obtains the height of page viewing area.Also, it is each designated area in advance in page html files The element blocks at place configure unique ID, are obtained by the method that JavaScript is provided according to the definition value of ID acquisition corresponding elements Element position is taken, that is, obtains the top of designated area and the distance of page top, the bottom of designated area and page top Distance.Multiple designated areas are there may be in the viewing area of the page, when reporting the displaying of designated area, you can will be corresponding The ID of multiple designated areas all reported, service end counts according to the ID reported to designated area.For example, based on same The number that one ID is reported, the displaying amount of the designated area of the ID is added up.
Realize that the corresponding JavaScript displayings amount count code of the inventive method is deployed in page html Top-of-files in advance, Configure on the head of html files<Head>...</Head>Between, make it before the homepage and remainder code of the page It is loaded in advance, to avoid its configuration from being missed too late for loading before it because loading in html files other positions Content counting statistics.
It should be noted that the method for the displaying gauge number provided by the invention to page designated area, it is determined that visual During position of the region in the page, it is not limited to the scene that user moves up and down to the page, can also be applied to user couple The page carries out the scene of other direction movements, such as oblique movement, and position of the viewing area in the page is determined after mobile stop When putting, the vertical of viewing area can be determined by the height and the distance of page vertical scroll bar and page top of viewing area To scope, and the width of viewing area and the distance of page horizontal scroll bar and page side are combined to determine the horizontal stroke of viewing area To scope, so that it is determined that position of the viewing area in the page.Obtain designated area position when, can obtain its top and/ Or the distance of bottom and page top, and its left end and/or right-hand member and the distance of page side, it is so as to carry out designated area The no judgement for falling into viewing area scope.
The method of displaying gauge number provided in an embodiment of the present invention to page designated area, with the actual displaying of designated area To being counted premised on user, fall number in the viewing area of the page by counting designated area come to designated area Displaying amount is counted, so as to avoid the problem of statistics number existing for prior art is excessive or very few.And the present invention exists Determine that the designated area in viewing area is shown when the page remains static, so as to accurately know that user is actually clear The designated area look at so that the statistical accuracy of the displaying amount for designated area is higher, more suits the actual browse page of user The scene in face.And whenever a designated area is once shown, then the displaying of the designated area is reported into service immediately End, is counted by server, so as to avoid user in browsing pages, is made because of situations such as closing the page or pass hull closure Into the generation of loss of data.At the same time, application scenarios of the invention are extensive, can apply to the essence for user browsing behavior Refinement analysis, for example, arrival depth that the displaying amount of designated area obtained by the present invention can be to user's browsing pages and Notice distribution situation is analyzed.
The embodiment of the present invention also provides a kind of device of the displaying gauge number to page designated area, and device accesses in user During the page, the displaying amount of one or more designated areas to being set in the page counts, as shown in figure 4, the device 400 wraps Include:Counting module 401, counting module 401 be used in page open and/or the page every time it is mobile stop after, according to currently may be used Whether position judgment designated area of the viewed area in the page be in the range of viewing area, if so, then to the designated area Displaying amount is counted.
In one embodiment of the invention, counting module 401 includes:Report submodule and counting submodule.
Report that submodule is used in page open, and the page moves after stopping every time, when designated area is located at the page Viewing area in the range of, then report the displaying of the designated area, wherein, the displaying of report is used for the exhibition to the designated area The amount of showing is counted.
Counting submodule is used for the displaying for receiving report, and the displaying amount to designated area counts.In the present invention, Displaying is reported to counting submodule, is counted by displaying amount of the counting submodule to designated area.The work(of counting submodule Service end realization can be can be only fitted to, report submodule can be realized by client, report submodule by the displaying of designated area Service end counting submodule is reported, the displaying carried out by service end counting submodule to designated area carries out counting statistics. That is whenever a designated area is once shown, then report submodule reports the displaying of the designated area immediately Service end counting submodule is given, is counted by server counter submodule, so as to avoid user in browsing pages, due to closing Situations such as closing the page or pass hull closure causes the generation of loss of data.
In the present invention, counting module 401 is further used for height and current visible region according to viewing area in page Position in face determines the scope of viewing area, wherein, the height rolled away by current page determines current visible region Position in the page.
In the present invention, the counting module is further used for, and in page open, the viewing area is located at the page At the top of face, when the height of the viewing area is more than the distance of the designated area and the page top, it is determined that the finger Determine region to be located in the viewing area, or, after the page every time mobile stopping, when the designated area and the page top The distance in portion is more than the height that the page has rolled away, and less than the height that the page has rolled away and the height of the viewing area The sum of degree, it is determined that the designated area is located in the viewing area.
In the present invention, counting module 401 be further used for by the top of designated area or bottom and page top away from With a distance from as the designated area and page top.
Inventing the device of the displaying gauge number to page designated area provided by page html files and can match somebody with somebody The literal translation formula script JavaScript put wherein is realized, wherein it is possible to monitor page by corresponding JavaScript code Face scroll bar position, so as to obtain the distance of scroll bar and page top, i.e. the page has rolled away height, and by corresponding JavaScript code obtains the height of page viewing area.Also, it is each designated area in advance in page html files The element blocks at place configure unique ID, are obtained by the method that JavaScript is provided according to the definition value of ID acquisition corresponding elements Element position is taken, that is, obtains the top of designated area and the distance of page top, the bottom of designated area and page top Distance.Multiple designated areas are there may be in the viewing area of the page, when reporting the displaying of designated area, you can will be corresponding The ID of multiple designated areas all reported, service end counts according to the ID reported to designated area.For example, based on same The number that one ID is reported, the displaying amount of the designated area of the ID is added up.
The device of displaying gauge number provided in an embodiment of the present invention to page designated area, with the actual displaying of designated area To being counted premised on user, fall number in the viewing area of the page by counting designated area come to designated area Displaying amount is counted, so as to avoid the problem of statistics number existing for prior art is excessive or very few.And the present invention exists Determine that the designated area in viewing area is shown when the page remains static, so as to accurately know that user is actually clear The designated area look at so that the statistical accuracy of the displaying amount for designated area is higher, more suits the actual browse page of user The scene in face.And whenever a designated area is once shown, then the displaying of the designated area is reported into service immediately End, is counted by server, so as to avoid user in browsing pages, is made because of situations such as closing the page or pass hull closure Into the generation of loss of data.At the same time, application scenarios of the invention are extensive, can apply to the essence for user browsing behavior Refinement analysis, for example, arrival depth that the displaying amount of designated area obtained by the present invention can be to user's browsing pages and Notice distribution situation is analyzed.
Fig. 5 shows the method for the displaying gauge number to page designated area that can apply the embodiment of the present invention or to page The exemplary system architecture 100 of the device of the displaying gauge number of face designated area.
As shown in figure 5, system architecture 500 can include terminal device 501,502,503, network 504 and server 505. Network 504 between terminal device 501,502,503 and server 505 provide communication link medium.Network 504 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 501,502,503 by network 504 with server 505, to receive or send out Send message etc..Various telecommunication customer end applications can be installed on terminal device 501,502,503, such as judge that designated area is No displaying, and application of displaying of the designated area etc. is reported when designated area is shown.
Terminal device 501,502,503 can have a display screen and a various electronic equipments that supported web page browses, bag Include but be not limited to smart mobile phone, tablet personal computer, pocket computer on knee and desktop computer etc..
Server 505 can be to provide the server of various services, such as receiving terminal apparatus 501,502,503 is reported Displaying, and the server that the displaying amount to the designated area is counted.
It should be noted that the method for the displaying gauge number to page designated area that the embodiment of the present invention is provided is general Performed by terminal device 501,502,503, correspondingly, the device of the displaying gauge number to page designated area is generally positioned at end In end equipment 501,502,503.
It should be understood that the number of the terminal device, network and server in Fig. 5 is only schematical.According to realizing need Will, can have any number of terminal device, network and server.
Below with reference to Fig. 6, it illustrates suitable for for realizing the computer system 600 of the electronic equipment of the embodiment of the present invention Structural representation.Electronic equipment shown in Fig. 6 is only an example, to the function of the embodiment of the present invention and should not use model Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes CPU (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into program in random access storage device (RAM) 603 from storage part 608 and Perform various appropriate actions and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interfaces 605 are connected to lower component:Importation 606 including keyboard, mouse etc.;Penetrated including such as negative electrode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 608 including hard disk etc.; And the communications portion 609 of the NIC including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net performs communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc., it is arranged on as needed on driver 610, in order to read from it Computer program be mounted into as needed storage part 608.
Especially, according to embodiment disclosed by the invention, may be implemented as counting above with reference to the process of flow chart description Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product, it includes being carried on computer Computer program on computer-readable recording medium, the computer program include the program code for being used for the method shown in execution flow chart. In such embodiment, the computer program can be downloaded and installed by communications portion 609 from network, and/or from can Medium 611 is dismantled to be mounted.When the computer program is performed by CPU (CPU) 601, system of the invention is performed The above-mentioned function of middle restriction.
It should be noted that the computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.Meter The more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the present invention, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at this In invention, computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.Included on computer-readable medium Program code can be transmitted with any appropriate medium, be included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or it is above-mentioned Any appropriate combination.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code include one or more For realizing the executable instruction of defined logic function.It should also be noted that some as replace realization in, institute in square frame The function of mark can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actual On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also It is noted that the combination of each square frame and block diagram in block diagram or flow chart or the square frame in flow chart, can use and perform rule Fixed function or the special hardware based system of operation are realized, or can use the group of specialized hardware and computer instruction Close to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described module can also be set within a processor, for example, can be described as:A kind of processor bag Include counting module.Wherein, the title of these modules does not form the restriction to the module in itself under certain conditions, for example, meter Digital-to-analogue block is also described as that " being used to determining according to the position of the height and current visible region of viewing area in the page can The module of the scope of viewed area ".
As on the other hand, present invention also offers a kind of computer-readable medium, the computer-readable medium can be Included in equipment described in above-described embodiment;Can also be individualism, and without be incorporated the equipment in.Above-mentioned calculating Machine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the equipment, makes The equipment is obtained in user to access pages, the displaying amount of one or more designated areas to being set in the page counts, should Equipment includes:
In page open and/or the page moves after stopping every time, according to the viewing area of the presently described page described Whether designated area described in the position judgment in the page is in the range of the viewing area, if so, then to the designated area Displaying amount is counted.
Above-mentioned embodiment, does not form limiting the scope of the invention.Those skilled in the art should be bright It is white, depending on design requirement and other factors, various modifications, combination, sub-portfolio and replacement can occur.It is any Modifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the scope of the present invention Within.

Claims (10)

1. a kind of method of displaying gauge number to page designated area, it is characterised in that methods described includes:
In page open and/or the page moves after stopping every time, according to the viewing area of the presently described page in the page In position judgment described in designated area whether in the range of the viewing area, if so, the then displaying to the designated area Amount is counted.
2. according to the method for claim 1, it is characterised in that judge whether the designated area can described in described The step of in the range of viewed area, includes:
The visible area is determined according to the position of the height of the viewing area and presently described viewing area in the page The scope in domain, wherein, the height rolled away by the presently described page determines the presently described viewing area in the page Position.
3. according to the method for claim 2, it is characterised in that judge whether the designated area can described in described The step of in the range of viewed area, includes:
In page open, the viewing area is located at the page top, when the height of the viewing area is more than the finger Determine the distance in region and the page top, it is determined that the designated area is located in the range of the viewing area,
Or after the page every time mobile stopping, when the distance of the designated area and the page top is more than the page The height rolled away, and the height rolled away less than the page and the height of the viewing area and, it is determined that the finger Determine region to be located in the range of the viewing area.
4. according to the method for claim 3, it is characterised in that the distance of the designated area and the page top is should The top or bottom of designated area and the distance of the page top.
A kind of 5. device of displaying gauge number to page designated area, it is characterised in that including:
Counting module, in page open and/or the page every time it is mobile stop after, according to presently described viewing area in institute Designated area described in the position judgment in the page is stated whether in the range of the viewing area, if so, then to the designated area Displaying amount counted.
6. device according to claim 5, it is characterised in that the counting module is further used for according to the visible area The position of the height in domain and presently described viewing area in the page determines the scope of the viewing area, wherein, pass through The height that the presently described page has rolled away determines position of the presently described viewing area in the page.
7. device according to claim 6, it is characterised in that the counting module is further used for, in page open, The viewing area is located at the page top, when the height of the viewing area is more than the designated area and the page top The distance in portion, it is determined that the designated area is located in the viewing area,
Or after the page every time mobile stopping, when the distance of the designated area and the page top is more than the page The height rolled away, and the height rolled away less than the page and the height of the viewing area and, it is determined that the finger Determine region to be located in the range of the viewing area.
8. device according to claim 7, it is characterised in that the counting module is further used for the designated area Top or bottom and the page top distance as the designated area and the distance of the page top.
A kind of 9. electronic equipment of displaying gauge number to page designated area, it is characterised in that including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processors are real The now method as described in any in claim 1-4.
10. a kind of computer-readable medium, is stored thereon with computer program, it is characterised in that described program is held by processor The method as described in any in claim 1-4 is realized during row.
CN201710930766.3A 2017-10-09 2017-10-09 The method and apparatus of displaying gauge number to page designated area Pending CN107729454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710930766.3A CN107729454A (en) 2017-10-09 2017-10-09 The method and apparatus of displaying gauge number to page designated area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710930766.3A CN107729454A (en) 2017-10-09 2017-10-09 The method and apparatus of displaying gauge number to page designated area

Publications (1)

Publication Number Publication Date
CN107729454A true CN107729454A (en) 2018-02-23

Family

ID=61209987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710930766.3A Pending CN107729454A (en) 2017-10-09 2017-10-09 The method and apparatus of displaying gauge number to page designated area

Country Status (1)

Country Link
CN (1) CN107729454A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257485A (en) * 2008-12-16 2011-11-23 富媒体俱乐部有限责任公司 Content rendering control system and method
CN103186866A (en) * 2011-12-29 2013-07-03 阿里巴巴集团控股有限公司 Method and system for counting advertisement showing times
CN105654350A (en) * 2016-01-06 2016-06-08 北京齐尔布莱特科技有限公司 Method for conducting statistics on visual exposure of advertisement

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257485A (en) * 2008-12-16 2011-11-23 富媒体俱乐部有限责任公司 Content rendering control system and method
CN103186866A (en) * 2011-12-29 2013-07-03 阿里巴巴集团控股有限公司 Method and system for counting advertisement showing times
CN105654350A (en) * 2016-01-06 2016-06-08 北京齐尔布莱特科技有限公司 Method for conducting statistics on visual exposure of advertisement

Similar Documents

Publication Publication Date Title
CN109670940A (en) Credit Risk Assessment Model generation method and relevant device based on machine learning
CN107526751A (en) Loading method, client, web page server and the programmable device of webpage
CN110134308A (en) Method for exhibiting data, device, equipment and computer readable storage medium
US9577889B1 (en) Managing page-level usage data
US9069871B2 (en) System, method, and program for generating web page
CN108021666A (en) Page adaptation method and apparatus
CN111159600A (en) Method and device for reporting information of elements on page, electronic equipment and storage medium
CN108322359A (en) A kind of acquisition methods and device of page initial screen time
CN107274209A (en) The method and apparatus for predicting advertising campaign sales data
EP3408752B1 (en) Object management and visualization using a computing device
CN110209978A (en) A kind of data processing method and relevant apparatus
CN107862001A (en) A kind of method and system of data disaster tolerance
CN108804445A (en) Heating power drawing generating method and device
CN110309049A (en) Web page contents monitor method, device, computer equipment and storage medium
US9754391B2 (en) Webpage display method and apparatus
CN107517251A (en) Information-pushing method and device
CN110020376A (en) Data linkage method and system
CN106960062A (en) Webpage capture method and system
CN104200157B (en) A kind of webpage abnormality eliminating method and equipment
US20170103430A1 (en) Responsive advertisement formats based on viewability pixel data
CN107291835A (en) A kind of recommendation method and apparatus of search term
US9438694B1 (en) Managing page-level usage data
CN107071569A (en) The method and system of application are debugged on a kind of Android TV
US20180121049A1 (en) Terminal device and method for displaying image by same, and web server and method for providing web page by same
CN107729454A (en) The method and apparatus of displaying gauge number to page designated area

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180223