CN110020317B - Webpage container bottom supporting file determining method, device, equipment and readable storage medium - Google Patents

Webpage container bottom supporting file determining method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN110020317B
CN110020317B CN201711421846.2A CN201711421846A CN110020317B CN 110020317 B CN110020317 B CN 110020317B CN 201711421846 A CN201711421846 A CN 201711421846A CN 110020317 B CN110020317 B CN 110020317B
Authority
CN
China
Prior art keywords
container
contrast value
size
determining
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.)
Active
Application number
CN201711421846.2A
Other languages
Chinese (zh)
Other versions
CN110020317A (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 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 CN201711421846.2A priority Critical patent/CN110020317B/en
Publication of CN110020317A publication Critical patent/CN110020317A/en
Application granted granted Critical
Publication of CN110020317B publication Critical patent/CN110020317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • 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

Abstract

The application discloses a method, a device and equipment for determining a bottom supporting file of a webpage container and a readable storage medium. The method for determining the bottom supporting file of the webpage container comprises the following steps: acquiring a first reference size from a plurality of reference sizes; determining a first contrast value according to the height, the width and the diagonal line in the first reference dimension and the height, the width and the diagonal line of the current webpage container; comparing the first contrast value with a preset contrast value threshold; and when the first contrast value is smaller than the contrast value threshold value, determining that the size of the webpage container bottom supporting file of the webpage container is a first reference size. The method can effectively control the size and quantity of the bottom supporting files of the webpage container, thereby reducing the maintenance cost of the webpage container.

Description

Webpage container bottom supporting file determining method, device, equipment and readable storage medium
Technical Field
The invention relates to the technical field of internet application, in particular to a method and a device for determining a bottom supporting file of a webpage container, computer equipment and a readable storage medium.
Background
At present, with the popularization of internet applications, more and more merchants place advertisements through the internet, for example, advertisement content is embedded in advertisement slots of web pages, so that users or consumers can see the advertisement content placed by the merchants when browsing the web pages.
Sometimes, the advertisement encounters some abnormal conditions in the playing process, such as no content returns or the background advertisement server is overtime, so that the advertisement whiteboard is caused, that is, there is no content that can be displayed in the advertisement space of the web page. In order to avoid the situation of the advertisement whiteboard, an advertisement space background file, such as an advertisement space background picture, is added to the advertisement, and when no content returns or the background advertisement server is overtime, the advertisement space background file is displayed.
However, the number of sizes of the advertisement slots is very large at present, and in the process of increasing, if an abnormal backing file size is set for each size of the advertisement slot, the workload of updating the abnormal backing file in the later period can be increased, and the maintenance cost of the abnormal backing file is increased.
The above information disclosed in the background section is only for enhancement of understanding of the background of the invention and therefore it may contain information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a computer device and a readable storage medium for determining a bottom file of a web page container, which can effectively control the size and quantity of the bottom file of the web page container, such as an advertisement space, and thereby reduce the maintenance cost thereof.
Additional features and advantages of the invention will be set forth in the detailed description which follows, or may be learned by practice of the invention.
According to one aspect of the invention, a method for determining a bottom file of a webpage container is disclosed, which comprises the following steps: acquiring a first reference size from a plurality of reference sizes; determining a first contrast value according to the height, the width and the diagonal line in the first reference dimension and the height, the width and the diagonal line of the current webpage container; comparing the first contrast value with a preset contrast value threshold; and when the first contrast value is smaller than the contrast value threshold value, determining that the size of the webpage container bottom supporting file of the webpage container is a first reference size.
According to an embodiment of the present invention, determining the first contrast value according to the height, the width and the diagonal line in the first reference size and the height, the width and the diagonal line of the current webpage container includes: calculating a first contrast ratio according to the following formula:
Figure BDA0001523108650000021
wherein C is a first contrast ratio, W1、H1、D1Height, width and diagonal, W, of the web page container, respectively2、H2、D2Respectively, the height, width and diagonal in the first reference dimension, and a is a constant.
According to an embodiment of the invention, the method further comprises: when the first contrast value is larger than or equal to the contrast value threshold value, acquiring a second reference size from the plurality of reference sizes; determining a second contrast value according to the height, the width and the diagonal in the second reference dimension and the height, the width and the diagonal of the webpage container; comparing the second contrast value with a contrast value threshold; and when the second contrast value is smaller than the contrast value threshold value, determining that the size of the webpage container bottom supporting file of the webpage container is a second reference size.
According to an embodiment of the present invention, the plurality of reference sizes are arranged in a queue or a linked list, and the second reference size is a next reference size to the first reference size among the plurality of reference sizes.
According to an embodiment of the invention, the method further comprises: and when no content in the webpage container returns or the connection of a content server providing the content to be presented for the webpage container is timed out, displaying the bottom supporting file of the webpage container in the webpage container.
According to an embodiment of the present invention, the type of the web page container backing file is a picture format.
According to another aspect of the present invention, there is disclosed a web page container backing file determining apparatus, comprising: a reference size acquiring module for acquiring a first reference size from a plurality of reference sizes; the comparison value determining module is used for determining a first comparison value according to the height, the width and the diagonal line in the first reference dimension and the height, the width and the diagonal line of the current webpage container; the comparison value comparison module is used for comparing the first comparison value with a preset comparison value threshold; and the file size determining module is used for determining the size of the bottom supporting file of the webpage container as a first reference size when the first contrast value is smaller than the contrast value threshold.
According to an embodiment of the present invention, the contrast value determination module includes: a comparison value calculation submodule for calculating a first comparison value according to the following formula:
Figure BDA0001523108650000031
wherein C is a first contrast ratio, W1、H1、D1Height, width and diagonal, W, of the web page container, respectively2、H2、D2Respectively, the height, width and diagonal in the first reference dimension, and a is a constant.
According to an embodiment of the present invention, the type of the web page container backing file is a picture format.
According to another aspect of the present invention, there is disclosed a computer apparatus comprising: one or more processors; and storage means for storing one or more programs; wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement any of the web page container hosted file determination methods described above.
According to yet another aspect of the present invention, a computer-readable storage medium is disclosed, having stored thereon computer-executable instructions, which when executed by a processor, implement any of the above-described methods for determining a web page container claim.
According to the method for determining the bottom supporting file of the webpage container, the size of the webpage container is compared with the reference size, and the reference size which is the same as or closest to the size of the webpage container is selected as the size of the bottom supporting file of the webpage container, so that only the reference size with a proper number can be maintained, one bottom supporting file size does not need to be set for each webpage container, and the maintenance workload of the bottom supporting file of the webpage container is effectively reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
Fig. 1 is a flowchart illustrating a method for determining a bottom file of a web page container according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating another method for determining a web page container backing file according to an example embodiment.
Fig. 3 is a block diagram illustrating an apparatus for determining a web page container claim document according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating a computer system in accordance with an exemplary embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
The method for determining the bottom-supported file of the webpage container can be applied to a background webpage server and is executed by the background webpage server. The background web server can be a single server or a distributed server system. Accordingly, the device for determining the bottom-supported file of the webpage container in the embodiment of the invention is generally arranged in the background webpage server.
The web page container in the embodiment of the present invention may be, for example, an advertisement slot in a web page, or may be another container reserved in the web page, and is used to display and/or play related content acquired from a corresponding content server (e.g., an advertisement server), which is not limited in this respect.
Fig. 1 is a flowchart illustrating a method for determining a bottom file of a web page container according to an exemplary embodiment. As shown in fig. 1, the method 10 for determining a bottom file of a web page container includes:
in step S102, a reference size is acquired from a plurality of reference sizes.
The multiple reference sizes may be, for example, sizes with a high multiplexing rate in practical application, and the reference sizes are extracted to determine the size of the bottom-supported file of the web page container, so that the adaptation degree of the size of the bottom-supported file of the web page container can be enhanced, and the complexity of comparison calculation can be reduced.
In step S104, a contrast value is determined according to the acquired height, width and diagonal line in the reference size and the height, width and diagonal line of the current web page container.
The comparison value is used to determine a difference between the base size and the size of the webpage container.
The height, width and diagonal line in the reference size and the height, width and diagonal line of the current web page container may be, for example, a pixel (pixel).
In addition, the height, width, and diagonal of the current webpage container may be obtained from the tag (e.g., DIV tag) information of the webpage.
In step S106, the comparison value is compared with a preset comparison value threshold.
The preset contrast threshold may be a fixed value, which is used to measure the difference between the reference size and the size of the web page container, and the value of the preset contrast threshold may be set according to actual requirements in actual applications, for example, if the acceptable difference is larger, the threshold may be set to a larger value in the applications, and if the acceptable difference is smaller, the threshold may be set to a smaller value in the applications. The invention is not limited to this setting of the threshold.
In step S108, when the comparison value is smaller than the comparison value threshold, the size of the web page container bottom file of the web page container is determined as the reference size.
That is, if the degree of difference between the reference size and the size of the web page container is smaller than the ratio threshold, the reference size may be used as the size of the web page container bottom file of the web page container.
According to the method for determining the bottom supporting file of the webpage container, the size of the webpage container is compared with the reference size, and the reference size which is the same as or closest to the size of the webpage container is selected as the size of the bottom supporting file of the webpage container, so that only the reference size with a proper number can be maintained, one bottom supporting file size does not need to be set for each webpage container, and the maintenance workload of the bottom supporting file of the webpage container is effectively reduced.
It should be clearly understood that the present disclosure describes how to make and use particular examples, but the principles of the present disclosure are not limited to any details of these examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
Fig. 2 is a flowchart illustrating another method for determining a web page container backing file according to an example embodiment. As shown in fig. 2, the method 20 for determining the bottom file of the web page container includes:
in step S202, a reference size is acquired from a plurality of reference sizes.
The multiple reference sizes may be, for example, sizes with a high multiplexing rate in practical application, and the reference sizes are extracted to determine the size of the bottom-supported file of the web page container, so that the adaptation degree of the size of the bottom-supported file of the web page container can be enhanced, and the complexity of comparison calculation can be reduced.
In some embodiments, the plurality of base sizes may be arranged in a queue or linked list, for example. In addition, the number of the plurality of reference sizes can be, for example, between 100 and 200. The number of the reference sizes is maintained between 100 and 200, so that on one hand, the high adaptability of the selected webpage container bottom supporting file according to the reference sizes can be ensured, and on the other hand, the maintenance workload of the reference sizes is not large.
In step S204, a contrast value is determined according to the acquired height, width and diagonal line in the reference size and the height, width and diagonal line of the current web page container.
The comparison value is used to determine a difference between the base size and the size of the webpage container.
The height, width and diagonal line in the reference size and the height, width and diagonal line of the current web page container may be, for example, a pixel (pixel).
In addition, the height, width, and diagonal of the current webpage container may be obtained from the tag (e.g., DIV tag) information of the webpage.
In some embodiments, the contrast value may be calculated according to the following formula.
Figure BDA0001523108650000061
Wherein C is the contrast value, W1、H1、D1Height, width and diagonal, W, of the web page container, respectively2、H2、D2Respectively, the height, width and diagonal in the reference dimension, and a is a constant. The value of a may be set according to actual requirements, and in an embodiment, a may be set to 10, for example.
In step S206, it is determined whether the contrast is smaller than a preset contrast threshold, and if so, the process goes to step S208; otherwise, return to step S202.
The preset contrast threshold may be a fixed value, which is used to measure the difference between the reference size and the size of the web page container, and the value of the preset contrast threshold may be set according to actual requirements in actual applications, for example, if the acceptable difference is larger, the threshold may be set to a larger value in the applications, and if the acceptable difference is smaller, the threshold may be set to a smaller value in the applications. The invention is not limited to this setting of the threshold.
In step S208, the size of the web page container bottom file of the web page container is determined as the reference size.
That is, if the degree of difference between the reference size and the size of the web page container is smaller than the ratio threshold, the reference size may be used as the size of the web page container bottom file of the web page container.
Otherwise, returning to step S202, a new reference size is obtained from the plurality of reference sizes. In some embodiments, when multiple reference sizes are arranged in a queue or linked list, the newly acquired reference size is the next reference size in the queue or linked list of the previously acquired reference sizes. That is, the size of the bottom file of the web page container is determined by searching the reference size closest to the size of the web page container in a mode of traversing the queue or the linked list.
In step S210, when there is no content returned from the web page container or the connection time of the background content server providing the content to be presented for the web page container is expired, the web page container background file is displayed in the web page container.
In some embodiments, the type of the bottom-supported file of the web page container may be, for example, a picture, such as jpg, tiff, gif, or the like, and may also be in a flash format or an html format, which is not limited herein.
Those skilled in the art will appreciate that all or part of the steps implementing the above embodiments are implemented as computer programs executed by a CPU. The computer program, when executed by the CPU, performs the functions defined by the method provided by the present invention. The program of (a) may be stored in a computer readable storage medium, which may be a read-only memory, a magnetic or optical disk, or the like.
Furthermore, it should be noted that the above-mentioned figures are only schematic illustrations of the processes involved in the method according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Fig. 3 is a block diagram illustrating an apparatus for determining a web page container claim document according to an exemplary embodiment. As shown in fig. 3, the web page container bottom file determining apparatus 30 includes: a reference size acquisition module 302, a contrast value determination module 304, a contrast value comparison module 306, and a file size determination module 308.
The reference size obtaining module 302 is configured to obtain a first reference size from a plurality of reference sizes.
The contrast value determination module 304 is configured to determine a first contrast value according to the height, the width, and the diagonal of the first reference size and the height, the width, and the diagonal of the current webpage container.
In some embodiments, the contrast value determination module 304 includes; a contrast value calculating submodule 3042 for calculating a first contrast value according to the following formula:
Figure BDA0001523108650000081
wherein C is a first contrast ratio, W1、H1、D1Height, width and diagonal, W, of the web page container, respectively2、H2、D2Respectively, the height, width and diagonal in the first reference dimension, and a is a constant. The value of a may be set according to actual requirements, and in an embodiment, a may be set to 10, for example.
The contrast comparison module 306 is configured to compare the first contrast ratio with a preset contrast threshold.
The file size determining module 308 is configured to determine the size of the web page container bottom file of the web page container as a first reference size when the first contrast value is smaller than the contrast value threshold.
In some embodiments, the type of the bottom-supported file of the web page container may be, for example, a picture, such as jpg, tiff, gif, or the like, and may also be in a flash format or an html format, which is not limited herein.
According to the web page container bottom file determining device, the size of the web page container is compared with the reference size, and the reference size which is the same as or closest to the size of the web page container is selected as the size of the web page container bottom file of the web page container, so that only the reference size with a proper number can be maintained, one bottom file size does not need to be set for each web page container, and the maintenance workload of the web page container bottom file is effectively reduced.
It is noted that the block diagrams shown in the above figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
FIG. 4 is a block diagram illustrating a computer system in accordance with an exemplary embodiment. It should be noted that the computer system shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments.
As shown in fig. 4, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a transmitting unit, an obtaining unit, a determining unit, and a first processing unit. The names of these units do not in some cases constitute a limitation to the unit itself, and for example, the sending unit may also be described as a "unit sending a picture acquisition request to a connected server".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise:
acquiring a first reference size from a plurality of reference sizes;
determining a first contrast value according to the height, the width and the diagonal line in the first reference dimension and the height, the width and the diagonal line of the current webpage container;
comparing the first contrast value with a preset contrast value threshold; and
and when the first contrast value is smaller than the contrast value threshold value, determining that the size of the webpage container bottom supporting file of the webpage container is a first reference size.
Exemplary embodiments of the present invention are specifically illustrated and described above. It is to be understood that the invention is not limited to the precise construction, arrangements, or instrumentalities described herein; on the contrary, the invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (11)

1. A method for determining a background file of a webpage container, wherein the background file is used for displaying when no content returns or a background advertisement server times out in the webpage container, the method comprising the following steps:
acquiring a first reference size from a plurality of reference sizes;
determining a first contrast value according to the height, the width and the diagonal line in the first reference dimension and the height, the width and the diagonal line of the current webpage container;
comparing the first contrast value with a preset contrast value threshold; and
when the first contrast value is smaller than the contrast value threshold value, determining that the size of the webpage container bottom supporting file of the webpage container is the first reference size.
2. The method of claim 1, wherein determining a first contrast value based on the height, width, and diagonal of the first reference dimension and the height, width, and diagonal of the current web page container comprises:
calculating the first contrast value according to the following formula:
Figure FDA0003251107470000011
wherein C is the first contrast value, W1、H1、D1Respectively the height, width and diagonal, W, of the web page container2、H2、D2Respectively, the height, width and diagonal in the first reference dimension, a being a constant.
3. The method of claim 2, further comprising:
when the first contrast value is larger than or equal to the contrast value threshold value, acquiring a second reference size from the plurality of reference sizes;
determining a second contrast value according to the height, the width and the diagonal line in the second reference dimension and the height, the width and the diagonal line of the webpage container;
comparing the second contrast value to the contrast value threshold; and
and when the second contrast value is smaller than the contrast value threshold value, determining that the size of the webpage container bottom supporting file of the webpage container is the second reference size.
4. The method of claim 3, wherein the plurality of reference sizes are arranged in a queue or a linked list, and wherein the second reference size is a next reference size of the first reference sizes in the plurality of reference sizes.
5. The method of claim 3, further comprising: and when no content returns to the webpage container or the connection of a content server providing the content to be presented for the webpage container is timed out, displaying the bottom supporting file of the webpage container in the webpage container.
6. The method according to any one of claims 1 to 5, wherein the type of the web page container backing file is a picture format.
7. A device for determining a background file of a web page container, wherein the background file is used for displaying when no content is returned to the web page container or when a background advertisement server is overtime, the device comprising:
a reference size acquiring module for acquiring a first reference size from a plurality of reference sizes;
the comparison value determining module is used for determining a first comparison value according to the height, the width and the diagonal line in the first reference dimension and the height, the width and the diagonal line of the current webpage container;
the comparison value comparison module is used for comparing the first comparison value with a preset comparison value threshold; and
and the file size determining module is used for determining that the size of the bottom supporting file of the webpage container is the first reference size when the first contrast value is smaller than the contrast value threshold.
8. The apparatus of claim 7, wherein the contrast value determining module comprises:
a comparison value calculation submodule for calculating the first comparison value according to the following formula:
Figure FDA0003251107470000021
wherein C is the first contrast value, W1、H1、D1Respectively the height, width and diagonal, W, of the web page container2、H2、D2Respectively, the height, width and diagonal in the first reference dimension, a being a constant.
9. The apparatus of claim 7, wherein the type of the web page container backing file is a picture format.
10. A computer device, comprising:
one or more processors; and
storage means for storing one or more programs;
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-6.
11. A computer-readable storage medium having computer-executable instructions stored thereon, wherein the executable instructions, when executed by a processor, implement the method of any of claims 1-6.
CN201711421846.2A 2017-12-25 2017-12-25 Webpage container bottom supporting file determining method, device, equipment and readable storage medium Active CN110020317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711421846.2A CN110020317B (en) 2017-12-25 2017-12-25 Webpage container bottom supporting file determining method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711421846.2A CN110020317B (en) 2017-12-25 2017-12-25 Webpage container bottom supporting file determining method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110020317A CN110020317A (en) 2019-07-16
CN110020317B true CN110020317B (en) 2021-12-14

Family

ID=67187016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711421846.2A Active CN110020317B (en) 2017-12-25 2017-12-25 Webpage container bottom supporting file determining method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110020317B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111582996B (en) * 2020-05-20 2023-11-24 拉扎斯网络科技(上海)有限公司 Service information display method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6499402B1 (en) * 2000-05-17 2002-12-31 Web Printing Controls Co., Inc. System for dynamically monitoring and controlling a web printing press
CN101419617A (en) * 2008-12-10 2009-04-29 深圳市迅雷网络技术有限公司 Method and apparatus for determining web page object
CN101950239A (en) * 2010-09-14 2011-01-19 北京神州泰岳软件股份有限公司 Large size image display method and system
CN102769798A (en) * 2012-07-24 2012-11-07 华数传媒网络有限公司 Set top box information pushing system and set top box information pushing method based on dynamic allocation technology
CN103366341A (en) * 2013-04-16 2013-10-23 广东欧珀移动通信有限公司 Method and device for adaptive-resolution display of image
CN106294413A (en) * 2015-05-25 2017-01-04 阿里巴巴集团控股有限公司 The loading method of picture and device
CN107105317A (en) * 2017-05-22 2017-08-29 华为软件技术有限公司 A kind of video broadcasting method and device
CN107133235A (en) * 2016-02-29 2017-09-05 广州市动景计算机科技有限公司 The page composition method, again composing device, browser and electronic equipment again
CN107918562A (en) * 2016-10-11 2018-04-17 北京京东尚科信息技术有限公司 A kind of unified interface management method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AUPQ291299A0 (en) * 1999-09-17 1999-10-07 Silverbrook Research Pty Ltd A self mapping surface and related applications
US6647269B2 (en) * 2000-08-07 2003-11-11 Telcontar Method and system for analyzing advertisements delivered to a mobile unit
JP2003242410A (en) * 2002-02-19 2003-08-29 Fujitsu Ltd Information distribution method, and computer program
CN103914450B (en) * 2012-12-31 2017-05-17 北京新媒传信科技有限公司 Method and device for presenting web graphics in mobile terminal platform
CN106325839B (en) * 2015-06-26 2020-01-07 阿里巴巴集团控股有限公司 Method and device for enhancing attribute information of webpage elements
CN106980694B (en) * 2017-04-01 2020-06-30 北京安云世纪科技有限公司 Browser page information interaction method and device and mobile terminal
CN107181803B (en) * 2017-05-23 2020-04-10 百度在线网络技术(北京)有限公司 Method and device for playing video

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6499402B1 (en) * 2000-05-17 2002-12-31 Web Printing Controls Co., Inc. System for dynamically monitoring and controlling a web printing press
CN101419617A (en) * 2008-12-10 2009-04-29 深圳市迅雷网络技术有限公司 Method and apparatus for determining web page object
CN101950239A (en) * 2010-09-14 2011-01-19 北京神州泰岳软件股份有限公司 Large size image display method and system
CN102769798A (en) * 2012-07-24 2012-11-07 华数传媒网络有限公司 Set top box information pushing system and set top box information pushing method based on dynamic allocation technology
CN103366341A (en) * 2013-04-16 2013-10-23 广东欧珀移动通信有限公司 Method and device for adaptive-resolution display of image
CN106294413A (en) * 2015-05-25 2017-01-04 阿里巴巴集团控股有限公司 The loading method of picture and device
CN107133235A (en) * 2016-02-29 2017-09-05 广州市动景计算机科技有限公司 The page composition method, again composing device, browser and electronic equipment again
CN107918562A (en) * 2016-10-11 2018-04-17 北京京东尚科信息技术有限公司 A kind of unified interface management method and system
CN107105317A (en) * 2017-05-22 2017-08-29 华为软件技术有限公司 A kind of video broadcasting method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Android平台LBS的社交网络平台;黄玮;《中国优秀硕士学位论文全文数据库 信息科技辑》;20160315(第 03 期);I138-2209 *

Also Published As

Publication number Publication date
CN110020317A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN107665225B (en) Information pushing method and device
CN109976620B (en) Method, device, equipment and storage medium for determining list item display attribute information
US20190147539A1 (en) Method and apparatus for outputting information
CN107656911B (en) Form processing method and system
CN111294395A (en) Terminal page transmission method, device, medium and electronic equipment
CN111274341A (en) Site selection method and device for network points
CN108196902B (en) Method and apparatus for displaying open screen advertisements
CN110647369B (en) Page dynamic display method and device, mobile terminal and storage medium
CN109902726B (en) Resume information processing method and device
CN105589631A (en) Information display method and device
CN109635263B (en) Column width fixed display method and device based on WEB ultra-wide table and electronic equipment
CN111008865A (en) Coupon synchronous display method and device, server and storage medium
CN110020317B (en) Webpage container bottom supporting file determining method, device, equipment and readable storage medium
CN111783005B (en) Method, device and system for displaying web page, computer system and medium
CN112486783A (en) Progress bar display method and device
CN110619101B (en) Method and apparatus for processing information
CN107480269B (en) Object display method and system, medium and computing equipment
CN113626113B (en) Page rendering method and device
CN111010449B (en) Image information output method, system, device, medium, and electronic apparatus
CN113761415A (en) Page display method and device
CN113760205A (en) Picture display method and device
CN110309121B (en) Log processing method and device, computer readable medium and electronic equipment
CN113434754A (en) Method and device for determining recommended API (application program interface) service, electronic equipment and storage medium
CN113032696A (en) Display method and display device of page picture
CN113626665B (en) Data display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant