CN111259294A - Page loading request response method, device, equipment and storage medium - Google Patents

Page loading request response method, device, equipment and storage medium Download PDF

Info

Publication number
CN111259294A
CN111259294A CN201911417885.4A CN201911417885A CN111259294A CN 111259294 A CN111259294 A CN 111259294A CN 201911417885 A CN201911417885 A CN 201911417885A CN 111259294 A CN111259294 A CN 111259294A
Authority
CN
China
Prior art keywords
page
component
personalized
target
components
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911417885.4A
Other languages
Chinese (zh)
Inventor
肖晓
徐其荣
何志成
高家宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wanbiao Famous Craftsman Guangzhou Technology Co Ltd
Original Assignee
Wanbiao Famous Craftsman Guangzhou Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wanbiao Famous Craftsman Guangzhou Technology Co Ltd filed Critical Wanbiao Famous Craftsman Guangzhou Technology Co Ltd
Priority to CN201911417885.4A priority Critical patent/CN111259294A/en
Publication of CN111259294A publication Critical patent/CN111259294A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

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

Abstract

The embodiment of the invention discloses a page loading request response method, a page loading request response device, page loading request response equipment and a storage medium, wherein the page loading request response method comprises the following steps: performing componentization processing on the page to obtain a plurality of general components and personalized components of the page, wherein the personalized components are components set for different types of entrances; determining a target entry type of a page accessed by a client when a loading request of the page is received; and determining a target personalized component based on the target entry type, and sending the general component and the target personalized component to the client so as to display the page after the client performs page rendering operation on the general component and the target personalized component. The set personalized page is suitable for being displayed on the client side of the entry type, and compared with the H5 page embedded between the set personalized page and the client side of the entry type, the animation and the page effect can be displayed, the user experience is good, and only the general components or the corresponding personalized components need to be modified when the general components or the personalized components are modified, so that the modification is simple.

Description

Page loading request response method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of networks, in particular to a page loading request response method, a page loading request response device, equipment and a storage medium.
Background
With the development and popularization of the mobile internet, the ratio of accessing web pages based on the mobile terminal accounts for a large proportion, for example, for a shopping website, the ratio of accessing the shopping website through the mobile terminal is gradually increased.
Due to the diversity of the operating systems of mobile terminals, when accessing a website on a mobile terminal, the website is accessed based on native APP applications of the mobile terminal, for example, native APP applications on Android and IOS, and the website is accessed through a mobile terminal H5, a PC browser, and the like.
At present, different pages are usually written for different access entries of the same website page, for example, html rich text can be written for a browser, and a terminal installed with the browser can access and display the website, but if an H5 page is directly embedded in a native APP and an applet, user experience is very poor, and when H5 is used, if content modification is complex, animation and page effects cannot be displayed, customization reusability is not high.
Disclosure of Invention
The embodiment of the invention provides a page loading request response method, a page loading request response device, equipment and a storage medium, and aims to solve the problem that a multi-interface loading request needs to compile different webpages for different interfaces.
In a first aspect, an embodiment of the present invention provides a page load request response method, including:
performing componentization processing on the page to obtain a plurality of general components and personalized components of the page, wherein the personalized components are components set for different types of entrances of the page;
when a loading request of a client for the page is received, determining a target entry type of the page accessed by the client;
determining a target personalization component based on the target entry type;
and sending the general component and the target personalized component to the client, wherein the client is used for executing page rendering operation according to the general component and the target personalized component so as to display the page.
Optionally, the performing componentization processing on the page to obtain a plurality of general components and personalized components of the page includes:
acquiring types of a plurality of different entries of the page;
defining a generic component of the page;
defining a personalization component for the page responsive to a plurality of different types of portals.
Optionally, the defining the page for a personalized component responsive to a plurality of different types of portals comprises:
generating a personalization component for responding to each type of portal;
and setting the type of the entrance as a calling value of the personalized component aiming at the personalized component of each type of entrance.
Optionally, the determining a target personalization component based on the target entry type includes:
and based on the target entry type, determining a personalized component matched with the target entry type from the personalized components of the page as a target personalized component.
Optionally, the determining, from the personalized components of the page, a personalized component matched with the target entry type as a target personalized component based on the target entry type includes:
and determining the personalized component with the calling value of the target entry type from the personalized components as a target personalized component.
Optionally, the method further comprises:
setting a version for the personalized component.
Optionally, the data format of the generic component and the personalized component is a JSON data format.
In a second aspect, an embodiment of the present invention provides a page load request response apparatus, including:
the page componentization module is used for performing componentization processing on the page to obtain a plurality of general components and personalized components of the page, wherein the personalized components are components set aiming at different types of entrances of the page;
the entry type determining module is used for determining the entry type of the page accessed by the client when a loading request of the client for the page is received;
a target personalization component determination module to determine a target personalization component based on the portal type;
and the component sending module is used for sending the general component and the target personalized component to the client, and the client is used for executing page rendering operation according to the general component and the target personalized component so as to display the page.
Optionally, the page componentization module includes:
the different entry type acquisition submodule is used for acquiring types of a plurality of different entries of the page;
the universal component definition submodule is used for defining a universal component of the page;
and the personalized component definition sub-module is used for defining personalized components of the page, which are used for responding to a plurality of different types of entrances.
Optionally, the personalized component definition sub-module includes:
a personalized component generating unit for generating a personalized component for responding to each type of the portal;
and the personalized component setting unit is used for setting the type of the inlet as a calling value of the personalized component aiming at the personalized component of each type of inlet.
Optionally, the target personalization component determining module includes:
and the target personalized component determining submodule is used for determining a personalized component matched with the target entry type from the personalized components of the page as a target personalized component based on the target entry type.
Optionally, the target personalization component determination sub-module includes:
and the target personalized component matching submodule is used for determining the personalized component with the calling value of the target entry type from the personalized components as the target personalized component.
Optionally, the method further comprises:
and the version setting module is used for setting the version for the personalized component.
Optionally, the data format of the generic component and the personalized component is a JSON data format.
In a third aspect, an embodiment of the present invention provides an apparatus, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the page load request response method according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the page load request response method according to any embodiment of the present invention.
The method comprises the steps of performing componentization processing on a page to obtain a plurality of general components and personalized components of the page, wherein the personalized components are components set for different types of portals of the page, and determining the portal type of the page accessed by a client when receiving a loading request of the client for the page; determining a target personalization component based on the portal type; and sending the general component and the target personalized component to a client, wherein the client is used for executing page rendering operation according to the general component and the target personalized component so as to display the page. In the embodiment of the invention, the personalized component is set for each entry type, the personalized component and the general component are used as page components, when a loading request of a client for a page is received, the target personalized component corresponding to the general component and the entry type is returned to the client according to the entry type of the page accessed by the client, a page is not required to be set for each entry type client, the set personalized page is suitable for being displayed at the entry type client, and an H5 page is embedded between the set personalized page and the client, so that animation and page effects can be displayed, the user experience is good, and only the general component or the corresponding personalized component needs to be modified when the general component or the personalized component is modified, the modification is simple, and the customization is high.
Drawings
Fig. 1 is a flowchart illustrating steps of a page load request response method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a page load request response method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a structure of a page load request responding apparatus according to a third embodiment of the present invention;
fig. 4 is a block diagram of a device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It is to be further noted that, for the convenience of description, only a part of the structure relating to the present invention is shown in the drawings, not the whole structure.
Example one
Fig. 1 is a flowchart of steps of a page load request response method according to an embodiment of the present invention, where the page load request response method according to the embodiment of the present invention is applicable to a case of responding to a page load request, and the page load request response method may be executed by a page load request response device according to an embodiment of the present invention, where the page load request response device may be implemented by hardware or software and integrated in an apparatus according to an embodiment of the present invention, and specifically, as shown in fig. 1, the page load request response method according to an embodiment of the present invention may include the following steps:
s101, performing componentization processing on the page to obtain a plurality of general components and personalized components of the page, wherein the personalized components are components set for different types of entrances of the page.
In the embodiment of the present invention, the page may refer to a home page of a website, for example, a home page of a shopping website, a home page of a news website, and the like. Componentization can be a standardized work of encapsulating some functions that can be multiplexed, a component generally contains internal UI elements, styles and JS logic code, and can be conveniently and quickly embedded anywhere in an application, and of course, other components can be used inside the component to form more complex components.
For a web page, different portal types may have different display contents, where a portal type may indicate that a client accessing the web page is different, a system of a terminal device where the client is located is different, and the like, for example, a PC portal and a mobile terminal belong to different portals, a native web browser corresponding to an android system and a web browser corresponding to an apple system are also different portals, and a website may have different types of portals for various clients to access to the website.
For a webpage, most of contents in clients of different portals are the same, only a few of contents are different in clients of different portals, for example, for a PC and a mobile terminal, most of contents displayed by a webpage are the same, only a few of contents are different, then the same most of contents can be processed as a general component, different contents can be processed as personalized components, for a personalized component, the personalized component can be registered for each type of portal, for example, for a commodity search bar component, a commodity search bar component can be registered for the PC, and then a commodity search bar component is configured for a browser of the android system.
S102, when a loading request of a client for the page is received, determining a target entry type of the page accessed by the client.
In the embodiment of the present invention, the entry of the page loading request may be automatically monitored, so as to determine the entry type of the access page of the client, optionally, the client may carry the access entry type in the page loading request, and the entry type of the access page of the client may be obtained after the loading request is analyzed, for example, it may be determined as a mobile phone access or a PC access.
S103, determining a target personalized component based on the target entry type.
Specifically, an entry type and personalized component correspondence table may be configured, and the personalized component corresponding to the target entry type is obtained by looking up the table and is used as the target personalized component, and of course, a call value may also be set for the personalized component corresponding to each type of entry, for example, the call value is the type of the entry, and when the call value of the component call function is the type of the entry, the personalized component whose call value is the type of the entry is returned and used as the target personalized component.
S104, sending the general component and the target personalized component to the client, wherein the client is used for performing page rendering operation according to the general component and the target personalized component so as to display the page.
Specifically, the general component, the target personalized component, the style sheet and the like can be packaged, the packaged data is sent to the client, the client decompresses the packaged data to obtain the general component, the target personalized component and the style sheet, and page rendering operation is performed on the general component and the target personalized component to display a page on a display interface of the client.
In the embodiment of the invention, the personalized component is set for each entry type, the personalized component and the general component are used as page components, when a loading request of a client for a page is received, the target personalized component corresponding to the general component and the entry type is returned to the client according to the entry type of the page accessed by the client, a page is not required to be set for each entry type client, the set personalized page is suitable for being displayed on the entry type client, and compared with the H5 page embedded between the set personalized page and the client, the animation and page effect can be displayed, the user experience is good, and only the general component or the corresponding personalized component needs to be modified when the general component or the personalized component is modified, the modification is simple, and the customization is high.
Example two
Fig. 2 is a flowchart of steps of a page load request response method according to a second embodiment of the present invention, where the second embodiment of the present invention is optimized based on the first embodiment, specifically, as shown in fig. 2, the page load request response method according to the second embodiment of the present invention may include the following steps:
s201, obtaining types of a plurality of different entries of the page.
In the embodiment of the present invention, different pages may have a plurality of different types of entries, for example, for a home page of an e-commerce website, a PC end and a mobile terminal entry may be set, for the PC end entry, different entries may be set according to different operating systems of the PC end and different browsers of the operating systems, and similarly, at the mobile terminal entry, different entries may also be set for browsers of different operating systems, for example, types of entries such as Android, IOS, Windows, and the like may be set, and specifically, a person skilled in the art may set the entry type according to an existing entry.
S202, defining a universal component of the page.
In the embodiment of the present invention, the general components are components that the page needs to be displayed at different portals, for example, a commodity search bar component, a shopping cart component, a payment component, etc. of an e-commerce web page are general components, and those skilled in the art can generate the general components through any existing web page editing tool definition.
S203, defining the personalized components of the page for responding to a plurality of different types of entrances.
In an alternative embodiment of the present invention, a personalization component for responding to each type of portal may be generated first, and then the type of portal may be set to a calling value of the personalization component for the personalization component of each type of portal.
Specifically, according to different types of entries, different types of personalized components can be generated by any webpage editing tool, for example, for one component, picture a is displayed when a PC end enters the entry, picture B is displayed when a mobile terminal enters the entry, two personalized components can be respectively edited and generated, and the calling values of the two personalized components are set to be a PC port and a mobile terminal port, or for one component, picture a is displayed when a PC end enters the entry, picture B is displayed when a mobile terminal enters the entry, a personalized component can be edited and generated, the calling values of the personalized components are set to be a PC port and a mobile terminal port, picture a is displayed when display content is set to be the PC port, picture B is displayed when the mobile terminal port, and the like.
In another embodiment of the invention, the version numbers of the universal component and the personalized component can be used, the version management can be performed on the page through the version numbers, the page tracking of each version through the version numbers is favorable for operation tracking analysis, the new version and the old version can coexist without mutual influence, the old version can be returned when the operation effect of the current version is poor, and the management is convenient and simple.
S204, when a loading request of the client for the page is received, determining a target entry type of the page accessed by the client.
In the embodiment of the present invention, the entry of the page loading request may be automatically monitored, so as to determine the entry type of the access page of the client, optionally, the client may carry the access entry type in the page loading request, and the entry type of the access page of the client may be obtained after the loading request is analyzed, for example, it may be determined as a mobile phone access or a PC access.
S205, based on the target entry type, determining a personalized component matched with the target entry type from the personalized components of the page as a target personalized component.
In an alternative embodiment of the present invention, a personalization component with a calling value of the target entry type may be determined from the personalization components as the target personalization component. Specifically, each personalized component is provided with a call value, when the component calls the function, if the value of the call function is a certain call value, the personalized function corresponding to the call value is returned as the target personalized function, of course, in practical application, an entry type and personalized component correspondence table may also be configured, the personalized component corresponding to the target entry type is obtained as the target personalized component by table lookup, of course, the call value may also be set for the personalized component corresponding to each type of entry, for example, the call value is the type of the entry, and when the call value of the component call function is the type of the entry, the personalized component having the call value of the type of the entry is returned as the target personalized component.
S206, sending the general component and the target personalized component to the client, wherein the client is used for executing page rendering operation according to the general component and the target personalized component so as to display the page.
Specifically, the general component, the target personalized component, the style sheet and the like can be packaged into a JSON data format file to improve the security, the packaged JSON file is sent to the client, the client decompresses the packaged data to obtain the general component, the target personalized component and the style sheet, and page rendering operation is performed on the general component and the target personalized component to display a page on a display interface of the client.
After the types of a plurality of different entries of a page are obtained, a general component of the page and a personalized component of the page are defined, wherein the personalized component is used for responding to the plurality of different types of entries, when a loading request of a client for the page is received, the target entry type of the page accessed by the client is determined, the personalized component matched with the target entry type is determined from the personalized components of the page as the target personalized component based on the target entry type, and the general component and the target personalized component are sent to the client so that the page rendering operation is performed on the general component and the target personalized component by the client to display the page. The set personalized page is suitable for being displayed on the client side of the entry type, the animation and page effects can be displayed as opposed to the H5 page embedded between the personalized page and the web page, the user experience is good, and when the general component or the personalized component is modified, only the general component or the corresponding personalized component needs to be modified, the modification is simple, and the customization is high.
Furthermore, the version numbers of the universal components and the personalized components can be used for version management of the pages through the version numbers, tracking of the pages of each version through the version numbers is beneficial to operation tracking analysis, the new version and the old version can coexist and cannot influence each other, the old version can be returned when the operation effect of the current version is poor, and the management is convenient and simple.
EXAMPLE III
Fig. 3 is a block diagram of a structure of a page load request responding apparatus according to a third embodiment of the present invention, and as shown in fig. 3, the page load request responding apparatus according to the third embodiment of the present invention may specifically include the following modules:
a page componentization module 301, configured to perform componentization processing on the page to obtain a plurality of general components and personalized components of the page, where the personalized components are components set for different types of portals of the page;
an entry type determining module 302, configured to determine, when a load request for the page by a client is received, an entry type for the client to access the page;
a target personalization component determination module 303, configured to determine a target personalization component based on the entry type;
a component sending module 304, configured to send the generic component and the target personalized component to the client, where the client is configured to perform a page rendering operation according to the generic component and the target personalized component to display the page.
Optionally, the page componentization module 301 includes:
the different entry type acquisition submodule is used for acquiring types of a plurality of different entries of the page;
the universal component definition submodule is used for defining a universal component of the page;
and the personalized component definition sub-module is used for defining personalized components of the page, which are used for responding to a plurality of different types of entrances.
Optionally, the personalized component definition sub-module includes:
a personalized component generating unit for generating a personalized component for responding to each type of the portal;
and the personalized component setting unit is used for setting the type of the inlet as a calling value of the personalized component aiming at the personalized component of each type of inlet.
Optionally, the target personalization component determining module 303 includes:
and the target personalized component determining submodule is used for determining a personalized component matched with the target entry type from the personalized components of the page as a target personalized component based on the target entry type.
Optionally, the target personalization component determination sub-module includes:
and the target personalized component matching submodule is used for determining the personalized component with the calling value of the target entry type from the personalized components as the target personalized component.
Optionally, the method further comprises:
and the version setting module is used for setting the version for the personalized component.
Optionally, the data format of the generic component and the personalized component is a JSON data format.
The page loading request responding device provided by the embodiment of the invention can execute the page loading request responding method provided by the first embodiment or the second embodiment of the invention, and has corresponding functional modules and beneficial effects of the executing method.
Example four
Referring to fig. 4, a schematic diagram of a device in one example of the invention is shown. As shown in fig. 4, the apparatus may specifically include: a processor 40, a memory 41, a display screen 42 with touch functionality, an input device 43, an output device 44, and a communication device 45. The number of processors 40 in the device may be one or more, and one processor 40 is taken as an example in fig. 4. The processor 40, the memory 41, the display 42, the input means 43, the output means 44 and the communication means 45 of the device may be connected by a bus or other means, as exemplified by the bus connection in fig. 4.
The memory 41 is used as a computer readable storage medium, and can be used for storing software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the page load request responding method according to the first embodiment to the second embodiment of the present invention (for example, the page componentizing module 301, the entry type determining module 302, the target personalized component determining module 303, and the component sending module 304 in the page load request responding apparatus according to the third embodiment). The memory 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating device, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 41 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 40 may further include memory located remotely from processor 40, which may be connected to devices over 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 display screen 42 is a display screen 42 with a touch function, which may be a capacitive screen, an electromagnetic screen, or an infrared screen. In general, the display screen 42 is used for displaying data according to instructions from the processor 40, and is also used for receiving touch operations applied to the display screen 42 and sending corresponding signals to the processor 40 or other devices. Optionally, when the display screen 42 is an infrared screen, the display screen further includes an infrared touch frame, and the infrared touch frame is disposed around the display screen 42, and may also be configured to receive an infrared signal and send the infrared signal to the processor 40 or other devices.
The communication device 45 is used for establishing communication connection with other devices, and may be a wired communication device and/or a wireless communication device.
The input means 43 may be used for receiving input numeric or character information and generating key signal inputs related to user settings and function control of the apparatus, and may be a camera for acquiring images and a sound pickup device for acquiring audio data. The output device 44 may include an audio device such as a speaker. It should be noted that the specific composition of the input device 43 and the output device 44 can be set according to actual conditions.
The processor 40 executes various functional applications of the device and data processing by executing software programs, instructions and modules stored in the memory 41, that is, implements the above-described speech signal reconstruction method.
Specifically, in the embodiment, when the processor 40 executes one or more programs stored in the memory 41, the page load request response method provided by the embodiment of the present invention is specifically implemented.
An embodiment of the present invention further provides a computer-readable storage medium, where when executed by a processor of a device, an instruction in the storage medium enables the device to perform the page load request response method according to the foregoing method embodiment.
It should be noted that, as for the embodiments of the apparatus, the device, and the storage medium, since they are basically similar to the embodiments of the method, the description is relatively simple, and in the relevant places, reference may be made to the partial description of the embodiments of the method.
From the above description of the embodiments, it is obvious for a person skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to enable a computer device (which may be a robot, a personal computer, a server, or a network device) to execute the method for responding to a page loading request according to any embodiment of the present invention.
It should be noted that, in the above page load request responding apparatus, each unit and module included in the apparatus is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by suitable instruction execution means. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
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 the invention. In this specification, the schematic representations of the terms used above do not necessarily 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.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions without departing from the scope of the invention. Therefore, although the present invention has been described in more detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A page loading request response method is characterized by comprising the following steps:
performing componentization processing on a page to obtain a plurality of general components and personalized components of the page, wherein the personalized components are components set for different types of entrances of the page;
when a loading request of a client for the page is received, determining a target entry type of the page accessed by the client;
determining a target personalization component based on the target entry type;
and sending the general component and the target personalized component to the client, wherein the client is used for executing page rendering operation according to the general component and the target personalized component so as to display the page.
2. The method of claim 1, wherein the componentizing the page to obtain a plurality of generic and personalized components of the page comprises:
acquiring types of a plurality of different entries of the page;
defining a generic component of the page;
defining a personalization component for the page responsive to a plurality of different types of portals.
3. The method of claim 2, wherein defining the page for use in responding to personalized components of a plurality of different types of portals comprises:
generating a personalization component for responding to each type of portal;
and setting the type of the entrance as a calling value of the personalized component aiming at the personalized component of each type of entrance.
4. The method of claim 1, wherein determining a target personalization component based on the target entry type comprises:
and based on the target entry type, determining a personalized component matched with the target entry type from the personalized components of the page as a target personalized component.
5. The method of claim 4, wherein the determining, from the personalized components of the page, a personalized component matching the target entry type as a target personalized component based on the target entry type comprises:
and determining the personalized component with the calling value of the target entry type from the personalized components as a target personalized component.
6. The method of claim 1, further comprising:
setting a version for the personalized component.
7. The method of any of claims 1-6, wherein the data format of the generic component and the personalized component is a JSON data format.
8. A page load request responding apparatus, comprising:
the page componentization module is used for performing componentization processing on the page to obtain a plurality of general components and personalized components of the page, wherein the personalized components are components set for different types of entrances of the page;
the entry type determining module is used for determining the entry type of the page accessed by the client when a loading request of the client for the page is received;
a target personalization component determination module to determine a target personalization component based on the portal type;
the component sending module is used for sending the general component and the target personalized component to the client, and the client is used for executing page rendering operation according to the general component and the target personalized component so as to display the page.
9. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the page load request response method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the page load request response method according to any one of claims 1 to 7.
CN201911417885.4A 2019-12-31 2019-12-31 Page loading request response method, device, equipment and storage medium Pending CN111259294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911417885.4A CN111259294A (en) 2019-12-31 2019-12-31 Page loading request response method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911417885.4A CN111259294A (en) 2019-12-31 2019-12-31 Page loading request response method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111259294A true CN111259294A (en) 2020-06-09

Family

ID=70950206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911417885.4A Pending CN111259294A (en) 2019-12-31 2019-12-31 Page loading request response method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111259294A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506582A (en) * 2020-12-18 2021-03-16 北京百度网讯科技有限公司 Applet data packet processing method, apparatus, device and medium
CN112882782A (en) * 2021-02-08 2021-06-01 广州三七网络科技有限公司 Page generation method and device, computer equipment and storage medium
CN113177171A (en) * 2021-04-16 2021-07-27 百果园技术(新加坡)有限公司 Chart display method and device, terminal device and storage medium
CN114186156A (en) * 2021-12-16 2022-03-15 平安壹账通云科技(深圳)有限公司 Access method, device, medium and equipment for sub-application
CN113177171B (en) * 2021-04-16 2024-05-28 百果园技术(新加坡)有限公司 Graph display method, device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107085515A (en) * 2017-03-30 2017-08-22 武汉斗鱼网络科技有限公司 Personal page generation method and device
CN109388399A (en) * 2018-10-25 2019-02-26 北京字节跳动网络技术有限公司 The page and Universal page configuration file generation method, device, equipment and medium
CN109614568A (en) * 2018-12-07 2019-04-12 微梦创科网络科技(中国)有限公司 A kind of page generation method and device
CN110377858A (en) * 2019-07-08 2019-10-25 紫光云技术有限公司 A kind of visualization pulls the system and method for the generation dynamic list page
CN111443912A (en) * 2020-03-25 2020-07-24 平安医疗健康管理股份有限公司 Page rendering method and device based on components, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107085515A (en) * 2017-03-30 2017-08-22 武汉斗鱼网络科技有限公司 Personal page generation method and device
CN109388399A (en) * 2018-10-25 2019-02-26 北京字节跳动网络技术有限公司 The page and Universal page configuration file generation method, device, equipment and medium
CN109614568A (en) * 2018-12-07 2019-04-12 微梦创科网络科技(中国)有限公司 A kind of page generation method and device
CN110377858A (en) * 2019-07-08 2019-10-25 紫光云技术有限公司 A kind of visualization pulls the system and method for the generation dynamic list page
CN111443912A (en) * 2020-03-25 2020-07-24 平安医疗健康管理股份有限公司 Page rendering method and device based on components, computer equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506582A (en) * 2020-12-18 2021-03-16 北京百度网讯科技有限公司 Applet data packet processing method, apparatus, device and medium
CN112506582B (en) * 2020-12-18 2024-04-09 北京百度网讯科技有限公司 Method, device, equipment and medium for processing small program data packet
CN112882782A (en) * 2021-02-08 2021-06-01 广州三七网络科技有限公司 Page generation method and device, computer equipment and storage medium
CN112882782B (en) * 2021-02-08 2023-12-12 广州三七网络科技有限公司 Page generation method, page generation device, computer equipment and storage medium
CN113177171A (en) * 2021-04-16 2021-07-27 百果园技术(新加坡)有限公司 Chart display method and device, terminal device and storage medium
CN113177171B (en) * 2021-04-16 2024-05-28 百果园技术(新加坡)有限公司 Graph display method, device, terminal equipment and storage medium
CN114186156A (en) * 2021-12-16 2022-03-15 平安壹账通云科技(深圳)有限公司 Access method, device, medium and equipment for sub-application

Similar Documents

Publication Publication Date Title
KR102436987B1 (en) Method and terminal device for extracting web page content
CN105955888B (en) Page debugging preview method and system
CN111259294A (en) Page loading request response method, device, equipment and storage medium
CN110764682A (en) Page control method, page control device and computer-readable storage medium
CN108415804B (en) Method for acquiring information, terminal device and computer readable storage medium
CN106250498B (en) Method, equipment and system for realizing multi-system page switching
CN105718313A (en) Application operation method and device
CN105472694B (en) Method, device, terminal and storage medium for accessing WiFi through scanning two-dimensional code
EP2755145A1 (en) Webpage browsing method and device, and storage medium
CN104778405B (en) Ad blocking method and device
CN104378345A (en) Security detection method and system for URL of mobile client
CN107045546B (en) Webpage processing method and device and intelligent terminal
EP4198773A1 (en) Image processing method and apparatus, and computer readable storage medium
CN115309470B (en) Method, device, equipment and storage medium for loading widget
CN104657668A (en) Terminal
KR101402146B1 (en) Method for scraping web screen in mobile device and mobile device providing web screen scraping
CN105095253A (en) Webpage display method and webpage display device
CN109522021B (en) Parameter callback processing method and device, electronic equipment and storage medium
CN106843559B (en) User instruction identification and processing method and device
CN111159615A (en) Webpage processing method and device
CN106598617A (en) Method for setting webpage shortcut, and electronic equipment
CN105095289A (en) Webpage access method and device
CN108345683A (en) Webpage display process, device, terminal and storage medium
CN104657991A (en) Picture processing method
CN104834589A (en) Webpage detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200609

RJ01 Rejection of invention patent application after publication