CN108763551B - Page rendering method, device, server and computer readable storage medium - Google Patents

Page rendering method, device, server and computer readable storage medium Download PDF

Info

Publication number
CN108763551B
CN108763551B CN201810554331.8A CN201810554331A CN108763551B CN 108763551 B CN108763551 B CN 108763551B CN 201810554331 A CN201810554331 A CN 201810554331A CN 108763551 B CN108763551 B CN 108763551B
Authority
CN
China
Prior art keywords
page
information
modules
filling
structure information
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
CN201810554331.8A
Other languages
Chinese (zh)
Other versions
CN108763551A (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.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201810554331.8A priority Critical patent/CN108763551B/en
Publication of CN108763551A publication Critical patent/CN108763551A/en
Application granted granted Critical
Publication of CN108763551B publication Critical patent/CN108763551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the specification discloses a page rendering method, a page rendering device, a server and a computer readable storage medium, and relates to the technical field of Internet. The method comprises the following steps: acquiring a page display requirement according to a user request; matching the page display requirement with the release information of the page structure information to obtain successfully matched page structure information, wherein the page structure information comprises modules of various types required by forming a page, filling blocks corresponding to the modules of various types and release information; creating a page according to the acquired page structure information; and transmitting the created page to a client initiating the user request for display.

Description

Page rendering method, device, server and computer readable storage medium
Technical Field
Embodiments of the present disclosure relate to the field of internet technologies, and in particular, to a page rendering method, an apparatus, a server, and a computer-readable storage medium.
Background
At present, in the prior art, in the process of page dynamic rendering, different business logic is selected according to different user requests, and different templates can be selected for rendering according to different business logic. Rendering templates are typically stored in a persistent layer, such as a database, in xml. When the user request comes, rendering is performed from top to bottom according to different xml templates so as to achieve the purpose of dynamic pages.
Therefore, there is a need in the art for a solution that can not affect the rendering of pages in an online environment.
Disclosure of Invention
An embodiment of the present specification aims to provide a page rendering method, a page rendering device, a server, and a computer-readable storage medium, where before a page is published to a client for display, the page is rendered based on page structure information to create a page, and the page is published to the client for display to implement dynamic display of an online page, that is, a page rendering process is performed before the page display takes effect, so that decoupling of a page rendering logic and front-end display is implemented, the online environment is not affected in the page rendering process, and even if an error occurs in the page rendering process, the online environment is not affected, and defects caused by modification of an xml template in the prior art are avoided. The page structure information matched with the page display requirement is acquired based on the page display requirement requested by the user, so that the page can be created in a targeted manner based on the page display requirement, and different pages can be displayed according to different page display requirements.
The page rendering method, the page rendering device, the server and the computer-readable storage medium provided by the embodiments of the present specification are implemented in the following ways:
a method of page rendering, the method comprising:
acquiring a page display requirement according to a user request;
matching the page display requirement with the release information of the page structure information to obtain successfully matched page structure information, wherein the page structure information comprises modules of various types required by forming a page, filling blocks corresponding to the modules of various types and release information;
creating a page according to the acquired page structure information;
and transmitting the created page to a client initiating the user request for display.
A page rendering apparatus, the apparatus comprising:
the demand acquisition module is used for acquiring page display demands according to user requests;
the page information acquisition module is used for matching the page display requirement with the delivery information of the page structure information to acquire one piece of page structure information which is successfully matched, wherein the page structure information comprises various types of modules required by forming a page, filling blocks corresponding to the various types of modules and the delivery information;
the page creating module is used for creating a page according to the acquired page structure information;
and the page publishing module is used for transmitting the created page to the client initiating the user request for display.
A server comprising a processor and a memory for storing processor-executable instructions that when executed by the processor implement:
acquiring a page display requirement according to a user request;
matching the page display requirement with the release information of the page structure information to obtain successfully matched page structure information, wherein the page structure information comprises modules of various types required by forming a page, filling blocks corresponding to the modules of various types and release information;
creating a page according to the acquired page structure information;
and transmitting the created page to a client initiating the user request for display.
A computer-readable storage medium having computer instructions stored thereon for performing:
acquiring a page display requirement according to a user request;
matching the page display requirement with the release information of the page structure information to obtain successfully matched page structure information, wherein the page structure information comprises modules of various types required by forming a page, filling blocks corresponding to the modules of various types and release information;
creating a page according to the acquired page structure information;
and transmitting the created page to a client initiating the user request for display.
According to the page rendering method, the page rendering device, the server and the computer-readable storage medium provided by the embodiments of the present specification, before the page is published to the client for display, the page is rendered based on the page structure information to create the page, and the page is published to the client for display to realize the dynamic display of the online page, that is, the page rendering process is performed before the page display becomes effective, so that the decoupling of the page rendering logic and the front-end display is realized, the online environment is not affected in the page rendering process, the online environment is not affected even if the page rendering process is mistaken, and the defect caused by modifying the xml template in the prior art is avoided. Meanwhile, the page creating process is to acquire corresponding page structure information based on the page display requirement, the page structure information can be preset and stored through a background management system, when a user request is received, the page structure information matched with the page display requirement is directly acquired, a page is created based on the acquired page structure information, and finally, the created page is input to a client initiating the user request to be displayed, so that the online effect of the page is realized. Therefore, the page rendering process can be realized in the background, the decoupling with the front-end display is realized, and meanwhile, the page structure information matched with the page display requirement is acquired based on the page display requirement requested by the user, so that the page can be created in a targeted manner based on the page display requirement, and the display of different pages according to different page display requirements is facilitated.
In order to make the aforementioned and other objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a flow chart of a page rendering method provided in the present specification;
FIG. 2 is a schematic view of a page frame provided herein;
FIG. 3 is a schematic diagram of a process for implementing page rendering by a client interacting with a platform server provided by the present specification;
FIG. 4 is a block diagram of a server hardware architecture for rendering pages provided by the present specification;
fig. 5 is a schematic structural diagram of a page rendering apparatus provided in this specification.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The principles and spirit of the present application are explained in detail below with reference to several representative embodiments of the present application.
Although the present application provides method operational steps or apparatus configurations as illustrated in the following examples or figures, more or fewer operational steps or modular units may be included in the methods or apparatus based on conventional or non-inventive efforts. In the case of steps or structures which do not logically have the necessary cause and effect relationship, the execution sequence of the steps or the module structure of the apparatus is not limited to the execution sequence or the module structure shown in the embodiment or the drawings of the present application. The described methods or modular structures, when applied in an actual device or end product, may be executed sequentially or in parallel according to embodiments or the methods or modular structures shown in the figures.
One embodiment provided by the present specification can be applied to a system architecture of a client and a server. The client can comprise terminal equipment which is used by a user and has a communication function with a remote server, such as a smart phone, a tablet computer, an intelligent wearable device and the like. The server may include a server of an information service platform, and in other implementation scenarios, the server may also include a server of an intermediate platform, for example, a server of a third-party information platform having a communication link with the server of the information service platform. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed system.
In a specific embodiment, as shown in fig. 1, in an embodiment of a page rendering method provided in this specification, the method may include:
step 102: acquiring a page display requirement according to a user request;
step 104: matching the page display requirement with the release information of the page structure information to obtain successfully matched page structure information, wherein the page structure information comprises modules of various types required by forming a page, filling blocks corresponding to the modules of various types and release information;
step 106: creating a page according to the acquired page structure information;
step 108: and transmitting the created page to a client initiating the user request for display.
In an embodiment of the application, when the page display requirement is successfully matched with the plurality of release information, one piece of page structure information with modification time closest to the current time is obtained from the successfully matched page structure information.
In one or more embodiments of the present specification, the types of modules (e.g., an advertisement module, a product presentation module, etc., a plurality of modules for presenting different types of data) included in the page structure information, which are required to compose a page, are used to form a frame of the page, and as shown in fig. 2, the frame of the page may be formed of a plurality of different types of modules. The modules do not contain specific content, each type of module can correspond to a plurality of filling blocks, the filling blocks need to be filled into the modules when a page is created, the modules of the same type can only be filled with one filling block at the same time, the modules in the page frame are displayed only under the condition that the filling blocks are filled and the filling blocks can finally acquire data, and otherwise, the modules are not displayed.
In one or more embodiments of the present specification, to implement creation of a page, in this embodiment, the page structure information further includes: each padding block is padded to the padding information in the corresponding module,
creating a page according to the acquired page structure information, comprising:
for each type of module, matching the page display requirement with filling information in the filling block corresponding to the type of module to obtain a filling block which is successfully matched; specifically, under the condition that the page display requirement is successfully matched with the filling information of a plurality of filling blocks, one filling block with modification time closest to the current time is obtained from the successfully matched filling blocks;
collecting data corresponding to the type of module, and filling the collected data into the obtained filling block;
and filling the filling blocks filled with the data into the modules of the type, and finishing the creation of the page after all the modules of the type are filled.
In one or more embodiments of the present specification, in order to avoid a single problem of a filling data obtaining manner, in a page creating process, each type of module has a data collector corresponding to one, and the data collector corresponding to each type of module may be adopted to collect data corresponding to the type of module from a data source, so as to fill the collected data into a filling block. For example, the data sources may include databases, caches, other systems, file systems, and the like.
In one or more embodiments of the present specification, in order to enable each user request to acquire a page having the request feature, in the process of creating a page, a delivery concept of the page and a delivery concept of a fill block are implemented.
Specifically, the delivery concept of the page is that each piece of page structure information has delivery information, and the user request matching the page display requirement with the delivery information can acquire the page structure information, so that the page is created based on the page structure information. Specifically, the page display requirement may include information of multiple dimensions, for example, information of a region where the user who initiated the user request is located, information of the user (for example, male or female, age group, product requested by the user, preference of the user for the product, etc.), information of the current time, and the like. The use of the release information and the page display requirements enables the user to push the page more accurately and pertinently according to specific dimension information (such as user information, region dimension information and the like) in the user request, and is beneficial to realizing page display of 'thousand cities and thousand faces', namely pages seen by users of different users, different cities and different regions have various characteristics. A page may have 0 to multiple impressions, i.e., one page structure information may correspond to 0 or more impressions information.
The concept of delivering filler blocks, that is, each filler block has filler information, and the filler information may include information of multiple dimensions to specify a display scene of the filler block, for example, region information, user information, and time information of display of the filler block. In the page creating process, the filling block with the filling information matched with the page display requirement is filled into the module, so that the content displayed in the page is displayed in a targeted manner according to the characteristic dimension information in the user request, the use of the filling information is further favorable for more accurately and specifically pushing the page for the user, and the page display of 'thousand faces and thousand faces' is favorably realized.
In one or more embodiments of the present specification, the page structure information may further include: the modules of each type are arranged in a waterfall flow type layout.
In one or more embodiments of the present description, the above-described page structure information may be stored in the form of a page snapshot. That is, when the page display requirement is successfully matched with the delivery information of the page structure information, the page snapshot of the page structure information is obtained. For example, the page snapshots may be stored using json, xml, java serialized objects, and the like.
In one or more embodiments of the present specification, for different or new requirements, the page structure information may be modified or adjusted, and a module type required for forming a page in the page structure information may be adjusted, for example, a module type is added or deleted; and/or the arrangement sequence of the modules of each type in the page layout can be adjusted. Dimension information in page display requirements, delivery information and fill information can also be increased or decreased. Background management personnel can store a plurality of page structure information in a database of a background, and because the page structure information is not directly displayed at the front end, only the created page can be transmitted to the client for displaying, therefore, the page structure information can be adjusted, the page structure information adjusting process can not be displayed on the client, and the adjustment and modification of the page and the isolation of the online environment are realized.
In one or more embodiments of the present specification, in order to implement that each user request may acquire a page display, in a case where matching between the page display requirement and delivery information of page structure information fails, specified page structure information is acquired. Namely, under the condition that the matching between the release information and the page display requirement is not successful, the appointed page structure information is obtained, and then the page is established and transmitted to the client based on the appointed page structure information, so that the condition that the user requests no page display is avoided.
In one or more embodiments of the present specification, in order to reduce the issue risk, transmitting the created page to the client initiating the user request for display includes: and setting a gray white list, and transmitting the created page to a client initiating the user request for display in a gray releasing mode. The gray scale delivery can be tested by a user, and the effect of the page can be displayed only when the client initiating the user request is a user of a gray scale white list.
In one or more embodiments of the present disclosure, the page structure information may be stored in a database, a file system, a cloud, and the like. The delivery information of one page structure information can be stored by using a separate data table.
In one or more embodiments of the present description, the above-described process of page rendering is decoupled from the client, and thus, the created page can be adapted to a variety of clients. For example, the created page may be a cell phone app, an H5 page, a web page, a client display page, and the like.
In one or more embodiments of the present disclosure, the page rendering method may be used in various servers of information service platforms that need to display pages, such as beauty groups, popular comments, cross-border travel information service platforms, and the like.
The following describes an embodiment of the present disclosure with a specific application scenario as an example. Specifically, as shown in fig. 3, the page rendering method is implemented in a server of a cross-border game information service platform, and the process may include:
302. the client sends out a user request.
304. And a server of the cross-border game information service platform obtains the user request. According to the user request, obtaining the page display requirement, wherein the page display requirement can comprise information of user type, region, current time and the like, for example, the user requested by the user is female, the region is third, and the current time is 2018, 5 months and 20 days.
306. And according to the result of matching the page display requirement with the release information, obtaining a page snapshot of the corresponding page structure information, wherein the release information of the corresponding page structure information exactly comprises information that the user is female, the region is third, the release time is 2018, 5 months, 20 days and the like. And if more than one delivery information is successfully matched with the page display requirement, selecting a page snapshot with the modification time closest to the current time.
308. Sequentially traversing all modules in the page, matching the page display requirements with filling information for each module, namely searching a corresponding filling block according to the user type, the region and the current time, wherein the filling information of the corresponding filling block comprises information of a user being female, a region being third, a time being 2018, 5 months, 20 days and the like; if no corresponding filling block is found, the module is not displayed, and if a plurality of corresponding filling blocks are found, one filling block with the modification time closest to the current time is selected.
310. After the filling block is selected, data are collected in parallel by the data collector corresponding to the filling block.
312. And (4) putting the filling blocks filled with the data into the modules, and completing the creation of the whole page after all the modules are filled with the filling blocks filled with the data.
314. And transmitting the page to the client for display. The display technology differs from client to client.
The page rendering method provided in the embodiments of the present specification may be implemented in a computer by a processor executing corresponding program instructions, for example, implemented on a PC side using a c + + language of a windows operating system, or implemented in other hardware necessary for an application design language set corresponding to, for example, Linux, android, and iOS systems, or implemented based on processing logic of a quantum computer. Specifically, in an embodiment where the server provided by the present specification implements the above method, the server may include a processor and a memory for storing processor-executable instructions, and when the processor executes the instructions, the processor implements:
acquiring a page display requirement according to a user request;
matching the page display requirement with the release information of the page structure information to obtain successfully matched page structure information, wherein the page structure information comprises modules of various types required by forming a page, filling blocks corresponding to the modules of various types and release information;
creating a page according to the acquired page structure information;
and transmitting the created page to a client initiating the user request for display.
In one or more embodiments of the present specification, the method provided by the embodiment of the present specification is executed on a server, and fig. 4 is a hardware structure block diagram of a page rendering server of the embodiment of the present specification. As shown in figure 4 of the drawings,
the server 40 may include one or more (only one shown) processors 402 (the processors 402 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 404 for storing data, and a transmission module 406 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 4 is only an illustration and is not intended to limit the structure of the electronic device. For example, server 40 may also include more or fewer components than shown in FIG. 4, and may also include other Processing hardware, such as a GPU (Graphics Processing Unit), or have a different configuration than shown in FIG. 4, for example.
The memory 404 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the page rendering method in the embodiment of the present specification, and the processor 402 executes various functional applications and data processing by running the software programs and modules stored in the memory 404, so as to implement the page rendering method. The memory 404 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 404 may further include memory located remotely from processor 402, which may be connected to server 40 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission module 406 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the server 40. In one example, the transmission module 406 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission module 406 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In an embodiment of the present specification, there is provided a computer-readable storage medium storing computer instructions for performing:
acquiring a page display requirement according to a user request;
matching the page display requirement with the release information of the page structure information to obtain successfully matched page structure information, wherein the page structure information comprises modules of various types required by forming a page, filling blocks corresponding to the modules of various types and release information;
creating a page according to the acquired page structure information;
and transmitting the created page to a client initiating the user request for display.
The instructions described above may be stored in a variety of computer-readable storage media. The computer readable storage medium may include physical devices for storing information, which may be digitized and then stored using an electrical, magnetic, or optical media. The computer-readable storage medium according to this embodiment may include: devices that store information using electrical energy, such as various types of memory, e.g., RAM, ROM, etc.; devices that store information using magnetic energy, such as hard disks, floppy disks, tapes, core memories, bubble memories, and usb disks; devices that store information optically, such as CDs or DVDs. Of course, there are other ways of storing media that can be read, such as quantum memory, graphene memory, and so forth.
Based on the page rendering method, the specification further provides a page rendering device. The apparatus may comprise a system (including a distributed system), software (applications), modules, components, servers, clients, etc. that utilize the methods described in the embodiments of the present specification in conjunction with any necessary equipment to implement the hardware. Based on the same innovative concept, the processing device in one embodiment provided in the present specification is as described in the following embodiment. Since the implementation scheme for solving the problem of the apparatus is similar to that of the method, the implementation of the specific processing apparatus in the embodiment of the present specification may refer to the implementation of the foregoing method, and repeated details are not repeated. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated. Specifically, as shown in fig. 5, fig. 5 is a schematic block structure diagram of an embodiment of a page rendering apparatus that can be used on a server side and provided by this specification, and specifically, the schematic block structure diagram may include:
a requirement obtaining module 502, configured to obtain a page display requirement according to a user request;
a page information obtaining module 504, configured to match the page display requirement with delivery information of page structure information, and obtain a piece of page structure information that is successfully matched, where the page structure information includes modules of various types required to form a page, a filling block corresponding to each type of module, and delivery information;
a page creating module 506, configured to create a page according to the obtained page structure information;
and a page publishing module 508, configured to transmit the created page to the client that initiated the user request for display.
In one or more embodiments of the present specification, the page structure information further includes: each padding block is padded to the padding information in the corresponding module,
the page creation module 506 includes:
the filling block acquisition unit is used for matching the page display requirement with filling information in the filling block corresponding to each type of module to acquire a successfully matched filling block;
the filling block filling unit is used for acquiring data corresponding to the type of module and filling the acquired data into the acquired filling block;
and a module filling unit for filling the data-filled filling block into the module of the type.
In one or more embodiments of the present specification, the filling block obtaining unit is specifically configured to, when the page display requirement is successfully matched with the filling information of the plurality of filling blocks, obtain, from the filling blocks that are successfully matched, a filling block whose modification time is closest to the current time.
In one or more embodiments of the present specification, the padding block padding unit is specifically configured to use the data collector corresponding to the type of module to collect data corresponding to the type of module from a data source.
In one or more embodiments of the present description, the page display requirement, the placement information, and the fill information each include information of multiple dimensions.
In one or more embodiments of the present description, the information of the plurality of dimensions includes any combination of regional information, temporal information, and user information.
In one or more embodiments of the present specification, the page structure information further includes: the modules of each type are arranged in a waterfall flow type layout.
In one or more embodiments of the present description, further comprising:
and the storage module is used for storing the page structure information in a page snapshot mode.
In one or more embodiments of the present description, further comprising:
the page information adjusting module is used for adjusting the module types required by the page forming in the page structure information; and/or the presence of a gas in the gas,
and the method is used for adjusting the arrangement sequence of the modules of each type in the page layout.
In one or more embodiments of the present specification, the page information obtaining module is further configured to obtain specified page structure information when the matching between the page display requirement and the delivery information of the page structure information fails.
In one or more embodiments of the present specification, the page publishing module is further configured to set a gray white list, and transmit the created page to the client initiating the user request in a gray release manner for display.
It should be noted that the apparatus described above in the embodiments of the present disclosure may also include other embodiments according to the description of the related method embodiments. The specific implementation manner may refer to the description of the method embodiment, and is not described in detail herein.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the hardware + program class embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Although the present application provides method steps as described in an embodiment or flowchart, additional or fewer steps may be included based on conventional or non-inventive efforts. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
Although reference is made in the context of the embodiments of the present specification to storing page structure information, obtaining page display requirements, matching page display requirements and delivery information, matching page display requirements and fill information, creating pages, the embodiments of the present specification are not limited to necessarily conforming to an industry communications standard, a standard image data processing protocol, a communications protocol, and a standard data model/template or to the cases described in the embodiments of the present specification. Certain industry standards, or implementations modified slightly from those described using custom modes or examples, may also achieve the same, equivalent, or similar, or other, contemplated implementations of the above-described examples. The embodiments using these modified or transformed data acquisition, storage, judgment, processing, etc. may still fall within the scope of the alternative embodiments of the present description.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Although embodiments of the present description provide method steps as described in embodiments or flowcharts, more or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or end product executes, it may execute sequentially or in parallel (e.g., parallel processors or multi-threaded environments, or even distributed data processing environments) according to the method shown in the embodiment or the figures. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in a process, method, article, or apparatus that comprises the recited elements is not excluded.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, in implementing the embodiments of the present description, the functions of each module may be implemented in one or more software and/or hardware, or a module implementing the same function may be implemented by a combination of multiple sub-modules or sub-units, and the like. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may therefore be considered as a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The embodiments of this specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The described embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only an example of the embodiments of the present disclosure, and is not intended to limit the embodiments of the present disclosure. Various modifications and variations to the embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present specification should be included in the scope of the claims of the embodiments of the present specification.

Claims (22)

1. A page rendering method, comprising:
acquiring a page display requirement according to a user request;
matching the page display requirement with the delivery information of the page structure information to obtain one piece of page structure information which is successfully matched, wherein under the condition that the page display requirement is successfully matched with a plurality of delivery information, one piece of page structure information with modification time closest to the current time is obtained from the successfully matched page structure information, the page structure information comprises modules of various types required for forming a page, filling blocks corresponding to the modules of various types and the delivery information, the modules of various types are used for forming a frame of the page, and the frame of the page can be formed by a plurality of modules of different types;
creating a page according to the acquired page structure information;
and transmitting the created page to a client initiating the user request for display, wherein the filling blocks are filled into the modules when the page is created, the modules of the same type can only fill one filling block at the same time, the modules in the page frame are displayed only when the filling blocks are filled and the filling blocks can acquire data, and otherwise, the modules are not displayed.
2. The page rendering method of claim 1, the page structure information further comprising: each padding block is padded to the padding information in the corresponding module,
creating a page according to the acquired page structure information, comprising:
for each type of module, matching the page display requirement with filling information in the filling block corresponding to the type of module to obtain a filling block which is successfully matched;
collecting data corresponding to the type of module, and filling the collected data into the obtained filling block;
the data-filled stuffing blocks are stuffed into this type of module.
3. The page rendering method of claim 2, matching the page display requirement with the filling information, and obtaining a filling block successfully matched, comprising:
and under the condition that the page display requirement is successfully matched with the filling information of the plurality of filling blocks, acquiring a filling block with modification time closest to the current time from the successfully matched filling blocks.
4. The page rendering method of claim 2, wherein collecting data corresponding to the type of module comprises:
and acquiring data corresponding to the type of module from a data source by adopting the data acquisition unit corresponding to the type of module.
5. The page rendering method of claim 2, the page display requirement, the placement information, and the fill information each comprising information in multiple dimensions.
6. The page rendering method of claim 5, the information of the plurality of dimensions comprising any combination of region information, time information, and user information.
7. The page rendering method of any of claims 1 to 6, the page structure information, further comprising: the modules of each type are arranged in a waterfall flow type layout.
8. The page rendering method of any of claims 1 to 6, further comprising:
adjusting the module types required by the page forming in the page structure information; and/or
And adjusting the arrangement sequence of the modules of each type in the page layout.
9. The page rendering method of any of claims 1 to 6, further comprising:
and acquiring the specified page structure information under the condition that the matching between the page display requirement and the delivery information of the page structure information fails.
10. The page rendering method of any of claims 1 to 6, transmitting the created page to a client initiating the user request for display, comprising:
and setting a gray white list, and transmitting the created page to a client initiating the user request for display in a gray releasing mode.
11. A server comprising a processor and a memory for storing processor-executable instructions that when executed by the processor implement:
acquiring a page display requirement according to a user request;
matching the page display requirement with the delivery information of the page structure information to obtain one piece of page structure information which is successfully matched, wherein under the condition that the page display requirement is successfully matched with a plurality of delivery information, one piece of page structure information with modification time closest to the current time is obtained from the successfully matched page structure information, the page structure information comprises modules of various types required for forming a page, filling blocks corresponding to the modules of various types and the delivery information, the modules of various types are used for forming a frame of the page, and the frame of the page can be formed by a plurality of modules of different types;
creating a page according to the acquired page structure information;
and transmitting the created page to a client initiating the user request for display, wherein the filling blocks are filled into the modules when the page is created, the modules of the same type can only fill one filling block at the same time, the modules in the page frame are displayed only when the filling blocks are filled and the filling blocks can acquire data, and otherwise, the modules are not displayed.
12. A computer-readable storage medium having computer instructions stored thereon for performing:
acquiring a page display requirement according to a user request;
matching the page display requirement with the delivery information of the page structure information to obtain one piece of page structure information which is successfully matched, wherein under the condition that the page display requirement is successfully matched with a plurality of delivery information, one piece of page structure information with modification time closest to the current time is obtained from the successfully matched page structure information, the page structure information comprises modules of various types required for forming a page, filling blocks corresponding to the modules of various types and the delivery information, the modules of various types are used for forming a frame of the page, and the frame of the page can be formed by a plurality of modules of different types;
creating a page according to the acquired page structure information;
and transmitting the created page to a client initiating the user request for display, wherein the filling blocks are filled into the modules when the page is created, the modules of the same type can only fill one filling block at the same time, the modules in the page frame are displayed only when the filling blocks are filled and the filling blocks can acquire data, and otherwise, the modules are not displayed.
13. A page rendering apparatus, comprising:
the demand acquisition module is used for acquiring page display demands according to user requests;
the page information acquisition module is used for matching the page display requirement with the release information of the page structure information to acquire one piece of page structure information which is successfully matched, wherein under the condition that the page display requirement is successfully matched with a plurality of pieces of release information, one piece of page structure information with modification time closest to the current time is acquired from the successfully matched page structure information, the page structure information comprises various types of modules required for forming a page, filling blocks corresponding to the various types of modules and release information, the various types of modules are used for forming a frame of the page, and the frame of the page can be formed by a plurality of different types of modules;
the page creating module is used for creating a page according to the acquired page structure information;
and the page publishing module is used for transmitting the created page to the client initiating the user request for displaying, wherein the filling blocks are filled into the module when the page is created, the module of the same type can only fill one filling block at the same time, the module in the page frame is displayed only when the filling block is filled and the filling block can acquire data, and otherwise, the module is not displayed.
14. The page rendering apparatus of claim 13, the page structure information further comprising: each padding block is padded to the padding information in the corresponding module,
the page creation module comprises:
the filling block acquisition unit is used for matching the page display requirement with filling information in the filling block corresponding to each type of module to acquire a successfully matched filling block;
the filling block filling unit is used for acquiring data corresponding to the type of module and filling the acquired data into the acquired filling block;
and a module filling unit for filling the data-filled filling block into the module of the type.
15. The page rendering device according to claim 14, wherein the filling block obtaining unit is specifically configured to, when the page display requirement is successfully matched with the filling information of the plurality of filling blocks, obtain, from the successfully matched filling blocks, a filling block whose modification time is closest to the current time.
16. The page rendering apparatus according to claim 14, wherein the fill block filling unit is specifically configured to collect data corresponding to the type of module from a data source by using a data collector corresponding to the type of module.
17. The page rendering apparatus of claim 14, the page display requirements, the placement information, and the fill information each comprising information in multiple dimensions.
18. The page rendering apparatus of claim 17, the information of the plurality of dimensions comprising any combination of region information, time information, and user information.
19. The page rendering apparatus of any of claims 13 to 18, the page structure information, further comprising: the modules of each type are arranged in a waterfall flow type layout.
20. The page rendering apparatus of any of claims 13 to 18, further comprising:
the page information adjusting module is used for adjusting the module types required by the page forming in the page structure information; and/or the presence of a gas in the gas,
and the method is used for adjusting the arrangement sequence of the modules of each type in the page layout.
21. The page rendering device according to any one of claims 13 to 18, wherein the page information obtaining module is further configured to obtain the specified page structure information if the page display requirement fails to match the delivery information of the page structure information.
22. The page rendering apparatus according to any one of claims 13 to 18, wherein the page publishing module is further configured to set a gray white list, and transmit the created page to the client initiating the user request for display by means of gray casting.
CN201810554331.8A 2018-06-01 2018-06-01 Page rendering method, device, server and computer readable storage medium Active CN108763551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810554331.8A CN108763551B (en) 2018-06-01 2018-06-01 Page rendering method, device, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810554331.8A CN108763551B (en) 2018-06-01 2018-06-01 Page rendering method, device, server and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108763551A CN108763551A (en) 2018-11-06
CN108763551B true CN108763551B (en) 2022-01-28

Family

ID=64002015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810554331.8A Active CN108763551B (en) 2018-06-01 2018-06-01 Page rendering method, device, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108763551B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388460A (en) * 2018-09-26 2019-02-26 浙江万朋教育科技股份有限公司 A method of it promoting client application and pulls homepage data efficiency
CN109614545A (en) * 2018-11-13 2019-04-12 阿里巴巴集团控股有限公司 Page loading method, device and equipment
CN110046090B (en) * 2019-03-05 2023-10-03 创新先进技术有限公司 Page element positioning method and device
CN110046384B (en) * 2019-03-12 2021-02-12 北京字节跳动网络技术有限公司 Model instantiation method and device, electronic equipment and computer-readable storage medium
CN110674431A (en) * 2019-08-29 2020-01-10 北京浪潮数据技术有限公司 Front-end page display method and device
CN110765251B (en) * 2019-10-21 2022-11-22 百度在线网络技术(北京)有限公司 Rendering method, server, electronic device, and storage medium
CN111046309A (en) * 2019-12-11 2020-04-21 政采云有限公司 Page view rendering method, device and equipment and readable storage medium
CN113645062A (en) * 2021-07-13 2021-11-12 阿里巴巴新加坡控股有限公司 Page data processing method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779164A (en) * 2012-06-20 2012-11-14 深圳市远行科技有限公司 Business system and rendering method of dynamic pages of same
CN102902781A (en) * 2012-09-28 2013-01-30 五八有限公司 Method and device for webpage decoration and pushing
CN106446049A (en) * 2016-08-31 2017-02-22 腾讯科技(深圳)有限公司 Page data interaction apparatus and method
CN107479861A (en) * 2016-06-07 2017-12-15 阿里巴巴集团控股有限公司 Page processing method and its system
CN107908399A (en) * 2017-11-14 2018-04-13 山东浪潮通软信息科技有限公司 A kind of page development method and device
CN108089878A (en) * 2017-12-14 2018-05-29 腾讯科技(深圳)有限公司 Page info shows and generation method, apparatus and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779164A (en) * 2012-06-20 2012-11-14 深圳市远行科技有限公司 Business system and rendering method of dynamic pages of same
CN102902781A (en) * 2012-09-28 2013-01-30 五八有限公司 Method and device for webpage decoration and pushing
CN107479861A (en) * 2016-06-07 2017-12-15 阿里巴巴集团控股有限公司 Page processing method and its system
CN106446049A (en) * 2016-08-31 2017-02-22 腾讯科技(深圳)有限公司 Page data interaction apparatus and method
CN107908399A (en) * 2017-11-14 2018-04-13 山东浪潮通软信息科技有限公司 A kind of page development method and device
CN108089878A (en) * 2017-12-14 2018-05-29 腾讯科技(深圳)有限公司 Page info shows and generation method, apparatus and system

Also Published As

Publication number Publication date
CN108763551A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN108763551B (en) Page rendering method, device, server and computer readable storage medium
CN106843828B (en) Interface display and loading method and device
CN109816762B (en) Image rendering method and device, electronic equipment and storage medium
CN110717536A (en) Method and device for generating training sample
CN114424257A (en) Automatic rendering and extraction of form data using machine learning
CN106933887B (en) Data visualization method and device
CN111767499A (en) Page configuration method and device
CN109766319B (en) Compression task processing method and device, storage medium and electronic equipment
CN107015871A (en) A kind of data processing method and device
CN105549972A (en) Unified authentication protocol-based mvc frame structure and running method thereof
CN111506300A (en) Applet generation method, device, equipment and storage medium
CN111435367A (en) Knowledge graph construction method, system, equipment and storage medium
CN113536174A (en) Interface loading method, device and equipment
CN109656595A (en) The method, apparatus and system that client-side program updates
CN110602163B (en) File uploading method and device
CN106126299B (en) Service plug-in processing method and device
CN113485548B (en) Model loading method and device of head-mounted display equipment and head-mounted display equipment
CN112148744A (en) Page display method and device, electronic equipment and computer readable medium
CN107423291A (en) A kind of data translating method and client device
CN108833504B (en) Cross-site information synchronization method and device
CN115328997B (en) Data synchronization method, system, device and storage medium
CN108133029B (en) Map element adjusting method, device and equipment and computer-readable storage medium
CN110647371A (en) Multi-language resource file analysis method and system based on service configuration
KR102268013B1 (en) Method, apparatus and computer readable recording medium of rroviding authoring platform for authoring augmented reality contents
CN110555070B (en) Method and apparatus for outputting information

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1263121

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20200927

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200927

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: Greater Cayman, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240223

Address after: Guohao Times City # 20-01, 128 Meizhi Road, Singapore

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right