Unlock instant, AI-driven research and patent intelligence for your innovation.

Forwarding method and system based on container ports

A forwarding method and port technology, which are applied in the field of container port-based forwarding methods and systems, can solve problems such as the impact of continuous use by users, and achieve the effect of simple and reliable operation.

Pending Publication Date: 2020-06-05
GUANGDONG EFLYCLOUD COMPUTING CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the upgrade solutions of many software products are to switch and upgrade by reminding users to update, or choosing to interrupt for a few seconds in the early morning when there are few service requests. Most upgrades will more or less affect users The continuous use of

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Forwarding method and system based on container ports
  • Forwarding method and system based on container ports

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] Such as figure 1 As shown, this embodiment provides a container port-based forwarding system, the main body is a physical machine, and performs the interaction between the requester and the physical machine. The physical machine includes a port service interface, a port forwarding module, and a first code container (now There is a code container) and a second code container (updated code container), the port service interface is connected to the port forwarding module, and both the first code container and the second code container are connected to the port forwarding module.

[0022] Wherein, the port service includes port 80, the first code container includes port 1001, the second code container includes port 1002, the first code container is installed with an old version software program or an old version code program, and the second code container is installed with a new version software program Or a new version code program.

[0023] The container port-based forwa...

Embodiment 2

[0027] This embodiment provides a container port-based forwarding method based on the container port-based forwarding system in Embodiment 1, such as figure 2 As shown, the steps are:

[0028] S11, the requester initiates a request command, and the port service interface sends the request command to the port forwarding module using port 80, and the port forwarding module forwards the request command to port 1001; the port service interface includes HTTP port service, TCP port service, UDP port service and DNS port service, etc.;

[0029] S12. After receiving the request command at port 1001, the first code container feeds back the information content according to the request command, and then forwards the information content from port 1001 to port 80, and port 80 forwards the information content to the requester; the first code container An old version of a software program or an old version of a code program is installed;

[0030] S13, when needing to use the latest softwa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a forwarding method and a forwarding system based on container ports. The forwarding method comprises the steps that: a requester initiates a request command, a port service interface transmits the request command to a port forwarding module through using an 80 port, and the port forwarding module forwards the request command to a 1001 port; a first code container feeds back information content according to the request command, then forwards the information content from the 1001 port to the 80 port, and finally forwards the information content to the requester; and under the condition that the service needs to be upgraded, the requester initiates a new request command again, the port service interface sends the new request command to the port forwarding module by using the 80 port, the port forwarding module forwards the new request command to a 1002 port, and a second code container feeds back information content according to the new request command, then forwards the information content to the 80 port from the 1002 port and finally forwards the information content to the requester. According to the forwarding method and the forwarding system, a seamless and uninterrupted service software upgrading scheme is realized by utilizing the existing popular container technology and combining the existing mature and stable port forwarding technology.

Description

technical field [0001] The invention relates to the technical field of software development, in particular to a container port-based forwarding method and system thereof. Background technique [0002] Software development is a process of continuous updating and iteration. A developed product needs to be upgraded after the software code is updated. Therefore, in the upgrading process, it is necessary to achieve seamless upgrading as much as possible, or make the user unaware that it is in the process of upgrading. And does not affect the software service. [0003] At present, the upgrade solutions of many software products are to switch and upgrade by reminding users to update, or choosing to interrupt for a few seconds in the early morning when there are few service requests. Most upgrades will more or less affect users continuous use will affect. Contents of the invention [0004] The technical problem to be solved by the present invention is to provide a container port...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/65G06F9/455
CPCG06F8/65G06F9/45558
Inventor 麦剑史伟闵宇
Owner GUANGDONG EFLYCLOUD COMPUTING CO LTD