[go: up one dir, main page]

CN115086210B - A communication system and communication method between a test environment and a third-party Internet environment - Google Patents

A communication system and communication method between a test environment and a third-party Internet environment Download PDF

Info

Publication number
CN115086210B
CN115086210B CN202210508153.1A CN202210508153A CN115086210B CN 115086210 B CN115086210 B CN 115086210B CN 202210508153 A CN202210508153 A CN 202210508153A CN 115086210 B CN115086210 B CN 115086210B
Authority
CN
China
Prior art keywords
test environment
application
reverse proxy
test
party internet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210508153.1A
Other languages
Chinese (zh)
Other versions
CN115086210A (en
Inventor
李凡林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech 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 Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN202210508153.1A priority Critical patent/CN115086210B/en
Publication of CN115086210A publication Critical patent/CN115086210A/en
Application granted granted Critical
Publication of CN115086210B publication Critical patent/CN115086210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种测试环境与第三方互联网环境的通讯系统及通讯方法,包括:主机设置在生产互联网域,主机上部署有nginx反向代理,nginx反向代理配置测试环境应用转发端口和第三方互联网应用转发端口,测试环境应用转发端口配置测试F5负载;nginx反向代理与测试环境下的测试环境应用相通讯,其中,nginx反向代理根据测试环境应用端口,打通与测试环境的相关网络策略;测试环境根据nginx反向代理上配置的第三方互联网应用转发端口,打通与nginx反向代理的网络策略;测试F5负载映射公网IP,nginx反向代理主机映射公网IP。本发明增加对外访问的安全管控,保证测试环境和第三方互联网应用的联调访问。

The present invention discloses a communication system and a communication method between a test environment and a third-party Internet environment, including: a host is set in a production Internet domain, an nginx reverse proxy is deployed on the host, the nginx reverse proxy configures a test environment application forwarding port and a third-party Internet application forwarding port, and the test environment application forwarding port configures a test F5 load; the nginx reverse proxy communicates with the test environment application under the test environment, wherein the nginx reverse proxy opens up the relevant network strategy with the test environment according to the test environment application port; the test environment opens up the network strategy with the nginx reverse proxy according to the third-party Internet application forwarding port configured on the nginx reverse proxy; the test F5 load maps a public network IP, and the nginx reverse proxy host maps a public network IP. The present invention increases the security control of external access and ensures the joint debugging access of the test environment and the third-party Internet application.

Description

Communication system and communication method for test environment and third party Internet environment
Technical Field
The invention relates to the technical field of network communication, in particular to a communication system and a communication method of a test environment and a third party Internet environment, which mainly realize communication between a telecom operator test environment and the third party Internet environment.
Background
With the interfacing between the telecom operator and the internet application, the production environment generally plans the internet domain to specially deploy the application with interaction, such as the communication system between the production environment and the third party internet environment shown in fig. 1, so as to ensure the access security.
However, for the test environment, no external interaction of the Internet domain is planned, so that inconvenience is brought to joint debugging access of the test environment and the third party Internet application, and potential safety hazards exist.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a communication system and a communication method for a test environment and a third party Internet environment.
The invention discloses a communication system of a test environment and a third party Internet environment, which comprises a host computer;
the host is arranged in the production internet domain, an nginx reverse proxy is deployed on the host, the nginx reverse proxy configures a test environment application forwarding port and a third party internet application forwarding port, and the test environment application forwarding port configures a test F5 load;
The nginx reverse proxy is communicated with the test environment application in the test environment, wherein the ginx reverse proxy opens the related network strategy of the test environment according to the test environment application port; the test environment opens the network policy with the nginx reverse proxy according to a third party internet application forwarding port configured on the nginx reverse proxy;
and the test F5 load maps the public network IP, and the nginx reverse proxy maps the public network IP.
As a further improvement of the present invention, the number of deployments of the host >2.
The invention also discloses a communication method based on the communication system, which comprises the steps that the third party internet application accesses the test environment application;
the method for accessing the test environment application by the third party Internet application comprises the following steps:
The third party internet application accesses the public network map IP for test F5 load, requests through test F5 load to the nginx reverse proxy, which forwards the relevant request to the test environment application.
As a further improvement of the invention, the method also comprises the steps that the test environment application accesses the third party Internet application;
the test environment application accessing a third party internet application, comprising:
The test environment application accesses a third-party Internet application forwarding port configured on the nginx reverse proxy, and the ginx reverse proxy accesses the third-party Internet application through public network mapping IP.
Compared with the prior art, the invention has the beneficial effects that:
1. The unified management, namely, the production environment and the test environment are interacted with the third party Internet application for unified management;
2. The security control, the test environment executes the security policy as the production environment, and the related address is opened in a directional way;
3. And the application interview, namely the test environment and the third party Internet application mutually call and joint call functions, so as to ensure the online quality.
Drawings
FIG. 1 is a schematic diagram of a communication system framework of a conventional production environment and a third party Internet environment;
fig. 2 is a schematic diagram of a communication system framework of a test environment and a third party internet environment according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention is described in further detail below with reference to the attached drawing figures:
The invention provides a communication system and a communication method for a test environment and a third party Internet environment, which can unify the interaction between the test environment and a production environment and the third party Internet application, increase the safety control of external access and ensure the joint debugging access of the test environment and the third party Internet application.
Specific:
as shown in fig. 2, the communication system between the test environment and the third party internet environment of the invention is based on the original fig. 1, wherein, an nginx reverse proxy is added on the production internet domain, a test F5 load is added in the production environment, and a test environment application is added in the test domain of the test environment, and the following specific steps are:
N hosts are prepared in a production Internet domain, N is 2+ stations are recommended to be deployed based on the consideration of the function access quantity and high availability, an nginx reverse proxy is deployed on the prepared hosts, and a test environment application forwarding port and a third party Internet application forwarding port are configured, wherein the implementation method comprises the following steps:
The invention configures the test F5 load on the test environment application forwarding port, which ensures high availability of the application.
The invention discloses an nginx reverse proxy which communicates with a test environment application under a test environment, wherein the ginx reverse proxy is used for communicating with the test environment from the test environment according to a test environment application port, and communicating with the test environment from the test environment to the ginx according to a third party Internet application forwarding port configured on the ginx reverse proxy.
The test F5 load maps the public network IP, and the nginx reverse proxy maps the public network IP, so that the communication between the third party Internet application and the test environment application is realized.
Based on the communication system shown in fig. 2, the communication method between the test environment and the third party internet environment of the invention comprises the following steps:
1. The third party internet application accesses the test environment application:
The third party internet application accesses the public network map IP for test F5 load, requests through test F5 load to the nginx reverse proxy, which forwards the relevant request to the test environment application.
2. The test environment application accesses a third party internet application:
The test environment application accesses a third-party Internet application forwarding port configured on the nginx reverse proxy, and the ginx reverse proxy accesses the third-party Internet application through public network mapping IP.
The invention has the advantages that:
1. The unified management, namely, the production environment and the test environment are interacted with the third party Internet application for unified management;
2. The security control, the test environment executes the security policy as the production environment, and the related address is opened in a directional way;
3. And the application interview, namely the test environment and the third party Internet application mutually call and joint call functions, so as to ensure the online quality.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (4)

1.一种测试环境与第三方互联网环境的通讯系统,其特征在于,包括:主机;1. A communication system between a test environment and a third-party Internet environment, characterized by comprising: a host; 所述主机设置在生产环境的互联网域,在生产环境中,所述主机上部署有nginx反向代理,所述nginx反向代理配置测试环境应用转发端口和第三方互联网应用转发端口,所述测试环境应用转发端口配置测试F5负载;The host is set in the Internet domain of the production environment. In the production environment, an nginx reverse proxy is deployed on the host. The nginx reverse proxy configures a test environment application forwarding port and a third-party Internet application forwarding port. The test environment application forwarding port is configured to test the F5 load; 所述nginx反向代理与测试环境下的测试环境应用相通讯,其中,nginx反向代理根据测试环境应用端口,打通与测试环境的网络策略;测试环境根据所述nginx反向代理上配置的第三方互联网应用转发端口,打通与nginx反向代理的网络策略;The nginx reverse proxy communicates with the test environment application in the test environment, wherein the nginx reverse proxy opens up the network policy with the test environment according to the test environment application port; the test environment opens up the network policy with the nginx reverse proxy according to the third-party Internet application forwarding port configured on the nginx reverse proxy; 所述测试F5负载映射第一公网映射IP,所述nginx反向代理映射第二公网映射IP;第三方互联网应用访问测试F5负载的第一公网映射IP,请求通过测试F5负载到nginx反向代理,nginx反向代理将相关请求转发到测试环境应用;测试环境应用访问nginx反向代理上配置的第三方互联网应用转发端口,nginx反向代理通过第二公网映射IP访问第三方互联网应用。The test F5 load maps a first public network mapping IP, and the nginx reverse proxy maps a second public network mapping IP; a third-party Internet application accesses the first public network mapping IP of the test F5 load, and the request passes through the test F5 load to the nginx reverse proxy, and the nginx reverse proxy forwards the relevant request to the test environment application; the test environment application accesses the third-party Internet application forwarding port configured on the nginx reverse proxy, and the nginx reverse proxy accesses the third-party Internet application through the second public network mapping IP. 2.如权利要求1所述的通讯系统,其特征在于,所述主机的部署数量>2。2. The communication system as claimed in claim 1, characterized in that the number of deployed hosts is greater than 2. 3.一种基于权利要求1或2所述通讯系统的通讯方法,其特征在于,包括:第三方互联网应用访问测试环境应用;3. A communication method based on the communication system of claim 1 or 2, characterized in that it comprises: a third-party Internet application accesses a test environment application; 所述第三方互联网应用访问测试环境应用的方法,包括:The method for the third-party Internet application to access the test environment application includes: 第三方互联网应用访问测试F5负载的第一公网映射IP,请求通过测试F5负载到nginx反向代理,nginx反向代理将相关请求转发到测试环境应用。The third-party Internet application accesses the first public network mapping IP of the test F5 load, and the request passes through the test F5 load to the nginx reverse proxy, which forwards the relevant request to the test environment application. 4.如权利要求3所述的的通讯方法,其特征在于,还包括:测试环境应用访问第三方互联网应用;4. The communication method according to claim 3, further comprising: the test environment application accessing the third-party Internet application; 所述测试环境应用访问第三方互联网应用,包括:The test environment application accesses a third-party Internet application, including: 测试环境应用访问nginx反向代理上配置的第三方互联网应用转发端口,nginx反向代理通过第二公网映射IP访问第三方互联网应用。The test environment application accesses the third-party Internet application forwarding port configured on the nginx reverse proxy, and the nginx reverse proxy accesses the third-party Internet application through the second public network mapping IP.
CN202210508153.1A 2022-05-10 2022-05-10 A communication system and communication method between a test environment and a third-party Internet environment Active CN115086210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210508153.1A CN115086210B (en) 2022-05-10 2022-05-10 A communication system and communication method between a test environment and a third-party Internet environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210508153.1A CN115086210B (en) 2022-05-10 2022-05-10 A communication system and communication method between a test environment and a third-party Internet environment

Publications (2)

Publication Number Publication Date
CN115086210A CN115086210A (en) 2022-09-20
CN115086210B true CN115086210B (en) 2025-02-07

Family

ID=83247876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210508153.1A Active CN115086210B (en) 2022-05-10 2022-05-10 A communication system and communication method between a test environment and a third-party Internet environment

Country Status (1)

Country Link
CN (1) CN115086210B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426341A (en) * 2017-09-13 2017-12-01 北京智芯微电子科技有限公司 The system and method that APP interacts with service end
CN113900939A (en) * 2021-09-30 2022-01-07 深圳依时货拉拉科技有限公司 Test environment access method, apparatus, readable storage medium and computer device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6907546B1 (en) * 2000-03-27 2005-06-14 Accenture Llp Language-driven interface for an automated testing framework
US8752017B2 (en) * 2010-05-17 2014-06-10 Salesforce.Com, Inc. Method and system for remote debug protocol proxying for production debugging; selective session and user routing for debugging in multi-tenant cloud computing infrastructure
US8966446B1 (en) * 2010-09-29 2015-02-24 A9.Com, Inc. Systems and methods of live experimentation on content provided by a web site
CN104580540B (en) * 2013-10-09 2018-11-23 腾讯科技(深圳)有限公司 The implementation method and device of website visiting
CN105430108B (en) * 2014-08-25 2020-03-03 腾讯科技(深圳)有限公司 Test environment access method and proxy server
CN110611724A (en) * 2018-06-15 2019-12-24 上海仪电(集团)有限公司中央研究院 Internet of things gateway intranet penetration method based on reverse proxy
CN110716850B (en) * 2018-07-11 2022-05-06 腾讯科技(深圳)有限公司 Page testing method, device and system and storage medium
CN109086069A (en) * 2018-10-24 2018-12-25 特瓦特能源科技有限公司 A kind of background service seamless upgrade method and device thereof
CN109857428A (en) * 2018-12-29 2019-06-07 大唐软件技术股份有限公司 Gray scale dissemination method for IOM system
CN110647335B (en) * 2019-07-26 2024-06-25 平安科技(深圳)有限公司 Software gray level release method and device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426341A (en) * 2017-09-13 2017-12-01 北京智芯微电子科技有限公司 The system and method that APP interacts with service end
CN113900939A (en) * 2021-09-30 2022-01-07 深圳依时货拉拉科技有限公司 Test environment access method, apparatus, readable storage medium and computer device

Also Published As

Publication number Publication date
CN115086210A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
US10469442B2 (en) Adaptive resolution of domain name requests in virtual private cloud network environments
US20210273977A1 (en) Control access to domains, servers, and content
US8011000B2 (en) Public network access server having a user-configurable firewall
US8819211B2 (en) Distributed policy service
US20190273680A1 (en) Exposing a subset of hosts on an overlay network to components external to the overlay network without exposing another subset of hosts on the overlay network
CN112565484B (en) Method, system and storage medium for accessing local area network equipment by domain name seamless roaming
US20120297384A1 (en) Virtual Managed Network
US12184734B2 (en) Systems and methods for dynamic federated API generation
CN112948842A (en) Authentication method and related equipment
CN101217558A (en) A business middleware service load balancing method
CN116982295A (en) Packet flow in cloud infrastructure based on cached and non-cached configuration information
CN114389886B (en) Access method, device, equipment and storage medium of virtual private cloud service
US11166147B2 (en) Roaming among different types of networks
CN115379010A (en) A container network construction method, device, equipment and storage medium
CN106411742A (en) Message transmission method and device
CN108989420A (en) The method and system of registration service, the method and system for calling service
CN109947534B (en) Cloud security function scheduling system based on SDN
CN115086210B (en) A communication system and communication method between a test environment and a third-party Internet environment
CN110035099B (en) Multisystem management method, terminal equipment and storage medium
WO2025010985A1 (en) Service governance method and apparatus, and computer-readable storage medium
US20220182448A1 (en) State Management and Storage With Policy Enforcement in a Distributed Cloud Computing Network
CN117336721A (en) User tracing method and device, electronic equipment and computer storage medium
US9544202B2 (en) Dynamic assignment and enforcement of application-driven per-connection service level agreements
CN114443140A (en) System and method for issuing plugging instruction
US12348418B2 (en) Per-application virtual private networking

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
GR01 Patent grant
GR01 Patent grant