WO2017028695A1 - Procédé et appareil pour publier une application de page web - Google Patents
Procédé et appareil pour publier une application de page web Download PDFInfo
- Publication number
- WO2017028695A1 WO2017028695A1 PCT/CN2016/093892 CN2016093892W WO2017028695A1 WO 2017028695 A1 WO2017028695 A1 WO 2017028695A1 CN 2016093892 W CN2016093892 W CN 2016093892W WO 2017028695 A1 WO2017028695 A1 WO 2017028695A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- new
- application
- work process
- webpage application
- traffic
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Definitions
- web applications (or web applications) often require an additional web application publishing system when publishing, for example, development and hosting represented by GAE (Google App Engine, Google's Internet application service engine).
- GAE Google App Engine, Google's Internet application service engine
- the web application platform does not have the function of self-publishing web applications, so an additional web application publishing system is required.
- the original worker process is terminated by an additional publishing system, and then the new worker process is started, wherein the original worker process and the new worker process are both located in a web container (or a web container), and the web page is applied to the web container.
- a method for publishing a webpage application comprising:
- Traffic that is applied to the web page in the original worker process is directed to the new worker process.
- the referencing the traffic of the webpage application in the original working process to the new worker process comprises: directing, by the reverse proxy process, traffic of the webpage application in the original working process to the New work Cheng.
- the web container includes a management process for managing the new worker process and the reverse proxy process.
- a draining device configured to direct traffic of the webpage application in the original working process to the new worker process.
- the present application creates a new work process for a webpage application to be published in a web container, and when the new worker process is successfully started, the webpage is applied to the traffic in the original work process through a reverse proxy process.
- the work process and the reverse agent process are managed by the management process, and the original work process is finally terminated, and the release of the webpage application is completed.
- the function of self-publishing webpage application is realized, and an additional publishing system is omitted, which reduces the cost of development and operation and maintenance.
- the problem can be discovered and adjusted in a grayscale manner, thereby ensuring the stability of the overall system.
- FIG. 3 is a schematic diagram of an apparatus for publishing a webpage application according to another aspect of the present application.
- the web container in the present application includes a reverse proxy process and a management process in addition to the work processes already existing in the prior art.
- a new work process is created in the web container for the web application to be published, wherein the web application has a corresponding original work process in the web container, and then the traffic is transferred from the original work process to the original work process through the reverse proxy process.
- FIG. 1 shows a flow chart of a method for publishing a web application in accordance with an aspect of the present application.
- the method includes step S11 and step S12. Specifically, in step S11, the device 1 creates a new work process in the web container for the webpage application to be published, wherein the webpage application has a corresponding original work process in the web container; in step S12, the device 1 directing the webpage application traffic in the original work process to the new worker process.
- the network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a plurality of servers; wherein the cloud is composed of a large number of computers or network servers based on Cloud Computing Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computers.
- the network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like.
- the device 1 may also be a script program running on the user equipment, the network device, or the user equipment and the network device, the network device, the touch terminal, or the network device and the touch terminal integrated through the network.
- the above-mentioned device 1 is only an example, and other existing or future devices 1 may be applicable to the present application, and are also included in the protection scope of the present application, and are hereby incorporated by reference. Included here.
- step S11 the device 1 creates a new work process in the web container for the webpage application to be published, wherein the webpage application has a corresponding original work process in the web container.
- a new worker process can be created according to the original work process by calling the fork function.
- a worker process group can include one or more worker processes with the same function.
- the web container includes a management process for managing the new worker process and the reverse proxy process.
- the device 1 directs part of the traffic of the webpage application in the original working process to the new worker process.
- grayscale publishing refers to a publishing method that can smoothly transition between black and white, gradually expanding the scope of distribution, and finally reaching a full release.
- the grayscale release can ensure the stability of the overall system, and the problem can be found and adjusted at the initial gray level to ensure the user experience.
- a specific version of a webpage application may be accessed by a specific one or more IP addresses according to a user's IP address by specifying in the background of the system.
- Grayscale publishing can also be achieved by the cooperation of the worker process and the reverse proxy process, using the information (cookie) uniquely labeled in the request for each request.
- FIG. 2 illustrates a flow chart of a method for publishing a webpage application according to an embodiment of the present application.
- the draining device 12 directs the traffic of the webpage application in the original working process to the new worker process.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
L'invention concerne un procédé et un appareil pour publier une application de page Web. Le procédé consiste : à créer un nouveau processus de travail pour une application de page Web à publier dans un contenant Web, un processus de travail d'origine correspondant à l'application de page Web existant dans le contenant Web (S11) ; et après que le nouveau processus de travail est démarré avec succès, à introduire un trafic de l'application de page Web dans le processus de travail d'origine dans le nouveau processus de travail au moyen d'un processus de mandataire inverse (S12) pour achever la publication de l'application de page Web. Par ajout d'un processus de mandataire inverse et d'un processus de gestion dans un contenant Web, une fonction de publication automatique d'une application de page Web est réalisée, un système de publication supplémentaire est omis, et les coûts de développement, d'opération et de maintenance sont réduits. En outre, par introduction d'une partie du trafic d'une application de page Web dans un processus de travail d'origine dans un nouveau processus de travail, les problèmes peuvent être trouvés et résolus à temps par moyen d'une publication par étapes, de telle sorte qu'un système entier est garanti d'être stable.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510504436.9A CN106469154A (zh) | 2015-08-17 | 2015-08-17 | 一种用于发布网页应用的方法与设备 |
CN201510504436.9 | 2015-08-17 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017028695A1 true WO2017028695A1 (fr) | 2017-02-23 |
Family
ID=58050727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/093892 WO2017028695A1 (fr) | 2015-08-17 | 2016-08-08 | Procédé et appareil pour publier une application de page web |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106469154A (fr) |
WO (1) | WO2017028695A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413921A (zh) * | 2019-06-21 | 2019-11-05 | 深圳壹账通智能科技有限公司 | 网页加载方法、装置、计算机设备和存储介质 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107920112B (zh) * | 2017-11-01 | 2022-04-22 | 重庆金融资产交易所有限责任公司 | 支持灰度模式的配置文件推送方法、中心服务器及存储介质 |
CN108470001B (zh) * | 2018-03-16 | 2021-02-26 | 北京腾云天下科技有限公司 | 一种网页应用灰度发布方法、服务器及系统 |
CN109347894A (zh) * | 2018-08-10 | 2019-02-15 | 锐捷网络股份有限公司 | 管理FastCGI进程的方法、管理器、设备及介质 |
CN109669817A (zh) * | 2018-12-19 | 2019-04-23 | 深圳市活力天汇科技股份有限公司 | 一种基于PM2的Node.js服务器重启方法 |
CN110716730B (zh) * | 2019-10-14 | 2023-09-26 | 网易(杭州)网络有限公司 | 灰度发布方法、装置、设备及计算机可读存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1492352A (zh) * | 2002-10-07 | 2004-04-28 | �Ҵ���˾ | 用于远程web服务克隆和例示的系统和方法 |
CN101702692A (zh) * | 2009-10-30 | 2010-05-05 | 南京中兴软创科技股份有限公司 | 一种对消息处理系统进行热更新的系统及其方法 |
CN102782648A (zh) * | 2010-03-04 | 2012-11-14 | 微软公司 | 用于诸如web应用之类的服务器应用的虚拟环境 |
CN103577321A (zh) * | 2012-08-07 | 2014-02-12 | 阿里巴巴集团控股有限公司 | 一种网站页面的多版本并行测试方法和服务器 |
US20140082593A1 (en) * | 2012-09-15 | 2014-03-20 | Yahoo! Inc. | Testing framework for dynamic web pages |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102693177B (zh) * | 2011-03-23 | 2015-02-04 | 中国移动通信集团公司 | 虚拟机故障诊断方法、处理方法及其装置和系统 |
-
2015
- 2015-08-17 CN CN201510504436.9A patent/CN106469154A/zh active Pending
-
2016
- 2016-08-08 WO PCT/CN2016/093892 patent/WO2017028695A1/fr active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1492352A (zh) * | 2002-10-07 | 2004-04-28 | �Ҵ���˾ | 用于远程web服务克隆和例示的系统和方法 |
CN101702692A (zh) * | 2009-10-30 | 2010-05-05 | 南京中兴软创科技股份有限公司 | 一种对消息处理系统进行热更新的系统及其方法 |
CN102782648A (zh) * | 2010-03-04 | 2012-11-14 | 微软公司 | 用于诸如web应用之类的服务器应用的虚拟环境 |
CN103577321A (zh) * | 2012-08-07 | 2014-02-12 | 阿里巴巴集团控股有限公司 | 一种网站页面的多版本并行测试方法和服务器 |
US20140082593A1 (en) * | 2012-09-15 | 2014-03-20 | Yahoo! Inc. | Testing framework for dynamic web pages |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413921A (zh) * | 2019-06-21 | 2019-11-05 | 深圳壹账通智能科技有限公司 | 网页加载方法、装置、计算机设备和存储介质 |
CN110413921B (zh) * | 2019-06-21 | 2022-08-30 | 深圳壹账通智能科技有限公司 | 网页加载方法、装置、计算机设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN106469154A (zh) | 2017-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017028695A1 (fr) | Procédé et appareil pour publier une application de page web | |
US11870702B1 (en) | Dynamic resource allocation of cloud instances and enterprise application migration to cloud architecture | |
US10037220B2 (en) | Facilitating software-defined networking communications in a container-based networked computing environment | |
WO2017084508A1 (fr) | Procédé et dispositif de dissimulation automatique de points | |
TWI718232B (zh) | 業務執行方法及裝置 | |
EP3044936B1 (fr) | Procédé et dispositif de téléchargement et installation d'un client | |
JP2014521184A (ja) | 信頼レベルのアクティブ化 | |
US20160345283A1 (en) | Method and apparatus for adjacent node registration, and method and system for cross-node registration | |
US11838296B1 (en) | Providing secure software project development environments | |
US20230216895A1 (en) | Network-based media processing (nbmp) workflow management through 5g framework for live uplink streaming (flus) control | |
US8972968B1 (en) | Alternate service for applications | |
US20130007184A1 (en) | Message oriented middleware with integrated rules engine | |
CN107678741B (zh) | 列表视图的实现方法、装置、可读存储介质及设备 | |
TWI659312B (zh) | Business processing method and device | |
US20180063234A1 (en) | Assigning client virtual machines based on location | |
CN111694639A (zh) | 进程容器地址的更新方法、装置和电子设备 | |
TWI672019B (zh) | 調用文件之方法與裝置 | |
US20150256589A1 (en) | Data processing systems and methods | |
US11071151B2 (en) | Methods and apparatuses for connecting a wireless access point through an application in a user equipment | |
CN110807162A (zh) | 加载占位图的方法和装置 | |
US9075640B1 (en) | Sharing applications in a java virtual machine | |
CN111262904A (zh) | 服务代理系统及方法 | |
CN110764930A (zh) | 基于消息模式的请求或应答处理方法及装置 | |
US20190121649A1 (en) | User interface metadata from an application program interface | |
US20240015131A1 (en) | Processing Method and Device for External Link Rewriting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16836559 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16836559 Country of ref document: EP Kind code of ref document: A1 |