CN111935272B - AFC (automatic frequency control) deployment method and device and computer-readable storage medium - Google Patents

AFC (automatic frequency control) deployment method and device and computer-readable storage medium Download PDF

Info

Publication number
CN111935272B
CN111935272B CN202010775563.3A CN202010775563A CN111935272B CN 111935272 B CN111935272 B CN 111935272B CN 202010775563 A CN202010775563 A CN 202010775563A CN 111935272 B CN111935272 B CN 111935272B
Authority
CN
China
Prior art keywords
deployment
afc
gateway service
cluster
gateway
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
CN202010775563.3A
Other languages
Chinese (zh)
Other versions
CN111935272A (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.)
Gaoxin Modern Intelligent System Co ltd
Original Assignee
Gaoxin Modern Intelligent System 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 Gaoxin Modern Intelligent System Co ltd filed Critical Gaoxin Modern Intelligent System Co ltd
Priority to CN202010775563.3A priority Critical patent/CN111935272B/en
Publication of CN111935272A publication Critical patent/CN111935272A/en
Application granted granted Critical
Publication of CN111935272B publication Critical patent/CN111935272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an AFC deployment method, which comprises the following steps: confirming gateway services to be deployed and deployment types of the gateway services in a preset AFC network architecture cluster, wherein the deployment types comprise cluster deployment and non-cluster deployment; if the deployment type is cluster deployment, deploying the gateway service in a consul cluster of a WEB server corresponding to the cluster deployment; and if the deployment type is non-cluster deployment, deploying the configuration file corresponding to the gateway service to the corresponding WEB server. The invention also discloses a device and a computer readable storage medium. The gateway service is managed in a unified mode by constructing the AFC network architecture cluster, corresponding deployment operation is realized in a deployment type when the gateway service is deployed, the constructed AFC network architecture cluster is accessed in a swagger form, a large amount of data support is not needed, access is only needed through a swagger document interface, and program development work is reduced on the premise of realizing AFC deployment of the cloud platform.

Description

AFC (automatic frequency control) deployment method and device and computer-readable storage medium
Technical Field
The present invention relates to the field of AFC system deployment, and in particular, to an AFC deployment method, apparatus, and computer-readable storage medium.
Background
The operation of the existing urban traffic track is generally performed by deploying an AFC System (Automatic Fare Collection System, urban rail transit Automatic ticket selling and checking System), which is a closed Automatic network System centrally controlled by a computer, for Automatic ticketing (including semi-Automatic ticketing), automatic ticket checking and Automatic charging and counting, and the deployment stand-alone of the relevant AFC System is generally deployed at a workstation, and part of software is deployed in a server form; when a system is tested by testing in application, if a problem occurs in a single function point, the specific problem of the current AFC system deployment is difficult to accurately feed back; therefore, when the system software has problems, developers can recompile the whole system and resubmit the system because of a little problem, which causes great trouble to the developers and also brings great trouble to the system application field; in the prior art, when a system software service end with a service end and a client is tested, the operation of the function self-test is relatively complex, and the self-test of the service end can be carried out only by building a new test project; when a system is deployed on site to complete a runtime, deployed system software may run down due to environmental issues; and because the error report of a single functional point can cause the breakdown of the whole system, even influence the operation of the whole circuit; therefore, under the condition that the current system software can only be deployed as a traditional AFC system, when a subway needs to change a cloud platform mode, the system needs to be re-developed, and even the interface style and the operation habit of the original system are changed to a great extent, so that the user experience is influenced.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an AFC deployment method, an AFC deployment device and a computer readable storage medium, and aims to solve the technical problem that when AFC system functions are deployed in the prior art, deployment and test operations of system deployment are not uniform, so that AFC deployment workload is large and deployment efficiency is affected.
In order to achieve the above object, the present invention provides an AFC deployment method, including:
confirming gateway services to be deployed and deployment types of the gateway services in a preset AFC network architecture cluster, wherein the deployment types comprise cluster deployment and non-cluster deployment;
if the deployment type is cluster deployment, deploying the gateway service in a consul cluster of a WEB server corresponding to the cluster deployment;
and if the deployment type is non-cluster deployment, deploying the configuration file corresponding to the gateway service to the corresponding WEB server.
Optionally, if the deployment type is non-cluster deployment, the step of deploying the configuration file corresponding to the gateway service to the corresponding WEB server includes:
acquiring a configuration file of the gateway service;
and sending the configuration file to a WEB server so that the deployment is completed after the WEB server consul issues the gateway service through the configuration file.
Optionally, before the step of presetting the AFC network architecture cluster to confirm the gateway service to be deployed and the deployment type of the gateway service, the method further includes:
receiving a gateway service deployment request;
and determining the gateway service corresponding to the gateway service deployment request in a gateway service list of a preset AFC network architecture cluster.
Optionally, after the step of receiving a gateway service deployment request, the method further includes:
confirming an access port of the preset AFC network architecture cluster;
and accessing a gateway service list of the preset AFC network architecture cluster through the access port.
Optionally, the AFC deployment method further includes:
counting currently developed gateway services, and embedding swaggers in the gateway services;
and summarizing gateway services of the embedded swagger, and creating a preset AFC network architecture cluster according to a summarized result.
Optionally, after the step of summarizing the gateway service of the embedded swagger to create the preset AFC network architecture cluster according to the summarized result, the method further includes:
embedding a consul in a gateway service to register the gateway service;
and issuing the registered gateway service, and generating a gateway service list of the preset AFC network architecture cluster according to an issuing result.
Optionally, the step of issuing the registered gateway service and generating the gateway service list of the preset AFC network architecture cluster according to the issuing result includes:
confirming the position of a configuration file corresponding to the gateway service, and establishing an access interface of the gateway service according to the position;
and generating a gateway service list through the configuration file and the access interface of the gateway service.
Optionally, the AFC deployment method further includes:
receiving a service test request and confirming a gateway service corresponding to the service test request;
testing the gateway service through an access interface of the gateway service.
In addition, to achieve the above object, the present invention further provides an AFC deploying apparatus, including: a memory on which is stored a computer program that can be invoked by a processor, the computer program realizing the steps of the AFC deployment method as described above when executed by the processor.
The present invention also provides a computer-readable storage medium having stored thereon an AFC deployment program, which when executed by a processor, implements the steps of the AFC deployment method as described above.
According to the AFC deployment method provided by the embodiment of the invention, a gateway service to be deployed and a deployment type of the gateway service are confirmed in a cluster of a preset AFC network architecture, wherein the deployment type comprises cluster deployment and non-cluster deployment; if the deployment type is cluster deployment, deploying the gateway service in a consul cluster of a WEB server corresponding to the cluster deployment; and if the deployment type is non-cluster deployment, deploying the configuration file corresponding to the gateway service to the corresponding WEB server. Gateway services are managed in a unified mode in which AFC network architecture clusters are built, corresponding deployment operation is achieved in deployment types when the gateway services are deployed, the built AFC network architecture clusters are accessed in a swagger mode, a large amount of data support is not needed, access is achieved only through a swagger document interface, and program development work is reduced on the premise that AFC deployment of a cloud platform is achieved.
Drawings
FIG. 1 is a schematic diagram of a terminal \ device structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of an AFC deployment method according to the present invention;
fig. 3 is a flowchart illustrating a second embodiment of an AFC deployment method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: confirming gateway services to be deployed and deployment types of the gateway services in a preset AFC network architecture cluster, wherein the deployment types comprise cluster deployment and non-cluster deployment; if the deployment type is cluster deployment, deploying the gateway service in a consul cluster of a WEB server corresponding to the cluster deployment; and if the deployment type is non-cluster deployment, deploying the configuration file corresponding to the gateway service to the corresponding WEB server.
When AFC system functions are deployed in the prior art, deployment and test operations of system deployment are not uniform, so that the technical problem that AFC deployment workload is large and deployment efficiency is affected is caused.
The invention provides a solution, which is characterized in that gateway services are uniformly managed in a mode of constructing an AFC network architecture cluster, corresponding deployment operation is realized in a deployment type when the gateway services are deployed, the constructed AFC network architecture cluster is accessed in a swagger form, a large amount of data is not required to be supported, and the AFC network architecture cluster is accessed only through a swagger document interface, so that the program development work is reduced on the premise of realizing AFC deployment of a cloud platform.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a mobile or non-mobile WEB server such as a PC, a smart phone, a tablet computer, an electronic book reader and a portable computer.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an AFC deployment program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and communicating data with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and processor 1001 may be configured to invoke an AFC deployment program stored in memory 1005 and perform the following operations:
confirming gateway services to be deployed and deployment types of the gateway services in a preset AFC network architecture cluster, wherein the deployment types comprise cluster deployment and non-cluster deployment;
if the deployment type is cluster deployment, deploying the gateway service in a consul cluster of a WEB server corresponding to the cluster deployment;
and if the deployment type is non-cluster deployment, deploying the configuration file corresponding to the gateway service to the corresponding WEB server.
Further, processor 1001 may invoke an AFC deployment program stored in memory 1005, and also perform the following operations:
acquiring a configuration file of the gateway service;
and sending the configuration file to a WEB server so that the deployment is completed after the WEB server consul issues the gateway service through the configuration file.
Further, processor 1001 may invoke an AFC deployment program stored in memory 1005, and also perform the following operations:
receiving a gateway service deployment request;
and determining the gateway service corresponding to the gateway service deployment request in a gateway service list of a preset AFC network architecture cluster.
Further, processor 1001 may invoke an AFC deployment program stored in memory 1005, and also perform the following operations:
confirming an access port of the preset AFC network architecture cluster;
and accessing a gateway service list of the preset AFC network architecture cluster through the access port.
Further, processor 1001 may invoke an AFC deployment program stored in memory 1005, and also perform the following operations:
counting currently developed gateway services, and embedding swaggers in the gateway services;
and summarizing gateway services of the embedded swagger, and creating a preset AFC network architecture cluster according to a summarized result.
Further, processor 1001 may invoke an AFC deployment program stored in memory 1005, and also perform the following operations:
embedding consul in a gateway service to register the gateway service;
and releasing the registered gateway service, and generating a gateway service list of the preset AFC network architecture cluster according to a release result.
Further, processor 1001 may invoke an AFC deployment program stored in memory 1005, and also perform the following operations:
confirming the position of a configuration file corresponding to the gateway service, and establishing an access interface of the gateway service according to the position;
and generating a gateway service list through the configuration file and the access interface of the gateway service.
Further, processor 1001 may invoke an AFC deployment program stored in memory 1005 and also perform the following operations:
receiving a service test request and confirming a gateway service corresponding to the service test request;
testing the gateway service through an access interface of the gateway service.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of an AFC deployment method of the present invention, where the AFC deployment method includes:
step S10, confirming gateway services to be deployed and deployment types of the gateway services in a preset AFC network architecture cluster, wherein the deployment types comprise cluster deployment and non-cluster deployment;
the method comprises the steps that based on a current AFC System (Automatic Fare Collection System, which refers to an Automatic ticket selling and checking System for urban rail transit), which is a closed Automatic network System with centralized control of a computer, automatic ticketing (including semi-Automatic ticketing), automatic ticket checking, automatic charging and statistics) deployment operation, a current gateway service to be deployed is determined in a preset AFC network architecture cluster, and the AFC network architecture cluster is provided with a plurality of applicable gateway services for meeting the deployment requirement of the current AFC System. Thus, determining the gateway service to be deployed currently according to the gateway service provided in the current preset AFC network architecture cluster, and when determining the gateway service to be deployed currently, determining based on the current gateway service deployment requirement, that is, before the steps of determining the gateway service to be deployed and the deployment type of the gateway service in the preset AFC network architecture cluster, the method further includes:
receiving a gateway service deployment request;
and determining the gateway service corresponding to the gateway service deployment request in a gateway service list of a preset AFC network architecture cluster.
The method comprises the steps that a gateway service deployment request based on equipment application is received according to the current equipment application, the gateway service deployment request can be initiated through technical personnel, the gateway service corresponding to the gateway service deployment request is determined in a preset AFC network architecture cluster established at present according to the received gateway service deployment request, and the gateway service is applicable service information registered in the preset AFC network architecture cluster at an early stage and is used for achieving AFC system deployment operation of the current terminal application. And when determining the corresponding gateway service based on the gateway service deployment request, determining the corresponding gateway service according to the analysis result by analyzing the content of the gateway service deployment request. In addition, when determining the gateway service corresponding to the gateway service deployment request based on the current preset AFC network architecture cluster, the method may obtain the gateway service by reading a gateway service list of the preset AFC network architecture cluster, that is, after the step of receiving the gateway service deployment request, further includes:
confirming an access port of the preset AFC network architecture cluster;
and accessing a gateway service list of the preset AFC network architecture cluster through the access port.
According to the currently established preset AFC network architecture cluster, an access port of the preset AFC network architecture cluster is confirmed, the access port accesses a gateway service list of the preset AFC network architecture cluster, wherein when the access port accesses the gateway service list of the preset AFC network architecture cluster, the gateway service list serves as list information of registered gateway services of the preset AFC network architecture cluster, and a swagger document interface of the current gateway service is provided, namely the gateway service list of the preset AFC network architecture cluster is accessed through the access port. Further, when accessing the gateway service list, the gateway service list needs to be accessed through an access port on the premise of a connection relationship by connecting the preset AFC network architecture cluster.
As shown above, when gateway services to be deployed in a preset AFC network architecture cluster are confirmed, a deployment type based on the gateway services is confirmed, where the deployment type includes cluster deployment and non-cluster deployment, and in actual application, the cluster deployment is defined as cloud platform deployment, that is, multiple WEB servers applying the gateway services are in the same network cluster, and cluster management is performed with consul, in which case, configuration file deployment operation is not needed; the non-cluster deployment is a single WEB server deployment, and has different deployment operations on the premise of different deployment types.
Step S20, if the deployment type is cluster deployment, deploying the gateway service in a consul cluster of a WEB server corresponding to the cluster deployment;
according to the currently confirmed gateway service to be deployed and the deployment type corresponding to the gateway service, when the deployment type is confirmed to be cluster deployment, deploying the gateway service to a plurality of WEB servers, wherein the plurality of WEB servers are in the same network, and the plurality of WEB servers perform cluster management through consul. In practical applications, the network cluster where the preset AFC network architecture cluster is located and the preset WEB server may include the same terminal or different terminals, and the preset WEB server is an IIS (Internet Identity system) environment, so as to have a deployment condition of a traditional AFC network architecture for deploying gateway services.
And S30, if the deployment type is non-cluster deployment, deploying the configuration file corresponding to the gateway service to a corresponding WEB server.
According to the currently determined gateway service to be deployed and the deployment type of the gateway service to be deployed, when the deployment type is determined to be non-cluster deployment, sending a configuration file of the gateway service to a WEB server application of the gateway service to be deployed, and in a specific deployment operation, issuing the gateway service based on a consul service of the WEB server to complete the deployment operation, namely if the deployment type is non-cluster deployment, deploying the configuration file corresponding to the gateway service to a corresponding WEB server application, wherein the steps comprise:
acquiring a configuration file of the gateway service;
and sending the configuration file to a WEB server so that the WEB server consul completes deployment after issuing the gateway service through the configuration file.
Confirming the current gateway service to be deployed, and confirming the configuration file of the gateway service to be deployed, wherein the configuration file can be obtained from a gateway service list of a preset AFC network architecture cluster, and because the gateway service list is provided with a swagger document interface of the current configurable gateway service, when the gateway service list of the preset AFC network architecture cluster is accessed, the swagger document interface of the gateway service to be deployed is directly accessed so as to access, connect and obtain the configuration file of the gateway service to be deployed. And sending the acquired configuration file to a WEB server to be deployed with the gateway service, reading the configuration file to discover the gateway service based on a consul configured in the gateway equipment in advance, and realizing the gateway service deployment application of the WEB server after the gateway service is released.
In the embodiment, the gateway services are uniformly managed in a manner of constructing an AFC network architecture cluster, corresponding deployment operations are realized in deployment types when the gateway services are deployed, and the constructed AFC network architecture cluster is accessed in a swagger manner, does not need a large amount of data support, and only needs to be accessed through a swagger document interface, thereby reducing program development work on the premise of realizing AFC deployment of a cloud platform.
Referring to fig. 3, fig. 3 is a schematic flowchart of a second embodiment of an AFC deployment method according to the present invention, where the AFC deployment method further includes:
s40, counting currently developed gateway services, and embedding swaggers in the gateway services;
and S50, summarizing gateway services of the embedded swagger, and creating a preset AFC network architecture cluster according to a summarized result.
In this embodiment, according to an AFC system deployment requirement of a current WEB server, a relevant technician develops a relevant gateway service in an ocelot in a network cluster, and thus, based on the currently developed gateway service, after embedding a swagger (a standard and complete framework for generating, describing, calling, and visualizing a RESTful-style WEB service) in the gateway service, statistics is performed on the gateway service of the currently embedded swagger, and a preset AFC network architecture cluster is created according to a summary result, the preset AFC network architecture cluster depends on the network cluster, is used for registering the currently developed and embedded swagger gateway service, and relates to an application of the gateway service, and the summarized gateway service is released through a consul to implement an application, that is, the summarized gateway service of the embedded swagger, and after the step of creating the preset AFC network architecture cluster by the summary result, the method further includes:
embedding a consul in a gateway service to register the gateway service;
and releasing the registered gateway service, and generating a gateway service list of the preset AFC network architecture cluster according to a release result.
According to the currently summarized swagger-embedded gateway service, continuously embedding a consul in each gateway service, registering the gateway service in an embedded consul mode, and after registering the gateway service, publishing the gateway service to a current network cluster for application, so that the preset AFC network architecture cluster is generated based on the currently published and applicable network architecture, and in consideration of the view of the gateway service, a related gateway service list can be generated in the preset AFC network architecture cluster based on the currently summarized and published gateway service, wherein the gateway service list has all currently registered gateway service information and relates to the workload of development and application, the content of the gateway service list comprises a gateway service identifier and a swagger document interface for acquiring the gateway service, namely the preset AFC network architecture cluster does not have development data of the service, and is essentially an application set for calling the gateway service. Therefore, when generating the gateway service list of the AFC network architecture cluster, a step of generating an access interface based on a gateway service, that is, issuing the registered gateway service, and generating the gateway service list of the preset AFC network architecture cluster according to an issuing result includes:
confirming the position of a configuration file corresponding to the gateway service, and establishing an access interface of the gateway service according to the position;
and generating a gateway service list through the configuration file and the access interface of the gateway service.
According to the current registered gateway service, confirming the position of a configuration file corresponding to the gateway service, wherein the position can be defined as a file storage position or an access position capable of acquiring the configuration file, and establishing an access interface of the gateway service based on the position of the configuration file, wherein the access interface can realize the acquisition of the configuration file and the work of function test, editing and the like of related network management services, so that a gateway service list of the AFC network architecture cluster is generated through the access interface generated by the current gateway service.
Further, the AFC deployment method further includes:
receiving a service test request and confirming a gateway service corresponding to the service test request;
testing the gateway service through an access interface of the gateway service.
Receiving a service test request according to an AFC network architecture cluster registered with a currently available gateway service, wherein the service test request is initiated by related technical personnel on the premise of gateway service deployment or gateway service development and relates to related gateway service application, confirming the gateway service corresponding to the service test request after receiving the service test request, verifying related test user information based on the service test request when receiving the service test request, namely verifying whether a user initiating the service test request has test authority or not, confirming the gateway service corresponding to the service test request after verification is correct, accessing an access interface of the gateway service according to the currently determined gateway service, testing the gateway service according to the connection relation of the access interface, and realizing gateway service test without re-compiling and printing a system.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where an AFC deployment program is stored on the computer-readable storage medium, and when executed by a processor, the AFC deployment program implements the following operations:
confirming gateway services to be deployed and deployment types of the gateway services in a preset AFC network architecture cluster, wherein the deployment types comprise cluster deployment and non-cluster deployment;
if the deployment type is cluster deployment, deploying the gateway service in a consul cluster of a WEB server corresponding to the cluster deployment;
and if the deployment type is non-cluster deployment, deploying the configuration file corresponding to the gateway service to the corresponding WEB server.
Further, the AFC deployment program when executed by the processor further performs the following operations:
acquiring a configuration file of the gateway service;
and sending the configuration file to a WEB server so that the WEB server consul completes deployment after issuing the gateway service through the configuration file.
Further, the AFC deployment program when executed by the processor further performs the following operations:
receiving a gateway service deployment request;
and determining the gateway service corresponding to the gateway service deployment request in a gateway service list of a preset AFC network architecture cluster.
Further, the AFC deployment program when executed by the processor further performs the following operations:
confirming an access port of the preset AFC network architecture cluster;
and accessing a gateway service list of the preset AFC network architecture cluster through the access port.
Further, the AFC deployment program when executed by the processor further performs the following operations:
counting currently developed gateway services, and embedding swaggers in the gateway services;
and summarizing gateway services of the embedded swagger, and creating a preset AFC network architecture cluster according to a summarized result.
Further, the AFC deployment program when executed by the processor further performs the following operations:
embedding consul in a gateway service to register the gateway service;
and issuing the registered gateway service, and generating a gateway service list of the preset AFC network architecture cluster according to an issuing result.
Further, the AFC deployment program when executed by the processor further performs the following operations:
confirming the position of a configuration file corresponding to the gateway service, and establishing an access interface of the gateway service according to the position;
and generating a gateway service list through the configuration file and the access interface of the gateway service.
Further, the AFC deployment program when executed by the processor further performs the following operations:
receiving a service test request and confirming a gateway service corresponding to the service test request;
testing the gateway service through an access interface of the gateway service.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a component of '8230', \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or the portions contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. An AFC deployment method, comprising:
receiving a gateway service deployment request, confirming an access port of a preset AFC network architecture cluster, and accessing a gateway service list of the preset AFC network architecture cluster through the access port;
determining a gateway service corresponding to the gateway service deployment request in a gateway service list of a preset AFC network architecture cluster;
confirming gateway services to be deployed and deployment types of the gateway services in a preset AFC network architecture cluster, wherein the deployment types comprise cluster deployment and non-cluster deployment;
if the deployment type is cluster deployment, deploying the gateway service in a consul cluster of a WEB server corresponding to the cluster deployment, wherein a configuration file of the gateway service is obtained and sent to a WEB server, so that the consul cluster of the WEB server completes deployment after releasing the gateway service through the configuration file;
and if the deployment type is non-cluster deployment, deploying the configuration file corresponding to the gateway service to the corresponding WEB server.
2. The AFC deployment method of claim 1, further comprising:
counting currently developed gateway services, and embedding swaggers in the gateway services;
and summarizing gateway services of the embedded swagger, and creating a preset AFC network architecture cluster according to a summarized result.
3. The AFC deployment method of claim 2, wherein after the step of aggregating gateway services of the embedded swagger to create the preset AFC network architecture cluster with the aggregated result, further comprising:
embedding a consul in a gateway service to register the gateway service;
and issuing the registered gateway service, and generating a gateway service list of the preset AFC network architecture cluster according to an issuing result.
4. The AFC deployment method of claim 3, wherein the step of publishing the registered gateway services and generating the list of gateway services for the pre-set AFC network architecture cluster according to the publishing result comprises:
confirming the position of a configuration file corresponding to the gateway service, and establishing an access interface of the gateway service according to the position;
and generating a gateway service list through the configuration file and the access interface of the gateway service.
5. The AFC deployment method of claim 1, further comprising:
receiving a service test request and confirming a gateway service corresponding to the service test request;
testing the gateway service through an access interface of the gateway service.
6. An AFC deploying apparatus, comprising: a memory, a processor, and an AFC deployment program stored on the memory and executable on the processor, the AFC deployment program when executed by the processor implementing the steps of the AFC deployment method of any of claims 1 to 5.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises an AFC deployment program stored on the computer-readable storage medium, which when executed implements the steps of the AFC deployment method of any of claims 1 to 5.
CN202010775563.3A 2020-08-03 2020-08-03 AFC (automatic frequency control) deployment method and device and computer-readable storage medium Active CN111935272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010775563.3A CN111935272B (en) 2020-08-03 2020-08-03 AFC (automatic frequency control) deployment method and device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010775563.3A CN111935272B (en) 2020-08-03 2020-08-03 AFC (automatic frequency control) deployment method and device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN111935272A CN111935272A (en) 2020-11-13
CN111935272B true CN111935272B (en) 2023-03-28

Family

ID=73306751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010775563.3A Active CN111935272B (en) 2020-08-03 2020-08-03 AFC (automatic frequency control) deployment method and device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN111935272B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493352A (en) * 2019-08-30 2019-11-22 南京联创互联网技术有限公司 A kind of unified gateway service system and its method of servicing based on WEB middleware
CN110995873A (en) * 2019-12-27 2020-04-10 美的集团股份有限公司 Gateway service interface discovery method, system, electronic device and storage medium
CN111371679A (en) * 2020-03-09 2020-07-03 山东汇贸电子口岸有限公司 Method for realizing API gateway based on kubernets and Kong

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8296464B2 (en) * 2009-06-25 2012-10-23 Oracle International Corporation System and method for providing a split deployment model for a telecommunication service access gateway

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493352A (en) * 2019-08-30 2019-11-22 南京联创互联网技术有限公司 A kind of unified gateway service system and its method of servicing based on WEB middleware
CN110995873A (en) * 2019-12-27 2020-04-10 美的集团股份有限公司 Gateway service interface discovery method, system, electronic device and storage medium
CN111371679A (en) * 2020-03-09 2020-07-03 山东汇贸电子口岸有限公司 Method for realizing API gateway based on kubernets and Kong

Also Published As

Publication number Publication date
CN111935272A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
CN106940428B (en) Chip verification method, device and system
CN110020381A (en) Method of calibration, device, equipment and computer storage medium based on configuration file
CN108255707B (en) Development role creating method, device, equipment and storage medium of test case
CN108255701B (en) Scene testing method and mobile terminal
CN110798445B (en) Public gateway interface testing method and device, computer equipment and storage medium
CN113312064B (en) Method and device for installing and configuring physical machine and computer readable medium
CN105607994A (en) Mobile terminal software testing method and system
KR20140099109A (en) System and method for supporting evaluation of application service by using multiple clouds
CN107220169B (en) Method and equipment for simulating server to return customized data
CN116627849B (en) System test method, device, equipment and storage medium
EP3754489A1 (en) Method for evaluating application deployment, apparatus, computer program product, and readable medium
CN111935272B (en) AFC (automatic frequency control) deployment method and device and computer-readable storage medium
RU2532714C2 (en) Method of acquiring data when evaluating network resources and apparatus therefor
CN112181822A (en) Test method and test method for starting time consumption of application program
KR101442000B1 (en) Server for registering separating execution based contents, method thereof and computer recordable medium storing program performing the method
CN116629173A (en) Verification method and device of network chip, computer equipment and storage medium
CN109286692A (en) A kind of method of configuration server IPMI static ip address
CN109656804A (en) Automated testing method, equipment, storage medium and device
CN115185841A (en) System reconfiguration test method, device, equipment and storage medium
CN113452533B (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium
CN114416596A (en) Application testing method and device, computer equipment and storage medium
CN114564387A (en) Scene type automatic testing method and system for OpenStack cloud platform
CN110071921B (en) Internet of things platform access method, device, computer readable storage medium and system
CN112433946A (en) Interface test management method, device, equipment and storage medium
CN114371982A (en) Simulation test method, device, equipment and readable storage medium

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