CN111190664A - Method and system for generating page - Google Patents

Method and system for generating page Download PDF

Info

Publication number
CN111190664A
CN111190664A CN201811357432.2A CN201811357432A CN111190664A CN 111190664 A CN111190664 A CN 111190664A CN 201811357432 A CN201811357432 A CN 201811357432A CN 111190664 A CN111190664 A CN 111190664A
Authority
CN
China
Prior art keywords
page
domain name
end components
component
identifier
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
CN201811357432.2A
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201811357432.2A priority Critical patent/CN111190664A/en
Publication of CN111190664A publication Critical patent/CN111190664A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Human Computer Interaction (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a system for generating a page, and relates to the technical field of computers. One embodiment of the method comprises: receiving and analyzing a page access request, wherein the page access request comprises a domain name of a page and an identifier of the page; acquiring one or more front-end components and service data according to the domain name of the page and the identification of the page, filling the one or more front-end components with the service data, and generating a corresponding front-end component view; assembling the front-end component view to generate the page. The implementation mode can avoid independently developing a foreground system of the service line, thereby further reducing the cost, preventing confusion among a plurality of service lines and improving the operation efficiency of the system; the resource utilization rate of the system can be adjusted according to the load; the data of a plurality of service lines can be integrated and stored, and statistics and analysis of the data are facilitated.

Description

Method and system for generating page
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, a system, an electronic device, and a computer-readable medium for generating a page.
Background
With the diversification of the development of the service line, the website operation system of a single service line can not meet the development requirements of the diversified services. For example, for e-commerce websites, a plurality of service lines are derived according to service development needs, and the requirements and the deployment of each service line are different. In the prior art, deployment of a plurality of service lines generally has two modes, one is a chimney mode, namely, a special research and development team is equipped for each service line to carry out system research and development and maintenance, and each service line is independently deployed with a whole set of service operation system; and the second type is a platform type, each service line is abstracted, common and general background services are extracted to form a platform system, and then a set of foreground system is independently maintained for each service to run.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the chimney-type service line operation system needs to be developed and maintained independently, and a plurality of service lines possibly have the problems of repeated development and maintenance and need higher cost; system resources are wasted when the load is low, generally configured according to the highest load; the business data of each business line is stored dispersedly, which is not beneficial to data statistics and analysis.
Although the platform-type service line operating system overcomes some problems of the chimney-type service line operating system, a foreground system still needs to be developed independently for each service line; system resources are wasted when the load is low, generally configured according to the highest load; the boundary division of the foreground system of each service line is easy to be disordered, and the operation efficiency of the system is influenced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and a system for generating a page, which can avoid developing a foreground system of a service line separately, thereby further reducing cost, preventing confusion among multiple service lines, and improving system operation efficiency; the resource utilization rate of the system can be adjusted according to the load; the data of a plurality of service lines can be integrated and stored, and statistics and analysis of the data are facilitated.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of generating a page, including: receiving and analyzing a page access request, wherein the page access request comprises a domain name of a page and an identifier of the page; acquiring one or more front-end components and service data according to the domain name of the page and the identification of the page, and filling the one or more front-end components with the service data to generate corresponding front-end component views; assembling the front-end component view to generate the page.
Optionally, the method further comprises: and selecting the proxy node for receiving the page access request in the proxy node cluster according to the load of the proxy node by using the service gateway.
Optionally, the method further comprises: and acquiring parameters to be used by the one or more front-end components according to the domain name of the page and the identifier of the page.
Optionally, before acquiring one or more front-end components for generating the page according to the domain name of the page and the identifier of the page, the method further includes: and storing the domain name of the page, the corresponding relation between the identifier of the page and the one or more front-end components, and the parameters to be used by the one or more front-end components.
Optionally, one or more block components are included in the front end component.
Optionally, the corresponding relationship between the front-end component and the block component and the personalized parameters of the block component are saved according to the service data.
Optionally, before acquiring one or more front-end components and service data according to the domain name of the page and the identifier of the page, the method further includes: and distributing the domain name of the page and the identification of the page according to the service data.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided a system for generating a page, including one or more proxy nodes, one or more front-end components, wherein: the one or more proxy nodes are used for receiving and analyzing a page access request, wherein the page access request comprises a domain name of the page and an identifier of the page; acquiring one or more front-end components according to the domain name of the page and the identifier of the page; the one or more front-end components are configured to obtain business data; populating the one or more front-end components with the business data, generating respective front-end component views; and the one or more proxy nodes are further configured to assemble the front-end component view to generate the page.
Optionally, the system further includes a service gateway, configured to select, in the proxy node cluster, a proxy node for receiving the page access request according to a load of the proxy node.
Optionally, the one or more proxy nodes are further configured to obtain parameters to be used by the one or more front-end components according to the domain name of the page and the identifier of the page.
Optionally, the system further includes a configuration unit, where the configuration unit is configured to store a domain name of the page, a correspondence between the identifier of the page and the one or more front-end components, and parameters to be used by the one or more front-end components; and the one or more proxy nodes acquire one or more front-end components used for generating the page and parameters to be used by the one or more front-end components from the configuration unit according to the domain name of the page and the identifier of the page.
Optionally, one or more block components are included in the front end component.
Optionally, the configuration unit is further configured to store a corresponding relationship between the front-end component and the tile component and an individualized parameter of the tile component according to the service data.
Optionally, the configuration unit is further configured to allocate the domain name of the page and the identifier of the page according to the service data.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided an electronic apparatus including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement any of the methods of generating pages.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided a computer-readable medium on which a computer program is stored, the program, when executed by one or more processors, implementing any one of the methods of generating a page.
One embodiment of the above invention has the following advantages or benefits: because the technical means of obtaining the components and the service data and assembling the components and the service data is adopted, the technical problem that the cost of a traditional independent development foreground system is high is solved, and the technical effects of reducing the operation cost and improving the operation efficiency are achieved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of the main steps of a method of generating a page according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a system composition according to an embodiment of the invention;
FIG. 3 is a schematic diagram of the main parts of a system for generating pages according to an embodiment of the invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 5 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of main steps of a method for generating a page according to an embodiment of the present invention, as shown in fig. 1:
step S101, receiving and analyzing a page access request, wherein the page access request comprises a domain name of a page and an identifier of the page; the agent nodes are nodes which receive and analyze the webpage access requests of all the service lines in an agent mode, a plurality of agent nodes can form an agent cluster, and all the service lines share the same agent cluster. The Domain Name (Domain Name), abbreviated as Domain Name or web Domain, of a page is the Name of a computer or a group of computers on the Internet, which is composed of a string of names separated by points, and is used to identify the electronic position (sometimes also referred to as geographical location) of the computer during data transmission. The identification of the page refers to identification for identifying the page, such as a name, a code, and the like of the page, and the identification of the page is generally preset. The access request of the page is generally sent in the form of a URL (Uniform Resource Locator), where the URL includes a domain name of the page and an identifier of the page, for example, a URL is http:// www.xyz.com/sku/1234.html, where www.xyz.com is a domain name part and sku is a name of the page, and further, the URL may also include other information such as parameters of the page.
The method further comprises the following steps: receiving the page access request from a service gateway, wherein the service gateway is to one or more of: load balancing, flow control, network security protection and network monitoring. One embodiment of the invention is to use a service gateway to select a proxy node in a proxy node cluster for receiving the page access request according to the load of the proxy node. The service gateway refers to a component with a gateway function, and can select a proxy node with a lower load from the proxy node cluster to receive an access request of a page according to the load condition of the monitoring goods inquiry proxy node. The service gateway can determine the agent node with lower load by means of load balancing technologies such as a round-robin method, a random method and a minimum link method. Furthermore, the Service gateway can also have the safety protection functions of intrusion protection, flow control, network monitoring and the like, and actively intercept malicious flows such as hacker attack, worm, network virus, backdoor trojan horse, DDOS (Distributed Denial of Service) attack and the like in real time; blocking all illegal flows, managing the maximum utilization of legal resources, comprehensively monitoring and managing network behaviors and assisting in identifying the illegal flows; network threats such as Trojan hooking and injection can be prevented, and the technology implementation of VPN (Virtual Private Network), IPS (Intrusion Prevention System) and firewall can be used. The service gateway can also have a request failover function and is realized by zookeeper (a distributed open-source application program coordination service) and other technologies.
Step S102 represents obtaining one or more front-end components and service data according to the domain name of the page and the identifier of the page. This step may also be performed using a proxy node. The purpose of this step is to determine the components included in the page to be accessed.
Before obtaining one or more front-end components for generating the page according to the domain name of the page and the identifier of the page, the method further includes: and storing the domain name of the page, the corresponding relation between the identifier of the page and the one or more front-end components, and the parameters to be used by the one or more front-end components. The parameters include general parameters and personalized parameters, the general parameters refer to parameters for configuring the front-end component in general, and the personalized parameters may be parameters for different scenes of the service data as configurable items. Before acquiring one or more front-end components and service data according to the domain name of the page and the identifier of the page, the method further comprises the following steps: and distributing the domain name of the page and the identification of the page according to the service data. And after receiving the access request of the page, acquiring corresponding service data according to the domain name of the previously distributed page and the identification of the page.
One embodiment of the invention is that the configuration center establishes a corresponding relation between the identification of the domain name and the page and the front-end component and the parameters used by the front-end component, and stores the corresponding relation in a component list; and saving the corresponding relation and the component list. When the service line is on-line, a list of components included in the page is set and stored in the configuration center in advance, the corresponding relation between the domain name and the identification of the page and the component list is clarified, and the domain name and the identification of the page corresponding to the service data are identified. Further, the component list also includes related configuration parameters; the component list can be edited, and the page expansibility is improved. The configuration center may be implemented by zookeeper technology.
Step S103 represents populating the one or more front-end components with the business data, generating a corresponding front-end component view. According to one embodiment of the invention, the front-end component library uses the service data and corresponding components in the component list of the page to render according to the component list of the page, so as to obtain a front-end component view of the page. The combination of the components of the page and the corresponding business data constitute a front-end component view that is part of the constituent page.
The method further comprises the following steps: the front end component includes one or more block components therein. And storing the corresponding relation between the front-end component and the block component and the personalized parameters of the block component according to the service data. The front-end component library can be composed of a series of page components and block components used by the front end, and each component has a group of personalized configurations to adapt to different use scenes. Different block components can be embedded in the page component to bear different function outputs. The components in the front-end component library can deploy one or more instances, and the number of the instances can be smoothly scaled. If a plurality of service deployment devices are deployed, the service invocation is carried out in a load balancing mode, such as a polling method, a random method, a minimum number of use method and the like.
Further, the front-end component library obtains service data from the service platform. The service platform provides a set of common service interfaces for use by the front-end component library. The service platform covers the service functions of each service line, such as service data of user information, order information, commodity information, price information and the like. The capacity can be expanded quickly and smoothly. The storage of the service platform can adopt methods of database division, table division, filing and the like, and the storage support of the big data is ensured. Further, the business platform can also interface with data marts. The data of a plurality of service lines are integrated and stored, and statistics and analysis of the data are facilitated.
Step S104 represents assembling the front-end component view to generate the page. One embodiment of the invention is that the agent node can acquire a complete page view assembled by embedding a block component view in the page component view from the configuration center, thereby generating a page to be accessed. The foreground system of the service line is avoided being independently developed, so that the cost is further reduced, the disorder among a plurality of service lines is prevented, and the operating efficiency of the system is improved
Fig. 2 is a schematic diagram of a system according to an embodiment of the present invention, as shown in fig. 2:
one embodiment of the invention is that 10 agent nodes are deployed in an agent node cluster, a front-end component library comprises 4 sku components and 5 advertisement space components, and a component list and personalized configuration parameters of a sku page under a vsp.
The service request flow example is as follows:
page access request url http:// vsp.jd.com/sku/2248768 html
The service gateway selects the number 1 proxy node in the proxy node cluster by using a polling algorithm;
the agent node No. 1 analyzes the request, and extracts 3 parts of content, a domain name vsp.jd.com of the page, an identifier sku of the page and request parameters 2248768;
the number 1 proxy node acquires a component list (the list comprises a sku component and an advertisement space component) and personalized configuration parameters of a sku page from a configuration center;
the number 1 agent node selects the number 1 sku component and the number 2 advertisement position component in a front end component library by using a polling algorithm, requests the number 1 sku component and the number 2 advertisement position component at the same time, and transmits personalized configuration parameters to the number 1 sku component and the number 2 advertisement position component;
the sku component No. 1 and the advertisement bit component No. 2 request an interface of a service platform according to the personalized configuration parameters, obtain service data required by a page, and then render a front page view of the sku component and the advertisement bit component;
after the agent node 1 acquires the front page views of the sku component and the advertisement space component, the advertisement space component is embedded into the sku component view, and therefore a complete sku page is assembled;
the sku page is returned.
FIG. 3 is a schematic diagram of the main parts of a system 300 for generating pages according to an embodiment of the invention, as shown in FIG. 3:
system 300 includes one or more proxy nodes 301, one or more front-end components 302, wherein: the one or more proxy nodes 301 are configured to receive and parse a page access request, where the page access request includes a domain name of the page and an identifier of the page; acquiring one or more front-end components 302 according to the domain name of the page and the identifier of the page; one or more front-end components 302 for obtaining business data; populating the one or more front-end components with the business data, generating respective front-end component views; and one or more proxy nodes 301 are also used to assemble the front-end component view to generate the page. A plurality of proxy nodes 301 may be arranged as a proxy node cluster. Multiple front-end components 302 can make up a front-end component library.
The system 300 may further include a service gateway for selecting a proxy node in the proxy node cluster for receiving the page access request based on a load of the proxy node. One or more proxy nodes 301 are further configured to receive the page access request from a service gateway, wherein the service gateway is further configured to one or more of: flow control, network security protection and network monitoring.
The one or more proxy nodes 301 are further configured to obtain one or more parameters to be used by the front-end component 302 according to the domain name of the page and the identifier of the page.
The system 300 further includes a configuration unit, where the configuration unit is configured to store a domain name of the page, a correspondence between an identifier of the page and one or more front-end components 302, and one or more parameters to be used by the front-end components 302; and one or more proxy nodes 301 acquire one or more front-end components 302 used for generating the page and parameters to be used by the one or more front-end components 302 from the configuration unit according to the domain name of the page and the identifier of the page.
Further, one or more block components are included in the front-end component. The configuration unit is further configured to store a corresponding relationship between the front-end component and the tile component and an individualized parameter of the tile component according to the service data. The configuration unit is further configured to allocate the domain name of the page and the identifier of the page according to the service data.
Fig. 4 illustrates an exemplary system architecture 400 of a method of generating pages or a system of generating pages to which embodiments of the invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 serves as a medium for providing communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 401, 402, 403 to interact with a server 405 over a network 404 to receive or send messages or the like. The terminal devices 401, 402, 403 may have various communication client applications installed thereon, such as a shopping application, a web browser application, a search application, a database application, a mailbox client, and the like.
The terminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 405 may be a server providing various services, such as a background management server providing support for users using the terminal devices 401, 402, 403. The background management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (e.g., service data, parameters, and the like) to the terminal device.
It should be noted that, a method for generating a page provided by the embodiment of the present invention is generally executed by the server 405, and accordingly, a system for generating a page is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
FIG. 5 is a block diagram of a computer system 500 suitable for implementing a terminal device of an embodiment of the invention. The terminal device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, the processes described in the above step diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, the disclosed embodiments of the invention include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the step diagrams. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable media shown in the present invention include computer readable signal media or computer readable storage media, or any combination of the two. A computer readable storage medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, semiconductor system, apparatus, or device, or any combination of the foregoing. Computer-readable storage media specifically include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any combination of the foregoing. In the present invention, a computer readable storage medium includes any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device; a computer readable signal medium includes a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave, which may take many forms, including, but not limited to, electromagnetic signals, optical signals, or any combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF (radio frequency), etc., or any combination of the preceding.
The block diagrams or step diagrams in the figures, which illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention, may each represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or step diagrams, and combinations of blocks in the block diagrams or step diagrams, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware. The described modules or units may also be provided in a processor, and may be described as: a processor includes a proxy node and a front-end component. Where the names of these modules or units do not in some cases constitute a limitation on the modules or units themselves, for example, a proxy node may also be described as a "node for receiving and resolving page access requests".
On the other hand, the embodiment of the present invention also provides a computer-readable medium, which may be included in the apparatus described in the above embodiment; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: receiving and analyzing a page access request, wherein the page access request comprises a domain name of a page and an identifier of the page; acquiring one or more front-end components and service data according to the domain name of the page and the identification of the page, filling the one or more front-end components with the service data, and generating a corresponding front-end component view; assembling the front-end component view to generate the page.
According to the technical scheme of the embodiment of the invention, the independent development of a service line foreground system can be avoided, so that the cost is further reduced, the disorder among a plurality of service lines is prevented, and the system operation efficiency is improved; the resource utilization rate of the system can be adjusted according to the load; the data of a plurality of service lines can be integrated and stored, and statistics and analysis of the data are facilitated.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (16)

1. A method of generating a page, comprising:
receiving and analyzing a page access request, wherein the page access request comprises a domain name of a page and an identifier of the page;
acquiring one or more front-end components and service data according to the domain name of the page and the identifier of the page;
populating the one or more front-end components with the business data, generating respective front-end component views;
assembling the front-end component view to generate the page.
2. The method of claim 1, further comprising:
and selecting the proxy node for receiving the page access request in the proxy node cluster according to the load of the proxy node by using the service gateway.
3. The method of claim 1, further comprising: and acquiring parameters to be used by the one or more front-end components according to the domain name of the page and the identifier of the page.
4. The method of claim 3, wherein prior to obtaining one or more front-end components for generating the page based on the domain name of the page and the identity of the page, the method further comprises: and storing the domain name of the page, the corresponding relation between the identifier of the page and the one or more front-end components, and the parameters to be used by the one or more front-end components.
5. The method of claim 1, wherein the front end component comprises one or more block components therein.
6. The method according to claim 5, wherein the correspondence between the front-end component and the tile component and the personalization parameter of the tile component are saved according to the business data.
7. The method of claim 1, wherein prior to obtaining one or more front-end components and business data based on the domain name of the page and the identity of the page, further comprises:
and distributing the domain name of the page and the identification of the page according to the service data.
8. A system for generating pages, comprising one or more proxy nodes, one or more front-end components, wherein:
the one or more proxy nodes are for
Receiving and analyzing a page access request, wherein the page access request comprises a domain name of a page and an identifier of the page;
acquiring one or more front-end components according to the domain name of the page and the identifier of the page;
the one or more front end components are for
Acquiring service data;
populating the one or more front-end components with the business data, generating respective front-end component views; and
the one or more proxy nodes are further configured to assemble the front-end component view to generate the page.
9. The system of claim 8, further comprising a service gateway for selecting a proxy node in the proxy node cluster for receiving the page access request according to a load of the proxy node.
10. The system of claim 8, wherein the one or more broker nodes are further configured to obtain parameters to be used by the one or more front-end components based on a domain name of the page and an identity of the page.
11. The system of claim 8, further comprising a configuration unit, wherein,
the configuration unit is used for storing the domain name of the page, the corresponding relation between the identifier of the page and the one or more front-end components, and parameters to be used by the one or more front-end components; and
and the one or more proxy nodes acquire one or more front-end components used for generating the page and parameters to be used by the one or more front-end components from the configuration unit according to the domain name of the page and the identifier of the page.
12. The system of claim 8, wherein the front end component includes one or more block components therein.
13. The system according to claim 12, wherein the configuration unit is further configured to save a correspondence between the front-end component and the tile component and a personalization parameter of the tile component according to the service data.
14. The system according to claim 8, wherein said configuration unit is further configured to assign a domain name of said page and an identity of said page according to said service data.
15. An electronic device, comprising:
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 method of any one of claims 1-7.
16. A computer-readable medium, on which a computer program is stored, which, when being executed by one or more processors, carries out the method according to any one of claims 1-7.
CN201811357432.2A 2018-11-15 2018-11-15 Method and system for generating page Pending CN111190664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811357432.2A CN111190664A (en) 2018-11-15 2018-11-15 Method and system for generating page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811357432.2A CN111190664A (en) 2018-11-15 2018-11-15 Method and system for generating page

Publications (1)

Publication Number Publication Date
CN111190664A true CN111190664A (en) 2020-05-22

Family

ID=70705169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811357432.2A Pending CN111190664A (en) 2018-11-15 2018-11-15 Method and system for generating page

Country Status (1)

Country Link
CN (1) CN111190664A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112965699A (en) * 2021-04-12 2021-06-15 中国工商银行股份有限公司 Front-end page generation method, device, computer system and readable storage medium
CN113765868A (en) * 2020-08-17 2021-12-07 北京沃东天骏信息技术有限公司 Service processing method and device
CN113947434A (en) * 2021-10-21 2022-01-18 北京沃东天骏信息技术有限公司 Business processing method and device for multi-business component combination scene

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428243A (en) * 2012-05-21 2013-12-04 阿里巴巴集团控股有限公司 Implementation method, device and system for static storage of dynamic webpage
CN108089878A (en) * 2017-12-14 2018-05-29 腾讯科技(深圳)有限公司 Page info shows and generation method, apparatus and system
CN108153788A (en) * 2016-12-02 2018-06-12 阿里巴巴集团控股有限公司 Page info individualized process method, apparatus and system
CN108446116A (en) * 2018-02-26 2018-08-24 平安普惠企业管理有限公司 Generation method, device, computer equipment and the storage medium of the application program page

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428243A (en) * 2012-05-21 2013-12-04 阿里巴巴集团控股有限公司 Implementation method, device and system for static storage of dynamic webpage
CN108153788A (en) * 2016-12-02 2018-06-12 阿里巴巴集团控股有限公司 Page info individualized process method, apparatus and system
CN108089878A (en) * 2017-12-14 2018-05-29 腾讯科技(深圳)有限公司 Page info shows and generation method, apparatus and system
CN108446116A (en) * 2018-02-26 2018-08-24 平安普惠企业管理有限公司 Generation method, device, computer equipment and the storage medium of the application program page

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113765868A (en) * 2020-08-17 2021-12-07 北京沃东天骏信息技术有限公司 Service processing method and device
CN113765868B (en) * 2020-08-17 2023-08-08 北京沃东天骏信息技术有限公司 Service processing method and device
CN112965699A (en) * 2021-04-12 2021-06-15 中国工商银行股份有限公司 Front-end page generation method, device, computer system and readable storage medium
CN112965699B (en) * 2021-04-12 2024-04-30 中国工商银行股份有限公司 Front-end page generation method, device, computer system and readable storage medium
CN113947434A (en) * 2021-10-21 2022-01-18 北京沃东天骏信息技术有限公司 Business processing method and device for multi-business component combination scene

Similar Documents

Publication Publication Date Title
US10320940B1 (en) Managing generic data
CN109218368B (en) Method, device, electronic equipment and readable medium for realizing Http reverse proxy
US10592399B2 (en) Testing web applications using clusters
CN110958237A (en) Authority verification method and device
CN109597643A (en) Using gray scale dissemination method, device, electronic equipment and storage medium
CN104111944A (en) Page processing method and device and page generating method and device
CN109088909B (en) Service gray level publishing method and device based on merchant type
CA2943561C (en) Serving approved resources
CN109284466B (en) Method, apparatus and storage medium for enabling web page access in blockchain
CN111190664A (en) Method and system for generating page
CN108737471B (en) Network access method and device
US9578012B2 (en) Restricted content publishing with search engine registry
CN104333548A (en) Method and system of accessing local services in https websites
CN110505074B (en) Application modularization integration method and device
CN112202744B (en) Multi-system data communication method and device
CN108880923A (en) The method and apparatus that policer operation applied to application server is requested
CN113778499A (en) Method, device, equipment and computer readable medium for publishing service
US10834139B2 (en) Flexibly configurable data modification services
CN113271300B (en) Authentication system and method
CN115080274A (en) Service processing method, device and system and interface mapping system
CN103609074A (en) Application specific WEB request routing
CN112448931B (en) Network hijacking monitoring method and device
CN111783044B (en) Method and device for sharing login state
CN113419878B (en) Data operation method and device
CN109508519A (en) Method and apparatus for handling request

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