CN113468451A - Page display method and device - Google Patents
Page display method and device Download PDFInfo
- Publication number
- CN113468451A CN113468451A CN202110796146.1A CN202110796146A CN113468451A CN 113468451 A CN113468451 A CN 113468451A CN 202110796146 A CN202110796146 A CN 202110796146A CN 113468451 A CN113468451 A CN 113468451A
- Authority
- CN
- China
- Prior art keywords
- user
- client
- data
- page display
- display data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000013507 mapping Methods 0.000 claims abstract description 21
- 238000001914 filtration Methods 0.000 claims abstract description 11
- 238000005215 recombination Methods 0.000 claims abstract description 10
- 230000006798 recombination Effects 0.000 claims abstract description 10
- 238000004590 computer program Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
Abstract
The invention relates to the technical field of page display, and discloses a page display method and a page display device, wherein the method comprises the following steps: receiving a page display request sent by a client, wherein the page display request comprises a user tag of a user to which the client belongs; obtaining target display data of a user label of a user to which a client belongs according to a preset mapping rule of the user label and the display data; acquiring registration data of a user to which a client belongs and a preset processing rule, wherein the preset processing rule comprises data filtering and/or data recombination; determining page display data to be displayed by the client according to the corresponding relation among the registration data, the preset processing rule and the target display data of the user to which the client belongs; and transmitting the page display data to the client for page display. The invention is convenient for displaying the interface content. The flexibility of page display is improved.
Description
Technical Field
The invention relates to the technical field of page display, in particular to a page display method and device.
Background
In an application program of the mobile terminal, content display is carried out through a display interface of the mobile terminal, and when the content display is required to be changed or the sequence of the content display is required to be changed, a edition is required to be re-issued. For example, in a display interface of an application, a user is required to fill in personal information, the personal information includes a name, a mailbox, a work experience, a study history and a living city, and if a birth date is added to the display content, the display content needs to be re-published, so that the flexibility is poor.
Therefore, how to provide a page display method and device to facilitate the display of interface content becomes an urgent technical problem to be solved.
Disclosure of Invention
The technical problem to be solved by the invention is how to provide a page display method and device to facilitate the display of interface contents.
Therefore, according to a first aspect, an embodiment of the present invention discloses a page display method, including: receiving a page display request sent by a client, wherein the page display request comprises a user tag of a user to which the client belongs; obtaining target display data of a user label of a user to which the client belongs according to a preset mapping rule of the user label and the display data; the determining, according to a preset mapping rule of the user tag and the display data, target display data of the user tag of the user to which the client belongs specifically includes: acquiring registration data of the user according to the user label; determining the user category of the user according to the registration data of the user; configuring display data based on the user category of the user and a preset mapping rule, and determining the display data as target display data of the user; acquiring registration data and a preset processing rule of a user to which the client belongs, wherein the preset processing rule comprises data filtering and/or data recombination; determining page display data to be displayed by the client according to the corresponding relation among the registration data of the user to which the client belongs, the preset processing rule and the target display data; and transmitting the page display data to a client for page display.
Optionally, before receiving the page display request sent by the client, the method further includes: receiving identity information of a user acquired by a client; comparing the identity information of the user with pre-stored registration information of the user identity to generate an authentication result; and sending the authentication result to the client and logging in the client.
Optionally, the registration data includes a client system type, a client system version, and registration information.
Optionally, the method further includes, before determining page display data to be displayed at the client and transmitting the page display data to the client for page display according to the registration data of the user to which the client belongs, the preset processing rule, and the target display data, further including: and analyzing the page display data based on a preset analysis protocol.
According to a second aspect, an embodiment of the present invention discloses a page display apparatus, including: the system comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a page display request sent by a client, and the page display request comprises a user tag of a user to which the client belongs; the obtaining module is used for obtaining target display data of the user label of the user to which the client belongs according to a preset mapping rule of the user label and the display data; the acquisition module is used for acquiring registration data of a user to which the client belongs and a preset processing rule, wherein the preset processing rule comprises data filtering and/or data recombination; the determining module is used for determining page display data to be displayed by the client according to the corresponding relation among the registration data of the user to which the client belongs, the preset processing rule and the target display data; and the display module is used for transmitting the page display data to a client for page display.
Optionally, the method further comprises: the information module is used for receiving the identity information of the user acquired by the client; the comparison module is used for comparing the identity information of the user with pre-stored registration information of the user identity to generate an authentication result; and the login module is used for sending the authentication result to the client and logging in the client.
Optionally, the obtaining module includes: the acquisition unit is used for acquiring the registration data of the user according to the user label; the determining unit is used for determining the user category of the user according to the registration data of the user; and the configuration unit is used for configuring display data based on the user category of the user and a preset mapping rule, and determining the display data as target display data of the user.
According to a third aspect, an embodiment of the present invention discloses a computer apparatus, including a processor, where the processor is configured to execute a computer program stored in a memory to implement the page display method of any one of the first aspect.
According to a fourth aspect, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, where a processor is configured to execute the computer program stored in the storage medium to implement the page display method of any one of the above first aspects.
The invention has the following beneficial effects: the page display method disclosed by the embodiment of the invention receives a page display request sent by a client, wherein the page display request comprises a user tag of a user to which the client belongs; obtaining target display data of a user label of a user to which a client belongs according to a preset mapping rule of the user label and the display data; acquiring registration data of a user to which a client belongs and a preset processing rule, wherein the preset processing rule comprises data filtering and/or data recombination; determining page display data to be displayed by the client according to the corresponding relation among the registration data, the preset processing rule and the target display data of the user to which the client belongs; and transmitting the page display data to the client for page display. Compared with the prior art, the method and the device are convenient for displaying the interface content. The flexibility of page display is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart of a page display method disclosed in the present embodiment;
FIG. 2 is a schematic structural diagram of a page displaying apparatus disclosed in this embodiment;
fig. 3 is a schematic structural diagram of another page displaying apparatus disclosed in this embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention discloses a page display method, as shown in figure 1, comprising the following steps:
step S101, receiving a page display request sent by a client, wherein the page display request comprises a user tag of a user to which the client belongs;
step S102, obtaining target display data of a user label of a user to which a client belongs according to a preset mapping rule of the user label and the display data; step S102 specifically includes: acquiring registration data of a user according to the user label; determining the user category of the user according to the registration data of the user; configuring display data based on the user category of the user and a preset mapping rule, and determining the display data as target display data of the user; in a specific implementation process, presetting a mapping rule as an actual mapping relation between a user tag and display data, and extracting target display data of the user tag of a client to which a client belongs from the display data according to the user tag;
step S103, acquiring registration data of a user to which a client belongs and a preset processing rule, wherein the preset processing rule comprises data filtering and/or data recombination;
step S104, determining page display data to be displayed by the client according to the corresponding relation among the registration data of the user to which the client belongs, the preset processing rule and the target display data;
step S105, transmitting the page display data to the client for page display.
It should be noted that, in the page display method disclosed in the embodiment of the present invention, a page display request sent by a client is received, where the page display request includes a user tag of a user to which the client belongs; obtaining target display data of a user label of a user to which a client belongs according to a preset mapping rule of the user label and the display data; acquiring registration data of a user to which a client belongs and a preset processing rule, wherein the preset processing rule comprises data filtering and/or data recombination; determining page display data to be displayed by the client according to the corresponding relation among the registration data, the preset processing rule and the target display data of the user to which the client belongs; and transmitting the page display data to the client for page display. Compared with the prior art, the method and the device are convenient for displaying the interface content. The flexibility of page display is improved.
In an optional embodiment, before step S101, the method further includes:
receiving identity information of a user acquired by a client;
comparing the identity information of the user with pre-stored registration information of the user identity to generate an authentication result;
and sending the authentication result to the client and logging in the client.
In a specific implementation, the registration data includes a client system type, a client system version, and registration information.
In an optional embodiment, between step S104 and step S105, the method further includes:
and analyzing the page display data based on a preset analysis protocol.
The embodiment of the invention discloses a page display device, as shown in fig. 2, comprising:
a receiving module 201, configured to receive a page display request sent by a client, where the page display request includes a user tag of a user to which the client belongs;
an obtaining module 202, configured to obtain target display data of a user tag of a user to which a client belongs according to a preset mapping rule of the user tag and the display data;
the acquiring module 203 is configured to acquire registration data of a user to which the client belongs and a preset processing rule, where the preset processing rule includes data filtering and/or data reassembly;
the determining module 204 is configured to determine, according to a corresponding relationship between registration data of a user to which the client belongs, a preset processing rule, and target display data, page display data to be displayed by the client;
and the presentation module 205 is configured to transmit the page presentation data to the client for page presentation.
In an alternative embodiment, as shown in fig. 3, the method further includes:
an information module 206, configured to receive identity information of a user acquired by a client;
a comparison module 207, configured to compare the identity information of the user with pre-stored registration information of the user identity, and generate an authentication result;
and the login module 208 is configured to send the authentication result to the client and log in the client.
In an alternative embodiment, the obtaining module 202 includes:
the acquisition unit is used for acquiring the registration data of the user according to the user label;
the determining unit is used for determining the user category of the user according to the registration data of the user;
and the configuration unit is used for configuring the display data based on the user category of the user and a preset mapping rule, and determining the display data as target display data of the user.
In addition, an embodiment of the present invention further provides a computer apparatus, where a processor executes computer instructions, so as to implement the following method:
receiving a page display request sent by a client, wherein the page display request comprises a user tag of a user to which the client belongs; obtaining target display data of a user label of a user to which a client belongs according to a preset mapping rule of the user label and the display data; acquiring registration data of a user to which a client belongs and a preset processing rule, wherein the preset processing rule comprises data filtering and/or data recombination; determining page display data to be displayed by the client according to the corresponding relation among the registration data, the preset processing rule and the target display data of the user to which the client belongs; and transmitting the page display data to the client for page display.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like. The computer processor is used to execute a computer program stored in a storage medium to implement the following method:
receiving a page display request sent by a client, wherein the page display request comprises a user tag of a user to which the client belongs; obtaining target display data of a user label of a user to which a client belongs according to a preset mapping rule of the user label and the display data; acquiring registration data of a user to which a client belongs and a preset processing rule, wherein the preset processing rule comprises data filtering and/or data recombination; determining page display data to be displayed by the client according to the corresponding relation among the registration data, the preset processing rule and the target display data of the user to which the client belongs; and transmitting the page display data to the client for page display.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. These should also be construed as the scope of the present invention, and they should not be construed as affecting the effectiveness of the practice of the present invention or the applicability of the patent. And are neither required nor exhaustive of all embodiments. The scope of the claims of the present application shall be determined by the contents of the claims, and the description of the embodiments and the like in the specification shall be used to explain the contents of the claims. And obvious variations or modifications therefrom are within the scope of the invention.
Claims (9)
1. A page display method is characterized by comprising the following steps:
receiving a page display request sent by a client, wherein the page display request comprises a user tag of a user to which the client belongs;
obtaining target display data of a user label of a user to which the client belongs according to a preset mapping rule of the user label and the display data; the determining, according to a preset mapping rule of the user tag and the display data, target display data of the user tag of the user to which the client belongs specifically includes: acquiring registration data of the user according to the user label; determining the user category of the user according to the registration data of the user; configuring display data based on the user category of the user and a preset mapping rule, and determining the display data as target display data of the user;
acquiring registration data and a preset processing rule of a user to which the client belongs, wherein the preset processing rule comprises data filtering and/or data recombination;
determining page display data to be displayed by the client according to the corresponding relation among the registration data of the user to which the client belongs, the preset processing rule and the target display data;
and transmitting the page display data to a client for page display.
2. The page display method according to claim 1, wherein before receiving the page display request sent by the client, the method further comprises:
receiving identity information of a user acquired by a client;
comparing the identity information of the user with pre-stored registration information of the user identity to generate an authentication result;
and sending the authentication result to the client and logging in the client.
3. The page presentation method of claim 1, wherein said registration data comprises a client system type, a client system version, and registration information.
4. The page display method according to claim 1, wherein the step of determining page display data to be displayed at the client and the step of transmitting the page display data to the client for page display according to the registration data of the user to which the client belongs, the preset processing rule and the target display data further comprises:
and analyzing the page display data based on a preset analysis protocol.
5. A page display apparatus, comprising:
the system comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a page display request sent by a client, and the page display request comprises a user tag of a user to which the client belongs;
the obtaining module is used for obtaining target display data of the user label of the user to which the client belongs according to a preset mapping rule of the user label and the display data;
the acquisition module is used for acquiring registration data of a user to which the client belongs and a preset processing rule, wherein the preset processing rule comprises data filtering and/or data recombination;
the determining module is used for determining page display data to be displayed by the client according to the corresponding relation among the registration data of the user to which the client belongs, the preset processing rule and the target display data;
and the display module is used for transmitting the page display data to a client for page display.
6. The page display apparatus of claim 5, further comprising:
the information module is used for receiving the identity information of the user acquired by the client;
the comparison module is used for comparing the identity information of the user with pre-stored registration information of the user identity to generate an authentication result;
and the login module is used for sending the authentication result to the client and logging in the client.
7. The page displaying apparatus according to claim 5, wherein said obtaining module comprises:
the acquisition unit is used for acquiring the registration data of the user according to the user label;
the determining unit is used for determining the user category of the user according to the registration data of the user;
and the configuration unit is used for configuring display data based on the user category of the user and a preset mapping rule, and determining the display data as target display data of the user.
8. A computer arrangement comprising a processor for executing a computer program stored in a memory to implement the page presentation method of any one of claims 1 to 4.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that a processor is configured to execute the computer program stored in the storage medium to implement the page presentation method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110796146.1A CN113468451A (en) | 2021-07-14 | 2021-07-14 | Page display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110796146.1A CN113468451A (en) | 2021-07-14 | 2021-07-14 | Page display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113468451A true CN113468451A (en) | 2021-10-01 |
Family
ID=77878505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110796146.1A Pending CN113468451A (en) | 2021-07-14 | 2021-07-14 | Page display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113468451A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114329164A (en) * | 2021-12-31 | 2022-04-12 | 北京百度网讯科技有限公司 | Method, apparatus, device, medium and product for processing data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109492884A (en) * | 2018-10-25 | 2019-03-19 | 平安科技(深圳)有限公司 | Close rule risk information methods of exhibiting, device, computer equipment and storage medium |
CN110046022A (en) * | 2019-05-23 | 2019-07-23 | 上海上湖信息技术有限公司 | A kind of page display method, device, equipment and medium |
CN110516147A (en) * | 2019-07-22 | 2019-11-29 | 平安科技(深圳)有限公司 | Page data generation method, device, computer equipment and storage medium |
CN111611515A (en) * | 2020-04-11 | 2020-09-01 | 上海淇玥信息技术有限公司 | Page display method and device and electronic equipment |
WO2021003956A1 (en) * | 2019-07-05 | 2021-01-14 | 深圳壹账通智能科技有限公司 | Product information management method, apparatus and device, and storage medium |
-
2021
- 2021-07-14 CN CN202110796146.1A patent/CN113468451A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109492884A (en) * | 2018-10-25 | 2019-03-19 | 平安科技(深圳)有限公司 | Close rule risk information methods of exhibiting, device, computer equipment and storage medium |
CN110046022A (en) * | 2019-05-23 | 2019-07-23 | 上海上湖信息技术有限公司 | A kind of page display method, device, equipment and medium |
WO2021003956A1 (en) * | 2019-07-05 | 2021-01-14 | 深圳壹账通智能科技有限公司 | Product information management method, apparatus and device, and storage medium |
CN110516147A (en) * | 2019-07-22 | 2019-11-29 | 平安科技(深圳)有限公司 | Page data generation method, device, computer equipment and storage medium |
CN111611515A (en) * | 2020-04-11 | 2020-09-01 | 上海淇玥信息技术有限公司 | Page display method and device and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114329164A (en) * | 2021-12-31 | 2022-04-12 | 北京百度网讯科技有限公司 | Method, apparatus, device, medium and product for processing data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109462632B (en) | Page jump method, page jump device, computer equipment and computer readable storage medium | |
CN110851818B (en) | Verification code display method and device, computer equipment and readable storage medium | |
US11244153B2 (en) | Method and apparatus for processing information | |
CN104680463B (en) | Information processing method and terminal | |
CN110781013A (en) | Gray scale publishing method, device, equipment and medium | |
CN112615873B (en) | Internet of things equipment safety detection method, equipment, storage medium and device | |
CN111513678A (en) | Skin management method and device based on beauty instrument and computer readable storage medium | |
CN111107064B (en) | Terminal equipment identification method, device, equipment and readable storage medium | |
CN113468451A (en) | Page display method and device | |
CN110336791B (en) | Method, device and equipment for transmitting breakpoint data and computer storage medium | |
CN107832342B (en) | Robot chatting method and system | |
CN111061637B (en) | Interface testing method, interface testing device and storage medium | |
CN107330087B (en) | Page file generation method and device | |
CN109600738B (en) | User information updating method, device, equipment and storage medium | |
CN109951549B (en) | Network page access method and device and computer readable storage medium | |
CN110933070A (en) | User identification method, system, equipment and computer readable storage medium | |
CN107483294B (en) | Method and device for monitoring network request | |
CN111767544B (en) | Multi-frequency replay attack vulnerability determination method, device, equipment and readable storage medium | |
CN111107080B (en) | Error information pushing method, device and equipment and readable storage medium | |
CN109768921B (en) | Data transparent transmission method and corresponding instant communication terminal | |
CN103279754A (en) | Business card cloud identification method and system | |
CN109977169B (en) | Data synchronization method, device, computer readable storage medium and system | |
CN114648410A (en) | Stock staring method, apparatus, system, device and medium | |
CN110602655B (en) | Short message-based equipment communication address modification method and device and readable storage medium | |
CN111045720A (en) | Code management method, code management system, server, and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20211001 |