CN113747150A - Method and system for testing video service system based on container cloud - Google Patents

Method and system for testing video service system based on container cloud Download PDF

Info

Publication number
CN113747150A
CN113747150A CN202111285557.0A CN202111285557A CN113747150A CN 113747150 A CN113747150 A CN 113747150A CN 202111285557 A CN202111285557 A CN 202111285557A CN 113747150 A CN113747150 A CN 113747150A
Authority
CN
China
Prior art keywords
service
test
component
cloud
node
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.)
Granted
Application number
CN202111285557.0A
Other languages
Chinese (zh)
Other versions
CN113747150B (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.)
Institute of Network Engineering Institute of Systems Engineering Academy of Military Sciences
Original Assignee
Institute of Network Engineering Institute of Systems Engineering Academy of Military Sciences
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 Institute of Network Engineering Institute of Systems Engineering Academy of Military Sciences filed Critical Institute of Network Engineering Institute of Systems Engineering Academy of Military Sciences
Priority to CN202111285557.0A priority Critical patent/CN113747150B/en
Publication of CN113747150A publication Critical patent/CN113747150A/en
Application granted granted Critical
Publication of CN113747150B publication Critical patent/CN113747150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • 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
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The invention provides a method and a system for testing a video service system based on container cloud implementation. The test method comprises the following steps: s1, simulating a multi-level cloud service node and a network topology relation of the equipment to be tested by utilizing a cloud test control platform, a cloud test control center and a container cloud service node; wherein: step S2, executing a test on the video service system based on the simulated multi-level cloud service node and network topology relationship of the device to be tested, specifically including: step S2-1, adding the device to be tested into the simulated network topology relationship, so that the service node to be tested of the device to be tested corresponds to the simulated multi-level cloud service node; and S2-2, executing various tests on the equipment to be tested, and feeding back test results to the cloud control console to realize visual display for users.

Description

Method and system for testing video service system based on container cloud
Technical Field
The invention belongs to the field of video service testing, and particularly relates to a method and a system for testing a video service system based on container cloud implementation.
Background
Video conference, video on demand, video monitoring, video scheduling and other various video systems are increasingly widely used. The video system comprises various service systems and terminal equipment, wherein the service system generally comprises more than ten service nodes such as an application service unit, a signaling control unit, a media processing unit, a gateway access unit, a media storage unit equipment unit and the like, and has various service functions such as service processing, information management, data synchronization, equipment authentication, signaling routing, media processing and the like. Because the video service system is large in construction scale, multiple manufacturer devices are usually selected for construction, and unified technical specifications are required in aspects of system architecture, signaling control, video and audio coding and the like, so that interconnection and intercommunication among systems of different manufacturers are realized. The video service node can be configured into a networking mode of connecting an upper node, a lower node, a transverse association node, and different combinations of uplink, downlink, transverse connection and the like, so that the topology is dynamically changed, and the interaction flow is complex; on the other hand, different manufacturers adopt different interactive signaling and media coding protocols to realize service functions, so that heterogeneous and diverse video service system technologies are realized, and therefore how to construct an efficient video service system testing tool and realize standardized testing of video services under complex networking conditions becomes a problem to be solved urgently.
The traditional standardized testing method of the video service system mainly adopts data acquisition, comparison and analysis and an experimental environment equipment replacement detection method. The data analysis mainly obtains interactive data flow among the tested system devices through a tool, and preliminarily judges whether the tested system meets the standard or not through a comparison method, so that the method has low detection efficiency and incomplete detection, needs a large amount of professional knowledge and operation skills, and has higher requirements on testers; the experimental environment detection mainly comprises the steps of building a typical experimental test system by using equipment completely conforming to the standard, replacing the equipment of the system to be tested and the corresponding equipment in the test environment one by one, detecting whether the tested equipment can be interconnected and intercommunicated with the experimental test system, and judging whether the tested system conforms to the standard.
Disclosure of Invention
The invention provides a testing scheme of a video service system based on container cloud, aiming at solving the problems that the traditional standardized testing tool of the video service system is low in efficiency, single in configuration, difficult to adapt to a real application scene in testing and the like.
The technical scheme adopts a container virtualization resource technology, can simulate and construct a multi-level video service node environment according to needs, can expand the number of simulated video service nodes at any time, and realizes the simulation of video service node topological structures of different levels, different scales and different connection relations.
The technical scheme applies the functional characteristics of resource virtualization, dynamic capacity expansion, high reliability and the like of the cloud platform to the process of checking the standard conformance of the video service system, mainly adopts an automatic generation and configuration technology of simulation service nodes, simulates and constructs networking relations of various video service nodes, can flexibly network with the service system to be tested, and can model networking modes of different combinations such as upper connection, lower connection, cross connection and the like; adopting heterogeneous service technology, simulating and constructing various protocol service functions, and covering various service application scenes; by adopting the automatic configuration technology of the test process, the video service system can be comprehensively detected by one-time automatic test without detecting the equipment one by one. The video service system standardization test tool constructed based on the cloud platform can realize high-efficiency, accurate and comprehensive automatic detection on the standard conformity of the complex video service system.
The invention discloses a testing method of a video service system based on container cloud realization. The test method comprises the following steps:
s1, simulating a multi-level cloud service node and a network topology relation of the equipment to be tested by utilizing a cloud test control platform, a cloud test control center and a container cloud service node; wherein:
the cloud measurement and control center comprises a test flow control assembly, a node topology management assembly, a resource information service assembly and a cloud resource management module, wherein the node topology management assembly comprises a management and control center, a mirror image warehouse, a configuration center, a container management module and a node topology management module, and the resource information service assembly comprises a service unit control center, a service unit warehouse, a service business analysis assembly, a service unit configuration center and a configuration template warehouse;
step S2, executing a test on the video service system based on the simulated multi-level cloud service node and network topology relationship of the device to be tested, specifically including:
step S2-1, adding the device to be tested into the simulated network topology relationship, so that the service node to be tested of the device to be tested corresponds to the simulated multi-level cloud service node;
and S2-2, executing various tests on the equipment to be tested, and feeding back test results to the cloud control console to realize visual display for users.
According to the method of the first aspect of the present invention, the step S1 specifically includes:
step S1-1:
the control center receives a control instruction sent by the test flow control component, wherein the control instruction comprises configuration parameters and network topology parameters of the multi-level cloud service nodes;
the management and control center sends a mirror image search request to the mirror image warehouse, wherein the mirror image search request comprises configuration parameters of the multi-level cloud service nodes;
the mirror image warehouse determines a plurality of service mirror images meeting configuration parameters of the multi-level cloud service nodes through searching, and returns search results to the management and control center;
step S1-2:
the management and control center determines equipment characteristics corresponding to the configuration parameters of the multistage cloud service nodes and sends a mirror image configuration file request instruction to the configuration center;
after receiving the mirror image configuration file request instruction, the configuration center determines a configuration file of the mirror image of the multi-level cloud service node by using a search engine according to the equipment characteristics, and returns configuration file information serving as a result to the management and control center;
step S1-3:
the management and control center determines the mirror image of the multi-level cloud service node and the configuration file based on the configuration file information, and sends a container application and a starting request to the container management module;
after receiving the container application and the starting request, the container management module calculates resource requirements according to the configuration file of the mirror image of the multilevel cloud service node and sends a quantitative resource application request to the resource management module of the cloud;
after receiving the quantitative resource application request, the cloud resource management module allocates local resources or remote resources to the container according to the existing resource capacity, and feeds back a result to the container management module;
the container management module feeds back a resource application result and a resource address serving as results to the management and control center;
step S1-4:
the management and control center sends a virtual network connection request to the network topology management module, wherein the virtual network connection request comprises the network topology parameters, so that the network topology management module constructs a network topology model based on the network topology parameters, and the network topology model is used for communicating each cloud service node;
the network topology management module establishes a corresponding virtual network based on a network topology model for communicating each cloud service node, and sends a node connection request to each cloud service node.
After receiving the node connection request, each cloud service node executes communication with an adjacent node, returns a communication result to the control center through the network topology management module, and returns a simulation result of the multi-stage cloud service node and a simulation result of the network topology to the test flow control component through the control center.
According to the method of the first aspect of the present invention, in step S2-2, when performing various types of tests on the device under test, various types of resource information services are dynamically combined according to the test service type of the test device, so as to implement a test of a video service system based on different test service types, which specifically includes:
step S2-2-1:
the test flow control module sends a test flow control instruction to the service unit control center, wherein the test flow control instruction comprises a test service type of the test equipment;
the service unit control center sends a service analysis request to the service analysis component based on the test service type, and the service analysis component analyzes the requested video service;
in the analysis process of the service business analysis component, calling the service unit warehouse to inquire the currently available service unit type and returning service unit type information to the service business analysis component;
the service analysis component generates service unit combination information according to the query result and returns the service unit combination information to the service unit control center;
step S2-2-2:
the service unit control center sends a service unit configuration request to the service unit configuration center according to the service unit combination information; generating a configuration template by the service unit configuration center;
the service unit configuration center analyzes the received service unit configuration request to generate a configuration template, and sends configuration query information to the configuration template warehouse, and the configuration template warehouse returns a query result;
the service unit configuration center dynamically generates service unit configuration template information meeting the test service type according to the query result, and returns the service unit configuration template information to the test flow control component through the service unit control center;
step S2-2-3:
and the test flow control component sends the service unit configuration template information to the node topology management component, and the control node topology management component starts corresponding service node topology according to the service unit configuration template information so as to respond to the test request of the test equipment. .
According to the method of the first aspect of the present invention, the cloud control console provides a user operation interface for implementing the test method, is used for interacting with a user, and notifies the cloud control center to execute a test action corresponding to an operation instruction according to the operation instruction of the user, and includes a test flow interaction component, a configuration management component, and a background service interaction component.
According to the method of the first aspect of the present invention, the cloud measurement and control center is configured to deploy a test environment, execute a test project, record a test state, generate, store, and retrieve a test result, and provide a test process control component, a system maintenance component, a resource information service component, a node topology management component, a database service component, a directory service component, a cloud resource management component, and a test component, where the test component provides multiple types of test services, and the test services are configured to execute a test on the video service, specifically including a resource synchronization test, a service registration test, a state synchronization test, an on-demand call test, a command conference test, a multi-node typical scenario test, a video-on-demand call test, a conference call test, a video-on-demand call test, a video-demand call-demand test, a video-demand call, a video-demand call, a video-demand,
According to the method of the first aspect of the present invention, the container cloud service node is configured to simulate the multi-stage cloud service node and execute a test on the video service, and any cloud service node includes a signaling analysis component, a communication component, a function detection component, an event reporting component, an application control component, a signaling control component, a media processing component, an application service component, a codec component, and a media storage component.
The invention discloses a testing system of a video service system based on container cloud realization. The test system comprises:
an analog unit configured to: simulating a multi-stage cloud service node and network topology relation of equipment to be tested by utilizing a cloud test control platform, a cloud test control center and a container cloud service node; wherein:
the cloud measurement and control center comprises a test flow control assembly, a node topology management assembly, a resource information service assembly and a cloud resource management module, wherein the node topology management assembly comprises a management and control center, a mirror image warehouse, a configuration center, a container management module and a node topology management module, and the resource information service assembly comprises a service unit control center, a service unit warehouse, a service business analysis assembly, a service unit configuration center and a configuration template warehouse;
a test unit configured to: based on the simulated multi-level cloud service node and network topology relationship of the device to be tested, executing the test of the video service system, specifically comprising:
adding the equipment to be tested into the simulated network topology relation, so that the service node to be tested of the equipment to be tested corresponds to the simulated multi-level cloud service node;
and executing various tests on the equipment to be tested, and feeding back test results to the cloud control console so as to realize visual display for users.
According to the system of the second aspect of the present invention, the simulating unit is specifically configured to simulate the multi-level cloud service node of the device under test and the network topology relationship by using the first processing unit, the second processing unit, the third processing unit, and the fourth processing unit, and specifically includes:
the first processing unit is configured to:
calling the control center to receive a control instruction sent by the test flow control component, wherein the control instruction comprises configuration parameters and network topology parameters of the multi-level cloud service nodes;
calling the management and control center to send a mirror image search request to the mirror image warehouse, wherein the mirror image search request comprises configuration parameters of the multi-level cloud service nodes;
calling the mirror image warehouse to determine a plurality of service mirror images meeting the configuration parameters of the multi-level cloud service nodes through searching, and returning the search results to the management and control center;
the second processing unit is configured to:
calling the control center to determine the equipment characteristics corresponding to the configuration parameters of the multistage cloud service nodes, and sending a mirror image configuration file request instruction to the configuration center;
after the configuration center is called to receive the mirror image configuration file request instruction, determining the configuration file of the mirror image of the multi-level cloud service node by using a search engine according to the equipment characteristics, and returning configuration file information serving as a result to the management and control center;
the third processing unit is configured to:
calling the management and control center to determine the mirror image of the multi-level cloud service node and the configuration file based on the configuration file information, and sending a container application and a starting request to the container management module;
after the container management module is called to receive the container application and the starting request, calculating resource requirements according to the configuration file of the mirror image of the multilevel cloud service node, and sending a quantitative resource application request to the resource management module of the cloud;
after the cloud resource management module is called to receive the quantitative resource application request, local resources or remote resources are distributed to the container according to the existing resource capacity, and a result is fed back to the container management module;
calling the container management module to feed back a resource application result and a resource address serving as results to the control center;
the fourth processing unit is configured to:
calling the management and control center to send a virtual network connection request to the network topology management module, wherein the virtual network connection request comprises the network topology parameters, so that the network topology management module constructs a network topology model based on the network topology parameters, and the network topology model is used for communicating each cloud service node;
and calling the network topology management module to establish a corresponding virtual network based on a network topology model for communicating each cloud service node, and sending a node connection request to each cloud service node.
And calling each cloud service node to execute communication with adjacent nodes after receiving the node connection request, returning a communication result to the control center through the network topology management module, and returning a simulation result of the multilevel cloud service nodes and a simulation result of the network topology to the test flow control component by the control center.
According to the system of the second aspect of the present invention, the test unit is specifically configured to, when performing various types of tests on the device under test, dynamically combine various types of resource information services according to the test service types of the test device, so as to implement a test of a video service system based on different test service types, and specifically includes:
step P1:
calling the test flow control module to send a test flow control instruction to the service unit control center, wherein the test flow control instruction comprises a test service type of the test equipment;
calling the service unit control center to send a service analysis request to the service analysis component based on the test service type, and analyzing the requested video service by the service analysis component;
calling the service business analysis component to call the service unit warehouse to inquire the currently available service unit type in the analysis process, and returning the service unit type information to the service business analysis component;
calling the service analysis component to generate service unit combination information according to the query result, and returning the service unit combination information to the service unit control center;
step P2:
calling the service unit control center to send a service unit configuration request to the service unit configuration center according to the service unit combination information; generating a configuration template by the service unit configuration center;
the service unit configuration center is called to analyze the received service unit configuration request so as to generate a configuration template, configuration inquiry information is sent to the configuration template warehouse, and the configuration template warehouse returns an inquiry result;
calling the service unit configuration center to dynamically generate service unit configuration template information meeting the test service type according to the query result, and returning the service unit configuration template information to the test flow control component through the service unit control center;
step P3:
and calling the test flow control component to send the service unit configuration template information to the node topology management component, and starting the corresponding service node topology by the control node topology management component according to the service unit configuration template information so as to respond to the test request of the test equipment.
According to the system of the second aspect of the present invention, the cloud control console provides a user operation interface for implementing the test method, is used for interacting with a user, and notifies the cloud control center to execute a test action corresponding to an operation instruction according to the operation instruction of the user, and includes a test flow interaction component, a configuration management component, and a background service interaction component.
According to the system of the second aspect of the present invention, the cloud measurement and control center is configured to deploy a test environment, execute a test project, record a test state, generate, store, and retrieve a test result, and provide a test process control component, a system maintenance component, a resource information service component, a node topology management component, a database service component, a directory service component, a cloud resource management component, and a test component, where the test component provides multiple types of test services, and the test services are configured to execute tests on the video services, specifically including a resource synchronization test, a service registration test, a state synchronization test, an on-demand call test, a command conference test, and a multi-node typical scenario test.
According to the system of the second aspect of the present invention, the container cloud service node is configured to simulate the multi-stage cloud service node and execute a test on the video service, and any cloud service node includes a signaling analysis component, a communication component, a function detection component, an event reporting component, an application control component, a signaling control component, a media processing component, an application service component, a codec component, and a media storage component.
A third aspect of the invention discloses an electronic device. The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method for testing the video service system implemented based on the container cloud according to any one of the first aspect of the present disclosure when executing the computer program.
A fourth aspect of the invention discloses a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program, which when executed by a processor implements the steps in a method for testing a video service system implemented based on a container cloud according to any one of the first aspect of the present disclosure.
In summary, the technical scheme of the invention realizes standardized detection of the video service system under the complex networking condition by the cloud control console, the cloud control center and the container cloud service node. A multi-level node simulation test environment is dynamically established based on a cloud platform, a real video service node networking state or a typical video service node deployment scene can be simulated, dynamic topology adjustment and networking test can be performed on the networking mode of a tested video service node, so that the problems of single testing networking, low efficiency, insufficient testing and the like in the traditional test method are solved, and the test efficiency and test completeness of the video service system and interconnection are remarkably improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description in the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a cloud test console, a cloud test control center, and a container cloud service node according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of various component interfaces according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a node topology relationship according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a virtual network according to an embodiment of the present invention;
fig. 5 is a schematic diagram of time sequence interaction for simulating a topological relationship between a multi-stage cloud service node of a device under test and a network according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a test flow according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a time sequence interaction for dynamically combining various resource information services according to a test service type of a test device according to an embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating the timing interaction of a test process according to an embodiment of the present invention;
fig. 9 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention discloses a testing method of a video service system based on container cloud realization. The test method comprises the following steps:
s1, simulating a multi-level cloud service node and a network topology relation of the equipment to be tested by utilizing a cloud test control platform, a cloud test control center and a container cloud service node; wherein:
the cloud measurement and control center comprises a test flow control assembly, a node topology management assembly, a resource information service assembly and a cloud resource management module, wherein the node topology management assembly comprises a management and control center, a mirror image warehouse, a configuration center, a container management module and a node topology management module, and the resource information service assembly comprises a service unit control center, a service unit warehouse, a service business analysis assembly, a service unit configuration center and a configuration template warehouse;
step S2, executing a test on the video service system based on the simulated multi-level cloud service node and network topology relationship of the device to be tested, specifically including:
step S2-1, adding the device to be tested into the simulated network topology relationship, so that the service node to be tested of the device to be tested corresponds to the simulated multi-level cloud service node;
and S2-2, executing various tests on the equipment to be tested, and feeding back test results to the cloud control console to realize visual display for users.
In some embodiments, the test method is based on a cloud control console, a cloud control center and a container cloud service node, and the test of the video service system is realized by simulating a multi-stage cloud service node and a network topology relation of the equipment to be tested. Fig. 1 is a schematic diagram of a cloud test console, a cloud test control center, and a container cloud service node according to an embodiment of the present invention.
In some embodiments, the cloud test console provides a user operation interface for implementing the test method, is used for interacting with a user, and notifies the cloud test console center to execute a test action corresponding to an operation instruction according to the operation instruction of the user, and includes a test flow interaction component, a configuration management component, and a background service interaction component.
Specifically, the cloud control console is a user operation interface of the whole test tool, is responsible for interacting with a user, and informs the master control center of executing a specific test action according to an operation instruction of the user. The cloud test control platform is realized based on a server/client architecture and mainly comprises a test flow interaction component, a configuration management component and a background service interaction component:
the test flow interactive component provides a test flow control function for a user. The user can select the steps to be tested through the cloud control console and check the test content of each step. After all the test steps pass the test, the cloud test control console can generate a test report for a user, and the test record is stored for convenient later query.
The configuration management component provides a cloud test service background configuration management function for a user. Before the tested device starts to test, the test environment configuration needs to be carried out on the test in the cloud testing tool control center in advance. The specific configuration content comprises organization mechanism information, node cascade networking relation, performance parameters of the tested equipment and the like required by the test. In order to quickly establish a test environment, the cloud test tool classifies and manages a common test environment and provides a test environment configuration parameter template.
The background service interaction component is responsible for converting user operation into instructions, communicating with the cloud testing tool background, and displaying instruction execution results returned by the background on the cloud testing control platform.
In some embodiments, the cloud test control center is configured to deploy a test environment, execute a test project, record a test state, generate, store, and retrieve a test result, and provide a test flow control component, a system maintenance component, a resource information service component, a node topology management component, a database service component, a directory service component, a cloud resource management component, and a test component, where the test component provides multiple types of test services, and the test services are configured to execute tests on the video services, specifically including a resource synchronization test, a service registration test, a state synchronization test, an on-demand call test, a command conference test, and a multi-node typical scenario test.
Specifically, the cloud test control center is a core component of the cloud test platform system and is responsible for coordinating all other components in the cloud test system, scheduling the other components to perform deployment of a test environment and execute test items, recording a test state, and generating, storing and retrieving a test result. The control center mainly comprises a testing component layer, a basic service layer and a data resource management layer. The data resource management layer comprises components such as database service, directory service and cloud resource management service.
The database service component is responsible for carrying out persistent storage on configuration data, component operation data and system test service data in the system and providing data storage support for operation of the system.
The directory service component is responsible for storing organization architecture, user information, coding and decoding equipment information, service node information and service equipment information of the video service system.
The cloud resource management component is responsible for managing cloud computing resources of the system and performing unified scheduling and allocation on the computing resources, the network resources and the storage resources.
The basic service layer comprises a plurality of components such as test flow control, node topology management, resource information service, system maintenance and the like.
The test flow control assembly is used for receiving the cloud test control console instruction and executing corresponding operation, interacting with the test assembly according to the current test item, controlling the test assembly to complete the operation steps required to be executed by the current test item, collecting the test result from the cloud service node, feeding the result back to the cloud test control console, and displaying the current test result to a user by the cloud test control console.
The node topology management component is responsible for starting corresponding cloud service nodes according to specific test requirements, and meanwhile, a corresponding virtual network is built on the cloud platform according to the node topology model and the topological connection relation of the nodes is achieved.
The resource information service component is responsible for interacting with the cloud test control platform to realize configuration of resource information such as video service system organization architecture, user information, coding and decoding equipment information, service node information and service equipment information, and the resource information is prepared for a specific test task.
The system maintenance component is used for carrying out configuration management on the system, monitoring the running state of the system and ensuring the normal running of the system.
The testing component layer comprises a resource synchronization component, a service registration component, a state synchronization component, a session control component, a business logic component, a multi-node typical scene component and the like.
And the resource synchronization component is responsible for testing the resource synchronization process among the service nodes.
And the service registration component is responsible for testing the service registration function of the system to be tested.
The state synchronization test is responsible for testing the state synchronization processes of the user state, the service state and the like among the service nodes.
The session control component is responsible for testing sessions of the system to be tested such as on-demand sessions, calling sessions and the like.
And the service logic component is responsible for testing service logics of a system to be tested, such as command, conference and the like.
The multi-node typical scene component is mainly used for simulating various typical service node topologies to test a system to be tested.
In some embodiments, the container cloud service node is configured to simulate the multi-stage cloud service node and execute a test on the video service, and any cloud service node includes a signaling analysis component, a communication component, a function detection component, an event reporting component, an application control component, a signaling control component, a media processing component, an application service component, a codec component, and a media storage component.
Specifically, the container cloud service node receives a control center instruction, a plurality of test video service nodes are started by using a container in a cloud platform, a test environment is simulated, and a specific test task is executed by interacting with a tested system. The cloud service node comprises components such as signaling analysis, function detection, communication components, event reporting, application service, state management, signaling control, signaling detection, media processing, codec and the like, wherein,
and the signaling analysis component performs compliance test on the interactive signaling between the equipment to be tested and the service node and sends the result to the event reporting component.
And the function detection component is used for detecting the service function of interaction between the equipment to be detected and the service node, judging whether the service function is in accordance with the expectation or not, and sending the result to the event reporting component.
The communication component is used as a message agent of the cloud service node and the control center, and the agent event reporting component interacts with the control center testing flow control component.
The event reporting component is responsible for collecting the interaction events with the equipment to be tested in the node, calling the signaling analysis component and the function test component to analyze and verify the signaling and the function in the test process, and sending the verification result to the control center through the communication component.
The application control component simulates the application control function of the service system and controls application services such as video command, video conference, video monitoring and the like.
The signaling control component simulates the signaling control function of the system to be tested and mainly comprises a session control signaling, a resource synchronization signaling, an information interaction signaling and the like.
And the media processing component processes audio and video media data of the service node, and the processing comprises media encoding, media packaging, media decoding and the like.
And the application service component simulates the service logic function of the system to be tested and performs service interaction with the service node to be tested.
The codec component simulates the codec function of the video service system and realizes concurrent testing of services such as video service system registration, on-demand and calling.
The media storage component simulates the media storage function of the video service system.
FIG. 2 is a schematic diagram of various component interfaces according to an embodiment of the present invention; as shown in fig. 2, each interface is divided into an internal interface of a cloud control console, an internal interface of a cloud control center, an internal interface of a cloud service node, an interactive interface between each part of the system, and an external interface according to system components.
(1) Internal interface of cloud measurement control console
Interface a 1: and the configuration management component interacts with the control center through the background service interaction component.
Interface a 2: and the test flow interaction component acquires a system configuration item from a user and configures the system through the configuration management component.
Interface a 3: and the test interaction component interacts with the control center through the background service component.
(2) Internal interface of cloud measurement and control center
B1 interface: the test flow control component calls the test component to execute a certain test task.
B2 interface: the system maintenance component configures the testing component.
B3 interface: and the testing component calls the resource information component according to the testing requirement to configure the resource information of the command system.
B4 interface: and the test component calls the node topology management component to manage the node topology relation of the system according to the test requirement.
B5 interface: the system maintenance component stores system configuration and management information to a database.
B6 interface: the resource information component stores the system command system resource information to a directory server.
B7 interface: and the node topology management component calls the cloud resource management component to start a service node in the cloud platform, and a topology environment is built.
(3) Internal interface of simulated cloud service node
C1 interface: and the event reporting component calls the function detection component to perform detection analysis on the functional characteristics of the command system in the test process.
C2 interface: and the event reporting component interacts with the cloud service node service unit and collects events of the service unit in the test process.
C3 interface: and the event reporting component calls the communication component to communicate with the control center.
C4 interface: and the event reporting component calls the signaling analysis component to carry out compliance analysis on the interactive signaling of the command system in the test process.
(4) Interactive interface between parts of system
AB1 interface: the cloud test control console background service interaction component interacts test flow control information with the control center test flow control component.
AB2 interface: the cloud measurement control console background service interaction component and the control center system maintenance component interaction system configuration and management information.
BC1 interface: and the control center cloud resource management component manages the virtual resources and controls the starting of the cloud service nodes.
BC2 interface: and the cloud service node communication component is in message communication with the control center test flow control component.
(5) External interface
E1 interface: and the user interacts with the cloud control console.
E2 interface: and the equipment to be tested interacts with the cloud service node.
In some embodiments, the cloud measurement and control center includes a test flow control component, a node topology management component, a resource information service component, and a cloud resource management module, the node topology management component includes a management and control center, a mirror warehouse, a configuration center, a container management module, and a node topology management module, and the resource information service component includes a service unit control center, a service unit warehouse, a service business analysis component, a service unit configuration center, and a configuration template warehouse.
Specifically, in the cloud platform system, functions of a containerization-based simulation multistage cloud service node and a network topology model are completed through interactive cooperation of a node topology management component, a test flow control component, a cloud resource management component and the like. The node topology management component is composed of modules such as a management and control center, a mirror image warehouse, a configuration center, container management, network topology management and the like, and is responsible for managing the life cycle of the cloud service nodes and controlling the simulation and connection of a network topology model.
The multi-level cloud service node simulation function comprises the creation, starting, configuration and recovery of cloud service nodes. The mirror image warehouse establishes a cloud service node mirror image according to the characteristics of the equipment to be tested, and determines the operation environment and configuration parameters of the cloud service node, wherein the operation environment and configuration parameters specifically comprise a mirror image context path, a service dependency relationship, configuration related to the deployment and operation of the service, service resource limitation, environment variables and the like. The configuration center uniformly manages the configuration files of the cloud service nodes at different positions under the topological structure, supports the functions of adding, modifying and deleting, and automatically detects whether the configuration files are updated. And the container management reads or newly builds configuration file information from the configuration center according to the cloud service node hierarchy, creates and operates a container, and deploys the cloud service nodes. And the cloud service nodes at different positions under the multi-level node network topology structure complete the testing task through the instruction and media interaction.
The simulation and connection functions of the multi-level node network topology model simulate various topological relations such as the upper-level relation, the lower-level relation, the incidence relation and the like by using a network virtualization technology, establish a corresponding virtual network and realize the topological connection relation of nodes. The virtual node is internally communicated with a physical machine by using a virtual network card, and the physical machine is connected with physical equipment to be tested through a switch to complete the interaction of the signaling and media of the video service system. The node topology is shown in fig. 3, and the virtual network is shown in fig. 4.
In some embodiments, the step S1 (simulating the multi-level cloud service node of the device under test and the network topology relationship) specifically includes:
step S1-1:
the control center receives a control instruction sent by the test flow control component, wherein the control instruction comprises configuration parameters and network topology parameters of the multi-level cloud service nodes;
the management and control center sends a mirror image search request to the mirror image warehouse, wherein the mirror image search request comprises configuration parameters of the multi-level cloud service nodes;
the mirror image warehouse determines a plurality of service mirror images meeting configuration parameters of the multi-level cloud service nodes through searching, and returns search results to the management and control center;
step S1-2:
the management and control center determines equipment characteristics corresponding to the configuration parameters of the multistage cloud service nodes and sends a mirror image configuration file request instruction to the configuration center;
after receiving the mirror image configuration file request instruction, the configuration center determines a configuration file of the mirror image of the multi-level cloud service node by using a search engine according to the equipment characteristics, and returns configuration file information serving as a result to the management and control center;
step S1-3:
the management and control center determines the mirror image of the multi-level cloud service node and the configuration file based on the configuration file information, and sends a container application and a starting request to the container management module;
after receiving the container application and the starting request, the container management module calculates resource requirements according to the configuration file of the mirror image of the multilevel cloud service node and sends a quantitative resource application request to the resource management module of the cloud;
after receiving the quantitative resource application request, the cloud resource management module allocates local resources or remote resources to the container according to the existing resource capacity, and feeds back a result to the container management module;
the container management module feeds back a resource application result and a resource address serving as results to the management and control center;
step S1-4:
the management and control center sends a virtual network connection request to the network topology management module, wherein the virtual network connection request comprises the network topology parameters, so that the network topology management module constructs a network topology model based on the network topology parameters, and the network topology model is used for communicating each cloud service node;
the network topology management module establishes a corresponding virtual network based on a network topology model for communicating each cloud service node, and sends a node connection request to each cloud service node.
After receiving the node connection request, each cloud service node executes communication with an adjacent node, returns a communication result to the control center through the network topology management module, and returns a simulation result of the multi-stage cloud service node and a simulation result of the network topology to the test flow control component through the control center.
Fig. 5 is a schematic diagram of time sequence interaction for simulating a topological relationship between a multi-stage cloud service node of a device under test and a network according to an embodiment of the present invention; as shown in fig. 5, in some embodiments:
1-1: and the node topology management component receives a control instruction sent by the test flow control component, wherein the control instruction comprises configuration parameters and network topology parameters of the multi-level cloud service nodes.
1-2: and the management and control center of the node topology management component sends a mirror image search request to the mirror image warehouse, and the request content comprises configuration parameters of the cloud service nodes.
1-3: and the mirror image warehouse searches according to the configuration parameters of the cloud service nodes, determines one or more service mirror images, and feeds the service mirror images back to the management and control center as results.
1-4: the management and control center determines corresponding equipment characteristics according to the configuration parameters of the cloud service nodes and sends a mirror image configuration file request instruction to the configuration center.
1-5: the configuration center determines a configuration file of the cloud service node mirror image by using a search engine according to the equipment characteristics, and feeds back the configuration file information serving as a result to the control center.
1-6: the management and control center determines the mirror images and the configuration files of the multi-level cloud service nodes and sends container application and starting requests to the container management module.
1-7: the container management module receives the request, calculates resource requirements according to the mirror image and the configuration file, and sends a quantitative resource application request to cloud resource management.
1-8: the cloud resource management module receives the resource application request, distributes local resources or remote resources to the container according to the existing resource capacity, and feeds back the result to the container management module.
1-9: and the container management module feeds back the resource application result and the resource address to the control center as a result.
1-10: and the multilevel cloud service node container is started and completed according to the required configuration. The management and control center sends a virtual network connection request to the network topology management module, and the cloud service nodes are communicated according to the network topology model.
1-11: the network topology management module establishes a corresponding virtual network and sends a node connection request to the cloud service node.
1-12: the cloud service node receives the connection request, sets the adjacent nodes, realizes the topological connection relation of the nodes, and feeds back the connection result to the network topology management module.
1-13: and the network topology management module feeds back the network connection result to the control center.
1-14: the control center feeds back the simulation result of the multi-stage cloud service node and the simulation result of the network topology to the test flow control assembly.
In some embodiments, in the testing method, the implementing of the test on the video service system specifically includes: and adding the equipment to be tested into the simulated network topology relation, so that the service node to be tested of the equipment to be tested corresponds to the simulated multi-level cloud service node and executes various tests on the equipment to be tested, and the test result is fed back to the cloud test control platform to realize visual display for a user.
Specifically, fig. 6 is a schematic diagram of a test flow according to an embodiment of the present invention; as shown in fig. 6, in some embodiments:
1-1: and the user configures the system parameters and the equipment parameters required by the test.
1-2: and selecting the node topological relation to be tested by the user through the cloud control console, and if the topological relation does not exist, newly establishing the topological relation and storing the topological relation as a template.
1-3: and the cloud control console converts the user input into a system internal instruction and sends the instruction to the control center.
1-4: and the cloud measurement and control center dynamically combines the cloud service node service units according to the service type of the current equipment to be tested to generate service unit configuration template parameters.
1-5: and the cloud control center prepares the container virtual resources on the cloud platform according to the topological relation selected by the user.
1-6: and starting a plurality of corresponding container cloud service nodes on the cloud platform, and simulating a plurality of topological relations to establish a multi-level node simulation environment.
1-7: and executing a test process, adding the equipment to be tested into a networking topology, enabling the service nodes to be tested to appear in different network levels in the multi-level node relationship through configuration, interacting with the cloud service nodes, and feeding back a test result to the control center by the container cloud service nodes.
1-8: and the cloud measurement control center feeds back the result to the cloud measurement control console, and the cloud measurement control console displays the result to the user.
1-9: and (5) repeatedly executing the steps 4 to 8 until the test is finished, and generating a test report by the cloud test console.
In some embodiments, in step S2-2, when performing various types of tests on the device under test, according to the test service type of the test device, dynamically combining various types of resource information services to implement a test of a video service system based on different test service types, specifically including:
step S2-2-1:
the test flow control module sends a test flow control instruction to the service unit control center, wherein the test flow control instruction comprises a test service type of the test equipment;
the service unit control center sends a service analysis request to the service analysis component based on the test service type, and the service analysis component analyzes the requested video service;
in the analysis process of the service business analysis component, calling the service unit warehouse to inquire the currently available service unit type and returning service unit type information to the service business analysis component;
the service analysis component generates service unit combination information according to the query result and returns the service unit combination information to the service unit control center;
step S2-2-2:
the service unit control center sends a service unit configuration request to the service unit configuration center according to the service unit combination information; generating a configuration template by the service unit configuration center;
the service unit configuration center analyzes the received service unit configuration request to generate a configuration template, and sends configuration query information to the configuration template warehouse, and the configuration template warehouse returns a query result;
the service unit configuration center dynamically generates service unit configuration template information meeting the test service type according to the query result, and returns the service unit configuration template information to the test flow control component through the service unit control center;
step S2-2-3:
and the test flow control component sends the service unit configuration template information to the node topology management component, and the control node topology management component starts corresponding service node topology according to the service unit configuration template information so as to respond to the test request of the test equipment.
FIG. 7 is a schematic diagram of a time sequence interaction for dynamically combining various resource information services according to a test service type of a test device according to an embodiment of the present invention; as shown in fig. 7, in some embodiments:
1-1: and the test flow control module sends a control instruction to the service unit control center, wherein the instruction comprises the type of the video service needing to be simulated currently.
1-2: the service unit control center sends a service analysis request to the service analysis component, and the service analysis component analyzes the video service of the current request.
1-3: and the service business analysis component calls a service unit warehouse to inquire the type of the current available service unit in the analysis process.
1-4: and the service unit warehouse returns the type information of the currently available service units to the service business analysis component according to the query information.
1-5: and the service analysis component generates service unit combination information according to the query result and returns the information to the service unit control center.
1-6: the service unit control center sends a service unit configuration request to the service unit configuration center according to the service unit combination information, and the service unit configuration center generates a configuration template.
1-7: the configuration center analyzes the received service unit combination information and sends configuration inquiry information to the configuration template warehouse.
1-8: and the configuration template warehouse returns the query result.
1-9: the service unit configuration center dynamically generates service unit configuration template information meeting the current service type according to the query result, and returns the configuration template information to the service unit control center.
1-10: the service unit control center returns the received configuration template information to the test flow control module.
1-11: the test flow control module sends the configuration template information to the node topology management module, and the control node topology management module starts corresponding service node topology according to the configuration template information.
1-12: the node topology management module responds to the request.
Specific examples are as follows:
FIG. 8 is a schematic diagram illustrating the timing interaction of a test process according to an embodiment of the present invention; as shown in fig. 8, in some embodiments:
1-1: and a user initiates a system configuration request through the cloud control console configuration management component.
1-2: the configuration management component sends the configuration request to the background service interaction component.
1-3: and the background service interaction component sends the request to the resource information component, and the resource information component calls the directory server to configure the system.
1-4: the resource information component returns the results to the background service interaction component.
1-5: and the background service interaction component sends a request to the node topology management component, and the node topology management component adds a networking topology model.
1-6: and the node topology management component returns the result to the background service interaction component.
1-7: the background service interaction component returns the results to the configuration management component.
1-8: the configuration management component returns the results to the user.
2-1: and setting the parameters of the equipment to be tested by the user according to the system configuration.
2-2: and the equipment to be tested returns the parameter setting result to the user.
3-1: and the user selects a certain topological relation for testing through the cloud test console test flow interaction assembly.
3-2: and the test flow control component sends the user operation command to the background service interaction component.
3-3: the background service interaction component sends commands to the test flow control component.
3-4: the test flow control component sends a control command to the node topology management component, and the node topology management component sets the current required network topology.
3-5: the node topology management component sends a command to the cloud resource management component, and the cloud resource management component prepares corresponding resources on the cloud platform according to the selected topology relation.
3-6: the cloud resource management component starts a cloud service node on a cloud platform and establishes a topological relation selected by a user.
3-7: the cloud service node returns the establishment condition of the topological relation to the cloud resource management component.
3-8: the cloud resource management component returns the results to the testing component.
3-9: the test component returns the results to the test flow control component.
3-10: and the test flow control component returns the result to the background service interaction component.
3-11: and the background service interaction component returns the result to the test flow control component.
3-12: the test flow control component returns the results to the user.
4-1: and the equipment to be tested participates in the cloud service node topology and interacts with the cloud service nodes.
5-1: and the cloud service node sends the interaction event of the device to be tested to an event reporting component.
5-2: and the event reporting component sends a receiving confirmation message.
6-1: and the event reporting component analyzes the interaction event and sends an analysis result to the function detection component.
6-2: and the function detection component analyzes the interaction event in the network topology and confirms that the equipment to be tested can normally complete interaction.
7-1: and the event reporting component sends the received event analysis result to the test flow control component.
7-2: the test flow control component returns a result.
8-1: and the test flow control component sends the result to the background service interaction component.
8-2: and the background service interaction component sends the result to the test flow interaction component.
8-3: and the test flow interaction component returns a result.
8-4: and the background service interaction component returns a result.
9-1: and the test flow interaction component displays the test result to a user.
9-2: the user responds to the test results.
In summary, in the method for testing the video service system based on the container cloud, disclosed by the first aspect of the present invention, the cloud control console, the cloud control center and the container cloud service node realize standardized detection of the video service system under the complex networking condition. The multi-level node simulation test environment is dynamically established based on the cloud platform, a real video service node networking state or a typical video service node deployment scene can be simulated, dynamic topology adjustment and networking test can be performed on the networking mode of the tested video service node, so that the problems of single testing and networking, low efficiency, insufficient testing and the like in the traditional test method are solved, and the performance of each function of a video service system and the testing efficiency and testing completeness of interconnection and intercommunication are remarkably improved.
The invention discloses a testing system of a video service system based on container cloud realization. The test system comprises:
an analog unit configured to: simulating a multi-stage cloud service node and network topology relation of equipment to be tested by utilizing a cloud test control platform, a cloud test control center and a container cloud service node; wherein:
the cloud measurement and control center comprises a test flow control assembly, a node topology management assembly, a resource information service assembly and a cloud resource management module, wherein the node topology management assembly comprises a management and control center, a mirror image warehouse, a configuration center, a container management module and a node topology management module, and the resource information service assembly comprises a service unit control center, a service unit warehouse, a service business analysis assembly, a service unit configuration center and a configuration template warehouse;
a test unit configured to: based on the simulated multi-level cloud service node and network topology relationship of the device to be tested, executing the test of the video service system, specifically comprising:
adding the equipment to be tested into the simulated network topology relation, so that the service node to be tested of the equipment to be tested corresponds to the simulated multi-level cloud service node;
and executing various tests on the equipment to be tested, and feeding back test results to the cloud control console so as to realize visual display for users.
According to the system of the second aspect of the present invention, the simulating unit is specifically configured to simulate the multi-level cloud service node of the device under test and the network topology relationship by using the first processing unit, the second processing unit, the third processing unit, and the fourth processing unit, and specifically includes:
the first processing unit is configured to:
calling the control center to receive a control instruction sent by the test flow control component, wherein the control instruction comprises configuration parameters and network topology parameters of the multi-level cloud service nodes;
calling the management and control center to send a mirror image search request to the mirror image warehouse, wherein the mirror image search request comprises configuration parameters of the multi-level cloud service nodes;
calling the mirror image warehouse to determine a plurality of service mirror images meeting the configuration parameters of the multi-level cloud service nodes through searching, and returning the search results to the management and control center;
the second processing unit is configured to:
calling the control center to determine the equipment characteristics corresponding to the configuration parameters of the multistage cloud service nodes, and sending a mirror image configuration file request instruction to the configuration center;
after the configuration center is called to receive the mirror image configuration file request instruction, determining the configuration file of the mirror image of the multi-level cloud service node by using a search engine according to the equipment characteristics, and returning configuration file information serving as a result to the management and control center;
the third processing unit is configured to:
calling the management and control center to determine the mirror image of the multi-level cloud service node and the configuration file based on the configuration file information, and sending a container application and a starting request to the container management module;
after the container management module is called to receive the container application and the starting request, calculating resource requirements according to the configuration file of the mirror image of the multilevel cloud service node, and sending a quantitative resource application request to the resource management module of the cloud;
after the cloud resource management module is called to receive the quantitative resource application request, local resources or remote resources are distributed to the container according to the existing resource capacity, and a result is fed back to the container management module;
calling the container management module to feed back a resource application result and a resource address serving as results to the control center;
the fourth processing unit is configured to:
calling the management and control center to send a virtual network connection request to the network topology management module, wherein the virtual network connection request comprises the network topology parameters, so that the network topology management module constructs a network topology model based on the network topology parameters, and the network topology model is used for communicating each cloud service node;
and calling the network topology management module to establish a corresponding virtual network based on a network topology model for communicating each cloud service node, and sending a node connection request to each cloud service node.
And calling each cloud service node to execute communication with adjacent nodes after receiving the node connection request, returning a communication result to the control center through the network topology management module, and returning a simulation result of the multilevel cloud service nodes and a simulation result of the network topology to the test flow control component by the control center.
According to the system of the second aspect of the present invention, the test unit is specifically configured to, when performing various types of tests on the device under test, dynamically combine various types of resource information services according to the test service types of the test device, so as to implement a test of a video service system based on different test service types, and specifically includes:
step P1:
calling the test flow control module to send a test flow control instruction to the service unit control center, wherein the test flow control instruction comprises a test service type of the test equipment;
calling the service unit control center to send a service analysis request to the service analysis component based on the test service type, and analyzing the requested video service by the service analysis component;
calling the service business analysis component to call the service unit warehouse to inquire the currently available service unit type in the analysis process, and returning the service unit type information to the service business analysis component;
calling the service analysis component to generate service unit combination information according to the query result, and returning the service unit combination information to the service unit control center;
step P2:
calling the service unit control center to send a service unit configuration request to the service unit configuration center according to the service unit combination information; generating a configuration template by the service unit configuration center;
the service unit configuration center is called to analyze the received service unit configuration request so as to generate a configuration template, configuration inquiry information is sent to the configuration template warehouse, and the configuration template warehouse returns an inquiry result;
calling the service unit configuration center to dynamically generate service unit configuration template information meeting the test service type according to the query result, and returning the service unit configuration template information to the test flow control component through the service unit control center;
step P3:
and calling the test flow control component to send the service unit configuration template information to the node topology management component, and starting the corresponding service node topology by the control node topology management component according to the service unit configuration template information so as to respond to the test request of the test equipment.
According to the system of the second aspect of the present invention, the cloud control console provides a user operation interface for implementing the test method, is used for interacting with a user, and notifies the cloud control center to execute a test action corresponding to an operation instruction according to the operation instruction of the user, and includes a test flow interaction component, a configuration management component, and a background service interaction component.
According to the system of the second aspect of the present invention, the cloud measurement and control center is configured to deploy a test environment, execute a test project, record a test state, generate, store, and retrieve a test result, and provide a test process control component, a system maintenance component, a resource information service component, a node topology management component, a database service component, a directory service component, a cloud resource management component, and a test component, where the test component provides multiple types of test services, and the test services are configured to execute tests on the video services, specifically including a resource synchronization test, a service registration test, a state synchronization test, an on-demand call test, a command conference test, and a multi-node typical scenario test.
According to the system of the second aspect of the present invention, the container cloud service node is configured to simulate the multi-stage cloud service node and execute a test on the video service, and any cloud service node includes a signaling analysis component, a communication component, a function detection component, an event reporting component, an application control component, a signaling control component, a media processing component, an application service component, a codec component, and a media storage component.
A third aspect of the invention discloses an electronic device. The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method for testing the video service system implemented based on the container cloud according to any one of the first aspect of the present disclosure when executing the computer program.
FIG. 9 is a block diagram of an electronic device according to an embodiment of the present invention; as shown in fig. 9, the electronic apparatus includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the electronic device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, Near Field Communication (NFC) or other technologies. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
It will be understood by those skilled in the art that the structure shown in fig. 9 is only a partial block diagram related to the technical solution of the present disclosure, and does not constitute a limitation of the electronic device to which the solution of the present application is applied, and a specific electronic device may include more or less components than those shown in the drawings, or combine some components, or have a different arrangement of components.
A fourth aspect of the invention discloses a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program, which when executed by a processor implements the steps in a method for testing a video service system implemented based on a container cloud according to any one of the first aspect of the present disclosure.
In summary, the technical scheme of the invention realizes standardized detection of the video service system under the complex networking condition by the cloud control console, the cloud control center and the container cloud service node. A multi-level node simulation test environment is dynamically established based on a cloud platform, a real video service node networking state or a typical video service node deployment scene can be simulated, dynamic topology adjustment and networking test can be performed on the networking mode of a tested video service node, so that the problems of single testing networking, low efficiency, insufficient testing and the like in the traditional test method are solved, and the test efficiency and test completeness of the video service system and interconnection are remarkably improved. A third aspect of the invention discloses an electronic device. The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the video service testing method based on the cloud platform in any one of the first aspect of the disclosure when executing the computer program. The invention adopts a container virtualization resource technology, can simulate and construct a multi-level video service node environment according to needs, can expand the number of simulated video service nodes at any time, and realizes the simulation of video service node topological structures of different levels, different scales and different connection relations.
The method applies the functional characteristics of resource virtualization, dynamic capacity expansion, high reliability and the like of the cloud platform to the process of checking the standard conformance of the video service system, mainly adopts the technology of simulating the automatic generation and configuration of service nodes, simulates and constructs the networking relationship of various video service nodes, can flexibly network with the service system to be tested, and can model networking modes of different combinations such as upper connection, lower connection, transverse connection and the like; adopting heterogeneous service technology, simulating and constructing various protocol service functions, and covering various service application scenes; by adopting the automatic configuration technology of the test process, the video service system can be comprehensively detected by one-time automatic test without detecting the equipment one by one. The video service system standardization test tool constructed based on the cloud platform can realize high-efficiency, accurate and comprehensive automatic detection on the standard conformity of the complex video service system.
It should be noted that the technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present description should be considered. The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A testing method of a video service system based on container cloud implementation is characterized by comprising the following steps:
s1, simulating a multi-level cloud service node and a network topology relation of the equipment to be tested by utilizing a cloud test control platform, a cloud test control center and a container cloud service node; wherein:
the cloud measurement and control center comprises a test flow control assembly, a node topology management assembly, a resource information service assembly and a cloud resource management module, wherein the node topology management assembly comprises a management and control center, a mirror image warehouse, a configuration center, a container management module and a node topology management module, and the resource information service assembly comprises a service unit control center, a service unit warehouse, a service business analysis assembly, a service unit configuration center and a configuration template warehouse;
step S2, executing a test on the video service system based on the simulated multi-level cloud service node and network topology relationship of the device to be tested, specifically including:
step S2-1, adding the device to be tested into the simulated network topology relationship, so that the service node to be tested of the device to be tested corresponds to the simulated multi-level cloud service node;
and S2-2, executing various tests on the equipment to be tested, and feeding back test results to the cloud control console to realize visual display for users.
2. The method for testing the video service system implemented based on the container cloud according to claim 1, wherein the step S1 specifically includes:
step S1-1:
the control center receives a control instruction sent by the test flow control component, wherein the control instruction comprises configuration parameters and network topology parameters of the multi-level cloud service nodes;
the management and control center sends a mirror image search request to the mirror image warehouse, wherein the mirror image search request comprises configuration parameters of the multi-level cloud service nodes;
the mirror image warehouse determines a plurality of service mirror images meeting configuration parameters of the multi-level cloud service nodes through searching, and returns search results to the management and control center;
step S1-2:
the management and control center determines equipment characteristics corresponding to the configuration parameters of the multistage cloud service nodes and sends a mirror image configuration file request instruction to the configuration center;
after receiving the mirror image configuration file request instruction, the configuration center determines a configuration file of the mirror image of the multi-level cloud service node by using a search engine according to the equipment characteristics, and returns configuration file information serving as a result to the management and control center;
step S1-3:
the management and control center determines the mirror image of the multi-level cloud service node and the configuration file based on the configuration file information, and sends a container application and a starting request to the container management module;
after receiving the container application and the starting request, the container management module calculates resource requirements according to the configuration file of the mirror image of the multilevel cloud service node and sends a quantitative resource application request to the resource management module of the cloud;
after receiving the quantitative resource application request, the cloud resource management module allocates local resources or remote resources to the container according to the existing resource capacity, and feeds back a result to the container management module;
the container management module feeds back a resource application result and a resource address serving as results to the management and control center;
step S1-4:
the management and control center sends a virtual network connection request to the network topology management module, wherein the virtual network connection request comprises the network topology parameters, so that the network topology management module constructs a network topology model based on the network topology parameters, and the network topology model is used for communicating each cloud service node;
the network topology management module establishes a corresponding virtual network based on a network topology model for communicating each cloud service node, and sends a node connection request to each cloud service node;
after receiving the node connection request, each cloud service node executes communication with an adjacent node, returns a communication result to the control center through the network topology management module, and returns a simulation result of the multi-stage cloud service node and a simulation result of the network topology to the test flow control component through the control center.
3. The method according to claim 2, wherein in step S2-2, when performing various types of tests on the device under test, various types of resource information services are dynamically combined according to the test service type of the test device, so as to implement the tests on the video service systems based on different test service types, which specifically includes:
step S2-2-1:
the test flow control module sends a test flow control instruction to the service unit control center, wherein the test flow control instruction comprises a test service type of the test equipment;
the service unit control center sends a service analysis request to the service analysis component based on the test service type, and the service analysis component analyzes the requested video service;
in the analysis process of the service business analysis component, calling the service unit warehouse to inquire the currently available service unit type and returning service unit type information to the service business analysis component;
the service analysis component generates service unit combination information according to the query result and returns the service unit combination information to the service unit control center;
step S2-2-2:
the service unit control center sends a service unit configuration request to the service unit configuration center according to the service unit combination information; generating a configuration template by the service unit configuration center;
the service unit configuration center analyzes the received service unit configuration request to generate a configuration template, and sends configuration query information to the configuration template warehouse, and the configuration template warehouse returns a query result;
the service unit configuration center dynamically generates service unit configuration template information meeting the test service type according to the query result, and returns the service unit configuration template information to the test flow control component through the service unit control center;
step S2-2-3:
and the test flow control component sends the service unit configuration template information to the node topology management component, and the control node topology management component starts corresponding service node topology according to the service unit configuration template information so as to respond to the test request of the test equipment.
4. The method for testing the video service system implemented based on the container cloud according to claim 3, wherein:
the cloud test control console provides a user operation interface for realizing the test method, is used for interacting with a user and informing the cloud test control center to execute a test action corresponding to an operation instruction according to the operation instruction of the user, and comprises a test flow interaction component, a configuration management component and a background service interaction component;
the cloud measurement and control center is used for deploying a test environment, executing a test project, recording a test state, generating, storing and retrieving a test result, and providing a test flow control component, a system maintenance component, a resource information service component, a node topology management component, a database service component, a directory service component, a cloud resource management component and a test component, wherein the test component provides various types of test services, and the test services are used for executing tests on the video services, and specifically comprise a resource synchronization test, a service registration test, a state synchronization test, an on-demand call test, a command conference test and a multi-node typical scene test;
the container cloud service node is used for simulating the multi-stage cloud service node and executing the test of the video service, and any cloud service node comprises a signaling analysis component, a communication component, a function detection component, an event reporting component, an application control component, a signaling control component, a media processing component, an application service component, a codec component and a media storage component.
5. A test system of a video service system based on container cloud implementation is characterized in that the test system comprises:
an analog unit configured to: simulating a multi-stage cloud service node and network topology relation of equipment to be tested by utilizing a cloud test control platform, a cloud test control center and a container cloud service node; wherein:
the cloud measurement and control center comprises a test flow control assembly, a node topology management assembly, a resource information service assembly and a cloud resource management module, wherein the node topology management assembly comprises a management and control center, a mirror image warehouse, a configuration center, a container management module and a node topology management module, and the resource information service assembly comprises a service unit control center, a service unit warehouse, a service business analysis assembly, a service unit configuration center and a configuration template warehouse;
a test unit configured to: based on the simulated multi-level cloud service node and network topology relationship of the device to be tested, executing the test of the video service system, specifically comprising:
adding the equipment to be tested into the simulated network topology relation, so that the service node to be tested of the equipment to be tested corresponds to the simulated multi-level cloud service node;
and executing various tests on the equipment to be tested, and feeding back test results to the cloud control console so as to realize visual display for users.
6. The system according to claim 5, wherein the simulation unit is specifically configured to simulate the multi-stage cloud service nodes and the network topology relationship of the device under test by using a first processing unit, a second processing unit, a third processing unit, and a fourth processing unit, and specifically includes:
the first processing unit is configured to:
calling the control center to receive a control instruction sent by the test flow control component, wherein the control instruction comprises configuration parameters and network topology parameters of the multi-level cloud service nodes;
calling the management and control center to send a mirror image search request to the mirror image warehouse, wherein the mirror image search request comprises configuration parameters of the multi-level cloud service nodes;
calling the mirror image warehouse to determine a plurality of service mirror images meeting the configuration parameters of the multi-level cloud service nodes through searching, and returning the search results to the management and control center;
the second processing unit is configured to:
calling the control center to determine the equipment characteristics corresponding to the configuration parameters of the multistage cloud service nodes, and sending a mirror image configuration file request instruction to the configuration center;
after the configuration center is called to receive the mirror image configuration file request instruction, determining the configuration file of the mirror image of the multi-level cloud service node by using a search engine according to the equipment characteristics, and returning configuration file information serving as a result to the management and control center;
the third processing unit is configured to:
calling the management and control center to determine the mirror image of the multi-level cloud service node and the configuration file based on the configuration file information, and sending a container application and a starting request to the container management module;
after the container management module is called to receive the container application and the starting request, calculating resource requirements according to the configuration file of the mirror image of the multilevel cloud service node, and sending a quantitative resource application request to the resource management module of the cloud;
after the cloud resource management module is called to receive the quantitative resource application request, local resources or remote resources are distributed to the container according to the existing resource capacity, and a result is fed back to the container management module;
calling the container management module to feed back a resource application result and a resource address serving as results to the control center;
the fourth processing unit is configured to:
calling the management and control center to send a virtual network connection request to the network topology management module, wherein the virtual network connection request comprises the network topology parameters, so that the network topology management module constructs a network topology model based on the network topology parameters, and the network topology model is used for communicating each cloud service node;
calling the network topology management module to establish a corresponding virtual network based on a network topology model for communicating each cloud service node, and sending a node connection request to each cloud service node;
and calling each cloud service node to execute communication with adjacent nodes after receiving the node connection request, returning a communication result to the control center through the network topology management module, and returning a simulation result of the multilevel cloud service nodes and a simulation result of the network topology to the test flow control component by the control center.
7. The system according to claim 6, wherein the test unit is specifically configured to, when performing various types of tests on the device under test, dynamically combine various types of resource information services according to test service types of the test device, so as to implement tests on video service systems based on different test service types, and specifically includes:
step P1:
calling the test flow control module to send a test flow control instruction to the service unit control center, wherein the test flow control instruction comprises a test service type of the test equipment;
calling the service unit control center to send a service analysis request to the service analysis component based on the test service type, and analyzing the requested video service by the service analysis component;
calling the service business analysis component to call the service unit warehouse to inquire the currently available service unit type in the analysis process, and returning the service unit type information to the service business analysis component;
calling the service analysis component to generate service unit combination information according to the query result, and returning the service unit combination information to the service unit control center;
step P2:
calling the service unit control center to send a service unit configuration request to the service unit configuration center according to the service unit combination information; generating a configuration template by the service unit configuration center;
the service unit configuration center is called to analyze the received service unit configuration request so as to generate a configuration template, configuration inquiry information is sent to the configuration template warehouse, and the configuration template warehouse returns an inquiry result;
calling the service unit configuration center to dynamically generate service unit configuration template information meeting the test service type according to the query result, and returning the service unit configuration template information to the test flow control component through the service unit control center;
step P3:
and calling the test flow control component to send the service unit configuration template information to the node topology management component, and starting the corresponding service node topology by the control node topology management component according to the service unit configuration template information so as to respond to the test request of the test equipment.
8. The system for testing the video service system implemented based on the container cloud according to claim 7, wherein:
the cloud test control console provides a user operation interface for realizing the test method, is used for interacting with a user and informing the cloud test control center to execute a test action corresponding to an operation instruction according to the operation instruction of the user, and comprises a test flow interaction component, a configuration management component and a background service interaction component;
the cloud measurement and control center is used for deploying a test environment, executing a test project, recording a test state, generating, storing and retrieving a test result, and providing a test flow control component, a system maintenance component, a resource information service component, a node topology management component, a database service component, a directory service component, a cloud resource management component and a test component, wherein the test component provides various types of test services, and the test services are used for executing tests on the video services, and specifically comprise a resource synchronization test, a service registration test, a state synchronization test, an on-demand call test, a command conference test and a multi-node typical scene test;
the container cloud service node is used for simulating the multi-stage cloud service node and executing the test of the video service, and any cloud service node comprises a signaling analysis component, a communication component, a function detection component, an event reporting component, an application control component, a signaling control component, a media processing component, an application service component, a codec component and a media storage component.
9. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method for testing the video service system implemented based on the container cloud according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the steps in the method for testing the video service system implemented based on the container cloud according to any one of claims 1 to 4.
CN202111285557.0A 2021-11-02 2021-11-02 Method and system for testing video service system based on container cloud Active CN113747150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111285557.0A CN113747150B (en) 2021-11-02 2021-11-02 Method and system for testing video service system based on container cloud

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111285557.0A CN113747150B (en) 2021-11-02 2021-11-02 Method and system for testing video service system based on container cloud

Publications (2)

Publication Number Publication Date
CN113747150A true CN113747150A (en) 2021-12-03
CN113747150B CN113747150B (en) 2022-02-22

Family

ID=78727136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111285557.0A Active CN113747150B (en) 2021-11-02 2021-11-02 Method and system for testing video service system based on container cloud

Country Status (1)

Country Link
CN (1) CN113747150B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584354A (en) * 2022-02-23 2022-06-03 中国人民解放军国防科技大学 Construction method and system of network security practical training platform
CN115412458A (en) * 2022-08-29 2022-11-29 山石网科通信技术股份有限公司 Network equipment testing method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363159A (en) * 2014-07-02 2015-02-18 北京邮电大学 Virtual open network building system and method based on software definition network
WO2015065370A1 (en) * 2013-10-30 2015-05-07 Hewlett-Packard Development Company, L.P. Monitoring a cloud service modeled as a topology
WO2015199744A1 (en) * 2014-06-27 2015-12-30 Hewlett-Packard Development Company, L.P. Testing a cloud service component on a cloud platform
CN105847088A (en) * 2016-05-18 2016-08-10 浪潮电子信息产业股份有限公司 Virtual machine performance testing system based on cloud service
US20170289060A1 (en) * 2016-04-04 2017-10-05 At&T Intellectual Property I, L.P. Model driven process for automated deployment of domain 2.0 virtualized services and applications on cloud infrastructure
CN111061617A (en) * 2019-12-06 2020-04-24 中国电子科技集团公司第五十四研究所 Cloud computing-based space-based network networking simulation test system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015065370A1 (en) * 2013-10-30 2015-05-07 Hewlett-Packard Development Company, L.P. Monitoring a cloud service modeled as a topology
WO2015199744A1 (en) * 2014-06-27 2015-12-30 Hewlett-Packard Development Company, L.P. Testing a cloud service component on a cloud platform
CN104363159A (en) * 2014-07-02 2015-02-18 北京邮电大学 Virtual open network building system and method based on software definition network
US20170289060A1 (en) * 2016-04-04 2017-10-05 At&T Intellectual Property I, L.P. Model driven process for automated deployment of domain 2.0 virtualized services and applications on cloud infrastructure
CN105847088A (en) * 2016-05-18 2016-08-10 浪潮电子信息产业股份有限公司 Virtual machine performance testing system based on cloud service
CN111061617A (en) * 2019-12-06 2020-04-24 中国电子科技集团公司第五十四研究所 Cloud computing-based space-based network networking simulation test system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584354A (en) * 2022-02-23 2022-06-03 中国人民解放军国防科技大学 Construction method and system of network security practical training platform
CN115412458A (en) * 2022-08-29 2022-11-29 山石网科通信技术股份有限公司 Network equipment testing method and device and electronic equipment
CN115412458B (en) * 2022-08-29 2023-11-03 山石网科通信技术股份有限公司 Network equipment testing method and device and electronic equipment

Also Published As

Publication number Publication date
CN113747150B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
CN113747150B (en) Method and system for testing video service system based on container cloud
CN104410672B (en) Method, the method and device of forwarding service of network function virtualization applications upgrading
CN102880546B (en) Software integration testing method and system based on extensible markup language (XML) database
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
US20140325503A1 (en) Cloud infrastructure-based management system and method for maintenance and deployment of application system
CN102750301B (en) Blueprint generating method for integrated avionic system model aiming at architecture analysis and design language (AADL) description
CN110209574A (en) A kind of data mining system based on artificial intelligence
CN102035896A (en) TTCN-3-based distributed testing framework applicable to software system
CN109218086B (en) Method and system for constructing switching network
CN107733710A (en) Construction method, device, computer equipment and the storage medium of link call relation
CN108536484A (en) Parameter amending method, device, terminal device and storage medium
CN112698952A (en) Unified management method and device for computing resources, computer equipment and storage medium
CN102752770A (en) Method and device for polling service system
CN115391219A (en) Test case generation method and device, electronic equipment and storage medium
EP2908498B1 (en) Integrated application generating system and method for internet of things terminal
CN115883310A (en) Service deployment method, service deployment system, electronic device, and storage medium
CN113419818A (en) Basic component deployment method, device, server and storage medium
CN110620754B (en) NF (NF) required resource deployment method and device, storage medium and electronic device
CN116974874A (en) Database testing method and device, electronic equipment and readable storage medium
CN117041111A (en) Vehicle cloud function test method and device, electronic equipment and storage medium
CN116662132A (en) Evaluation method, virtual deployment method, computer device, and storage medium
CN114328196A (en) Method, device and equipment for testing data leakage prevention system and storage medium
CN109671140B (en) Cloud rendering service processing method adopting micro-service
CN109766204A (en) Intelligent trouble processing method, device, equipment and readable storage medium storing program for executing
Bracchi et al. Performability modeling of mobile software systems

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