CN112579962A - Webpage color adjusting method and device, electronic equipment and computer readable medium - Google Patents

Webpage color adjusting method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN112579962A
CN112579962A CN202011601974.7A CN202011601974A CN112579962A CN 112579962 A CN112579962 A CN 112579962A CN 202011601974 A CN202011601974 A CN 202011601974A CN 112579962 A CN112579962 A CN 112579962A
Authority
CN
China
Prior art keywords
target
color information
page
advertisement image
display
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
CN202011601974.7A
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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN202011601974.7A priority Critical patent/CN112579962A/en
Publication of CN112579962A publication Critical patent/CN112579962A/en
Pending legal-status Critical Current

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0276Advertisement creation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure discloses a webpage color adjusting method, a webpage color adjusting device, electronic equipment and a computer readable medium. One embodiment of the method comprises: responding to a displayed target page, and acquiring at least one advertisement image of the target page; acquiring at least one piece of theme color information of the at least one advertisement image; and modifying the page theme color information of the target page based on the at least one piece of theme color information. This embodiment improves the color harmony of the advertisement image with the target page.

Description

Webpage color adjusting method and device, electronic equipment and computer readable medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a webpage color adjusting method, a webpage color adjusting device, electronic equipment and a computer readable medium.
Background
With the development of information technology, various advertisement images are widely available on various pages so that users can acquire related information. The advertisement image is typically in a designated color to show the characteristics of the advertisement image or to give an impression to the user.
In practice, the page has its own theme color, which is usually different from the color of the advertisement image. Multiple different colors appear on the same page at the same time, which is not beneficial to highlighting the advertisement image and also influences the coordination of the page.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure provide a method, an apparatus, an electronic device, and a computer-readable medium for adjusting a color of a web page, so as to solve the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a method for adjusting a color of a web page, the method including: responding to a displayed target page, and acquiring at least one advertisement image of the target page; acquiring at least one piece of theme color information of the at least one advertisement image; and modifying the page theme color information of the target page based on the at least one piece of theme color information.
In a second aspect, some embodiments of the present disclosure provide an apparatus for adjusting a color of a web page, the apparatus including: an advertisement image acquisition unit configured to acquire at least one advertisement image of a target page in response to displaying the target page; a subject color information acquiring unit configured to acquire at least one piece of subject color information of the at least one advertisement image; and the webpage color adjusting unit is configured to modify the page theme color information of the target page based on the at least one piece of theme color information.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following beneficial effects: the page theme color information of the target page is modified through the webpage color adjusting method of some embodiments of the disclosure, and the color coordination of the advertisement image and the target page is improved. Specifically, the reason why the colors of the advertisement image and the target page are not sufficiently coordinated is that: the page subject color of the target page is typically not the same as the subject color of the advertisement image. Based on this, the webpage color adjusting method of some embodiments of the present disclosure first determines the theme color information of the advertisement image, and then modifies the page theme color information of the target page through the theme color information of the advertisement image, so that the page theme color of the target page varies with the theme color of the advertisement image. And because the page theme color of the target page is changed along with the theme color of the advertisement image, the theme colors of the advertisement image and the target page are the same, and the color harmony between the advertisement image and the target page is further improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of an application scenario of a web page color adjustment method of some embodiments of the present disclosure;
FIG. 2 is a flow diagram of some embodiments of a web page color adjustment method according to the present disclosure;
FIG. 3 is a flow diagram of further embodiments of a web page color adjustment method according to the present disclosure;
FIG. 4 is a flow diagram of still further embodiments of a method of web page color adjustment according to the present disclosure;
FIG. 5 is a flow diagram of still further embodiments of a web page color adjustment method according to the present disclosure;
FIG. 6 is a schematic block diagram of some embodiments of a web page color adjustment apparatus according to the present disclosure;
FIG. 7 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of an application scenario of a web page color adjustment method according to some embodiments of the present disclosure.
When the electronic device 101 detects that the target page is displayed, at least one advertisement image of the target page may be acquired first. As shown in fig. 1, 4 origins under the advertisement images represent 4 advertisement images, and the 4 advertisement images may have respective different theme colors, and only one of the 4 advertisement images is displayed at a time. The page theme color area of the target page may include a page operation area, a page edge area, a page background, and the like. At a certain moment, when the electronic device 101 detects that the advertisement image 1 is displayed, the color of the page theme color area of the target page can be modified to the theme color of the advertisement image 1 in real time; when it is detected that the advertisement image 2 is displayed, the electronic apparatus 101 may modify the color of the page theme color area of the target page to the theme color of the advertisement image 2 in real time. Therefore, the color matching relationship between the advertisement image and the target page is established, the corresponding advertisement image is highlighted, and the page coordination is improved.
It should be understood that the number of electronic devices 101 in fig. 1 is merely illustrative. There may be any number of electronic devices 101, as desired for implementation.
With continued reference to fig. 2, fig. 2 illustrates a flow 200 of some embodiments of a web page color adjustment method according to the present disclosure. The webpage color adjusting method comprises the following steps:
step 201, responding to the display target page, and acquiring at least one advertisement image of the target page.
In some embodiments, an execution subject of the webpage color adjustment method (e.g., the electronic device 101 shown in fig. 1) may detect the display target page through a wired connection manner or a wireless connection manner. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G/5G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
When a user accesses a target page containing an advertisement image through an execution subject, the execution subject may detect whether the target page is displayed. If the executing agent displays the target page, the executing agent may first obtain at least one advertisement image of the target page.
Step 202, at least one piece of subject color information of the at least one advertisement image is obtained.
In some embodiments, the execution subject may obtain the subject color information of each advertisement image in the at least one advertisement image by color recognition or the like.
Step 203, modifying the page theme color information of the target page based on the at least one piece of theme color information.
In some embodiments, the subject color information of all advertisement images may be obtained. On the basis, the execution subject can modify the page theme color information of the target page through the theme color information of all the advertisement images. For example, the execution subject may modify the page theme color information of the target page to the theme color information of a certain advertisement image in real time when the advertisement image is displayed, so that the theme color of the target page is the same as the theme color of the corresponding advertisement image. Therefore, the method is beneficial to highlighting the advertisement image and improves the color harmony between the advertisement image and the target page.
The information presentation method disclosed by some embodiments of the disclosure improves the color harmony between the advertisement image and the target page. Specifically, the reason why the colors of the advertisement image and the target page are not sufficiently coordinated is that: the page subject color of the target page is typically not the same as the subject color of the advertisement image. Based on this, the webpage color adjusting method of some embodiments of the present disclosure first determines the theme color information of the advertisement image, and then modifies the page theme color information of the target page through the theme color information of the advertisement image, so that the page theme color of the target page varies with the theme color of the advertisement image. And because the page theme color of the target page is changed along with the theme color of the advertisement image, the theme colors of the advertisement image and the target page are the same, and the color harmony between the advertisement image and the target page is further improved.
With continued reference to fig. 3, fig. 3 illustrates a flow 300 of some embodiments of a web page color adjustment method according to the present disclosure. The webpage color adjusting method comprises the following steps:
step 301, in response to displaying a target page, obtaining at least one advertisement image of the target page.
The content of step 301 is the same as that of step 201, and is not described in detail here.
Step 302, in response to that all of the at least one advertisement image exists in a preset advertisement image library, obtaining at least one piece of theme color information corresponding to the at least one advertisement image from a historical theme color information library corresponding to the advertisement image library.
The executing subject may first match the acquired at least one advertisement image with a preset advertisement image library. When all of the at least one advertisement image exists in the preset advertisement image library, the at least one advertisement image is the advertisement image which exists before. That is, at least one advertisement image already has corresponding theme color information. At this time, the executing body may acquire at least one piece of theme color information corresponding to at least one advertisement image from a historical theme color information library corresponding to the advertisement image library.
Step 303, modifying the page theme color information of the target page based on the at least one piece of theme color information.
The content of step 303 is the same as that of step 203, and is not described in detail here.
With continued reference to fig. 4, fig. 4 illustrates a flow 400 of some embodiments of a web page color adjustment method according to the present disclosure. The webpage color adjusting method comprises the following steps:
step 401, in response to displaying a target page, acquiring at least one advertisement image of the target page.
The content of step 401 is the same as that of step 201, and is not described in detail here.
Step 402, in response to that at least one target advertisement image other than a preset advertisement image library exists in the at least one advertisement image, acquiring at least one piece of theme color information of the target advertisement image in the at least one target advertisement image.
When at least one target advertisement image out of the advertisement image library exists, the target advertisement image is indicated to be a new advertisement image. The execution subject may obtain at least one piece of subject color information of the target advertisement image in the at least one target advertisement image in a sampling manner. For example, the execution subject may recognize the subject matter (e.g., may be a person, an animal, a plant, a building, etc.) of the advertisement image and set the color of the subject matter as the subject matter color information of the advertisement image.
In some optional implementations of some embodiments, the obtaining at least one piece of subject color information of a target advertisement image of the at least one target advertisement image includes:
the first step is that the target advertisement image in at least one target advertisement image is compressed to obtain a target compressed image of the target advertisement image.
When a plurality of target advertisement images exist, the executive body can compress each target advertisement image to obtain a target compressed image. Wherein the target compressed image reduces the image dimension of the target advertisement image and comprises the most dominant color features of the target advertisement image. Therefore, the accuracy and the speed of obtaining the theme color information are improved.
And secondly, sampling the target compressed image, and determining the theme color information of the target compressed image.
After the target compressed image is obtained, the execution subject may sample the target compressed image to determine the subject color information of the target compressed image. For example, the execution subject may divide the target compressed image into a plurality of rectangular regions and then acquire pixel color information within each rectangular region, respectively. And after statistics, setting the color information with the most statistics as the theme color information.
In some optional implementation manners of some embodiments, the sampling the target compressed image and determining the subject color information of the target compressed image may include: in response to the image format of the target compressed image being RGB24, converting the image format into a specified image format, the specified image format being any one of: RGB565, RGB 555.
When the image format of the target compressed image is RGB24, the execution subject may convert the image format into a designated image format, so as to reduce the data processing amount of the execution subject and improve the speed of acquiring the subject color information on the premise of ensuring the accuracy of the subject color information.
Step 403, modifying the page theme color information of the target page based on the at least one piece of theme color information.
The content of step 403 is the same as that of step 203, and is not described in detail here.
With further reference to FIG. 5, a flow 500 of further embodiments of a web page color adjustment method is illustrated. The process 500 of the method for adjusting webpage color includes the following steps:
step 501, responding to a displayed target page, and acquiring at least one advertisement image of the target page.
Step 502, at least one piece of subject color information of the at least one advertisement image is obtained.
The contents of step 501 and step 502 are the same as those of step 201 and step 202, and are not described in detail here.
At step 503, the number of advertisement images of at least one target advertisement image is determined.
In order to make the page theme color information of the target page change as the advertisement image changes, the execution subject needs to first determine the number of advertisement images of the target advertisement image. The executing subject may count the number of advertisement images.
Step 504, obtaining at least one piece of target subject color information of the at least one target advertisement image based on the number of the advertisement images, and modifying the page subject color information of the target page according to the at least one piece of target subject color information.
Different numbers of advertisement images may cause the target page to be displayed differently. Accordingly, the execution body may modify the page theme color information of the target page based on the number of advertisement images.
In some optional implementation manners of some embodiments, the obtaining at least one piece of target topic color information of the at least one target advertisement image based on the number of advertisement images and modifying the page topic color information of the target page through the at least one piece of target topic color information may include: and in response to the number of the target advertisement images being one, modifying the theme color information of the target advertisement images into page theme color information of the target page.
When the number of the target advertisement images is one, the execution subject can directly modify the theme color information of the target advertisement images into the page theme color information of the target page. At this time, the page theme color of the target page is the same as the theme color of the target advertisement image and is fixed. As shown in fig. 1, the target page includes 4 advertisement images, and the advertisement images are displayed at intervals of a set time in a circulating manner, so that dynamic modification of page theme color information of the target page is realized.
In some optional implementation manners of some embodiments, the obtaining at least one piece of target topic color information of the at least one target advertisement image based on the number of the advertisement images, and modifying the page topic color information of the target page through the at least one piece of target topic color information may include the following steps:
the method comprises a first step of determining at least one piece of target subject color information of at least one target advertisement image in response to the fact that the number of the target advertisement images is multiple.
When there are multiple target advertisement images, then the execution subject may further determine target subject color information for each target advertisement image.
And secondly, dynamically modifying the page theme color information of the target page based on the at least one piece of target theme color information.
After obtaining at least one piece of target theme color information, the execution subject can dynamically modify the page theme color information of the target page through the at least one piece of target theme color information. For example, when the target advertisement image is displayed in a loop on the target page, the executing agent may modify the page theme color information of the target page according to the currently displayed target advertisement image dynamically in real time.
In some optional implementations of some embodiments, the target advertisement image includes a display type, the display type including at least one of: floating display and scrolling display, wherein the dynamically modifying the page theme color information of the target page based on the at least one piece of target theme color information may include: and setting the display sequence of the at least one target advertisement image in response to the floating display of the display type, and dynamically modifying the page theme color information of the target page based on the display sequence.
Different display types may cause the page subject color of the target page to vary differently. For this, the execution body may modify the page theme color information of the target page according to the display type. When the display type is a floating display, it is described that a plurality of floating advertisement images exist simultaneously on the target page. At this time, the execution subject may set a display order of at least one target advertisement image, and dynamically and cyclically modify page theme color information of the target page based on the display order. In addition, the display sequence may also be that the execution main body is displayed to the user, and the page theme color information of the target page is modified according to the display sequence determined by the user.
In some optional implementation manners of some embodiments, the dynamically modifying the page theme color information of the target page based on the at least one piece of target theme color information may include: and responding to the display type of the scrolling display, determining the display time of the scrolling display, and dynamically modifying the page theme color information of the target page based on the display time.
When the display type is the scroll display, only one advertisement image is displayed at a time as shown in fig. 1. At this time, the execution main body may determine a display time of the scroll display, and modify page theme color information of the target page based on the display time. For example, the execution subject detects that a plurality of advertisement images scroll-displayed are sequentially displayed at intervals of 3 seconds. The execution subject may determine the display time of the current advertisement image, then calculate the display time of other advertisement images according to the display time, and cause the page theme color of the target page to display the corresponding theme color of the advertisement image at the corresponding time by modifying the theme color information of the target page. Therefore, the page theme color of the target page can be dynamically changed along with the theme color of the advertisement page. Therefore, the method is beneficial to highlighting the advertisement image and improves the color harmony between the advertisement image and the target page.
In some optional implementation manners of some embodiments, the dynamically modifying the page theme color information of the target page based on the at least one target bar theme color information may include: and in response to the display types of the floating display and the scroll display, determining the display priority of the floating display and the scroll display, and dynamically modifying the page theme color information of the target page based on the display priority.
When there are both floating-display and scrolling-display advertisement pages, the execution subject may determine a display priority through preset display configuration information, and then modify page theme color information of the target page according to the display priority. The display configuration information may include a display priority preset by a user. For example, the display priority may be: scroll display > float display. At this time, the page theme color of the target page is displayed according to the theme color of the advertisement image which is displayed in a rolling manner, and then is displayed according to the theme color of the advertisement image which is displayed in a floating manner. The display priority may also be: floating display > scrolling display. Or the display priority may also be: scroll display > all. When the display priority is scroll display > all, the page subject color of the target page may be displayed only according to the subject color of the scroll-displayed advertisement image.
Finally, to facilitate subsequent display of the subject color of the targeted advertising information, the executing subject may add the targeted advertising image to the library of advertising images.
With further reference to fig. 6, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a web page color adjustment apparatus, which correspond to those shown in fig. 2, and which may be applied in various electronic devices.
As shown in fig. 6, the web page color adjustment apparatus 600 of some embodiments includes: an advertisement image acquisition unit 601, a theme color information acquisition unit 602, and a web page color adjustment unit 603. The advertisement image acquiring unit 601 is configured to, in response to displaying a target page, acquire at least one advertisement image of the target page; a subject color information obtaining unit 602 configured to obtain at least one piece of subject color information of the at least one advertisement image; a web page color adjusting unit 603 configured to modify the page theme color information of the target page based on the at least one piece of theme color information.
In an optional implementation manner of some embodiments, the theme color information obtaining unit 602 may include: a first subject color information obtaining subunit (not shown in the figure) configured to, in response to that all of the at least one advertisement image exist in a preset advertisement image library, obtain at least one piece of subject color information corresponding to the at least one advertisement image from a historical subject color information library corresponding to the advertisement image library.
In an optional implementation manner of some embodiments, the theme color information obtaining unit 602 may include: and a second subject color information obtaining subunit (not shown in the figure) configured to obtain at least one piece of subject color information of a target advertisement image in the at least one target advertisement image in response to at least one target advertisement image other than the preset advertisement image library existing in the at least one advertisement image.
In an optional implementation manner of some embodiments, the second theme color information obtaining subunit may include: a target compressed image acquisition module (not shown in the figure) and a subject color information determination module (not shown in the figure). The target compressed image acquisition sub-module is configured to compress a target advertisement image in the at least one target advertisement image to obtain a target compressed image of the target advertisement image; and the subject color information determining submodule is configured to sample the target compressed image and determine the subject color information of the target compressed image.
In an optional implementation manner of some embodiments, the web page color adjustment unit 603 may include: an advertisement image quantity determination subunit (not shown in the figure) and a web page color adjustment subunit (not shown in the figure). Wherein, the advertisement image quantity determining subunit is configured to determine the advertisement image quantity of the at least one target advertisement image; and the webpage color adjusting subunit is configured to acquire at least one piece of target theme color information of the at least one target advertisement image based on the number of the advertisement images, and modify the page theme color information of the target page through the at least one piece of target theme color information.
In an optional implementation manner of some embodiments, the webpage color adjustment subunit may include: and a first page theme color information modification module (not shown) configured to modify the target theme color information of the target advertisement image into the page theme color information of the target page in response to the number of the target advertisement images being one.
In an optional implementation manner of some embodiments, the webpage color adjustment subunit may include: a display type determination module (not shown in the figure) and a second page theme color information modification module (not shown in the figure). Wherein the display type determining module is configured to determine at least one piece of target subject color information of the at least one target advertisement image in response to the number of the target advertisement images being plural; and the second page theme color information modification module is configured to dynamically modify the page theme color information of the target page based on the at least one piece of target theme color information.
In an optional implementation of some embodiments, the targeted advertising image includes a display type, the display type including at least one of: floating display and rolling display; the second page theme color information modification module may include: a first page theme color information modification sub-module (not shown) configured to set a display order of the at least one target advertisement image in response to the display type being a floating display, and dynamically modify the page theme color information of the target page based on the display order.
In an optional implementation manner of some embodiments, the second page theme color information modification module may include: and a second page theme color information modification sub-module (not shown in the figure) configured to determine a display time of the scrolling in response to the display type being the scrolling, and dynamically modify the page theme color information of the target page based on the display time.
In an optional implementation manner of some embodiments, the second page theme color information modification module may include: and a third page theme color information modification sub-module (not shown) configured to determine display priorities of the floating display and the scrolling display in response to the display types being the floating display and the scrolling display, and dynamically modify the page theme color information of the target page based on the display priorities.
It will be understood that the elements described in the apparatus 600 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 600 and the units included therein, and are not described herein again.
As shown in fig. 7, electronic device 700 may include a processing means (e.g., central processing unit, graphics processor, etc.) 701 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from storage 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM 702, and the RAM703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, flash memory; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 7 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some 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 some such embodiments, the computer program may be downloaded and installed from a network via communications means 709, or may be installed from storage 708, or may be installed from ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described above in some embodiments of the present disclosure 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 some embodiments of the disclosure, 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 some embodiments of the present disclosure, 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: responding to a displayed target page, and acquiring at least one advertisement image of the target page; acquiring at least one piece of theme color information of the at least one advertisement image; and modifying the page theme color information of the target page based on the at least one piece of theme color information.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
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 disclosure. 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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 some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes an advertisement image acquisition unit, a theme color information acquisition unit, and a web page color adjustment unit. Where the names of these elements do not in some cases constitute a limitation on the elements themselves, for example, a web page color adjustment element may also be described as a "element for modifying the color of a page theme".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (13)

1. A webpage color adjusting method comprises the following steps:
responding to a displayed target page, and acquiring at least one advertisement image of the target page;
acquiring at least one piece of subject color information of the at least one advertisement image;
and modifying the page theme color information of the target page based on the at least one piece of theme color information.
2. The method of claim 1, wherein said obtaining at least one subject color information of said at least one advertisement image comprises:
and responding to the fact that the at least one advertisement image exists in a preset advertisement image library, and acquiring at least one piece of theme color information corresponding to the at least one advertisement image from a historical theme color information library corresponding to the advertisement image library.
3. The method of claim 1, wherein said obtaining at least one subject color information of said at least one advertisement image comprises:
and responding to at least one target advertisement image except for a preset advertisement image library in the at least one advertisement image, and acquiring at least one piece of theme color information of the target advertisement image in the at least one target advertisement image.
4. The method of claim 3, wherein the obtaining of the at least one subject color information of the target advertisement image of the at least one target advertisement image comprises:
for a target advertisement image in the at least one target advertisement image, compressing the target advertisement image to obtain a target compressed image of the target advertisement image;
and sampling the target compressed image, and determining the theme color information of the target compressed image.
5. The method of claim 3, wherein said modifying page theme color information of the target page based on the at least one piece of theme color information comprises:
determining a number of advertisement images of the at least one target advertisement image;
and acquiring at least one piece of target subject color information of the at least one target advertisement image based on the number of the advertisement images, and modifying the page subject color information of the target page through the at least one piece of target subject color information.
6. The method of claim 5, wherein the obtaining at least one piece of target subject color information of the at least one target advertisement image based on the number of advertisement images and modifying the page subject color information of the target page by the at least one piece of target subject color information comprises:
and in response to the fact that the number of the target advertisement images is one, modifying the target subject color information of the target advertisement images into the page subject color information of the target page.
7. The method of claim 5, wherein the obtaining at least one piece of target subject color information of the at least one target advertisement image based on the number of advertisement images and modifying the page subject color information of the target page by the at least one piece of target subject color information comprises:
determining at least one piece of target subject color information of the at least one target advertisement image in response to the number of the target advertisement images being plural;
dynamically modifying the page theme color information of the target page based on the at least one piece of target theme color information.
8. The method of claim 7, wherein the targeted advertising image comprises a display type, the display type comprising at least one of: floating display and rolling display;
the dynamically modifying the page theme color information of the target page based on the at least one piece of target theme color information comprises:
and in response to the display type being floating display, setting the display sequence of the at least one target advertisement image, and dynamically modifying the page theme color information of the target page based on the display sequence.
9. The method of claim 7, wherein said dynamically modifying page subject matter color information of the target page based on the at least one piece of target subject matter color information comprises:
and in response to the display type being the scroll display, determining the display time of the scroll display, and dynamically modifying the page theme color information of the target page based on the display time.
10. The method of claim 7, wherein said dynamically modifying page subject matter color information of the target page based on the at least one target bar subject matter color information comprises:
and in response to the display types of the floating display and the scroll display, determining display priorities of the floating display and the scroll display, and dynamically modifying the page theme color information of the target page based on the display priorities.
11. A web page color adjustment apparatus comprising:
an advertisement image acquisition unit configured to acquire at least one advertisement image of a target page in response to displaying the target page;
a subject color information acquiring unit configured to acquire at least one piece of subject color information of the at least one advertisement image;
a web page color adjustment unit configured to modify page theme color information of the target page based on the at least one piece of theme color information.
12. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-10.
13. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1 to 10.
CN202011601974.7A 2020-12-29 2020-12-29 Webpage color adjusting method and device, electronic equipment and computer readable medium Pending CN112579962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011601974.7A CN112579962A (en) 2020-12-29 2020-12-29 Webpage color adjusting method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011601974.7A CN112579962A (en) 2020-12-29 2020-12-29 Webpage color adjusting method and device, electronic equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN112579962A true CN112579962A (en) 2021-03-30

Family

ID=75144341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011601974.7A Pending CN112579962A (en) 2020-12-29 2020-12-29 Webpage color adjusting method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN112579962A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114510314A (en) * 2022-02-25 2022-05-17 北京达佳互联信息技术有限公司 Page theme updating method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101512581A (en) * 2006-02-15 2009-08-19 微软公司 Generation of contextual image-containing advertisements
CN110838154A (en) * 2019-11-22 2020-02-25 北京达佳互联信息技术有限公司 Picture processing method and device
CN110865862A (en) * 2019-11-13 2020-03-06 北京字节跳动网络技术有限公司 Page background setting method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101512581A (en) * 2006-02-15 2009-08-19 微软公司 Generation of contextual image-containing advertisements
CN110865862A (en) * 2019-11-13 2020-03-06 北京字节跳动网络技术有限公司 Page background setting method and device and electronic equipment
CN110838154A (en) * 2019-11-22 2020-02-25 北京达佳互联信息技术有限公司 Picture processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114510314A (en) * 2022-02-25 2022-05-17 北京达佳互联信息技术有限公司 Page theme updating method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110784754A (en) Video display method and device and electronic equipment
CN110865862B (en) Page background setting method and device and electronic equipment
CN112256223B (en) Method and device for adjusting display fluency and electronic equipment
CN110825286B (en) Image processing method and device and electronic equipment
CN111784712B (en) Image processing method, device, equipment and computer readable medium
CN111459364B (en) Icon updating method and device and electronic equipment
JP7261732B2 (en) Method and apparatus for determining character color
CN111857719B (en) Data processing method, device, electronic equipment and medium
CN112306793A (en) Method and device for monitoring webpage
EP4242839A1 (en) Page switching display method and apparatus, storage medium, and electronic device
US20230410380A1 (en) Method and apparatus for generating page
CN110852946A (en) Picture display method and device and electronic equipment
CN111598813B (en) Face image processing method and device, electronic equipment and computer readable medium
CN113961280B (en) View display method and device, electronic equipment and computer readable storage medium
CN112579962A (en) Webpage color adjusting method and device, electronic equipment and computer readable medium
CN110399802B (en) Method, apparatus, medium, and electronic device for processing eye brightness of face image
CN110427584A (en) Page generation method, device, electronic equipment and computer readable storage medium
CN111324405A (en) Character display method and device and electronic equipment
CN111258582A (en) Window rendering method and device, computer equipment and storage medium
CN114489910B (en) Video conference data display method, device, equipment and medium
CN113296771B (en) Page display method, device, equipment and computer readable medium
CN112732457B (en) Image transmission method, image transmission device, electronic equipment and computer readable medium
CN110807114B (en) Method, device, terminal and storage medium for picture display
CN116628366A (en) Floor page processing method and device
CN111770385A (en) Card display method and device, electronic equipment and medium

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

Application publication date: 20210330

RJ01 Rejection of invention patent application after publication