CN112073212A - Parameter configuration method, device, terminal equipment and storage medium - Google Patents

Parameter configuration method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112073212A
CN112073212A CN202010714666.9A CN202010714666A CN112073212A CN 112073212 A CN112073212 A CN 112073212A CN 202010714666 A CN202010714666 A CN 202010714666A CN 112073212 A CN112073212 A CN 112073212A
Authority
CN
China
Prior art keywords
application server
parameter
private
configuration
public
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.)
Pending
Application number
CN202010714666.9A
Other languages
Chinese (zh)
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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN202010714666.9A priority Critical patent/CN112073212A/en
Publication of CN112073212A publication Critical patent/CN112073212A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
    • 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/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements

Abstract

The embodiment of the invention provides a parameter configuration method, a device, terminal equipment and a storage medium, wherein the parameter configuration method comprises the following steps: receiving an acquisition request of configuration parameters sent by a first application server, wherein the acquisition request comprises address information of the first application server, basic information of a second application server, and a public parameter identifier and/or a private parameter identifier of the second application server; searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier according to a pre-established configuration parameter database; and sending the searched public parameters and/or private parameters of the second application server to the first application server. By adopting the embodiment of the invention, the application server can acquire the public parameters and/or the private parameters of other application servers from the configuration server and configure the public parameters and/or the private parameters without manually configuring the application server, thereby saving the configuration time and improving the configuration efficiency.

Description

Parameter configuration method, device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of network technologies, and in particular, to a parameter configuration method, an apparatus, a terminal device, and a storage medium.
Background
In the video network, a variety of application servers, such as an emergency management server, an autonomous server, a network management server, etc., are included, and when a specific service is performed, each application server needs to be associated with each other to provide services for the other side, so that parameter configuration needs to be performed on the application servers.
If a plurality of services are simultaneously performed, a worker is required to independently log in a plurality of application servers, and the parameters of other application servers are configured in one application server, which not only takes a long time, but also has low configuration efficiency.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a parameter configuration method, apparatus, terminal device and storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a parameter configuration method, where the method includes:
receiving an acquisition request of configuration parameters sent by a first application server, wherein the acquisition request comprises address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server and/or a private parameter identifier of the second application server;
searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database;
the pre-established configuration parameter database comprises basic information, a public parameter identifier, a corresponding public parameter, a private parameter identifier and a corresponding private parameter of an application server, wherein the basic information of the application server corresponds to the public parameter identifier and the private parameter identifier respectively;
and sending the searched public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server.
Optionally, the pre-established configuration parameter database is obtained by:
receiving a public parameter identifier input by a user and a public parameter corresponding to the public parameter identifier according to basic information of an application server, wherein the basic information of the application server comprises a server type and a server identifier;
receiving a private parameter identifier input by a user and a private parameter corresponding to the private parameter identifier according to the basic information of the application server;
and storing the basic information of the application server, the public parameter identifier, the public parameter corresponding to the public parameter identifier, the private parameter identifier and the private parameter corresponding to the private parameter identifier in the configuration parameter database.
Optionally, the storing the basic information of the application server, the public parameter identifier, the public parameter corresponding to the public parameter identifier, the private parameter identifier, and the private parameter corresponding to the private parameter identifier in the configuration parameter database includes:
and storing the basic information of the application server, the public parameter identifier, the public parameter corresponding to the public parameter identifier, the private parameter identifier and the private parameter corresponding to the private parameter identifier in the configuration parameter database in a key-value pair format respectively.
Optionally, the configuring read-write client is installed on the first application server, and the sending the found public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server includes:
and sending the searched public parameter and/or private parameter of the second application server to a first application server corresponding to the address information of the first application server, so that the first application server receives the public parameter and/or private parameter of the second application server through the configuration read-write client, and performs configuration according to the public parameter and/or private parameter of the second application server.
Optionally, the method further comprises:
receiving a write-in request of private parameters sent by the first application server, wherein the write-in request comprises basic information of the first application server, a private parameter identifier of the first application server and a target private parameter corresponding to the private parameter identifier;
searching a preset private parameter corresponding to the basic information and the private parameter identifier of the first application server in the configuration parameter database according to the basic information and the private parameter identifier of the first application server;
and modifying the preset private parameter into the target private parameter.
Optionally, the method further comprises:
and sending a response instruction of successful writing to the first application server corresponding to the basic information of the first application server.
Optionally, before the receiving the request for obtaining the configuration parameters sent by the first application server, the method further includes:
receiving a login request sent by the first application server, wherein the login request comprises a user name, a login password, a first application server type and a first application server identifier;
and returning a response instruction of successful login to the first application server.
In a second aspect, an embodiment of the present invention provides an apparatus for configuring parameters, where the apparatus includes:
the system comprises a receiving module, a configuration module and a configuration module, wherein the receiving module is used for receiving an acquisition request of configuration parameters sent by a first application server, and the acquisition request comprises address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server and/or a private parameter identifier of the second application server;
the searching module is used for searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database;
the pre-established configuration parameter database comprises basic information, a public parameter identifier, a corresponding public parameter, a private parameter identifier and a corresponding private parameter of an application server, wherein the basic information of the application server corresponds to the public parameter identifier and the private parameter identifier respectively;
and the configuration module is used for sending the searched public parameters and/or private parameters of the second application server to the first application server corresponding to the address information of the first application server.
Optionally, the apparatus further comprises a database establishing module, wherein the database establishing module is configured to:
receiving a public parameter identifier input by a user and a public parameter corresponding to the public parameter identifier according to basic information of an application server, wherein the basic information of the application server comprises a server type and a server identifier;
receiving a private parameter identifier input by a user and a private parameter corresponding to the private parameter identifier according to the basic information of the application server;
and storing the basic information of the application server, the public parameter identifier, the public parameter corresponding to the public parameter identifier, the private parameter identifier and the private parameter corresponding to the private parameter identifier in the configuration parameter database.
Optionally, the database establishing module is configured to:
and storing the basic information of the application server, the public parameter identifier, the public parameter corresponding to the public parameter identifier, the private parameter identifier and the private parameter corresponding to the private parameter identifier in the configuration parameter database in a key-value pair format respectively.
Optionally, the lookup module is configured to:
and sending the searched public parameter and/or private parameter of the second application server to a first application server corresponding to the address information of the first application server, so that the first application server receives the public parameter and/or private parameter of the second application server through the configuration read-write client, and performs configuration according to the public parameter and/or private parameter of the second application server.
Optionally, the apparatus further comprises a writing module, the writing module is configured to:
receiving a write-in request of private parameters sent by the first application server, wherein the write-in request comprises basic information of the first application server, a private parameter identifier of the first application server and a target private parameter corresponding to the private parameter identifier;
searching a preset private parameter corresponding to the basic information and the private parameter identifier of the first application server in the configuration parameter database according to the basic information and the private parameter identifier of the first application server;
and modifying the preset private parameter into the target private parameter.
Optionally, the apparatus further comprises a response module configured to:
and sending a response instruction of successful writing to the first application server corresponding to the basic information of the first application server.
Optionally, the apparatus further comprises a login module, wherein the login module is configured to:
receiving a login request sent by the first application server, wherein the login request comprises a user name, a login password, a first application server type and a first application server identifier;
and returning a response instruction of successful login to the first application server.
In a third aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored by the memory to implement the parameter configuration method provided by the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed, the computer program implements the parameter configuration method provided in the first aspect.
The embodiment of the invention has the following advantages:
according to the parameter configuration method, the parameter configuration device, the terminal equipment and the storage medium provided by the embodiment of the invention, the configuration server receives the acquisition request of the configuration parameters sent by the first application server, wherein the acquisition request comprises the address information of the first application server, the basic information of the second application server, the public parameter identifier of the second application server and/or the private parameter identifier of the second application server; searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database; and sending the searched public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server. By adopting the embodiment of the invention, the application server does not need to be configured manually, and the application server can acquire the public parameters and/or the private parameters of other application servers from the configuration server and configure the public parameters and/or the private parameters, thereby saving the configuration time and improving the configuration efficiency.
Drawings
FIG. 1 is a flowchart illustrating steps of a parameter configuration method according to an embodiment of the present invention;
FIG. 2 is a flow chart of steps in another embodiment of a method for configuring parameters of the present invention;
FIG. 3 is a schematic diagram of a parameter configuration system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another embodiment of a parameter configuration system according to the present invention;
FIG. 5 is a flowchart illustrating steps of a further embodiment of a parameter configuration method according to the present invention;
FIG. 6 is a block diagram of an embodiment of a parameter configuration apparatus according to the present invention;
fig. 7 is a schematic structural diagram of a terminal device of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
The nouns are explained as follows:
the video networking application server: the video networking (V2V) system comprises two subnets, one is video networking based on an independently developed V2V protocol, and is mainly used for transmitting high-definition audio/video and signaling data at high speed and high capacity. The other is a management network based on the IP protocol.
Various application servers are running on the administrative network, providing some application services around the V2V network. The application servers comprise a network management server, a conference management server, an operation and maintenance workstation, a monitoring and scheduling server (tangula), a message forwarding service, a protocol server, a Mserver and the like, and the embodiment of the invention is collectively called as an application server group of the video network.
An embodiment of the present invention provides a parameter configuration method, which is used for configuring parameters of an application server. The execution subject of this embodiment is a parameter configuration device, and is set on a configuration server, and the configuration server is connected to each application server.
Referring to fig. 1, a flowchart of steps of an embodiment of a parameter configuration method of the present invention is shown, and the method specifically includes the following steps:
s101, receiving an acquisition request of configuration parameters sent by a first application server, wherein the acquisition request comprises address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server and/or a private parameter identifier of the second application server;
specifically, in the field of video networking, when video networking services are performed, different application servers need to be used, and the application servers need to be associated with each other when performing the services, so that parameter configuration needs to be performed on other application servers to ensure normal service performance. For the parameters, in order to facilitate different types of parameter configurations, the embodiment of the present invention provides public parameters and private parameters, where the public parameters are parameters that are used by different application servers, and the private parameters are parameters that are used by the application servers individually.
If the first application server wants to acquire configuration parameters of other application servers, such as public parameters and/or private parameters, for clarity of description, in the embodiment of the present invention, the other servers are referred to as second application servers, the first application server sends an acquisition request of the configuration parameters to the configuration server, where the destination acquisition request includes address information of the first application server, and the address information includes information such as an IP address and a port of the first application server.
In a specific application, the purpose obtaining request further includes basic information of a second application server, a public parameter identifier of the second application server, and/or a private parameter identifier of the second application server, where the basic information includes a server type and a server identifier of the second application server, the server type specifically includes a network management server, a conference management server, an operation and maintenance workstation, a monitoring and scheduling server (tangula), a message forwarding service, a collaboration server, a Mserver, and the like, and the server identifier is a number of a certain application server, for example, in a system including two collaboration servers, the two collaboration servers are numbered, a collaboration server 1 and a collaboration server 2, and at this time, the server identifier is 1 or 2;
in a specific application, the destination obtaining request further includes a public parameter identifier and/or a private parameter identifier of the second application server, that is, only the destination public parameter identifier or only the destination private parameter identifier, or both the destination public parameter identifier and the destination private parameter identifier may be included as required.
S102, searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database;
the pre-established configuration parameter database comprises basic information, a public parameter identifier, a corresponding public parameter, a private parameter identifier and a corresponding private parameter of an application server, wherein the basic information of the application server corresponds to the public parameter identifier and the private parameter identifier respectively;
specifically, public parameters and private parameters of each application server are pre-set in the configuration server, and basic information of the application servers corresponds to the public parameters and the private parameters respectively and is stored in a configuration parameter database.
After receiving a target acquisition request of the configuration parameters sent by the first application server, the configuration server searches a pre-established configuration parameter database for public parameters corresponding to public parameter identifications corresponding to the second application server and/or private parameters corresponding to private parameter identifications corresponding to the second application server, wherein the public parameters and the private parameters respectively correspond to basic information of the second application server.
S103, sending the searched public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server.
Specifically, the configuration server sends the found public parameter and/or private parameter to the first application server corresponding to the first address information, and the first application server can perform configuration according to the public parameter and/or private parameter of the second application server and then perform service with the second application server.
The parameter configuration method provided by the embodiment of the invention receives an acquisition request of configuration parameters sent by a first application server through a configuration server, wherein the acquisition request comprises address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server and/or a private parameter identifier of the second application server; searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database; and sending the searched public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server. By adopting the embodiment of the invention, the application server does not need to be configured manually, and the application server can acquire the public parameters and/or the private parameters of other application servers from the configuration server and configure the public parameters and/or the private parameters, thereby saving the configuration time and improving the configuration efficiency.
The present invention further provides a supplementary explanation for the parameter configuration method provided in the above embodiment.
As shown in fig. 2, a flowchart illustrating steps of another embodiment of a parameter configuration method according to the present invention is shown, where the parameter configuration method includes:
s201, receiving a public parameter identifier input by a user and a public parameter corresponding to the public parameter identifier according to basic information of an application server, wherein the basic information of the application server comprises a server type and a server identifier;
s202, receiving a private parameter identifier input by a user and a private parameter corresponding to the private parameter identifier according to the basic information of the application server;
specifically, the embodiment of the present invention provides a configuration server, where public parameters and private parameters of each application server are stored on the configuration server, and specifically, on a front-end interface corresponding to the configuration server, a user may input basic information of the application server, such as a server type and a server identifier of the application server, a public parameter identifier, public parameters corresponding to the public parameter identifier, a private parameter identifier, and private parameters corresponding to the private parameter identifier.
The public configuration parameters store the existing public information of the server such as ip, port, service interface, or unified coding in all the current video networking application systems, and are read only for the application server. Thus, any one server can search the relevant information of other servers required by the server according to the public configuration.
S203, storing the basic information of the application server, the public parameter identifier, the public parameter corresponding to the public parameter identifier, the private parameter identifier and the private parameter corresponding to the private parameter identifier in the configuration parameter database.
Specifically, the configuration server stores basic information, a public parameter identifier, a public parameter corresponding to the public parameter identifier, a private parameter identifier and a private parameter corresponding to the private parameter identifier of the application server in a key-value pair format in the configuration parameter database, wherein most of the configuration information is represented in the key-value pair format.
S204, receiving a login request sent by the first application server, wherein the login request comprises a user name, a login password, a first application server type and a first application server identifier;
specifically, the first application server needs to log in on the configuration server, that is, the first application server sends a login request to the configuration server, where the login request includes a user name, a login password, a server type of the first application server, and a server identifier.
S205, a response instruction of successful login is returned to the first application server.
S206, receiving an acquisition request of configuration parameters sent by a first application server, wherein the acquisition request comprises address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server and/or a private parameter identifier of the second application server;
s207, searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database;
the pre-established configuration parameter database comprises basic information, a public parameter identifier, a corresponding public parameter, a private parameter identifier and a corresponding private parameter of an application server, wherein the basic information of the application server corresponds to the public parameter identifier and the private parameter identifier respectively;
since steps S206 to S207 are the same as steps S101 and S102 in the embodiment shown in fig. 1. Step S101 to step S102 have already been described in detail in fig. 1, and therefore step S206 to step S207 will not be described again here.
S208, sending the searched public parameter and/or private parameter of the second application server to a first application server corresponding to the address information of the first application server, so that the first application server receives the public parameter and/or private parameter of the second application server through the configuration read-write client, and configures according to the public parameter and/or private parameter of the second application server.
Specifically, each application server is provided with a configuration read-write client, and the configuration read-write client has a uniform interface and does not need to be developed independently for different application servers. And the first application server receives the public parameters and/or the private parameters of the second application server sent by the configuration server through the configuration read-write client, and configures according to the public parameters and/or the private parameters of the second application server.
S209, receiving a write-in request of the private parameter sent by the first application server, wherein the write-in request comprises basic information of the first application server, a private parameter identifier of the first application server and a target private parameter corresponding to the private parameter identifier;
in particular, the common parameters stored on the configuration server may not be modified, because once a modification request sent by a certain application server is received, the service operation of other application servers may be affected. However, the private parameter is only an individual parameter belonging to a certain application server, and if a change is required, the first application server may send a write request of the private parameter to the configuration server, where the write request includes basic information of the first application server, a private parameter identifier of the first application server, and a destination private parameter corresponding to the private parameter identifier.
S210, searching a preset private parameter corresponding to the basic information and the private parameter identifier of the first application server in the configuration parameter database according to the basic information and the private parameter identifier of the first application server;
s211, the preset private parameter is modified into the target private parameter.
Specifically, the configuration server searches a preset private parameter corresponding to the server identifier, the server type and the private parameter identifier of the first application server in a pre-established configuration parameter database according to the server identifier and the server type of the first application server, and then modifies the preset private parameter into a target private parameter.
S212, sending a response instruction of successful writing to the first application server corresponding to the basic information of the first application server.
Specifically, after the configuration server completes writing of the target private parameter to be written by the first application server, the corresponding IP address and port are searched according to the basic information of the first application server, and a response instruction that writing is successful is sent to the first application server corresponding to the IP address and port.
Fig. 3 is a schematic structural diagram of an embodiment of a parameter configuration system according to the present invention, and as shown in fig. 3, an embodiment of the present invention provides a unified configuration server, that is, a configuration server in the above embodiment, where the unified configuration server is connected to each application server in a V2V management network, for example, the unified configuration server is connected to a network management server, a conference management server, an operation and maintenance workstation, or another application server, and stores public parameters and private parameters of each application server in a configuration database of the unified configuration server, that is, a pre-established configuration parameter database is obtained.
In the current application of the video network, a plurality of application servers which are aggregated in an IP subnet and provide specific functions are involved, for example, the video network conference system includes servers such as a conference management server, an autonomous server, a network management server, an operation and maintenance workstation, a monitoring and scheduling server, a message forwarding server, and the like. The monitoring and scheduling management system (tangula) comprises various servers such as a message web server, forwarding, an MSServer, protocol conversion, a network manager and the like. In these application server groups, the configurations of many servers are associated with each other, and the servers need services provided by the other server, but each server runs on independent hardware (server), and the configuration files of each server are separated, for example, the management server needs to configure IP addresses, ports and related parameters related to the autonomous server, the management server needs to configure IP ports and interfaces of the autonomous server, and the operation and maintenance workstation needs to configure a series of other server addresses such as network management, tangula, and the like. Especially, the configuration of the tangula web server not only needs the configuration of a plurality of other servers (such as public parameter configuration), but also relates to the configuration of the multi-level system area code, the encoding and the national standard platform encoding (such as private parameter configuration), and the configuration can be directly obtained from the configuration server by using the embodiment of the invention.
Fig. 4 is a schematic structural diagram of another embodiment of the parameter configuration system of the present invention, and as shown in fig. 4, an embodiment of the present invention provides a unified configuration server and an application server, a uniform configuration management module is arranged on the uniform configuration server, a configuration reading client module, namely a configuration reading client is arranged on the application server, a client browser and a unified configuration database are also arranged corresponding to the unified configuration server, a user can input public parameters and private parameters of each application server through the client browser, and storing the public parameters and the private parameters of each application server in a unified configuration database, and the application servers acquire the public parameters and/or the private parameters of other application servers from the configuration server through a configuration reading client module and transmit the public parameters and/or the private parameters to the application main service program.
Because the application systems of the video network all operate in the same management network, the embodiment of the invention adds an independent uniform configuration server in the same management network, and the configuration server is used for storing the configuration of all other application servers and has a default access address and a uniform operation interface. Adding a universal client configuration read-write submodule on an application server for uniformly reading and writing configuration information and classifying the configuration information into: public configuration and private configuration, and configuration simplification and redundancy removal of the whole system are realized.
Wherein:
public configuration: and storing the existing public information of the server such as ip, port, service interface, unified coding and the like in all the current video networking application systems, and only reading the application server. Thus, any one server can search the relevant information of other servers required by the server according to the public configuration.
Private configuration: configuration information specific to a single application server is stored, readable and modifiable.
Because most of the configuration information is represented by the format of the key-value pair, all the configuration information is uniformly stored in a key-value pair mode in the embodiment of the invention, so that the universality and the simplicity of interface operation are maintained.
1. In the structure, the unified configuration server and other servers run in the same video-networking management network, a web background and a web front end are provided, and the unified configuration server can be accessed at any position in the management network.
2. And carrying out configuration through the front end of the unified configuration server, wherein the configuration comprises public configuration and private configuration.
3. The public configuration can be accessed and read by all servers, the configuration quantity is not limited, the public configuration can be added and modified according to needs, and the format is unified into a key-value key value pair format. All common configurations must be set through the unified configuration server, and each application server can only read according to rules and cannot modify.
4. The private configuration can only be accessed by a server matched with a specific type, can be read and modified, and can also be configured on a reconfiguration server.
5. All application server ends are added with configuration client ends with uniform interfaces, the configuration client ends are communicated with the configuration server ends to acquire corresponding configuration information, and the modules are the same in all application servers and have universality.
Fig. 5 is a flowchart of steps of another embodiment of a parameter configuration method of the present invention, and as shown in fig. 5, the specific steps include:
1. various public parameters are configured in advance in the unified configuration server, and the specific private parameters of the application server are configured according to the type and the identification of the server.
2. In the subnet of the video network management, all servers can access each other, an application server configures a read-write submodule through a unified client, and a specified user name, a login password, a server type and an identification are used as login parameters to login a unified configuration request server;
3. the configuration submodule reads the global parameter and returns the global parameter to the main service of the application server;
4. and the main service of the application server requests the client to configure the read-write submodule according to the requirement, and reads or writes the private configuration data.
Since the video networking application system comprises a plurality of independent deployments and a group of associated server clusters with high aggregation of functions, the invention can achieve the aims of simplifying the complexity of configuration in the whole application system and reducing redundant and repeated configurations in the application system, thereby improving the accuracy and the deployment efficiency of system configuration and saving time cost. The method for deploying the application server group by the unified server also enables the system deployment to be more orderly, has clear logic and reduces errors.
The embodiment of the invention is composed of a uniform configuration server and a universal client configuration read-write submodule arranged on an application server, and uses the concepts of public configuration and private configuration, so that a special uniform configuration server can be used on a management subnet of a video network, and a uniform configuration method is provided for an application server group by public and private configuration data.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
The parameter configuration method provided by the embodiment of the invention receives an acquisition request of configuration parameters sent by a first application server through a configuration server, wherein the acquisition request comprises address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server and/or a private parameter identifier of the second application server; searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database; and sending the searched public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server. By adopting the embodiment of the invention, the application server does not need to be configured manually, and the application server can acquire the public parameters and/or the private parameters of other application servers from the configuration server and configure the public parameters and/or the private parameters, thereby saving the configuration time and improving the configuration efficiency.
Another embodiment of the present invention provides a parameter configuration apparatus, configured to execute the parameter configuration method provided in the foregoing embodiment.
Referring to fig. 6, a block diagram of a parameter configuration apparatus according to an embodiment of the present invention is shown, where the apparatus may be applied in a video network, and specifically may include the following modules: a receiving module 601, a searching module 602 and a configuring module 603, wherein:
the receiving module 601 is configured to receive an obtaining request of configuration parameters sent by a first application server, where the obtaining request includes address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server, and/or a private parameter identifier of the second application server;
the searching module 602 is configured to search, according to a pre-established configuration parameter database, a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server;
the pre-established configuration parameter database comprises basic information, a public parameter identifier, a corresponding public parameter, a private parameter identifier and a corresponding private parameter of an application server, wherein the basic information of the application server corresponds to the public parameter identifier and the private parameter identifier respectively;
the configuration module 603 is configured to send the found public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server.
The parameter configuration device provided by the embodiment of the invention receives an acquisition request of configuration parameters sent by a first application server through a configuration server, wherein the acquisition request comprises address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server and/or a private parameter identifier of the second application server; searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database; and sending the searched public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server. By adopting the embodiment of the invention, the application server does not need to be configured manually, and the application server can acquire the public parameters and/or the private parameters of other application servers from the configuration server and configure the public parameters and/or the private parameters, thereby saving the configuration time and improving the configuration efficiency.
The present invention further provides a supplementary explanation for the parameter configuration apparatus provided in the above embodiment.
Optionally, the apparatus further comprises a database establishing module, wherein the database establishing module is configured to:
receiving a public parameter identifier input by a user and a public parameter corresponding to the public parameter identifier according to basic information of an application server, wherein the basic information of the application server comprises a server type and a server identifier;
receiving a private parameter identifier input by a user and a private parameter corresponding to the private parameter identifier according to the basic information of the application server;
and storing the basic information of the application server, the public parameter identifier, the public parameter corresponding to the public parameter identifier, the private parameter identifier and the private parameter corresponding to the private parameter identifier in the configuration parameter database.
Optionally, the database establishing module is configured to:
and storing the basic information of the application server, the public parameter identifier, the public parameter corresponding to the public parameter identifier, the private parameter identifier and the private parameter corresponding to the private parameter identifier in the configuration parameter database in a key-value pair format respectively.
Optionally, the lookup module 602 is configured to:
and sending the searched public parameter and/or private parameter of the second application server to a first application server corresponding to the address information of the first application server, so that the first application server receives the public parameter and/or private parameter of the second application server through the configuration read-write client, and performs configuration according to the public parameter and/or private parameter of the second application server.
Optionally, the apparatus further comprises a writing module, the writing module is configured to:
receiving a write-in request of private parameters sent by the first application server, wherein the write-in request comprises basic information of the first application server, a private parameter identifier of the first application server and a target private parameter corresponding to the private parameter identifier;
searching a preset private parameter corresponding to the basic information and the private parameter identifier of the first application server in the configuration parameter database according to the basic information and the private parameter identifier of the first application server;
and modifying the preset private parameter into the target private parameter.
Optionally, the apparatus further comprises a response module configured to:
and sending a response instruction of successful writing to the first application server corresponding to the basic information of the first application server.
Optionally, the apparatus further comprises a login module, wherein the login module is configured to:
receiving a login request sent by the first application server, wherein the login request comprises a user name, a login password, a first application server type and a first application server identifier;
and returning a response instruction of successful login to the first application server.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The parameter configuration device provided by the embodiment of the invention receives an acquisition request of configuration parameters sent by a first application server through a configuration server, wherein the acquisition request comprises address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server and/or a private parameter identifier of the second application server; searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database; and sending the searched public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server. By adopting the embodiment of the invention, the application server does not need to be configured manually, and the application server can acquire the public parameters and/or the private parameters of other application servers from the configuration server and configure the public parameters and/or the private parameters, thereby saving the configuration time and improving the configuration efficiency.
Still another embodiment of the present invention provides a terminal device, configured to execute the parameter configuration method provided in the foregoing embodiment.
Fig. 7 is a schematic structural diagram of a terminal device of the present invention, and as shown in fig. 7, the terminal device includes: at least one processor 701 and memory 702;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the parameter configuration method provided by the above-mentioned embodiments.
In the terminal device provided in this embodiment, the configuration server receives an acquisition request of a configuration parameter sent by a first application server, where the acquisition request includes address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server, and/or a private parameter identifier of the second application server; searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database; and sending the searched public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server. By adopting the embodiment of the invention, the application server does not need to be configured manually, and the application server can acquire the public parameters and/or the private parameters of other application servers from the configuration server and configure the public parameters and/or the private parameters, thereby saving the configuration time and improving the configuration efficiency.
Yet another embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed, implements the parameter configuration method provided in any of the above embodiments.
According to the computer-readable storage medium of the embodiment, a configuration server receives an acquisition request of configuration parameters sent by a first application server, wherein the acquisition request comprises address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server and/or a private parameter identifier of the second application server; searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database; and sending the searched public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server. By adopting the embodiment of the invention, the application server does not need to be configured manually, and the application server can acquire the public parameters and/or the private parameters of other application servers from the configuration server and configure the public parameters and/or the private parameters, thereby saving the configuration time and improving the configuration efficiency.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, electronic devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing electronic device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing electronic devices to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing electronic device to cause a series of operational steps to be performed on the computer or other programmable electronic device to produce a computer implemented process such that the instructions which execute on the computer or other programmable electronic device provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or electronic device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or electronic device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or electronic device that comprises the element.
The parameter configuration method and the parameter configuration apparatus provided by the present invention are introduced in detail, and the principle and the implementation manner of the present invention are explained in the present document by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of parameter configuration, the method comprising:
receiving an acquisition request of configuration parameters sent by a first application server, wherein the acquisition request comprises address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server and/or a private parameter identifier of the second application server;
searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database;
the pre-established configuration parameter database comprises basic information, a public parameter identifier, a corresponding public parameter, a private parameter identifier and a corresponding private parameter of an application server, wherein the basic information of the application server corresponds to the public parameter identifier and the private parameter identifier respectively;
and sending the searched public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server.
2. The method of claim 1, wherein the pre-established configuration parameter database is obtained by:
receiving a public parameter identifier input by a user and a public parameter corresponding to the public parameter identifier according to basic information of an application server, wherein the basic information of the application server comprises a server type and a server identifier;
receiving a private parameter identifier input by a user and a private parameter corresponding to the private parameter identifier according to the basic information of the application server;
and storing the basic information of the application server, the public parameter identifier, the public parameter corresponding to the public parameter identifier, the private parameter identifier and the private parameter corresponding to the private parameter identifier in the configuration parameter database.
3. The method of claim 2, wherein the saving the basic information of the application server, the public parameter identifier, the public parameter corresponding to the public parameter identifier, the private parameter identifier, and the private parameter corresponding to the private parameter identifier in the configuration parameter database comprises:
and storing the basic information of the application server, the public parameter identifier, the public parameter corresponding to the public parameter identifier, the private parameter identifier and the private parameter corresponding to the private parameter identifier in the configuration parameter database in a key-value pair format respectively.
4. The method according to claim 1, wherein the first application server is installed with a configuration read-write client, and the sending the found public parameter and/or private parameter of the second application server to the first application server corresponding to the address information of the first application server comprises:
and sending the searched public parameter and/or private parameter of the second application server to a first application server corresponding to the address information of the first application server, so that the first application server receives the public parameter and/or private parameter of the second application server through the configuration read-write client, and performs configuration according to the public parameter and/or private parameter of the second application server.
5. The method of claim 2, further comprising:
receiving a write-in request of private parameters sent by the first application server, wherein the write-in request comprises basic information of the first application server, a private parameter identifier of the first application server and a target private parameter corresponding to the private parameter identifier;
searching a preset private parameter corresponding to the basic information and the private parameter identifier of the first application server in the configuration parameter database according to the basic information and the private parameter identifier of the first application server;
and modifying the preset private parameter into the target private parameter.
6. The method of claim 5, further comprising:
and sending a response instruction of successful writing to the first application server corresponding to the address information of the first application server.
7. The method according to claim 1, wherein before said receiving the request for obtaining the configuration parameters sent by the first application server, the method further comprises:
receiving a login request sent by the first application server, wherein the login request comprises a user name, a login password, a first application server type and a first application server identifier;
and returning a response instruction of successful login to the first application server.
8. An apparatus for parameter configuration, the apparatus comprising:
the system comprises a receiving module, a configuration module and a configuration module, wherein the receiving module is used for receiving an acquisition request of configuration parameters sent by a first application server, and the acquisition request comprises address information of the first application server, basic information of a second application server, a public parameter identifier of the second application server and/or a private parameter identifier of the second application server;
the searching module is used for searching a public parameter corresponding to the public parameter identifier of the second application server and/or a private parameter corresponding to the private parameter identifier of the second application server according to a pre-established configuration parameter database;
the pre-established configuration parameter database comprises basic information, a public parameter identifier, a corresponding public parameter, a private parameter identifier and a corresponding private parameter of an application server, wherein the basic information of the application server corresponds to the public parameter identifier and the private parameter identifier respectively;
and the configuration module is used for sending the searched public parameters and/or private parameters of the second application server to the first application server corresponding to the address information of the first application server.
9. A terminal device, comprising: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the memory-stored computer program to implement the parameter configuration method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when executed, implements the parameter configuration method of any of claims 1-7.
CN202010714666.9A 2020-07-22 2020-07-22 Parameter configuration method, device, terminal equipment and storage medium Pending CN112073212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010714666.9A CN112073212A (en) 2020-07-22 2020-07-22 Parameter configuration method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010714666.9A CN112073212A (en) 2020-07-22 2020-07-22 Parameter configuration method, device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112073212A true CN112073212A (en) 2020-12-11

Family

ID=73657072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010714666.9A Pending CN112073212A (en) 2020-07-22 2020-07-22 Parameter configuration method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112073212A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559252A (en) * 2020-12-23 2021-03-26 广州技象科技有限公司 Configuration data management method and device based on attribute classification
CN112559250A (en) * 2020-12-23 2021-03-26 广州技象科技有限公司 Configuration data backup method and device for power Internet of things

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426266A (en) * 2017-03-14 2017-12-01 阿里巴巴集团控股有限公司 Data processing method and server
CN109644335A (en) * 2016-09-05 2019-04-16 华为技术有限公司 A kind of processing method of identification information, database control system and relevant device
CN110602039A (en) * 2019-08-01 2019-12-20 视联动力信息技术股份有限公司 Data acquisition method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109644335A (en) * 2016-09-05 2019-04-16 华为技术有限公司 A kind of processing method of identification information, database control system and relevant device
US20190200197A1 (en) * 2016-09-05 2019-06-27 Huawei Technologies Co., Ltd. Identity Information Processing Method, Database Control System, and Related Device
CN107426266A (en) * 2017-03-14 2017-12-01 阿里巴巴集团控股有限公司 Data processing method and server
CN110602039A (en) * 2019-08-01 2019-12-20 视联动力信息技术股份有限公司 Data acquisition method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559252A (en) * 2020-12-23 2021-03-26 广州技象科技有限公司 Configuration data management method and device based on attribute classification
CN112559250A (en) * 2020-12-23 2021-03-26 广州技象科技有限公司 Configuration data backup method and device for power Internet of things
CN112559252B (en) * 2020-12-23 2021-09-03 广州技象科技有限公司 Configuration data management method and device based on attribute classification
CN112559250B (en) * 2020-12-23 2023-08-04 广州技象科技有限公司 Configuration data backup method and device for electric power Internet of things

Similar Documents

Publication Publication Date Title
CN102209087B (en) Method and system for MapReduce data transmission in data center having SAN
CN109672856B (en) Resource synchronization method and device
CN109151025B (en) Load balancing method and device based on URL, computer storage medium and equipment
CN103581213A (en) Shared Hosts file application method, equipment and system
CN111258978B (en) Data storage method
CN110493344B (en) File downloading method and device
CN110809026B (en) File processing method and device, electronic equipment and storage medium
CN112073212A (en) Parameter configuration method, device, terminal equipment and storage medium
KR20050071673A (en) Efficiently supporting multiple native network protocol implementations in a single system
EP1381188A1 (en) Connection control device, method and program
CN111083204B (en) File transmission method, device and storage medium
CN109151519B (en) Configuration distribution method and system based on video network
US10545667B1 (en) Dynamic data partitioning for stateless request routing
US10764330B2 (en) LAN/SAN network security management
US9015371B1 (en) Method to discover multiple paths to disk devices cluster wide
CN113612811B (en) Method, system, equipment and medium for client mounting in multiple channels
CN110784510A (en) Method for accessing target service node to bus and information interaction method of service node
CN108965219B (en) Data processing method and device based on video network
CN110266768B (en) Data transmission method and system
CN112218104A (en) Data transmission method, device, terminal equipment and storage medium
CN110619074A (en) Search method based on video network and video network management platform
CN113127592B (en) Distributed storage system
CN113132233B (en) Data processing method, software defined network controller and data processing system
CN110474938B (en) Information query method and device
CN117014636B (en) Data stream scheduling method of audio and video network, storage medium and electronic device

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