CN104899211A - Color matching method and device for webpage embedding object - Google Patents
Color matching method and device for webpage embedding object Download PDFInfo
- Publication number
- CN104899211A CN104899211A CN201410079249.6A CN201410079249A CN104899211A CN 104899211 A CN104899211 A CN 104899211A CN 201410079249 A CN201410079249 A CN 201410079249A CN 104899211 A CN104899211 A CN 104899211A
- Authority
- CN
- China
- Prior art keywords
- colour code
- color
- embedded object
- webpage
- background color
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000001914 filtration Methods 0.000 claims description 18
- 239000000284 extract Substances 0.000 claims description 9
- 238000000605 extraction Methods 0.000 claims description 9
- 238000005516 engineering process Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 8
- 230000002452 interceptive effect Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a color matching method and device for a webpage embedding object, and relates to the field of information technology. A matching degree between the color of the embedding object and a webpage style can be improved, and meanwhile, the recognition degree of the color of the embedding object in a webpage can be guaranteed. The method comprises the following steps: firstly, obtaining a display area corresponding to the embedding object and an environment base color identifier corresponding to the display area; then, detecting whether a color identifier which is the same with the environment base color identifier exists in an alternative color identifier stored in the database or not, and if the color identifier which is the same with the environment base color identifier exists, deleting the color identifier which is the same with the environment base color identifier in the alterative color identifier; and finally, selecting a color corresponding to any one color identifier from the filtered alterative color identifier as the color corresponding to the embedding object.
Description
Technical field
The present invention relates to areas of information technology, particularly a kind of color matching method of webpage embedded object and device.
Background technology
Along with the development of internet, increasing user browses webpage by internet, obtaining information.In order to better enrich the content of showing in webpage and provide better real-time, interactive function for user, usually in webpage, embedded object is added, such as add the floating embedded object such as window, interactive button, therefore the color of embedded object in webpage how is configured, to ensure that embedded object and web page style match the important technological problems becoming and need to solve.
At present, when carrying out the color matching of embedded object, normally based on page layout background chromatic luminosity value, the word of embedding is adjusted to black or white.But due to current when carrying out the color matching of embedded object, the word be only limitted to embedding carries out color adjustment, and the color after adjustment only has black or white, thus causes the matching degree of embedded object and web page style lower.
Summary of the invention
The embodiment of the present invention provides a kind of color matching method and device of webpage embedded object, can improve the matching degree of embedded object and web page style, meanwhile, can ensure the resolution of embedded object in webpage.
The technical scheme that the embodiment of the present invention adopts is:
A color matching method for webpage embedded object, comprising:
The viewing area that acquisition embedded object is corresponding and the environment background color corresponding with described viewing area identify;
Whether the alternative colour code preserved in Test database exists in knowing identifies identical colour code with described environment background color;
If exist and identify identical colour code with described environment background color, then identify identical colour code with described environment background color in being known by described alternative colour code and delete;
From the alternative colour code after described filtration is known, select color that any one colour code is corresponding as color corresponding to described embedded object.
A color matching device for webpage embedded object, comprising:
Acquiring unit, for obtaining viewing area corresponding to embedded object and the environment background color corresponding with described viewing area identifies;
Detecting unit, whether the alternative colour code for preserving in Test database exists in knowing identifies identical colour code with described environment background color;
Delete cells, if described detecting unit detects to exist identify identical colour code with described environment background color, then identifies identical colour code with described environment background color in being known by described alternative colour code and deletes;
Selection unit, in knowing from the alternative colour code after described filtration, selects color that any one colour code is corresponding as color corresponding to described embedded object.
The color matching method of the webpage embedded object that the embodiment of the present invention provides and device, first the viewing area that acquisition embedded object is corresponding and the environment background color corresponding with described viewing area identify, whether the alternative colour code then preserved in Test database exists in knowing identifies identical colour code with described environment background color, if exist and identify identical colour code with described environment background color, identify identical colour code with described environment background color in then being known by described alternative colour code to delete, finally from the alternative colour code after described filtration is known, select color that any one colour code is corresponding as color corresponding to described embedded object.The word of embedding is adjusted to compared with black or white with current based on page layout background chromatic luminosity value, the embodiment of the present invention is by the selective color of preset embedded object, from selective color, filter out the lower color of resolution simultaneously, thus the matching degree of embedded object and web page style can be improved, meanwhile, the resolution of embedded object in webpage can be ensured.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The color matching method process flow diagram of a kind of webpage embedded object that Fig. 1 provides for the embodiment of the present invention;
The color matching method process flow diagram of the another kind of webpage embedded object that Fig. 2 provides for the embodiment of the present invention;
The color matching apparatus structure schematic diagram of a kind of webpage embedded object that Fig. 3 provides for the embodiment of the present invention;
The color matching apparatus structure schematic diagram of the another kind of webpage embedded object that Fig. 4 provides for the embodiment of the present invention;
The webpage embedded object color matching schematic diagram one that Fig. 5 provides for the embodiment of the present invention;
The webpage embedded object color matching schematic diagram two that Fig. 6 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
For making the advantage of technical solution of the present invention clearly, below in conjunction with drawings and Examples, the present invention is elaborated.
The embodiment of the present invention provides a kind of color matching method of webpage embedded object, and as shown in Figure 1, described method comprises:
101, the viewing area that acquisition embedded object is corresponding and the environment background color corresponding with described viewing area identify.
Wherein, embedded object is the information be inserted in file destination, and such as, embedded object can be floating window, interactive button, picture etc., and the embodiment of the present invention does not limit.User can pass through visualization interface, select the viewing area of embedded object in the page needing to add, environment background color mark can be the colour of environment background color, environment background color mark corresponding to viewing area can be color colour corresponding to this viewing area, can also be the color colour that the page area adjacent with this viewing area is corresponding.
Whether the alternative colour code 102, preserved in Test database exists in knowing identifies identical colour code with described environment background color.
Wherein, alternative look is designated the mark of each color relevant to web page style, specifically can comprise navigation bar background color mark corresponding to webpage, button face mark, link characters colour code knows and caption text colour code is known.
If 103 existence identify identical colour code with described environment background color, then identify identical colour code with described environment background color in being known by described alternative colour code and delete.
For the embodiment of the present invention, by deleting identifying identical colour code with described environment background color in described alternative colour code knowledge, color between can ensureing as the environment background color of the color viewing area corresponding with embedded object of embedded object configuration is distinguished, and then ensures the resolution of embedded object in webpage.
104, from the alternative colour code after described filtration is known, select color that any one colour code is corresponding as color corresponding to described embedded object.
The color matching method of a kind of webpage embedded object that the embodiment of the present invention provides, first the viewing area that acquisition embedded object is corresponding and the environment background color corresponding with described viewing area identify, whether the alternative colour code then preserved in Test database exists in knowing identifies identical colour code with described environment background color, if exist and identify identical colour code with described environment background color, identify identical colour code with described environment background color in then being known by described alternative colour code to delete, finally from the alternative colour code after described filtration is known, select color that any one colour code is corresponding as color corresponding to described embedded object.The word of embedding is adjusted to compared with black or white with current based on page layout background chromatic luminosity value, the embodiment of the present invention is by the selective color of preset embedded object, from selective color, filter out the lower color of resolution simultaneously, thus the color of embedded object and the matching degree of web page style can be improved, meanwhile, the resolution of the color of embedded object in webpage can be ensured.
The embodiment of the present invention provides the color matching method of another kind of webpage embedded object, and as shown in Figure 2, described method comprises:
201, extract navigation bar background color mark corresponding to webpage, button face mark, link characters colour code knows and caption text colour code is known.
Wherein, for navigation bar background color, button face and link characters look, all deposit the color under color in normal state and mouse-over state, therefore need to extract navigation bar background color, button face and the color of link characters look under different conditions as alternative look simultaneously.
For the embodiment of the present invention, step 201 specifically can comprise extracts navigation bar background color mark corresponding to described webpage, button face mark, the knowledge of link characters colour code and the knowledge of caption text colour code according to the label keyword of described webpage and the tag attributes of described webpage.
Such as, can comprise for the step extracting navigation bar background color mark corresponding to described webpage: identify navigation bar in webpage according to whether comprising the fields such as nav, navigation, menu in the label keyword of webpage; Now, if include backgroud field in tag attributes, then navigation bar is that pure color is filled, its colour of extracting directly identifies as navigation bar background color, if include backgroud-image field in tag attributes, then navigation bar is that picture is filled, and the mass-tone colour extracted in picture identifies as navigation bar background color.Further, when webpage is the html5 page, if navigation bar background color is gradient color, then the colour extracting gradient color identifies as navigation bar background color.
Again such as, can comprise for the step extracting button face mark corresponding to described webpage: identify button according to whether comprising the fields such as btn, button in the label keyword of webpage; Now, if include backgroud field in tag attributes, then button is that pure color is filled, its colour of extracting directly identifies as button face, if include backgroud-image field in tag attributes, then button is that picture is filled, and the mass-tone colour extracted in picture identifies as button face.Further, can also judge in tag attributes, whether to comprise the field recognition button such as <input type=" submit "/>, <button/>.
Again such as, can comprise for the step extracting link characters colour code knowledge corresponding to described webpage: by judging whether the label keyword of webpage is that <a></aGreatT.Gre aT.GT identifies link, wherein, do not identify for the link be nested in navigation bar, the colour then obtaining tag attributes color corresponding is known as link characters colour code.Further, if be linked as picture, then according to the character area in prepattern recognition mechanism identification picture, and extract colour corresponding to this character area and know as link characters colour code.
Again such as, can comprise for the step extracting caption text colour code knowledge corresponding to described webpage: whether comprise title according in the label keyword of webpage, <h1></h1GreatT.G reaT.GT, the field identification titles such as <h2></h2GreatT.G reaT.GT, or according to font size identification title, wherein, after can sorting according to the order that font size in the page is descending, the word that extraction font size is arranged in front two is configured to title.Then the colour obtaining tag attributes color corresponding is known as caption text colour code.
202, described navigation bar background color mark, described button face mark, the knowledge of described link characters colour code and the knowledge of described caption text colour code are preserved in the database as described alternative colour code knowledge.
203, the viewing area that acquisition embedded object is corresponding and the environment background color corresponding with described viewing area identify.
Wherein, user can pass through visualization interface, select the viewing area of embedded object in the page needing to add, environment background color mark can be the colour of environment background color, environment background color mark corresponding to viewing area can be color colour corresponding to this viewing area, can also be the color colour that the page area adjacent with this viewing area is corresponding.
For the embodiment of the present invention, obtain step that the environment background color corresponding with described viewing area identify can comprise and obtain nearest between described viewing area and tag attributes is the target pages region of preset tag attributes, then environment background color corresponding as described viewing area for colour code corresponding for described target pages region is identified.Wherein, preset tag attributes can be the fields such as background, background-image, and target pages region can be the viewing area of embedded object, can also be embedded object viewing area near page area, the embodiment of the present invention does not limit.
Whether the alternative colour code 204, preserved in Test database exists in knowing identifies identical colour code with described environment background color.
If 205 existence identify identical colour code with described environment background color, then identify identical colour code with described environment background color in being known by described alternative colour code and delete.
For the embodiment of the present invention, by deleting identifying identical colour code with described environment background color in described alternative colour code knowledge, color between can ensureing as the environment background color of the color viewing area corresponding with embedded object of embedded object configuration is distinguished, and then ensures the resolution of embedded object in webpage.
206, from the alternative colour code after described filtration is known, select color that any one colour code is corresponding as color corresponding to described embedded object.
Preferably, step 206 can comprise from the alternative colour code after described filtration is known, according to navigation bar background color mark, button face mark, link characters colour code is known and caption text colour code is known priority orders, the color selecting colour code corresponding is as color corresponding to described embedded object.For the embodiment of the present invention, by the color of selecting colour code corresponding according to above-mentioned priority orders as color corresponding to described embedded object, the matching degree of embedded object and web page style can be promoted further.
Specifically can be applied in embedded object for the embodiment of the present invention is in the scene of on-line consulting bullet window, but be not limited thereto, as shown in Figure 5, comprise: first extract navigation bar background color corresponding to webpage, button face, link characters look, color 2 is respectively with caption text look, color 4, color 3, color 1, and color 1-4 is preserved in a database as alternative look, then the viewing area obtaining on-line consulting bullet window corresponding is Title area, the environment background color that Title area is corresponding is color 1, now, color 1 in alternative look is deleted, and from color 2-4, select any one color configuration to be the color of on-line consulting bullet window, thus the color of on-line consulting bullet window and the matching degree of web page style can be improved, simultaneously, the resolution of color in webpage of on-line consulting bullet window can be ensured.
Specifically can also be applied in embedded object for the embodiment of the present invention is in the scene of interactive button, but be not limited thereto, as shown in Figure 6, comprise: first extract navigation bar background color corresponding to webpage, button face, link characters look, color 2 is respectively with caption text look, color 4, color 3, color 1, and color 1-4 is preserved in a database as alternative look, then the viewing area obtaining interactive button corresponding is link characters region, environment background color corresponding to link characters region is color 3, now, color 3 in alternative look is deleted, and from color 1, 2, any one color configuration is selected to be the color of interactive button in 4, thus the color of interactive button and the matching degree of web page style can be improved, simultaneously, the resolution of the color of interactive button in webpage can be ensured.
The color matching method of the another kind of webpage embedded object that the embodiment of the present invention provides, first the viewing area that acquisition embedded object is corresponding and the environment background color corresponding with described viewing area identify, whether the alternative colour code then preserved in Test database exists in knowing identifies identical colour code with described environment background color, if exist and identify identical colour code with described environment background color, identify identical colour code with described environment background color in then being known by described alternative colour code to delete, finally from the alternative colour code after described filtration is known, select color that any one colour code is corresponding as color corresponding to described embedded object.The word of embedding is adjusted to compared with black or white with current based on page layout background chromatic luminosity value, the embodiment of the present invention is by the selective color of preset embedded object, from selective color, filter out the lower color of resolution simultaneously, thus the color of embedded object and the matching degree of web page style can be improved, meanwhile, the resolution of the color of embedded object in webpage can be ensured.
Further, as the specific implementation of method shown in Fig. 1, the embodiment of the present invention provides a kind of color matching device of webpage embedded object, and as shown in Figure 3, described device can comprise: acquiring unit 31, detecting unit 32, delete cells 33, selection unit 34.
Acquiring unit 31, may be used for viewing area corresponding to acquisition embedded object and the environment background color corresponding with described viewing area identifies.
Detecting unit 32, whether the alternative colour code that may be used for preserving in Test database exists in knowing identifies identical colour code with described environment background color.
Delete cells 33, if may be used for described detecting unit 32 detection existence to identify identical colour code with described environment background color, then identifies identical colour code with described environment background color in being known by described alternative colour code and deletes.
Selection unit 34, may be used for from the alternative colour code after described filtration is known, and selects color that any one colour code is corresponding as color corresponding to described embedded object.
It should be noted that, other corresponding descriptions of each functional unit involved by the color matching device of a kind of webpage embedded object that the embodiment of the present invention provides, the correspondence in reference diagram 1 can describe, do not repeat them here.
The color matching device of a kind of webpage embedded object that the embodiment of the present invention provides, first the viewing area that acquisition embedded object is corresponding and the environment background color corresponding with described viewing area identify, whether the alternative colour code then preserved in Test database exists in knowing identifies identical colour code with described environment background color, if exist and identify identical colour code with described environment background color, identify identical colour code with described environment background color in then being known by described alternative colour code to delete, finally from the alternative colour code after described filtration is known, select color that any one colour code is corresponding as color corresponding to described embedded object.The word of embedding is adjusted to compared with black or white with current based on page layout background chromatic luminosity value, the embodiment of the present invention is by the selective color of preset embedded object, from selective color, filter out the lower color of resolution simultaneously, thus the color of embedded object and the matching degree of web page style can be improved, meanwhile, the resolution of the color of embedded object in webpage can be ensured.
Again further, as the specific implementation of method shown in Fig. 2, the embodiment of the present invention provides the color matching device of another kind of webpage embedded object, as shown in Figure 4, described device can comprise: acquiring unit 41, detecting unit 42, delete cells 43, selection unit 44, extraction unit 45, storage unit 46, dispensing unit 47.
Acquiring unit 41, may be used for viewing area corresponding to acquisition embedded object and the environment background color corresponding with described viewing area identifies.
Detecting unit 42, whether the alternative colour code that may be used for preserving in Test database exists in knowing identifies identical colour code with described environment background color.
Delete cells 43, if may be used for described detecting unit 42 detection existence to identify identical colour code with described environment background color, then identifies identical colour code with described environment background color in being known by described alternative colour code and deletes.
Selection unit 44, may be used for from the alternative colour code after described filtration is known, and selects color that any one colour code is corresponding as color corresponding to described embedded object.
Extraction unit 45, may be used for extracting navigation bar background color mark corresponding to webpage, button face mark, link characters colour code knows and caption text colour code is known.
Storage unit 46, may be used for the described navigation bar background color mark extracted by described extraction unit 45, described button face identifies, described link characters colour code is known and the knowledge of described caption text colour code is preserved in the database as described alternative colour code knowledge.
Extraction unit 45, may be used for the label keyword according to described webpage and the tag attributes corresponding with described label keyword, extracts navigation bar background color mark corresponding to described webpage, button face mark, link characters colour code knows and caption text colour code is known.
Acquiring unit 41, may be used for the target pages region that the nearest and tag attributes obtained between described viewing area is preset tag attributes.
Dispensing unit 47, may be used for environment background color corresponding as described viewing area for colour code corresponding for described target pages region to identify.
Selection unit 44, may be used for from the alternative colour code after described filtration is known, according to navigation bar background color mark, button face mark, link characters colour code is known and caption text colour code is known priority orders, the color selecting colour code corresponding is as color corresponding to described embedded object.
It should be noted that, other corresponding descriptions of each functional unit involved by the color matching device of the another kind of webpage embedded object that the embodiment of the present invention provides, the correspondence in reference diagram 2 can describe, do not repeat them here.
The color matching device of the another kind of webpage embedded object that the embodiment of the present invention provides, first the viewing area that acquisition embedded object is corresponding and the environment background color corresponding with described viewing area identify, whether the alternative colour code then preserved in Test database exists in knowing identifies identical colour code with described environment background color, if exist and identify identical colour code with described environment background color, identify identical colour code with described environment background color in then being known by described alternative colour code to delete, finally from the alternative colour code after described filtration is known, select color that any one colour code is corresponding as color corresponding to described embedded object.The word of embedding is adjusted to compared with black or white with current based on page layout background chromatic luminosity value, the embodiment of the present invention is by the selective color of preset embedded object, from selective color, filter out the lower color of resolution simultaneously, thus the color of embedded object and the matching degree of web page style can be improved, meanwhile, the resolution of the color of embedded object in webpage can be ensured.
The color matching device of the webpage embedded object that the embodiment of the present invention provides can realize the above-mentioned embodiment of the method provided, and concrete function realizes the explanation referred in embodiment of the method, does not repeat them here.Color matching method and the device of the webpage embedded object that the embodiment of the present invention provides go for areas of information technology, but are not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (10)
1. a color matching method for webpage embedded object, is characterized in that, comprising:
The viewing area that acquisition embedded object is corresponding and the environment background color corresponding with described viewing area identify;
Whether the alternative colour code preserved in Test database exists in knowing identifies identical colour code with described environment background color;
If exist and identify identical colour code with described environment background color, then identify identical colour code with described environment background color in being known by described alternative colour code and delete;
From the alternative colour code after described filtration is known, select color that any one colour code is corresponding as color corresponding to described embedded object.
2. the color matching method of webpage embedded object according to claim 1, is characterized in that, before the viewing area that described acquisition embedded object is corresponding and the step that the environment background color corresponding with described viewing area identifies, also comprises:
Extract navigation bar background color mark corresponding to webpage, button face mark, link characters colour code knows and caption text colour code is known;
Using described navigation bar background color mark, described button face mark, described link characters colour code knows and the knowledge of described caption text colour code is preserved in the database as described alternative colour code knowledge.
3. the color matching method of webpage embedded object according to claim 2, is characterized in that, the navigation bar background color mark that described extraction webpage is corresponding, button face mark, the step that link characters colour code is known and caption text colour code is known comprise:
According to label keyword and the tag attributes corresponding with described label keyword of described webpage, extract navigation bar background color mark corresponding to described webpage, button face mark, link characters colour code knows and caption text colour code is known.
4. the color matching method of webpage embedded object according to claim 1, is characterized in that, the step that the described acquisition environment background color corresponding with described viewing area identifies comprises:
Nearest and the tag attributes obtained between described viewing area is the target pages region of preset tag attributes;
Environment background color corresponding as described viewing area for colour code corresponding for described target pages region is identified.
5. the color matching method of webpage embedded object according to claim 1, is characterized in that, from the alternative colour code after described filtration is known, selects color corresponding to any one colour code to comprise as the step of color corresponding to described embedded object:
From the alternative colour code after described filtration is known, according to navigation bar background color mark, button face mark, link characters colour code is known and caption text colour code is known priority orders, the color selecting colour code corresponding is as color corresponding to described embedded object.
6. a color matching device for webpage embedded object, is characterized in that, described device comprises:
Acquiring unit, for obtaining viewing area corresponding to embedded object and the environment background color corresponding with described viewing area identifies;
Detecting unit, whether the alternative colour code for preserving in Test database exists in knowing identifies identical colour code with described environment background color;
Delete cells, if described detecting unit detects to exist identify identical colour code with described environment background color, then identifies identical colour code with described environment background color in being known by described alternative colour code and deletes;
Selection unit, in knowing from the alternative colour code after described filtration, selects color that any one colour code is corresponding as color corresponding to described embedded object.
7. the color matching device of webpage embedded object according to claim 6, is characterized in that, described device also comprises:
Extraction unit, for extracting navigation bar background color mark corresponding to webpage, button face mark, link characters colour code knows and caption text colour code is known;
Storage unit, for the described navigation bar background color mark extracted by described extraction unit, described button face identifies, described link characters colour code knows and the knowledge of described caption text colour code is preserved in the database as described alternative colour code knowledge.
8. the color matching device of webpage embedded object according to claim 7, is characterized in that,
Described extraction unit, for according to the label keyword of described webpage and the tag attributes corresponding with described label keyword, extracts navigation bar background color mark corresponding to described webpage, button face mark, link characters colour code knows and caption text colour code is known.
9. the color matching device of webpage embedded object according to claim 6, is characterized in that,
Described acquiring unit, for obtaining nearest between described viewing area and tag attributes is the target pages region of preset tag attributes;
Described device also comprises:
Dispensing unit, for identifying environment background color corresponding as described viewing area for colour code corresponding for described target pages region.
10. the color matching device of webpage embedded object according to claim 6, is characterized in that,
Described selection unit, in knowing from the alternative colour code after described filtration, according to navigation bar background color mark, button face mark, link characters colour code is known and caption text colour code is known priority orders, the color selecting colour code corresponding is as color corresponding to described embedded object.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410079249.6A CN104899211A (en) | 2014-03-05 | 2014-03-05 | Color matching method and device for webpage embedding object |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410079249.6A CN104899211A (en) | 2014-03-05 | 2014-03-05 | Color matching method and device for webpage embedding object |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN104899211A true CN104899211A (en) | 2015-09-09 |
Family
ID=54031879
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410079249.6A Pending CN104899211A (en) | 2014-03-05 | 2014-03-05 | Color matching method and device for webpage embedding object |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104899211A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107622098A (en) * | 2017-09-04 | 2018-01-23 | 腾讯科技(深圳)有限公司 | Method to set up and device, the storage medium and electronic installation of web site contents color |
| CN107643910A (en) * | 2017-07-31 | 2018-01-30 | 海南智媒云图科技股份有限公司 | A kind of method and device of navigation bar color replacement |
| CN110457506A (en) * | 2019-07-23 | 2019-11-15 | 深圳前海达闼云端智能科技有限公司 | Page positioning method, device, storage medium and electronic equipment |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101520782A (en) * | 2008-02-26 | 2009-09-02 | 陶鹏 | Method and system for directionally releasing special-subject information relevant to online images |
| CN101605175A (en) * | 2009-07-13 | 2009-12-16 | 中兴通讯股份有限公司 | A kind of method of displaying colorful desktop text by mobile terminal and device |
| US20110072343A1 (en) * | 2009-08-21 | 2011-03-24 | Yieldbuild, Inc. | Optimizing online advertising link and text characteristics |
| CN102955803A (en) * | 2011-08-26 | 2013-03-06 | 腾讯科技(深圳)有限公司 | Website display method and browser |
-
2014
- 2014-03-05 CN CN201410079249.6A patent/CN104899211A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101520782A (en) * | 2008-02-26 | 2009-09-02 | 陶鹏 | Method and system for directionally releasing special-subject information relevant to online images |
| CN101605175A (en) * | 2009-07-13 | 2009-12-16 | 中兴通讯股份有限公司 | A kind of method of displaying colorful desktop text by mobile terminal and device |
| US20110072343A1 (en) * | 2009-08-21 | 2011-03-24 | Yieldbuild, Inc. | Optimizing online advertising link and text characteristics |
| CN102955803A (en) * | 2011-08-26 | 2013-03-06 | 腾讯科技(深圳)有限公司 | Website display method and browser |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107643910A (en) * | 2017-07-31 | 2018-01-30 | 海南智媒云图科技股份有限公司 | A kind of method and device of navigation bar color replacement |
| CN107622098A (en) * | 2017-09-04 | 2018-01-23 | 腾讯科技(深圳)有限公司 | Method to set up and device, the storage medium and electronic installation of web site contents color |
| CN110457506A (en) * | 2019-07-23 | 2019-11-15 | 深圳前海达闼云端智能科技有限公司 | Page positioning method, device, storage medium and electronic equipment |
| CN110457506B (en) * | 2019-07-23 | 2021-10-01 | 深圳前海达闼云端智能科技有限公司 | Page positioning method, device, storage medium and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104657423B (en) | Using content share method and its device | |
| CN102708774B (en) | Display method of character strings and system thereof | |
| CN110674814A (en) | A picture recognition and translation method, terminal and medium | |
| CN107656787B (en) | Method for generating topics based on electronic book, computing device and computer storage medium | |
| US10984176B2 (en) | Provision of alternative text for use in association with image data | |
| JP6239045B2 (en) | Search service providing method and apparatus for interactive display of search target types | |
| KR20170007106A (en) | System for electronic book service | |
| US7870503B1 (en) | Technique for analyzing and graphically displaying document order | |
| KR101676575B1 (en) | Apparatus and method for extracting share area of comic content | |
| CN107315828A (en) | Data processing method, device and terminal device | |
| CN108804472A (en) | A kind of webpage content extraction method, device and server | |
| CN104899211A (en) | Color matching method and device for webpage embedding object | |
| CN105117205A (en) | Web page editing method and web page editing device | |
| CN104090869B (en) | A kind of method and translation system for translating the network information | |
| CN103942211A (en) | Text page recognition method and device | |
| CN111258569A (en) | Webpage component editing method, device, equipment and computer readable storage medium | |
| CN110059258A (en) | Search result shows method, apparatus and storage medium | |
| CN106293671B (en) | Method and device for generating component template | |
| CN107909064B (en) | Three line table recognition methods, electronic equipment and storage medium | |
| TWI726268B (en) | Image information processing device, image information processing method, and recording medium for recording image information processing program | |
| CN109101297B (en) | Page identification method and device | |
| CN106227398A (en) | A kind of camera image character displaying method and device | |
| CN106874684A (en) | A kind of image labeling system and method | |
| CN103116494B (en) | Automatic test platform test output information extracting method and device | |
| AU2018100324B4 (en) | Image Analysis |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150909 |
|
| RJ01 | Rejection of invention patent application after publication |