CN110347946B - Page display method and device, computer equipment and storage medium - Google Patents

Page display method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110347946B
CN110347946B CN201910471716.2A CN201910471716A CN110347946B CN 110347946 B CN110347946 B CN 110347946B CN 201910471716 A CN201910471716 A CN 201910471716A CN 110347946 B CN110347946 B CN 110347946B
Authority
CN
China
Prior art keywords
module
page
color
information
modules
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910471716.2A
Other languages
Chinese (zh)
Other versions
CN110347946A (en
Inventor
张春妮
隋婧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201910471716.2A priority Critical patent/CN110347946B/en
Publication of CN110347946A publication Critical patent/CN110347946A/en
Application granted granted Critical
Publication of CN110347946B publication Critical patent/CN110347946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

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

Abstract

The invention discloses a page display method, a page display device, computer equipment and a storage medium, relates to the technical field of information, and mainly aims to realize automatic configuration of colors of target modules, ensure harmony of color schemes when different module combinations are displayed on a page, avoid the need of designing the color schemes of all the module combinations in advance and reduce the workload of design and development. The method comprises the following steps: sending a page display request carrying identification information of a page and user attribute information to a server, and identifying a target module with undetermined color, a plurality of modules with determined color and a neighboring module of the target module in the plurality of modules by the server according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating a page according to the target module and the modules after the color information adjustment; and receiving and displaying the page fed back by the server. The invention is suitable for page display.

Description

Page display method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of page display technologies, and in particular, to a page display method and apparatus, a computer device, and a storage medium.
Background
With the rapid development of the internet, various exhibition activities based on the internet emerge in a large number, and during the design of an activity page, the color of some modules is usually determined according to the display content, for example, the theme color of a food module is mostly warm yellow, and the theme color of a hairdressing module is mostly pink, and in order to consider the overall color collocation of the page scene, a designer usually configures corresponding colors for target modules with variable colors in the page according to the modules with determined colors. However, due to different business requirements, the number and sequence of modules in a page may change during actual display, thereby causing discordance between the colors of adjacent modules. For example, the navigation module a is arranged on the top of the page during design, the content module B is arranged below the navigation module a, and since the color of the content module B is determined by the display content of the module B, a designer configures a background color for the navigation module a that matches the theme color of the content module B, but after the display content changes, the background color of the navigation module a in the page becomes the content module C, and then the situation that the background color of the navigation module a and the theme color of the content module C are not compatible may occur.
At present, in order to solve the problem of inconsistent colors of modules in a page, color information of a target module in the page is usually designed in advance in a manual mode, if page display is realized in the mode, a designer needs to enumerate all possible combination scenes among the modules during design, and then a color scheme of each combination is formulated one by one, which is time-consuming and has huge design and development workload.
Disclosure of Invention
In view of this, the present invention provides a page display method, apparatus, computer device and storage medium, and mainly aims to achieve automatic color allocation of adjacent modules through an algorithm, ensure color scheme coordination when a page displays different module combinations, avoid designing color schemes of all module combinations in advance, and reduce design and development workload.
According to one aspect of the invention, a page display method is provided, which comprises the following steps:
sending a page acquisition request to a server, wherein the page display request carries identification information and user attribute information of a page, and the server is used for identifying a target module with undetermined color, a plurality of modules with determined color and a neighboring module of the target module in the modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment;
and receiving and displaying the page fed back by the server.
Optionally, the receiving and displaying the page fed back by the server includes:
and receiving and displaying the page fed back by the server, wherein the color information of a target module of the page is adjusted according to the color value information of the adjacent module and a preset color matching formula.
Optionally, the receiving and displaying the page fed back by the server includes:
and receiving and displaying the page fed back by the server, wherein the color information of the target module of the page is adjusted according to the color information of the adjacent module and a preset color matching table.
Optionally, the sending a page obtaining request to a server includes:
and sending a page acquisition request to a server, wherein the page display request carries page identification information, user geographical position information and/or user identity information.
Optionally, before sending the page obtaining request to the server, the method further includes:
when a display instruction of the page is received, acquiring user attribute information corresponding to the page; and generating the page acquisition request according to the user attribute information.
According to a second aspect of the present invention, there is provided a page display method, including:
receiving a page acquisition request, wherein the page acquisition request carries identification information and user attribute information of a page;
identifying a target module of undetermined color, a plurality of modules of determined color, and a neighboring module of the target module of the plurality of modules according to the identification information and the user attribute information;
adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule;
and generating and feeding back the page according to the target module and the modules after the color information is adjusted.
Optionally, the adjusting the color information of the target module according to the color information of the neighboring module and a preset color matching rule includes:
inquiring the color information of the adjacent module from the local according to the identification information of the adjacent module, wherein the identification information and the color information of the modules are stored locally;
determining color information matched with the color information of the adjacent module according to the color information of the adjacent module and a preset color matching rule;
and determining the matched color information as the color information of the target module.
Further, the determining, according to the color information of the neighboring module and a preset color matching rule, the color information matched with the color information of the neighboring module includes:
and substituting the color value information of the adjacent module into a preset color matching formula, and calculating the color value information matched with the color value information of the adjacent module.
Further, the determining, according to the color information of the neighboring module and a preset color matching rule, the color information matched with the color information of the neighboring module includes:
and inquiring color information matched with the color information of the adjacent module from a preset color matching table according to the color information of the adjacent module.
Optionally, the identifying, according to the identification information and the user attribute information, a target module of an undetermined color of the page, a plurality of modules of a determined color, and a neighboring module of the target module in the plurality of modules includes:
searching a target module with undetermined colors and a plurality of modules with determined colors of the page from local according to the identification information;
inquiring the display sequence of the modules from the local according to the user attribute information;
and determining the adjacent modules of the target module according to the display sequence.
Further, the determining the neighboring modules of the target module according to the display order includes:
if the target module is a navigation module and the plurality of modules are a plurality of content modules, determining the content module which is displayed firstly in the plurality of content modules as a neighboring module of the navigation module.
Further, the querying, according to the user attribute information, the display order of the modules from local includes:
and inquiring the display sequence of the modules from local according to the user geographical position information and/or the user identity information.
Optionally, the adjusting the color information of the target module according to the color information of the neighboring module and a preset color matching rule includes:
and adjusting the background color information and/or the icon color information of the target module according to the color information of the adjacent module and a preset color matching rule.
According to a third aspect of the present invention, there is provided a page displaying apparatus, comprising:
a sending unit, configured to send a page acquisition request to a server, where the page display request carries identification information and user attribute information of a page, and the server is configured to identify, according to the identification information and the user attribute information, a target module with an undetermined color, multiple modules with a determined color, and a neighboring module of the target module among the multiple modules of the page; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment;
a receiving unit, configured to receive the page fed back by the server;
and the display unit is used for displaying the page.
Optionally, the receiving unit is specifically configured to receive and display the page fed back by the server, and the color information of the target module of the page is adjusted according to the color value information of the neighboring module and a preset color matching formula.
The display unit is specifically configured to display the page fed back by the server.
Optionally, the receiving unit is specifically configured to receive and display the page fed back by the server, and the color information of the target module of the page is adjusted according to the color value information of the neighboring module and a preset color matching table.
The display unit is specifically configured to display the page fed back by the server.
Optionally, the sending unit is specifically configured to send a page obtaining request to a server, where the page displaying request carries page identification information, user geographic location information, and/or user identity information
Optionally, the apparatus further comprises: the acquisition unit is used for acquiring user attribute information corresponding to the page when a display instruction of the page is received;
and the generating unit is used for generating the page acquisition request according to the user attribute information.
According to a fourth aspect of the present invention, there is provided a page displaying apparatus, comprising:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a page acquisition request, and the page acquisition request carries identification information and user attribute information of a page;
an identifying unit configured to identify a target module of an undetermined color, a plurality of modules of a determined color, and a neighboring module of the target module among the plurality of modules, of the page according to the identification information and the user attribute information;
the adjusting unit is used for adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule;
and the generating unit is used for generating the page according to the target module and the modules after the color information is adjusted.
And the feedback unit is used for feeding back the page.
Optionally, the adjusting unit includes:
the first query module is used for locally querying the color information of the adjacent module, and the identification information and the color information of the modules are locally stored;
the first determining module is used for determining color information matched with the color information of the adjacent module according to the color information of the adjacent module and a preset color matching rule; and determining the matched color information as the color information of the target module.
Further, the first determining module is specifically configured to substitute the color value information of the neighboring module into a preset color matching formula, and calculate color value information matched with the color value information of the neighboring module.
Further, the first determining module is specifically configured to query, according to the color information of the neighboring module, color information that matches the color information of the neighboring module from a preset color matching table.
Optionally, the identification unit includes:
the second query module is used for locally searching an undetermined color target module and a plurality of modules with determined colors of the page according to the identification information; inquiring the display sequence of the modules from the local according to the user attribute information;
and the second determining module is used for determining the adjacent modules of the target module according to the display sequence.
Further, the second determining module is specifically configured to determine, if the target module is a navigation module and the plurality of modules are a plurality of content modules, a content module that is displayed first among the plurality of content modules as a neighboring module of the navigation module.
Further, the second query module is specifically configured to query locally a display order of the modules according to the user geographic location information and/or the user identity information.
Optionally, the adjusting unit is specifically configured to adjust the background color information and/or the icon color information of the target module according to the color information of the neighboring module and a preset color matching rule.
According to a fifth aspect of the present invention, there is provided a page display system, comprising:
the system comprises a user terminal, a server and a server, wherein the user terminal is used for sending a page acquisition request to the server, and the page acquisition request carries identification information and user attribute information of a page;
the server is used for identifying a target module with undetermined color, a plurality of modules with determined color and a neighboring module of the target module in the plurality of modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment;
and the user terminal is also used for receiving and displaying the page fed back by the server.
According to a sixth aspect of the present invention, there is provided a storage medium having a computer program stored thereon, the storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform the steps of: sending a page acquisition request to a server, wherein the page display request carries identification information and user attribute information of a page, and the server is used for identifying a target module with undetermined color, a plurality of modules with determined color and a neighboring module of the target module in the modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment;
and receiving and displaying the page fed back by the server.
According to a seventh aspect of the present invention, there is provided a computer device comprising a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus, and the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the following steps:
sending a page acquisition request to a server, wherein the page display request carries identification information and user attribute information of a page, and the server is used for identifying a target module with undetermined color, a plurality of modules with determined color and a neighboring module of the target module in the modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment;
and receiving and displaying the page fed back by the server.
According to an eighth aspect of the present invention, there is provided another storage medium having a computer program stored thereon, the storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform the steps of:
receiving a page acquisition request, wherein the page acquisition request carries identification information and user attribute information of a page;
identifying a target module of undetermined color, a plurality of modules of determined color, and a neighboring module of the target module of the plurality of modules according to the identification information and the user attribute information;
adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule;
and generating and feeding back the page according to the target module and the modules after the color information is adjusted.
According to a ninth aspect of the present invention, there is provided another computer device, comprising a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus, and the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the following steps:
receiving a page acquisition request, wherein the page acquisition request carries identification information and user attribute information of a page;
identifying a target module of undetermined color, a plurality of modules of determined color, and a neighboring module of the target module of the plurality of modules according to the identification information and the user attribute information;
adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule;
and generating and feeding back the page according to the target module and the modules after the color information is adjusted.
Compared with the prior art that the color information of a target module in a page is designed in advance in a manual mode, all possible combination scenes among the modules need to be listed during design, and color schemes of each combination are formulated one by one, the page display method and the device can send a page display request carrying identification information and user attribute information of the page to a server, and the server identifies the target module with undetermined colors, a plurality of modules with determined colors and adjacent modules of the target module in the modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment; and receiving and displaying the page fed back by the server, so that the harmony of color schemes of the page when different module combinations are displayed can be ensured, the color schemes of all the module combinations do not need to be designed in advance, and the workload of design and development can be reduced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flowchart illustrating a page display method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another page displaying method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a page module color matching scheme according to an embodiment of the present invention;
FIG. 4 illustrates a schematic diagram of a page module color matching scheme provided by the prior art;
FIG. 5 illustrates an automatic color matching flow diagram provided by an embodiment of the invention;
FIG. 6 is a schematic structural diagram of a page displaying apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of another page displaying apparatus provided in the embodiment of the present invention;
FIG. 8 is a block diagram of a computer device according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of another page displaying apparatus provided in the embodiment of the present invention;
FIG. 10 is a block diagram of another embodiment of a computer device;
fig. 11 shows a schematic structural diagram of a page display system according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As described in the background art, at present, in order to solve the problem of color dissonance of each module in a page, color information of a target module in the page is usually designed in advance in a manual manner, if page display is realized in the manner, a designer needs to list all possible combination scenes among the modules during design, and then formulate color schemes of each combination one by one, which results in long time consumption and huge design and development workload.
In order to solve the above problem, an embodiment of the present invention provides a page display method, as shown in fig. 1, the method includes:
101. and sending a page acquisition request to the server.
The page obtaining request carries identification information and user attribute information of a page, the identification information of the page may be a Uniform Resource locator (Uniform Resource locator url) of the page, the user attribute information may be user geographic location information and user identity information identified by a user terminal, and the user geographic location information may include longitude and latitude information, city information, and the like. For example, the longitude and latitude information may be (120.20000, 30.26667), (114.31667, 30.51667), etc., and the city information may be hangzhou, Chengdu, etc. The user identity information may include user occupation information, user academic information, and the like. For example, the user professional information may be students, workers, etc., and the user academic information may be colleges, presidents, etc. The page obtaining request may be a page obtaining request of an activity presentation page, and the corresponding request form may be a HyperText Transfer Protocol (HTTP).
It should be noted that the server is configured to identify, according to the identification information and the user attribute information, a target module of an undetermined color of the page, a plurality of modules of a determined color, and a neighboring module of the target module in the plurality of modules; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; and generating the page according to the target module and the modules after the color information adjustment.
The target module of the undetermined color of the page may be a module in which no display content exists in the page and the color may be configured according to the color of other modules, and specifically may be a navigation module in the page, and the navigation module may include an advertisement banner module (banner) or a navigation icon, and the like. The plurality of modules with the determined colors may be modules with subject colors determined according to display contents in the page, and specifically may be modules with display contents in the page. The neighboring module of the target module of the plurality of modules may be a colored module adjacent to an undetermined colored target module in the page, for example: when the page is displayed, the target module with undetermined color is usually a navigation module at the top of the page, and different types of content modules with determined color are immediately below the navigation module.
102. And receiving and displaying the page fed back by the server.
For the embodiment of the present invention, the user terminal receives a page code file sent by the server according to the page acquisition request, where the page code file may specifically be a HyperText Markup Language (HTML) file. The user terminal analyzes the received HTML file through a browser, renders the page according to the analyzed page content, and loads static resources under the page according to the URL of the page, so that the page is completely displayed, wherein the static resources can comprise pictures, files and the like at the appointed position of the URL of the page. The specific process of rendering the page by the browser according to the parsed page content may include: the browser analyzes the HTML file sent by the server, loads the external script and the style sheet file, analyzes and executes the external script code, and generates a node object Tree (DOM Tree) according to the page content generated after the script code is executed. And analyzing and generating a Cascading Style sheet Rule Tree (CSS Rule Tree) according to the content of the Cascading Style Sheets (CSS), generating a rendering Tree (Render Tree) according to the DOM Tree and the CSS Rule Tree, and rendering the page according to the Render Tree.
Further, in order to better explain the process of the page display method, as a refinement and an extension of the above embodiment, the embodiment of the present invention provides several alternative embodiments, but is not limited thereto, and specifically, the following embodiments are provided:
in an optional embodiment of the present invention, the step 102 may specifically include: and receiving and displaying the page fed back by the server, wherein the color information of a target module of the page is adjusted according to the color value information of the adjacent module and a preset color matching formula. The color information may be RGB values of the color, and the color information such as yellow may be expressed as: (255, 255, 0), the color information of the proximity module being recorded in the code of the proximity module. The preset color matching formula can be set by a designer according to experience of color matching design, for example: the preset color matching formula may be a complementary color matching formula, or may also be the same color matching formula, or a multiple color matching formula, and the embodiment of the present invention is not limited herein. The complementary color matching formula may be: the target module (R, G, B) ═ 255, 255 — neighboring module (R, G, B), and the same color matching formula may be: if the preset color matching formula is a complementary color matching formula, the server may first obtain color information of the neighboring module: the neighbor module (R, G, B), if the obtained neighbor module (R, G, B) is the neighbor module (255, 255, 0), the neighbor module (255, 255, 0) is substituted into the complementary color matching formula, and the target module (R, G, B) ═ 255, 255, 255 — the neighbor module (255, 255, 0) is the target module (0, 0, 255) can be obtained. The specific process of adjusting the color information of the target module may include: and the server writes the color information of the target module into the code line of the target module.
In another optional embodiment of the present invention, the step 102 may further include: and receiving and displaying the page fed back by the server, wherein the color information of the target module of the page is adjusted according to the color information of the adjacent module and a preset color matching table. The color matching table may be a spreadsheet recording color matching relationships, which may be represented by color values or color names, for example, the color matching relationships in the color matching table may be: the (244, 208, 0) corresponds to (229, 131, 8), (204, 209, 4) corresponds to (220, 131, 8), etc., and light pink corresponds to light pink and dark red corresponds to dark red, for example, the color information of the neighboring module is: a neighboring module (244, 208, 0) from which color information of the target module is derived by the color matching table as: target modules (229, 131, 8), whereby the server may adjust the target module's color according to the color matching relationships in the color matching table to: target modules (R, G, B) are target modules (229, 131, 8).
In yet another alternative embodiment of the present invention, the step 101 may specifically include: and sending a page acquisition request to a server, wherein the page display request carries page identification information, user geographical position information and/or user identity information.
In yet another alternative embodiment of the present invention, the step 101 may specifically include: when a display instruction of the page is received, acquiring user attribute information corresponding to the page; and generating the page acquisition request according to the user attribute information. The page display instruction may be triggered by a user clicking or triggering a related button or a related link in a page, for example, when the user clicks a page link, the page display instruction is triggered. The user attribute information may be stored locally in the user terminal, and when the page display instruction is received, the browser of the user terminal may call the user attribute information in the storage medium. The mode of generating the page obtaining request may be to generate a form for the browser, where the form may be used to transmit data to the server, and the code parameter of the form may include the user attribute information.
Further, correspondingly, an embodiment of the present invention provides another page display method, as shown in fig. 2, the method includes:
201. a page acquisition request is received.
The page obtaining request carries identification information and user attribute information of the page. The page obtaining request may be an active page obtaining request sent by a user terminal. The page obtaining request may be sent by the user terminal when receiving a page display instruction.
202. Identifying a target module of an undetermined color, a plurality of modules of a determined color, and a neighboring module of the target module of the plurality of modules, of the page, according to the identification information and the user attribute information.
The server can locally store identification information of different pages, target modules with undetermined colors and a plurality of modules with determined colors, and can locally store different user attribute information, and display numbers and display sequences of the modules corresponding to different user attributes. The display forms of different user attribute information corresponding to the same page are different, the display quantity and the display sequence can be set by a designer according to business requirements when the page is designed, and the embodiment of the invention is not limited herein. The color of each module of the page can be determined by whether color information corresponding to the module exists locally. When receiving a page acquisition request sent by a user terminal, the server can query a target module with undetermined colors and a plurality of modules with determined colors of the page according to identification information of the page; then, the display sequence of the modules is inquired according to the user attribute information, and the adjacent module of the target module is determined. The user attribute information is user geographical position information and/or user identity information. For example, the page requested by the user terminal is an active page 1, the geographic location information of the user is hang, and the server queries, according to the identification information of the active page 1, the target module of the undetermined color of the active page 1 as follows: the navigation module of undetermined color, the 3 content modules of the determined color are: parent-child content module, beauty content module and food content module. The server inquires the display sequence of the 3 content modules according to the geographical position information of Hangzhou, and the display sequence is as follows: the parent-child content module, the beauty content module, and the gourmet content module, the neighboring module of the navigation module with undetermined color may be the parent-child content module. If the geographic position information of the user is Shanghai: the server inquires the display sequence of the 3 content modules according to the geographical position information of Hangzhou, and the display sequence is as follows: the beauty content module-the food content module-the parent-child content module, then the neighboring module of the navigation module without color determination can be the beauty content module.
203. And adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule.
The preset color matching rule may be a rule for matching color information through a preset color matching formula, or a rule for querying a preset color matching table for matching color information, which is not limited herein. For example, if the page requested by the user terminal is the active page 1, and the neighboring module of the navigation module with an undetermined color is the parent-child content module with a determined color, the color information of the navigation module may be queried and adjusted according to the color information of the parent-child content module, the color matching formula, or the preset color matching table. For the embodiment of the invention, the harmony of the color schemes of the page when different module combinations are displayed can be ensured through the step 203, the color schemes of all the module combinations do not need to be designed in advance, and the workload of design and development can be reduced.
204. And generating and feeding back the page according to the target module and the modules after the color information is adjusted.
The specific process of the server generating and feeding back the page may include: the server generates an HTML document according to the code information corresponding to the adjusted target module and the adjacent module, and sends the HTML document to a browser of the user terminal, where the HTML document may include the code information corresponding to the adjusted target module and the adjacent module.
Further, in order to better explain the process of the page display method, as a refinement and an extension of the above embodiment, the embodiment of the present invention provides several alternative embodiments, but is not limited thereto, and specifically, the following embodiments are provided:
in an optional embodiment of the present invention, the step 203 may specifically include: inquiring the color information of the adjacent module from the local according to the identification information of the adjacent module, wherein the identification information and the color information of the modules are stored locally; determining color information matched with the color information of the adjacent module according to the color information of the adjacent module and a preset color matching rule; and determining the matched color information as the color information of the target module. For example, the 3 content modules that can locally save a page a given color are: the system comprises a parent-child content module, a beauty content module and a food content module, identification information of the parent-child content module and yellow information corresponding to the identification information, identification information of the beauty content module and pink information corresponding to the identification information, and a food content module and green information corresponding to the food content module, wherein a neighboring module corresponding to the target module is the parent-child content module, color information matched with the yellow information of the parent-child content module is determined according to the preset color matching rule, and if the matched color information is the yellow information, the color information of the target module is adjusted to be the yellow information.
In a specific application scenario, the step of determining, according to the color information of the neighboring module and a preset color matching rule, color information matched with the color information of the neighboring module may specifically include: and substituting the color value information of the adjacent module into a preset color matching formula, and calculating the color value information matched with the color value information of the adjacent module. Or inquiring color information matched with the color information of the adjacent module from a preset color matching table according to the color information of the adjacent module.
For example, the page requested by the user terminal is an active page 1, the neighboring module of the navigation module that queries the undetermined color is a parent-child content module with a determined color, the color information of the parent-child content module queried locally is yellow, and the corresponding color RGB value is (255, 255, 0), then the color information of the navigation module may be queried and adjusted according to the color information of the parent-child content module, the color matching formula or the preset color matching table, and may be blue (0, 0, 255) complementary to yellow, or may be the same color as yellow, and the preset color matching formula and the preset color matching table are mentioned in the detailed description of step 102, which is not described herein again in the embodiments of the present invention.
In another alternative embodiment of the present invention, the step 202 may specifically include: searching a target module with undetermined colors and a plurality of modules with determined colors of the page from local according to the identification information; inquiring the display sequence of the modules from the local according to the user attribute information; and determining the adjacent modules of the target module according to the display sequence. The display forms of different user attribute information corresponding to the same page are different, and specifically, the display order of the modules may be a display order from top to bottom, a display order from bottom to top, a display order from left to right, or a display order from right to left. If the target module is a module arranged at the top of the page, the adjacent modules of the target module can be determined according to the display sequence from top to bottom; if the target module is a module arranged at the bottom of the page, determining a neighboring module of the target module according to a display sequence from bottom to top; if the target module is a module arranged on the left side of the page, the adjacent modules of the target module can be determined according to the display sequence from left to right; if the target module is a module arranged on the right side of the page, the adjacent modules of the target module can be determined according to the display sequence from right to left.
In a specific application scenario, the step of determining the neighboring module of the target module according to the presentation order may specifically include: if the target module is a navigation module and the plurality of modules are a plurality of content modules, determining the content module which is displayed firstly in the plurality of content modules as a neighboring module of the navigation module. As shown in fig. 3, if the target module is a navigation module entering the main venue banner entrance at the top of the page, the modules of the active page are: a content module A corresponding to the page floor A, a content module B corresponding to the page floor B, a content module C corresponding to the page floor C, if the active page is displayed in Beijing, the content module B is preferentially displayed, the adjacent module of the navigation module is the content module B, automatically matching the color of the navigation module according to the color information of the content module B, if the activity page is displayed in Shanghai, the content module C is preferentially displayed, the adjacent module of the navigation module is the content module C, automatically matching the color of the navigation module according to the color information of the content module C, thus, coordination of the navigation module and the content module can be ensured, whereas in the prior art, as shown in fig. 4, the navigation module can only keep coordination with the content module a, when the city is switched, the color of the navigation module is not changed, so that the color of the navigation module is not consistent with the color of the content module below. As shown in fig. 5, in the embodiment of the present invention, the server can identify adjacent modules and recommend an appropriate color scheme for the modules, so that the client can display the module colors matched with the modules with the determined colors, and the user can see the harmonious module color schemes.
It should be noted that, if the user attribute information is user geographic location information and/or user identity information, the step of locally querying the display order of the modules according to the user attribute information may specifically include: and inquiring the display sequence of the modules from local according to the user geographical position information and/or the user identity information. In addition, the display quantity of the modules can be inquired locally according to the user geographic position information and/or the user identity information, and the page can be regenerated.
In yet another alternative embodiment of the present invention, the step 203 may specifically include: and adjusting the background color information and/or the icon color information of the target module according to the color information of the adjacent module and a preset color matching rule.
In a specific application scenario, the process of adjusting the color information of the target module may include: if the target module is in a banner entrance form, the server can directly adjust the background color information of the target module; if the target module is in a form of a plurality of navigation icons linked to different pages, the server may adjust color information of each navigation icon in the target module, so that the colors of the target module and the neighboring module are matched.
Further, as a specific implementation of fig. 1, an embodiment of the present invention provides a page display apparatus, which may specifically be a user terminal, and as shown in fig. 6, the apparatus includes: a transmitting unit 31, a receiving unit 32 and a presentation unit 33.
The sending unit 31 may be configured to send a page obtaining request to a server, where the page displaying request carries identification information and user attribute information of a page, and the server is configured to identify, according to the identification information and the user attribute information, a target module with an undetermined color, multiple modules with a fixed color, and a neighboring module of the target module among the multiple modules of the page; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment; the sending unit 31 is a main function module in the present apparatus that sends a page acquisition request to a server, and is oriented to the server.
The receiving unit 32 may be configured to receive the page fed back by the server; the receiving unit 32 is a main functional module of the device that receives the page fed back by the server.
The display unit 33 may be configured to display the page. The display unit 33 is a main functional module for displaying the page in the device, and is also a core module.
In a specific application scenario, the receiving unit 32 may be specifically configured to receive and display the page fed back by the server, where the color information of the target module of the page is adjusted according to the color value information of the neighboring module and a preset color matching formula.
The display unit 33 may be specifically configured to display the page fed back by the server.
The receiving unit 32 may be further specifically configured to receive and display the page fed back by the server, where the color information of the target module of the page is adjusted according to the color value information of the neighboring module and a preset color matching table.
The sending unit 31 may be specifically configured to send a page obtaining request to a server, where the page displaying request carries page identification information, user geographic location information, and/or user identity information
The receiving unit 32 may be further specifically configured to, when a display instruction of the page is received, obtain user attribute information corresponding to the page; and generating the page acquisition request according to the user attribute information.
For the embodiment of the present invention, in order to obtain the user attribute information corresponding to the page and generate the page obtaining request according to the user attribute information, the apparatus further includes: an acquisition unit 34 and a holding unit 35, as shown in fig. 7.
The obtaining unit 34 is configured to obtain, when a display instruction of the page is received, user attribute information corresponding to the page;
the generating unit 35 is configured to generate the page obtaining request according to the user attribute information.
It should be noted that other corresponding descriptions of the functional modules related to the page display apparatus provided in the embodiment of the present invention may refer to the corresponding description of the method shown in fig. 1, and are not described herein again.
Based on the method shown in fig. 1, correspondingly, an embodiment of the present invention further provides a storage medium, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform the following steps: sending a page acquisition request to a server, wherein the page display request carries identification information and user attribute information of a page, and the server is used for identifying a target module with undetermined color, a plurality of modules with determined color and a neighboring module of the target module in the modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment; and receiving and displaying the page fed back by the server.
Based on the above embodiments of the method shown in fig. 1 and the apparatus shown in fig. 6, the embodiment of the present invention further provides a computer device, as shown in fig. 8, including a processor (processor)41, a communication Interface (communication Interface)42, a memory (memory)43, and a communication bus 44. Wherein: the processor 41, the communication interface 42, and the memory 43 communicate with each other via a communication bus 44. A communication interface 44 for communicating with network elements of other devices, such as clients or other servers. The processor 41 is configured to execute a program, and may specifically execute relevant steps in the above-described page display method embodiment. In particular, the program may include program code comprising computer operating instructions. The processor 41 may be a central processing unit CPU or a Specific Integrated circuit asic (application Specific Integrated circuit) or one or more Integrated circuits configured to implement an embodiment of the invention.
The terminal comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs. And a memory 43 for storing a program. The memory 43 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The program may specifically be adapted to cause the processor 41 to perform the following operations: sending a page acquisition request to a server, wherein the page display request carries identification information and user attribute information of a page, and the server is used for identifying a target module with undetermined color, a plurality of modules with determined color and a neighboring module of the target module in the modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment; and receiving and displaying the page fed back by the server.
Further, as a specific implementation of fig. 2, an embodiment of the present invention provides another page displaying apparatus, as shown in fig. 9, the apparatus includes: a receiving unit 51, a recognition unit 52, an adjustment unit 53, a generation unit 54, and a feedback unit 55.
The receiving unit 51 may be configured to receive a page obtaining request, where the page obtaining request carries identification information and user attribute information of a page; the receiving unit 51 is a main function of the present apparatus for receiving a page acquisition request, and is oriented to a user terminal.
The identifying unit 52 may be configured to identify a target module of an undetermined color of the page, a plurality of modules of a determined color, and a neighboring module of the target module in the plurality of modules according to the identification information and the user attribute information; the identifying unit 52 is a main function module in the present apparatus that identifies a target module of an undetermined color of the page, a plurality of modules of a determined color, and a module adjacent to the target module among the plurality of modules, based on the identification information and the user attribute information.
The adjusting unit 53 may be configured to adjust the color information of the target module according to the color information of the neighboring module and a preset color matching rule; the determining unit 53 is a main function module in the present apparatus, which adjusts the color information of the target module according to the color information of the neighboring module and a preset color matching rule, and is also a core module.
The generating unit 54 may be configured to generate the page according to the target module and the modules after the color information adjustment. The sending unit 54 is a main function module of the device that generates the page according to the target module and the plurality of modules adjusted by the color information.
The feedback unit 55 is configured to feed back the page. The sending unit 55 is a main functional module in the present apparatus for feeding back the page.
The adjusting unit 53 includes: a first query module 531, configured to query the color information of the neighboring module locally, where the identification information and the color information of the multiple modules are stored locally.
A first determining module 532, configured to determine color information matched with the color information of the neighboring module according to the color information of the neighboring module and a preset color matching rule; and determining the matched color information as the color information of the target module.
The first determining module 532 is specifically configured to substitute the color value information of the neighboring module into a preset color matching formula, and calculate color value information matched with the color value information of the neighboring module.
The first determining module 532 is specifically configured to query, according to the color information of the neighboring module, color information that matches the color information of the neighboring module from a preset color matching table.
The identifying unit 52 includes: a second query module 521, configured to locally search, according to the identification information, a target module with an undetermined color and multiple modules with a determined color of the page; inquiring the display sequence of the modules from the local according to the user attribute information;
a second determining module 522, configured to determine neighboring modules of the target module according to the display order.
The second determining module 522 is specifically configured to determine, if the target module is a navigation module and the plurality of modules are a plurality of content modules, a content module that is displayed first among the plurality of content modules as a neighboring module of the navigation module.
The second query module 522 is further configured to query locally a display order of the modules according to the user geographic location information and/or the user identity information.
The adjusting unit 53 is specifically configured to adjust the background color information and/or the icon color information of the target module according to the color information of the neighboring module and a preset color matching rule.
It should be noted that other corresponding descriptions of the functional modules related to the page display apparatus provided in the embodiment of the present invention may refer to the corresponding description of the method shown in fig. 2, and are not described herein again.
Based on the method shown in fig. 2, correspondingly, another storage medium is further provided in an embodiment of the present invention, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform the following steps: receiving a page acquisition request, wherein the page acquisition request carries identification information and user attribute information of a page; identifying a target module of undetermined color, a plurality of modules of determined color, and a neighboring module of the target module of the plurality of modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; and generating and feeding back the page according to the target module and the modules after the color information is adjusted.
Based on the above-mentioned embodiments of the method shown in fig. 2 and the apparatus shown in fig. 9, the embodiment of the present invention further provides another computer device, as shown in fig. 10, a processor (processor)61, a communication Interface (Communications Interface)62, a memory (memory)63, and a communication bus 64. Wherein: the processor 61, the communication interface 62, and the memory 63 communicate with each other via a communication bus 64. A communication interface 64 for communicating with network elements of other devices, such as clients or other servers. The processor 61 is configured to execute a program, and may specifically execute relevant steps in the above-described page display method embodiment. In particular, the program may include program code comprising computer operating instructions. The processor 61 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement an embodiment of the invention.
The terminal comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs. And a memory 63 for storing programs. The memory 63 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The program may specifically be adapted to cause the processor 61 to perform the following operations: receiving a page acquisition request, wherein the page acquisition request carries identification information and user attribute information of a page; identifying a target module of undetermined color, a plurality of modules of determined color, and a neighboring module of the target module of the plurality of modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; and generating and feeding back the page according to the target module and the modules after the color information is adjusted.
Further, an embodiment of the present invention provides a page display system, as shown in fig. 10, where the system includes: a user terminal 71 and a server 72.
The user terminal 71 may be configured to send a page acquisition request to a server, where the page acquisition request carries identification information and user attribute information of a page;
the server 72 may be configured to identify a target module of undetermined color, a plurality of modules of a determined color, and a neighboring module of the target module of the plurality of modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment;
the user terminal 71 may be further configured to receive and display the page fed back by the server.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the method and apparatus described above are referred to one another. In addition, "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent merits of the embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in accordance with embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (31)

1. A page display method is characterized by comprising the following steps:
sending a page acquisition request to a server, wherein the page display request carries identification information and user attribute information of a page, and the server is used for identifying a target module with undetermined color, a plurality of modules with determined color and a neighboring module of the target module in the modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment;
receiving and displaying the page fed back by the server;
the target module is a navigation module, and the adjacent module of the target module is determined according to the user attribute information.
2. The method of claim 1, wherein the receiving and presenting the page of the server feedback comprises:
and receiving and displaying the page fed back by the server, wherein the color information of a target module of the page is adjusted according to the color value information of the adjacent module and a preset color matching formula.
3. The method of claim 1, wherein the receiving and presenting the page of the server feedback comprises:
and receiving and displaying the page fed back by the server, wherein the color information of the target module of the page is adjusted according to the color information of the adjacent module and a preset color matching table.
4. The method of claim 1, wherein sending a page fetch request to a server comprises:
and sending a page acquisition request to a server, wherein the page display request carries page identification information, user geographical position information and/or user identity information.
5. The method of claim 1, wherein prior to sending the page fetch request to the server, the method further comprises:
when a display instruction of the page is received, acquiring user attribute information corresponding to the page; and generating the page acquisition request according to the user attribute information.
6. A page display method is characterized by comprising the following steps:
receiving a page acquisition request, wherein the page acquisition request carries identification information and user attribute information of a page;
identifying a target module of undetermined color, a plurality of modules of determined color, and a neighboring module of the target module of the plurality of modules according to the identification information and the user attribute information; the target module is a navigation module, and a neighboring module of the target module is determined according to the user attribute information;
adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule;
and generating and feeding back the page according to the target module and the modules after the color information is adjusted.
7. The method of claim 6, wherein the adjusting the color information of the target module according to the color information of the neighboring module and a preset color matching rule comprises:
inquiring the color information of the adjacent module from the local according to the identification information of the adjacent module, wherein the identification information and the color information of the modules are stored locally;
determining color information matched with the color information of the adjacent module according to the color information of the adjacent module and a preset color matching rule;
and determining the matched color information as the color information of the target module.
8. The method according to claim 7, wherein the determining color information matching with the color information of the neighboring module according to the color information of the neighboring module and a preset color matching rule comprises:
and substituting the color value information of the adjacent module into a preset color matching formula, and calculating the color value information matched with the color value information of the adjacent module.
9. The method according to claim 7, wherein the determining color information matching with the color information of the neighboring module according to the color information of the neighboring module and a preset color matching rule comprises:
and inquiring color information matched with the color information of the adjacent module from a preset color matching table according to the color information of the adjacent module.
10. The method of claim 6, wherein identifying a target module of undetermined color, a plurality of modules of a determined color, and a neighboring module of the target module of the plurality of modules based on the identification information and the user attribute information comprises:
searching a target module with undetermined colors and a plurality of modules with determined colors of the page from local according to the identification information;
inquiring the display sequence of the modules from the local according to the user attribute information;
and determining the adjacent modules of the target module according to the display sequence.
11. The method of claim 10, wherein said determining the neighboring modules of the target module in the presentation order comprises:
if the target module is a navigation module and the plurality of modules are a plurality of content modules, determining the content module which is displayed firstly in the plurality of content modules as a neighboring module of the navigation module.
12. The method according to claim 10, wherein the user attribute information is user geographical location information and/or user identity information, and the locally querying the presentation order of the plurality of modules according to the user attribute information comprises:
and inquiring the display sequence of the modules from local according to the user geographical position information and/or the user identity information.
13. The method of claim 6, wherein the adjusting the color information of the target module according to the color information of the neighboring module and a preset color matching rule comprises:
and adjusting the background color information and/or the icon color information of the target module according to the color information of the adjacent module and a preset color matching rule.
14. A page display apparatus, comprising:
a sending unit, configured to send a page acquisition request to a server, where the page display request carries identification information and user attribute information of a page, and the server is configured to identify, according to the identification information and the user attribute information, a target module with an undetermined color, multiple modules with a determined color, and a neighboring module of the target module among the multiple modules of the page; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment;
a receiving unit, configured to receive the page fed back by the server;
the display unit is used for displaying the page;
the target module is a navigation module, and the adjacent module of the target module is determined according to the user attribute information.
15. The apparatus of claim 14,
the receiving unit is specifically configured to receive and display the page fed back by the server, and color information of a target module of the page is adjusted according to color value information of the neighboring module and a preset color matching formula;
the display unit is specifically configured to display the page fed back by the server.
16. The apparatus of claim 14,
the receiving unit is specifically configured to receive and display the page fed back by the server, and color information of a target module of the page is adjusted according to the color value information of the neighboring module and a preset color matching table;
the display unit is specifically configured to display the page fed back by the server.
17. The apparatus of claim 14,
the sending unit is specifically configured to send a page obtaining request to a server, where the page displaying request carries page identification information, user geographical location information, and/or user identity information.
18. The apparatus of claim 14, further comprising:
the acquisition unit is used for acquiring user attribute information corresponding to the page when a display instruction of the page is received;
and the generating unit is used for generating the page acquisition request according to the user attribute information.
19. A page display apparatus, comprising:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a page acquisition request, and the page acquisition request carries identification information and user attribute information of a page;
an identifying unit configured to identify a target module of an undetermined color, a plurality of modules of a determined color, and a neighboring module of the target module among the plurality of modules, of the page according to the identification information and the user attribute information; the target module is a navigation module, and a neighboring module of the target module is determined according to the user attribute information;
the adjusting unit is used for adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule;
the generating unit is used for generating the page according to the target module and the modules after the color information adjustment;
and the feedback unit is used for feeding back the page.
20. The apparatus of claim 19, wherein the adjusting unit comprises:
the first query module is used for locally querying the color information of the adjacent module, and the identification information and the color information of the modules are locally stored;
the first determining module is used for determining color information matched with the color information of the adjacent module according to the color information of the adjacent module and a preset color matching rule; and determining the matched color information as the color information of the target module.
21. The apparatus of claim 20,
the first determining module is specifically configured to substitute the color value information of the neighboring module into a preset color matching formula, and calculate color value information matched with the color value information of the neighboring module.
22. The apparatus of claim 20,
the first determining module is specifically configured to query, according to the color information of the neighboring module, color information that matches the color information of the neighboring module from a preset color matching table.
23. The apparatus of claim 19, wherein the identification unit comprises:
the second query module is used for locally searching an undetermined color target module and a plurality of modules with determined colors of the page according to the identification information; inquiring the display sequence of the modules from the local according to the user attribute information;
and the second determining module is used for determining the adjacent modules of the target module according to the display sequence.
24. The apparatus of claim 23,
the second determining module is specifically configured to determine, if the target module is a navigation module and the plurality of modules are a plurality of content modules, a content module that is displayed first among the plurality of content modules as a neighboring module of the navigation module.
25. The apparatus of claim 23,
the second query module is specifically further configured to query the display order of the modules locally according to the user geographic location information and/or the user identity information.
26. The apparatus of claim 19,
the adjusting unit is specifically configured to adjust the background color information and/or the icon color information of the target module according to the color information of the neighboring module and a preset color matching rule.
27. A page presentation system, comprising:
the system comprises a user terminal, a server and a server, wherein the user terminal is used for sending a page acquisition request to the server, and the page acquisition request carries identification information and user attribute information of a page;
the server is used for identifying a target module with undetermined color, a plurality of modules with determined color and a neighboring module of the target module in the plurality of modules according to the identification information and the user attribute information; adjusting the color information of the target module according to the color information of the adjacent module and a preset color matching rule; generating the page according to the target module and the modules after the color information adjustment;
the user terminal is also used for receiving and displaying the page fed back by the server;
the target module is a navigation module, and the adjacent module of the target module is determined according to the user attribute information.
28. A storage medium having a computer program stored thereon, the storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the page presentation method according to any one of claims 1 to 5.
29. A computer device, comprising a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus, and the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the page display method according to any one of claims 1-5.
30. A storage medium having a computer program stored thereon, the storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the page presentation method according to any one of claims 6 to 13.
31. A computer device, comprising a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus, and the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the page display method according to any one of claims 6-13.
CN201910471716.2A 2019-05-31 2019-05-31 Page display method and device, computer equipment and storage medium Active CN110347946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910471716.2A CN110347946B (en) 2019-05-31 2019-05-31 Page display method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910471716.2A CN110347946B (en) 2019-05-31 2019-05-31 Page display method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110347946A CN110347946A (en) 2019-10-18
CN110347946B true CN110347946B (en) 2021-05-28

Family

ID=68174141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910471716.2A Active CN110347946B (en) 2019-05-31 2019-05-31 Page display method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110347946B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110889073B (en) * 2019-11-21 2024-01-12 掌阅科技股份有限公司 Page request response method, server and computer storage medium
CN111694629A (en) * 2020-05-28 2020-09-22 北京字节跳动网络技术有限公司 Information display method and device and electronic equipment
CN112509090A (en) * 2020-12-07 2021-03-16 北京达佳互联信息技术有限公司 Method, device, storage medium and computer program product for generating identification
CN112560076B (en) * 2021-02-23 2021-05-18 浙江口碑网络技术有限公司 Program page display method and device, computer equipment and readable storage medium
CN113191822B (en) * 2021-05-20 2024-05-03 口碑(上海)信息技术有限公司 Color-based object pushing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006092067A (en) * 2004-09-22 2006-04-06 Fuji Xerox Co Ltd Information processor
CN106066756A (en) * 2013-11-27 2016-11-02 青岛海信电器股份有限公司 The interface creating method of terminal and device
CN106126255A (en) * 2016-06-30 2016-11-16 北京奇虎科技有限公司 The method of adjustment of the background colour of the title of picture plate and device
CN106598374A (en) * 2015-10-14 2017-04-26 腾讯科技(深圳)有限公司 Color transition method and device for interface
CN109614545A (en) * 2018-11-13 2019-04-12 阿里巴巴集团控股有限公司 Page loading method, device and equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140122991A1 (en) * 2012-03-25 2014-05-01 Imc Technologies Sa Fast annotation of electronic content and mapping of same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006092067A (en) * 2004-09-22 2006-04-06 Fuji Xerox Co Ltd Information processor
CN106066756A (en) * 2013-11-27 2016-11-02 青岛海信电器股份有限公司 The interface creating method of terminal and device
CN106598374A (en) * 2015-10-14 2017-04-26 腾讯科技(深圳)有限公司 Color transition method and device for interface
CN106126255A (en) * 2016-06-30 2016-11-16 北京奇虎科技有限公司 The method of adjustment of the background colour of the title of picture plate and device
CN109614545A (en) * 2018-11-13 2019-04-12 阿里巴巴集团控股有限公司 Page loading method, device and equipment

Also Published As

Publication number Publication date
CN110347946A (en) 2019-10-18

Similar Documents

Publication Publication Date Title
CN110347946B (en) Page display method and device, computer equipment and storage medium
CN107809492B (en) Method and system for generating shared information
AU2016231488B2 (en) Index configuration for searchable data in network
EP3089055B1 (en) Method and device for displaying information flows in social network, and server
WO2018077046A1 (en) Method and apparatus for providing information
CN107273290B (en) A/B test method and device for page service
CN105843814A (en) Method, device, and system for generating page
CN105786207B (en) Data inputting method and device
US9047326B2 (en) Index configuration for searchable data in network
CN110245069A (en) The methods of exhibiting and device of the test method and device of page versions, the page
JP2009181468A (en) Image search log collection system, image search log collection method and program
CN105867714A (en) Application downloading method, apparatus and system
CN110557284A (en) data aggregation method and device based on client gateway
CN106469183A (en) Page rendering method and device, page data processing method and client
CN111274516B (en) Page display method, page configuration method and device
AU2015355240A1 (en) Navigation control for network clients
CN112256363A (en) Application page rendering method and device and electronic equipment
CN108958855B (en) Page jump method, device and system
CN113934559B (en) Application program query method, device, equipment and storage medium
CA2779704A1 (en) Highlighting guest reviews
US10339195B2 (en) Navigation control for network clients
CN103379163B (en) A kind of defining method of business object and determining device
US9396259B1 (en) Capture of web application state
CN110515929B (en) Book display method, computing device and storage medium
TW201627880A (en) Service searching system and method

Legal Events

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