CN111045694A - Streaming media service installation method and device - Google Patents
Streaming media service installation method and device Download PDFInfo
- Publication number
- CN111045694A CN111045694A CN201911239453.9A CN201911239453A CN111045694A CN 111045694 A CN111045694 A CN 111045694A CN 201911239453 A CN201911239453 A CN 201911239453A CN 111045694 A CN111045694 A CN 111045694A
- Authority
- CN
- China
- Prior art keywords
- streaming media
- installation
- media service
- installation package
- software
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Abstract
The application discloses a method and a device for installing streaming media service, wherein the method comprises the following steps: acquiring a plurality of installation running files corresponding to a plurality of streaming media services one by one according to installation instructions of the streaming media services; generating a software installation package according to each installation operation file; and selecting N streaming media service components in the software installation package according to the service selection instruction, installing the N streaming media service components in a corresponding directory, and modifying the configuration file information of the N streaming media service components in the directory according to the registration address generated by the address modification instruction. According to the method and the device, the plurality of streaming media services are packaged into one installation package to be installed in a unified mode, and the installation package is installed in the same directory, so that the workload of deployment and installation is reduced, the registration addresses of all service configuration files are modified in a unified mode, time consumed for installation of the streaming media services is reduced, and the installation efficiency of the streaming media services is improved.
Description
Technical Field
The present application relates to the field of streaming media technologies, and in particular, to a method and an apparatus for installing a streaming media service.
Background
The streaming media system comprises a scheduling service, a state service, a signaling service group, various video equipment access service groups, a video forwarding service group and the like. In a traditional streaming media service deployment and installation mode, each service is packaged into an installation package and is independently installed, and after the installation is completed, a configuration file is modified for each streaming media service and a service registration address is filled in. However, in the prior art, the number of the service node instances is large, so that the workload is large and the installation takes long time due to the adoption of the deployment and installation mode, and the installation efficiency is not high.
Disclosure of Invention
The technical problem to be solved in the embodiments of the present application is to provide a method and a device for installing a streaming media service, so as to reduce time consumption for installing the streaming media service and improve efficiency for installing the streaming media service.
In order to solve the above problem, an embodiment of the present application provides a streaming media service installation method, which at least includes the following steps:
acquiring a plurality of installation running files corresponding to a plurality of streaming media services one by one according to installation instructions of the streaming media services;
generating a software installation package according to each installation operation file; each installation operation file forms each streaming media service component in the software installation package;
selecting N streaming media service components in the software installation package according to a service selection instruction, installing the N streaming media service components in a corresponding directory, and modifying configuration file information of the N streaming media service components in the directory according to a registration address generated by an address modification instruction; wherein N is a positive integer.
Further, the generating a software installation package according to each installation operation file includes:
and numbering each installation operation file, and generating a software installation package according to each installation operation file with the number.
Further, the selecting, according to the service selection instruction, the N streaming media service components in the software installation package includes:
and acquiring the number information in the service selection instruction, and matching the number information with the number of each streaming media service component in the software installation package one by one so as to select all the streaming media service components which are successfully matched.
Further, after the generating the software installation package, the method further includes:
and visually displaying the software installation package.
Further, the software installation package is generated based on InnoSetup.
Further, a streaming media service installation apparatus is also provided, including:
the file extraction module is used for acquiring a plurality of installation running files which correspond to a plurality of streaming media services one by one according to the installation instruction of the streaming media service;
the installation package generating module is used for generating a software installation package according to each installation operation file; each installation operation file forms each streaming media service component in the software installation package;
the installation and configuration module is used for selecting N streaming media service components in the software installation package according to a service selection instruction, installing the N streaming media service components in a corresponding directory, and modifying configuration file information of the N streaming media service components in the directory according to a registration address generated by an address modification instruction; wherein N is a positive integer.
Further, the installation package generating module is specifically configured to:
and numbering each installation operation file, and generating a software installation package according to each installation operation file with the number.
Further, the installation and configuration module is specifically configured to:
and acquiring the number information in the service selection instruction, and matching the number information with the number of each streaming media service component in the software installation package one by one so as to select all the streaming media service components which are successfully matched.
Further, the system also comprises a display module used for visually displaying the software installation package.
The embodiment of the application has the following beneficial effects:
compared with the prior art, the embodiment packages a plurality of streaming media services into one installation package for uniform installation, and installs the installation package in the same directory, so that the workload of deployment and installation is reduced, and the manner of uniformly modifying the registration addresses of all service configuration files is adopted, so that the time consumption for installing the streaming media services is reduced, and the installation efficiency of the streaming media services is improved.
Drawings
Fig. 1 is a schematic flowchart of a streaming media service installation method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a streaming media service installation method according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of a streaming media service installation apparatus provided in the third embodiment of the present application;
fig. 4 is a schematic structural diagram of a streaming media service installation apparatus according to a fourth embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
Referring to fig. 1, a schematic flowchart of a streaming media service installation method provided in an embodiment of the present application is shown in fig. 1, and includes:
step S1, according to the installation instruction of the streaming media service, obtaining a plurality of installation operation files corresponding to a plurality of streaming media services one to one.
In the present embodiment, the installation instruction may be an instruction issued by the user. And when receiving an installation instruction sent by a user, extracting installation running software of all streaming media services.
And step S2, generating a software installation package according to each installation operation file.
And each installation operation file forms each streaming media service component in the software installation package.
Specifically, each installation operation file is numbered, and a software installation package is generated according to each installation operation file with the number.
In this embodiment, based on the InnoSetup packaging tool, all installation operation files of the streaming media service are added to the packaging project, and after each installation operation file is numbered, each installation operation file with the number is packaged to form an integral software installation package.
Step S3, according to the service selection instruction, selecting N streaming media service components in the software installation package, installing the N streaming media service components in the corresponding directory, and according to the registration address generated by the address modification instruction, modifying the configuration file information of the N streaming media service components in the directory.
Wherein N is a positive integer.
Specifically, the number information in the service selection instruction is obtained, and the number information is matched with the number of each streaming media service component in the software installation package one by one, so as to select all successfully matched streaming media service components.
In this embodiment, the selection instruction is sent by the user, after the number information is generated by receiving the selection of the user on the number of each streaming media service component in the software installation package, each number information is matched with the number of each streaming media service component in the software installation package in a manner that the number information is increased from a smaller number to a larger number, the number of the streaming media service component which is the same as the coding information is selected, and the streaming media service component to be installed is selected according to the coding information. After the selection is completed, responding to an installation request of a user, installing all selected streaming media service components in a specified directory, and detecting whether an address modification instruction of the user is received or not when the installation request is detected; if yes, modifying the configuration file information of all the streaming media service components in the directory according to the registration address generated by the address modification instruction; otherwise, the default local address is the registration address.
In the embodiment, a plurality of streaming media services are packaged into one installation package to be installed in a unified manner, and the installation package is installed in the same directory, so that the workload of deployment and installation is reduced, and the time consumed for installing the streaming media services is reduced and the installation efficiency of the streaming media services is improved by uniformly modifying the registration addresses of all service configuration files.
Further, referring to fig. 2, it is a schematic flow chart of a streaming media service installation method provided in the second embodiment of the present application, including:
step S11, according to the installation instruction of the streaming media service, obtaining a plurality of installation operation files corresponding to a plurality of streaming media services one to one.
In this embodiment, the execution process of step S11 is similar to the execution process of step S1 in the first embodiment, and is not repeated here.
And step S12, visually displaying the software installation package.
In the embodiment, the software installation package is visually displayed, so that the streaming media service components in the software installation package can be selected by the outside according to the display condition.
And step S13, generating a software installation package according to the installation operation files.
And each installation operation file forms each streaming media service component in the software installation package.
In this embodiment, the execution process of step S13 is similar to the execution process of step S2 in the first embodiment, and is not repeated here.
Step S14, according to the service selection instruction, selecting N streaming media service components in the software installation package, installing the N streaming media service components in the corresponding directory, and according to the registration address generated by the address modification instruction, modifying the configuration file information of the N streaming media service components in the directory.
Wherein N is a positive integer.
In this embodiment, the step S14 is similar to the step S3 in the first embodiment, and is not repeated here.
In the embodiment, the software installation package is displayed, so that a user can determine the corresponding streaming media service component as required, and the installation efficiency of the streaming media service is further improved.
Further, referring to fig. 3, it is a schematic structural diagram of a streaming media service installation apparatus according to a third embodiment of the present application. The method comprises the following steps:
the file extraction module 101 is configured to obtain, according to an installation instruction of a streaming media service, a plurality of installation operation files that are in one-to-one correspondence with a plurality of streaming media services.
In the present embodiment, the installation instruction may be an instruction issued by the user. And when receiving an installation instruction sent by a user, extracting installation running software of all streaming media services.
And the installation package generating module 102 is configured to generate a software installation package according to each installation operation file.
And each installation operation file forms each streaming media service component in the software installation package.
In this embodiment, the installation package generating module 102 is specifically configured to number each installation operation file, and generate the software installation package according to each installation operation file with the number.
The installation and configuration module 103 is configured to select N streaming media service components in the software installation package according to the service selection instruction, install the N streaming media service components in the corresponding directory, and modify configuration file information of the N streaming media service components in the directory according to a registration address generated by the address modification instruction.
Wherein N is a positive integer.
In this embodiment, the installation and configuration module 103 is specifically configured to obtain each piece of number information in the service selection instruction, match each piece of number information with the number of each streaming media service component in the software installation package one by one, and select all successfully matched streaming media service components.
Further, referring to fig. 4, a schematic structural diagram of a streaming media service installation apparatus according to a fourth embodiment of the present application is provided. In addition to the structure shown in fig. 3, the structure further includes:
and the display module 104 is used for visually displaying the software installation package.
Still another embodiment of the present application further provides a streaming media service installation terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the streaming media service installation method according to the foregoing embodiment is implemented.
The foregoing is a preferred embodiment of the present application, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations are also regarded as the protection scope of the present application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Claims (9)
1. A stream media service installation method is characterized by at least comprising the following steps:
acquiring a plurality of installation running files corresponding to a plurality of streaming media services one by one according to installation instructions of the streaming media services;
generating a software installation package according to each installation operation file; each installation operation file forms each streaming media service component in the software installation package;
selecting N streaming media service components in the software installation package according to a service selection instruction, installing the N streaming media service components in a corresponding directory, and modifying configuration file information of the N streaming media service components in the directory according to a registration address generated by an address modification instruction; wherein N is a positive integer.
2. The streaming media service installation method according to claim 1, wherein the generating a software installation package according to each installation run file comprises:
and numbering each installation operation file, and generating a software installation package according to each installation operation file with the number.
3. The streaming media service installation method according to claim 2, wherein the selecting N streaming media service components in the software installation package according to the service selection instruction includes:
and acquiring the number information in the service selection instruction, and matching the number information with the number of each streaming media service component in the software installation package one by one so as to select all the streaming media service components which are successfully matched.
4. The streaming media service installation method according to claim 1, further comprising, after the generating the software installation package:
and visually displaying the software installation package.
5. The streaming media service installation method of claim 1, wherein the software installation package is generated based on InNOSetup.
6. A streaming media service installation apparatus, comprising:
the file extraction module is used for acquiring a plurality of installation running files which correspond to a plurality of streaming media services one by one according to the installation instruction of the streaming media service;
the installation package generating module is used for generating a software installation package according to each installation operation file; each installation operation file forms each streaming media service component in the software installation package;
the installation and configuration module is used for selecting N streaming media service components in the software installation package according to a service selection instruction, installing the N streaming media service components in a corresponding directory, and modifying configuration file information of the N streaming media service components in the directory according to a registration address generated by an address modification instruction; wherein N is a positive integer.
7. The streaming media service installation apparatus according to claim 6, wherein the installation package generation module is specifically configured to:
and numbering each installation operation file, and generating a software installation package according to each installation operation file with the number.
8. The streaming media service installation apparatus according to claim 7, wherein the installation and configuration module is specifically configured to:
and acquiring the number information in the service selection instruction, and matching the number information with the number of each streaming media service component in the software installation package one by one so as to select all the streaming media service components which are successfully matched.
9. The streaming media service installation apparatus according to claim 6, further comprising a presentation module configured to visually present the software installation package.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911239453.9A CN111045694A (en) | 2019-12-05 | 2019-12-05 | Streaming media service installation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911239453.9A CN111045694A (en) | 2019-12-05 | 2019-12-05 | Streaming media service installation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111045694A true CN111045694A (en) | 2020-04-21 |
Family
ID=70234887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911239453.9A Pending CN111045694A (en) | 2019-12-05 | 2019-12-05 | Streaming media service installation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111045694A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1722088A (en) * | 2004-12-30 | 2006-01-18 | 杭州华为三康技术有限公司 | Software installation and integration method |
CN101699400A (en) * | 2009-09-03 | 2010-04-28 | 中兴通讯股份有限公司 | Method and system for generating and running installation program of client |
CN103677937A (en) * | 2013-12-23 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Method and device for upgrading and running software |
CN107632827A (en) * | 2016-07-12 | 2018-01-26 | 阿里巴巴集团控股有限公司 | The generation method and device of the installation kit of application |
CN108255481A (en) * | 2018-01-17 | 2018-07-06 | 北京网信云服信息科技有限公司 | Application and development method and relevant device |
-
2019
- 2019-12-05 CN CN201911239453.9A patent/CN111045694A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1722088A (en) * | 2004-12-30 | 2006-01-18 | 杭州华为三康技术有限公司 | Software installation and integration method |
CN101699400A (en) * | 2009-09-03 | 2010-04-28 | 中兴通讯股份有限公司 | Method and system for generating and running installation program of client |
CN103677937A (en) * | 2013-12-23 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Method and device for upgrading and running software |
CN107632827A (en) * | 2016-07-12 | 2018-01-26 | 阿里巴巴集团控股有限公司 | The generation method and device of the installation kit of application |
CN108255481A (en) * | 2018-01-17 | 2018-07-06 | 北京网信云服信息科技有限公司 | Application and development method and relevant device |
Non-Patent Citations (4)
Title |
---|
PKJTPM77: "海康iVMS4200客户端说明书" * |
千年奇葩: "windows安装程序制作教程。《inno setup》可将多个安装程序打包成一个安装包,一次安装操作全部安装完成" * |
周永圣等: "基于SpringCloud微服务架构的进销存管理系统的设计与实现" * |
大跃ET: "安装SQL server 选择安装功能的接收" * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108055264B (en) | Scheduling apparatus and method for push streaming server, and computer-readable storage medium | |
CN102355667B (en) | Application program network connection control method and system in mobile intelligent terminal system | |
CN109189381B (en) | Method and device for creating service flow component | |
CN108647032B (en) | Application loading method and device, computer device and computer readable storage medium | |
CN106681773A (en) | Android system starting method and device, and Android mobile terminal | |
CN107193609A (en) | Functional module call method and device, electronic equipment in | |
CN109271172A (en) | A kind of host behavior extension method and device of swarm cluster | |
CN104572054A (en) | Capability calling method and capability calling equipment | |
CN111273924A (en) | Software updating method and device | |
CN110827002A (en) | Workflow-based approval method and workflow engine | |
CN109597627A (en) | A kind of component mounting method, device, storage medium and processor | |
CN101588347A (en) | Method for automatically generating network service client terminal | |
CN110019260B (en) | User data updating method and related equipment | |
CN111045694A (en) | Streaming media service installation method and device | |
CN107239298B (en) | Application program debugging method and device | |
CN112379892A (en) | Ammonia spraying prediction code processing method and device, storage medium and terminal equipment | |
CN107025126B (en) | Resource scheduling method, NFVO and system | |
CN106210159B (en) | Domain name resolution method and device | |
CN106301889B (en) | A kind of port numbers rapid-setting method and system | |
CN109947435A (en) | The dispositions method and system of server cluster software environment | |
CN113114522B (en) | Flow monitoring device | |
CN114238091A (en) | Resident interactive service cluster testing method and system | |
CN106161050B (en) | Problem resource indicating device and problem resource indicating method | |
CN106528254A (en) | APP rapid loading method | |
CN108073404A (en) | A kind of loading method of service packs, method for packing and 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 |