CN105335173A - Method, apparatus and system for initializing intelligent terminal device - Google Patents
Method, apparatus and system for initializing intelligent terminal device Download PDFInfo
- Publication number
- CN105335173A CN105335173A CN201410310129.2A CN201410310129A CN105335173A CN 105335173 A CN105335173 A CN 105335173A CN 201410310129 A CN201410310129 A CN 201410310129A CN 105335173 A CN105335173 A CN 105335173A
- Authority
- CN
- China
- Prior art keywords
- installation kit
- installation
- intelligent terminal
- test
- bag
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a method, an apparatus and a system for initializing an intelligent terminal device. The method comprises: editing an instruction file used for installing application software, packaging an application software package into an installation package by utilizing the edited instruction file, and storing the installation package in a server; editing an installation package configuration file containing server address information, and configuring the installation package configuration file to a to-be-initialized intelligent terminal device; installing a service used for providing the installation package for the to-be-initialized intelligent terminal device in the server, pointing a directory of the service to a storage path of storing the installation package, and starting the service; and triggering the to-be-initialized intelligent terminal device to read the embedded installation package configuration file, and according to the read installation package configuration file, obtaining the installation package from the service started by the server, and performing installation. By applying the method, the apparatus and the system, the initialization time can be shortened and the initialization efficiency can be improved.
Description
Technical field
The present invention relates to computer initialization technology, be specifically related to a kind of method, Apparatus and system of initialization intelligent terminal.
Background technology
Along with the development of computer communication technology and Internet technology, intelligent terminal, such as, the application of the personal computer of video telephone set, conference terminal machine, mobile phone, built-in multimedia function, personal digital assistant, server is more and more extensive, and the quantity of application also gets more and more.After intelligent terminal is added to consign to service application use before, need initialization intelligent terminal being carried out to environment, namely parameter initialization configuration and set up applications software are carried out to intelligent terminal, to enable user use corresponding business based on the intelligent terminal after initialization, initialization intelligent terminal mainly comprises:
1) intelligent terminal parameter initialization configuration, comprising: disk partition initial configuration, time server initial configuration, name server initial configuration, systematic parameter initial configuration, application software warehouse source initial configuration and host name correct configuration etc.
2) application software is installed.According to the purposes of different intelligent terminal device, corresponding operating system is installed, based on the operating system of installing, carry out other application softwares (operating system is the one of application software) to install, application software includes but not limited to: Lnmp (Linux, Nginx, Mysql, Php), Lamp (Linux, Apache, MySQL, Perl/PHP/Python), Memcached, Redis, Mongodb, Varnish, Haproxy.
To carry out initialization to the server of 4CPU, 8G random access memory (RAM, RandomAccessMemory), namely Lnmp is installed in compiling is on the server example, comprises the steps one, step 2 and step 3:
Step one, Nginx is installed, comprises:
A, decompress(ion) Nginx software package, this Nginx software package is: tar – xzvfnginx-version.tar.gz;
B, carries out manual compiling (design parameter is not externally announced) to the Nginx software package of decompress(ion): ./configure; Make – j4;
C, installs the Nginx software package of compiling: makeinstall.
Two, Php is installed, comprises:
A, decompress(ion) Php software package, this Php software package is: tar – xzvfphp-version.tar.gz;
B, the Php software package (design parameter is not externally announced) of manual compiling decompress(ion): ./configure; Make – j4;
C, installs the Php software package of compiling: makeinstall.
Three, Mysql is installed, comprises:
A, decompress(ion) Mysql software package, this Mysql software package is: tar – xzvfphp-version.tar.gz;
B, the Mysql software package (design parameter is not externally announced) of manual compiling decompress(ion): ./configure; Make – j4;
C, installs the Mysql software package of compiling: makeinstall.
The step one that it should be noted that, step 2 and step 3 do not have dividing of sequencing, wherein, in installation process, need the operating process relating to some manually compilings, configuration, after completing above-mentioned three steps, complete compiling on the server and the flow process of Lnmp is installed.
From above-mentioned, the existing mode by the manual compiling of software package carries out initialized method to intelligent terminal, for each intelligent terminal, installation personnel is needed to carry out the operating process of some manually compilings, configuration, and some configuration operations are the operation of simple repeated configuration, make to carry out that time needed for the initialization of swarm intelligence terminal device is long, initialization efficiency is low.Specifically, first, when needs initialized intelligent terminal quantity is many, each intelligent terminal of initialization all needs the corresponding time, and thus, total initialization time is long; Secondly, intelligent terminal initialization is contained wide, such as, needs, for different application scenarioss, to carry out initialization respectively; Again, in the process of set up applications software package, need to carry out manually compiling and wait operation, make the set-up time long; And, need to monitor installation procedure, to prevent from going wrong in application software is installed; Finally, the installation procedure of each intelligent terminal is all repeated, and the time that installation personnel is completed needed for installation is long.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of method, the Apparatus and system of initialization intelligent terminal that overcome the problems referred to above or solve the problem at least in part.
According to one aspect of the present invention, provide the method for initialization intelligent terminal, the method comprises:
Editor is used for the supporting paper of set up applications software and utilizes the supporting paper of editor application software bag to be encapsulated as installation kit and store in the server;
Edit package containing the installation kit configuration file of server address information, and is configured to intelligent terminal to be initiated;
Described server is installed the service being used for providing described installation kit to described intelligent terminal to be initiated, and the catalogue of described service is pointed to the store path depositing installation kit, start described service;
Trigger intelligent terminal to be initiated and read built-in installation kit configuration file, according to the installation kit configuration file read, from the service of startup of server, obtain installation kit and install.
Preferably, described supporting paper comprises: preamble part and installation procedure part, wherein,
Preamble part, for arranging application software bag name and source code compressed package name corresponding to application software;
Installation procedure part: for arranging the installation procedure of application software.
Preferably, described supporting paper also comprise the content mapped for defmacro name and grand name macro definition part and/or, for describing the description part briefly introduced of application software bag.
Preferably, described installation procedure part comprises: preparatory stage script fragments describes, compilation phase script fragments describes, installation phase script fragments describes, clean-up phase script fragments describes and listed files script fragments describes.
Preferably, described installation procedure part also comprises: install after-stage script fragments describe and/or, before unloading script fragments describe and/or, unloading after-stage script fragments describe and/or, daily record script fragments describes.
Preferably, described preparatory stage script fragments describes and comprises:
A11, the preamble part in query specification file, obtains application software to be installed the need of other application software of dependence, if so, installs other application software described relied on, perform steps A 12, otherwise, directly perform steps A 12;
A12, under being depressed into the source code compressed package solution of the source code compressed package name correspondence in preamble part the compiling catalogue pre-set.
Preferably, the described supporting paper package application programme software bundle of editor that utilizes comprises for installation kit:
Call rpmbuild order, specified application software package and supporting paper corresponding to this application software bag, carry out packing encapsulation, generate installation kit.
Preferably, after described generation installation kit, described method also comprises:
Carry out installation procedure test to the installation kit generated, if do not tested by installation procedure, revised comment file, until the installation kit generated after amendment is tested by installation procedure.
Preferably, described method also comprises:
According to application scenarios, the installation kit tested by installation procedure is combined, and be that the installation kit editor combined organizes bag configuration file, the group bag configuration file of editor and the installation kit of combination are encapsulated as installation group bag.
Preferably, described editor organizes bag configuration file and comprises:
Yum-groups-manager order is installed;
In each installation kit, create the index that this each installation kit file is corresponding;
Call group bag configuration order, by the indexes applications of establishment in the group bag configuration order called, obtain group bag configuration file.
Preferably, described group of bag configuration file adopts extend markup language form.
Preferably, the described installation kit configuration file according to reading, obtains installation kit and comprises from the service of startup of server:
The service of HTML (Hypertext Markup Language) demons is installed on the server, and the catalogue of HTML (Hypertext Markup Language) demons service is pointed to the installation kit store path depositing installation kit, start the service of HTML (Hypertext Markup Language) demons;
On intelligent terminal to be initiated, edit the catalogue file that described installation kit store path maps;
The intelligent terminal to be initiated started reads built-in installation kit configuration file, according to the installation kit configuration file read, from the service of startup of server, obtains installation kit;
The catalogue file mapped at described installation kit store path installs described installation kit.
Provide a kind of device of initialization intelligent terminal according to another aspect of the present invention, this device comprises: packetization module, test module and initialize communications module, wherein,
Packetization module, for editing the supporting paper of set up applications software and utilizing the supporting paper of editor that application software bag is encapsulated as installation kit, exports test module to; The test receiving test module output, by notice, exports the installation kit by test to initialize communications module; The test receiving test module output, by notice, revises the instructions of described editor, and utilizes the supporting paper Reseal application software bag of amendment to wrap for RPM, exports test module to;
Test module, for carrying out installation procedure test to the installation kit received, if do not tested by installation procedure, exports test not by notice to packetization module, if tested by installation procedure, exports test by notice to packetization module;
Initialize communications module, for the installation kit configuration file of edit package containing server address information, and be configured to intelligent terminal to be initiated, the service being used for providing described installation kit to described intelligent terminal to be initiated is installed, and the catalogue of described service is pointed to the store path depositing installation kit, start described service, communicate with intelligent terminal to be initiated, install installation kit to be exported to described intelligent terminal to be initiated.
Preferably, described packetization module is also for according to the application scenarios that pre-sets, confirm that the installation kit that application scenarios is corresponding passes through test, installation kit corresponding for this application scenarios is combined, and be that the installation kit editor combined organizes bag configuration file, the group bag configuration file of editor and the installation kit of combination are encapsulated as installation group bag, export initialize communications module to.
Preferably, described supporting paper comprises: for the macro definition part of the content that defmacro name and grand name map; The application software package informatin relied on during for arranging application software bag name and source code compressed package name corresponding to application software, compiling, the preamble part of application software package informatin relied on when installing; The description part briefly introduced for application software bag and the installation procedure part for the installation procedure that arranges application software.
Provide a kind of system of initialization intelligent terminal according to a further aspect of the invention, this system comprises: installation kit baling press, installation kit test machine, server and intelligent terminal to be initiated, wherein,
Installation kit baling press, for editing the supporting paper of set up applications software and utilizing the supporting paper of editor that application software bag is encapsulated as installation kit, exports installation kit test machine to; The test receiving the output of installation kit test machine, by notice, exports the installation kit by test to server; The test receiving the output of installation kit test machine, by notice, revises the instructions of described editor, and utilizes the supporting paper Reseal application software bag of amendment to wrap for RPM, exports the installation kit of Reseal to installation kit test machine;
Installation kit test machine, for carrying out installation procedure test to the installation kit received, if do not tested by installation procedure, exports test not by notice to installation baling press, if tested by installation procedure, exports test by notice to installation baling press;
Server, for the installation kit configuration file of edit package containing server address information, and be configured to intelligent terminal to be initiated, the service providing described installation kit to described intelligent terminal to be initiated is installed, and the catalogue of described service is pointed to the store path depositing installation kit, start described service, communicate with intelligent terminal to be initiated, install installation kit to be exported to described intelligent terminal to be initiated;
Intelligent terminal to be initiated, for reading built-in installation kit configuration file, according to the installation kit configuration file read, obtaining installation kit and installing from the service of startup of server.
Preferably, described installation baling press is also for according to the application scenarios that pre-sets, confirm that the installation kit that application scenarios is corresponding passes through test, installation kit corresponding for this application scenarios is combined, and be that the installation kit editor combined organizes bag configuration file, the group bag configuration file of editor and the installation kit of combination are encapsulated as installation group bag, export server to.
Preferably, utilize Remote Switched Port Analyzer automatic synchronization technology that the installation kit that packing generates is transferred to installation kit test machine.
Preferably, described installation baling press comprises: community's Enterprise Operation System 5 installs baling press and community's Enterprise Operation System 6 installs baling press.
According to the method for initialization intelligent terminal of the present invention, Apparatus and system, by editing the supporting paper of set up applications software in advance, the supporting paper package application programme software bundle of editor is utilized to wrap for RPM, and in intelligent terminal to be initiated the preset installation kit configuration file comprising server address information, intelligent terminal to be initiated obtains installation kit by built-in installation kit configuration file upon actuation from server, and adopt the supporting paper of embodiment of the present invention editor to encapsulate due to installation kit, make intelligent terminal after acquisition installation kit, can automatically install, solve initialization intelligent terminal thus at manpower, the technical matters of cost waste in material resources, when especially needing initialized intelligent terminal quantity more, achieve the time reduced needed for initialization intelligent terminal, promote the beneficial effect of initialization efficiency.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the method flow of embodiment of the present invention initialization intelligent terminal;
Fig. 2 shows the apparatus structure of embodiment of the present invention initialization intelligent terminal; And,
Fig. 3 shows the system architecture of embodiment of the present invention initialization intelligent terminal.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Existing method of by software package manual compiling, intelligent terminal being carried out to context initialization, for each intelligent terminal, installation personnel is needed to carry out the operation of some manual configuration, and some configuration operations are the operation of simple repeated configuration, make in a fairly large number of situation of intelligent terminal to be initiated, the time needed for initialization is long, initialization efficiency is low.
Yellow dog upgrades amendment (Yum, YellowdogUpdaterModified) server be one at desktop operating system (Fedora) and red cap (RedHat) and software and system development (SUSE, SoftwareandSystemDevelopment), community Enterprise Operation System (CentOS, CommunityEnterpriseOperatingSystem) the Shell front-end software package manager in, based on red cap software management tool (RPM, RedHatPackageManager), can make the intelligent terminal after realizing initialization can from the server of specifying, automatic download RPM bag carries out application program installation, upgrade, and automatically can process the dependency relationships of application program, realize the software package of all dependences of one-step installation application program, and need not download again and again on loaded down with trivial details ground, install.Wherein, the RPM bag can downloaded for Yum is safeguarded by Linux community, comprises the application software bag that Fedora self provides and the FedoraExtras application software bag being derived from red cap software management tool software package warehouse (RPMfusion) and RPM.According to the difference of mounting means, Yum server both can adopt Yum technology, the dependence of single application software and this application software is installed, also Yum group (Yumgroup) technology can be adopted, set up applications software installation kit, in this application software installation kit, include multiple application software and the corresponding dependence of multiple application software.
Yum server relates to following technology:
1) RPM technology packet, for carrying out personalisation process to the application software of primary version, the application software after personalisation process (RPM bag) is made to go for different application scenarioss, in order to save the time needed for application software compiling, installation, debugging, reduce cost of labor.
2) Yum application software storehouse management technology, for for different application scenarioss, RPM bag is combined, form RPM group (RPMgroup) bag, and centralized and unified management is carried out to RPM group bag, solve interdepending and application software package needed for variant application scenarios between application software, be convenient to user convenient, fast, efficiently complete appointed task.
3) Remote Switched Port Analyzer automatic synchronization (Rsync, Remotesync) technology, adopt client/server (C/S, Client/Server) pattern, the RPM bag that server (Yum server) memory RPM technology packet generates or RPM group bag, client after realizing initialization and server are set up after network is connected, and can automatically download from server and install RPM bag or RPM group bag, thus realize the efficient, reliable of application software installation.
In the embodiment of the present invention, to intelligent terminal, the consumption of initialized scheme on time cost and human cost is carried out for the existing mode by the manual compiling of software package, consider Yum technology and Yumgroup technology to be applied to carry out initialization to intelligent terminal, thus solve the waste of initial work cost on human and material resources, reduce the time needed for initialization, promote initialization efficiency.Specifically, comprehensive utilization RPM technology packet, Rsync technology, Yum application software storehouse management technology, solve the loaded down with trivial details redundancy step of prior art in initialization procedure.
Fig. 1 shows the method flow of embodiment of the present invention initialization intelligent terminal.See Fig. 1, this flow process comprises:
Step 101, editor is used for the supporting paper of set up applications software, utilizes the supporting paper package application programme software bundle of editor for installation kit and stores in the server;
In this step, installation kit includes but not limited to that RPM wraps.By analysis application software installation procedure, and application program installation procedure is written as explanation (Spec) file, the RPM bag generated in order to make the supporting paper package application programme software bundle of utilization editor, the installation procedure can write according to this carries out Auto-mounting.Wherein, each application software is to there being a supporting paper.
In the embodiment of the present invention, Spec file is the instructions making RPM bag, comprises: macro definition part, preamble part, description part and installation procedure part in Spec file.Wherein,
Macro definition part, for the content that defmacro name and grand name map, variable during grand similar programming, if quote grand name in subsequent applications, will expand into the content that this quotes the mapping of grand name.By utilizing macro definition, the maintainability of supporting paper can be improved, strengthen portability etc.
In the embodiment of the present invention, macro definition part is option.
Preamble part, the application software package informatin relied on during for arranging application software bag name, source code compressed package name that application software is corresponding, compiling, the application software package informatin etc. relied on when installing.Wherein, the application software package informatin relied on when the application software package informatin relied on during compiling, installation is option, determines the need of other application software bag of dependence according to application software compiling and installation.This preamble part can also comprise: the information such as version number, issue (release) number.
(%description) part is described: this part is used for when user does not understand application software bag, can briefly introducing by order this application software bags of inquiry such as RPM-qi.
In the embodiment of the present invention, describing part is option.
Installation procedure part: for arranging the installation procedure of application software, comprises following script fragments and describes:
1. the preparatory stage (%pre), comprising:
A11, the preamble part in query specification file, obtains application software to be installed the need of other application software of dependence, if so, installs other application software described relied on, perform steps A 12, otherwise, directly perform steps A 12;
Such as, in this step, if application software to be installed needs to rely on other application software, when set up applications software A, need first set up applications software B, then in this preparatory stage, first application programs software B installs.
A12, under being depressed into the source code compressed package solution of the source code compressed package name correspondence in preamble part the compiling catalogue pre-set.
In this step, the compiling catalogue pre-set can be arranged by above-mentioned macrodefined mode, such as, under solution is depressed into BUILD catalogue, for for next step compilation phase ready.
In the embodiment of the present invention, the source code compressed package of source code compressed package name correspondence is arranged in application software bag.
2. the compilation phase (%build): in this stage, the source code compressed package of decompress(ion) under the compiling catalogue that compiling pre-sets.
3. installation phase (%install): installation phase is under the binary application program file of compiling generation, application profiles, service (service) script file etc. are installed to a virtual root pre-set, for interim storage, this virtual root is the root directory of the main frame (intelligent terminal to be initiated) of subsequent installation RPM bag.
In the embodiment of the present invention, this virtual root can represent with grand " buildroot ".
4. clean-up phase (%clean): after installation is complete, deletes the virtual root that installation phase is arranged.
5. listed files (%file): listed files is the core of Spec file, the file only listed in listed files, finally just can encapsulate in RPM bag.Wherein, the file in listed files is the necessary file of set up applications software.
As embodiment, after some application softwares are installed, can carry out personalized function setting to this application software, Spec file can also comprise:
6. after-stage (%post) is installed: for carrying out personalized function setting to the application software installed.
In practical application, can also in installation procedure part, arrange before unloading and unloading after-stage (%preun, %postun), to arrange the operation before unloading, after unloading respectively.
As embodiment, can also in installation procedure part, arrange daily record (Changelog) script fragments, the Update log in order to application programs software is described.
In above-mentioned script fragments, can by writing shell program, to realize the operation pre-set.Such as, can by preparatory stage, compilation phase, installation phase, clean-up phase, listed files and the corresponding paragraph installed in program code segments write shell program corresponding to after-stage.
As embodiment, the supporting paper of editor and application software bag are encapsulated as RPM handbag and draw together:
Call rpmbuild order, specified application software package and Spec file corresponding to this application software bag, carry out packing encapsulation, generate RPM bag.
Such as, in this step, by rpmbuild – bb<specfile> order line, RPM bag can be generated.Wherein ,-bb Parametric Representation only wraps according to specfile file generated RPM.
In the embodiment of the present invention, according to macro definition part, preamble part, description part and installation procedure part that the supporting paper of editor comprises, sequentially application programs software package encapsulates, and generates RPM bag.
As embodiment, after generation RPM bag, the method can also comprise:
Carry out installation procedure test to the RPM bag generated, if do not tested by installation procedure, revised comment file, until the RPM bag generated after amendment is tested by installation procedure.
In this step, carry out testing for utilizing rsync that RPM bag is carried out Auto-mounting, if existing problems in RPM bag is installed, then according to the information of display, Spec file is modified, then, according to the Spec Document encapsulation application software bag remodified, generate RPM bag, then carry out installation procedure test, until installation procedure test is passed through.Thus the probability that reports an error in reduction initialization procedure, success ratio during lifting intelligent terminal initialization and reliability, promote the efficiency of initialization intelligent terminal.
As another embodiment, generating the RPM bag of RPM bag or generation after installation procedure test, the method can also comprise:
According to application scenarios, the RPM of generation bag is combined, and organize bag configuration file for the RPM of combination wraps editor, the group bag configuration file of editor and the RPM of combination are wrapped and is encapsulated as RPM group and wraps.
In this step, due to different application scenarioss, need the application software bag installing various combination, such as, as previously mentioned, for Lnmp, need Linux, Nginx, Mysql and Php are installed, for Lamp, need Linux, Apache, MySQL and PHP are installed.Thus, in the embodiment of the present invention, in order to use the business experience of the user of intelligent terminal after erection & lift, according to different application scenarios demands, grouping management can be carried out, namely according to different application scenarios demands to the RPM bag tested by installation procedure, RPM bag is combined, thus realize the setting that a time initialization can complete application scenarios, effectively reduce user operation, reduce initialization required time.
After carrying out grouping management, in order to each parameter in the application scenarios to each RPM bag in the RPM bag of combination, such as, the RPM bag of combination is described, the index path of preservation group bag metadata, the RPM package informatin comprised is configured, the RPM bag that can also obtain according to grouping management, the group bag configuration file of the RPM bag correspondence of editor's combination, RPM of each combination wraps corresponding one group of bag configuration file.
In this step, take intelligent terminal as Yum server be example, editor organizes bag configuration file and comprises:
B11, installs yum-groups-manager order;
In this step, the order behavior of yum-groups-manager order is installed: yuminstallyum-utils.norch.Yum-groups-manager order performs follow-up flow process for triggering.
B12, in each RPM wraps, creates the index that this each RPM bag file is corresponding;
This step is optional step, by creating corresponding index for RPM bag file, the time required when can reduce inquiry file, improves search efficiency.Create the order behavior of index: createrepo-d--updatepath.Wherein, "-d " parameter is required argument, and path is index path.
B13, calls group bag configuration order, by the indexes applications of establishment in the group bag configuration order called, obtains group bag configuration file.
In this step, group bag configuration order is as follows:
yum-groups-manager-n"groupname"--id="groupid"--description="…..."--save=path/repodata/*.xml--mandatoryRPM[RPM]…
Wherein,
-n parameter: designated groups (group) wraps name;
--id parameter: the unique identification that generation group (group) is wrapped;
--description parameter: group bag is simply described, facilitates user to understand information;
--save parameter: preservation group bag metadata is in the file under the index path pre-set;
--mandatory parameter: the one or more RPM bags comprised in designated groups bag.
As embodiment, group bag configuration file format can adopt extend markup language (XML, ExtensibleMarkupLanguage) form.
For example, the group bag configuration file generated for:
yum-groups-manager-n"LNMP-2.2.20-5.2.5"--id="LNMP"--description="Nginx-1.2.9,Php-5.2.5,MySQL-5.5"--save=/usr/local/www/CentOS/5/os/x86_64/repodata/mygroups.xml--mandatoryQihoo-App-nginxQihoo-App-phpQihoo-App-mysql
In this group bag configuration file, represent that yum-groups-manager order generation group name of utilization installation is the group of " LNMP-2.2.20-5.2.5 ", the unique identification of this group is LNMP, be described as " the nginx program of 1.2.9 version, version is the php program of 5.2.5, version is the mysql program of 5.5 ", the meta-data preservation of LNMP-2.2.20-5.2.5 group is in/usr/local/www/CentOS/5/os/x86_64/repodata/mygroups.xml file, the RPM that this group comprises is surrounded by Qihoo-App-nginx, Qihoo-app-php and Qihoo-App-mysql tri-software packages.
As embodiment, the method can also also comprise:
After the RPM bag of combination upgrades, upgrade the group bag configuration file that the RPM bag of this combination is corresponding.
In this step, renewal comprises: deletion, amendment, increase etc.The order behavior of renewal group bag configuration file: createrepo--verbose-gpath/repodata/*.xmlpath.
By renewal group bag configuration file, the RPM bag increased newly can be made to be searched by intelligent terminal.
Such as: the order line of a renewal group bag configuration file is specific as follows:
createrepo--verbose-g/usr/local/www/CentOS/5/os/x86_64/repodata/mygroups.xml/usr/local/www/CentOS/5/os/x86_64/
In this order line, utilize creatrepo order, by specifying the meta data file/usr/local/www/CentOS/5/os/x86_64/repodata/mygroups.xml of group, will at renewal group bag configuration file under/usr/local/www/CentOS/5/os/x86_64 catalogue, RPM group intelligent terminal can being searched this Yumserver upgrades is wrapped.
In the embodiment of the present invention, packaged RPM bag is positioned in the server pre-set.
Step 102, edit package containing the installation kit configuration file of server address information, and is configured in intelligent terminal to be initiated;
In this step, server includes but not limited to Yum server.Installation kit configuration file can further include but is not limited to following information: server domain name information, server Uniform Resource locator information, server ip address information, installation kit storage address information, installation kit type information etc.
Step 103, build-in services on described server, and the catalogue of described service is pointed to the store path depositing installation kit, start service;
In this step, as embodiment, service is used for providing described installation kit to described intelligent terminal to be initiated.Described server is installed HTML (Hypertext Markup Language) demons (HTTPD, HypertextTransferProtocolDaemon) service, and the catalogue of being served by HTTPD points to the RPM bag store path depositing RPM bag, starts HTTPD service.
In the embodiment of the present invention, after startup service, the request of intelligent terminal can be responded by the service monitoring intelligent terminal that starts.
Step 104, triggers intelligent terminal to be initiated and reads built-in installation kit configuration file, according to the installation kit configuration file read, obtains installation kit and install from the service of startup of server.
In this step, the catalogue file that intelligent terminal editor RPM bag store path to be initiated maps, such as, catalogue file can be set to/etc/Yum.repos.d/CentOS.repo.Like this, when mounted, installation file is stored in the catalogue file on the intelligent terminal to be initiated of RPM bag store path mapping.The order line of editor catalogue file/etc/Yum.repos.d/CentOS.repo is as follows:
[ADDOPS-base]
name=ADDOPS-$releasever-Base
baseurl=http://Yum-serverIP/addops/$releasever/os/$basearch/
gpgcheck=0
In the embodiment of the present invention, according to the installation kit configuration file read, from the service of startup of server, obtain installation kit, thus installation kit can be made to install according to the supporting paper of editor.
In the embodiment of the present invention, tens of intelligent terminals to be initiated can be opened simultaneously, and from server, obtain installation kit by built-in installation kit configuration file upon actuation, and adopt the supporting paper of embodiment of the present invention editor to encapsulate due to installation kit, make intelligent terminal after acquisition installation kit, can automatically install, without the need to carrying out the manual compiling of software package, realize carrying out RPM bag to multiple stage intelligent terminal to be initiated in a parallel fashion to install, thus substantially increase initialized efficiency and reliability.
From above-mentioned, the method of the initialization intelligent terminal of the embodiment of the present invention, by utilizing RPM technology packet, Yum application software storehouse management technology and Rsync technology in initialization procedure, a large amount of resources can be saved in time cost, human cost.Such as, in the embodiment of the present invention, only application software source code need be copied on a Yum server and carry out compiling installation, generate installation kit, need initialized intelligent terminal to carry out compiling installation relative to application software source code being copied to every platform, required time is shorter, and it is higher that initialization upgrades efficiency.For example, need the situation of installing a certain application software for 1000 intelligent terminals, only copy this time needed for application software source code, prior art is 1000 times of the embodiment of the present invention; Further, in prior art, need compiling on every platform intelligent terminal to be initiated that source code is installed, and in the embodiment of the present invention, only need to write a Spec file, utilize the supporting paper package application programme software bundle of editor to wrap for RPM, intelligent terminal to be initiated is directly by running Yumgroupinstallsoftwarename.For example, need the situation of installing a certain application software for 1000 intelligent terminals, prior art installs in compilation of source code 1000 times that required time cost is still the embodiment of the present invention.
Fig. 2 shows the apparatus structure of embodiment of the present invention initialization intelligent terminal.See Fig. 2, this device comprises: packetization module, test module, initialize communications module, wherein,
Packetization module, for editing the supporting paper of set up applications software, utilizing the supporting paper package application programme software bundle of editor to wrap for RPM, exporting test module to; The test receiving test module output, by notice, exports the RPM bag by test to initialize communications module; The test receiving test module output, by notice, revises the instructions of described editor, and utilizes the supporting paper Reseal application software bag of amendment to wrap for RPM, exports test module to;
In the embodiment of the present invention, the content in Spec file comprises: for the macro definition part of the content that defmacro name and grand name map; The application software package informatin relied on during for arranging application software bag name, source code compressed package name that application software is corresponding, compiling, the preamble part of application software package informatin relied on when installing; The description part briefly introduced for application software bag and the installation procedure part for the installation procedure that arranges application software.Wherein, installation procedure part comprises: preparatory stage script fragments describes, compilation phase script fragments describes, installation phase script fragments describes, clean-up phase script fragments describes and listed files script fragments describes.
Preferably, by calling rpmbuild order, specified application software package and Spec file corresponding to this application software bag, carry out packing encapsulation, generates RPM bag.
As embodiment, packetization module is also for according to the application scenarios that pre-sets, confirm that the RPM that application scenarios is corresponding wraps by test, RPM corresponding for this application scenarios bag is combined, and organize bag configuration file for the RPM combined wraps editor, the group bag configuration file of editor and the RPM of combination are wrapped and is encapsulated as RPM group and wraps, export initialize communications module to.
In the embodiment of the present invention, editor organizes bag configuration file and comprises:
Yum-groups-manager order is installed; In each RPM wraps, create the index that this each RPM bag file is corresponding; Call group bag configuration order, by the indexes applications of establishment in the group bag configuration order called, obtain group bag configuration file.
Test module, for carrying out installation procedure test to the RPM bag received, if do not tested by installation procedure, being exported test not by notice to packetization module, if tested by installation procedure, exporting test by notice to packetization module;
In the embodiment of the present invention, in test not by notice, can carry not by the concrete information of test.
Initialize communications module, for the installation kit configuration file of edit package containing server address information, and be configured to intelligent terminal to be initiated, the service providing described installation kit to described intelligent terminal to be initiated is installed, and the catalogue of described service is pointed to the store path depositing installation kit, start described service, communicate with intelligent terminal to be initiated, install installation kit to be exported to described intelligent terminal to be initiated.
In the embodiment of the present invention, as embodiment, by installing the service of HTML (Hypertext Markup Language) demons in initialize communications module, and the catalogue of being served by HTTPD points to the RPM bag store path depositing RPM bag, start HTTPD service, thus communication support can be provided.
It should be noted that each module in this device, can be realized by separate physical equipment, be described below.
Fig. 3 shows the system architecture of embodiment of the present invention initialization intelligent terminal.See Fig. 3, this system comprises: RPM baling press, RPM bag test machine, Yum server and intelligent terminal to be initiated, wherein, and RPM baling press, RPM bag test machine, the device shown in Yum server composition diagram 2.
RPM baling press, for editing the supporting paper of set up applications software and utilizing the supporting paper of editor that application software bag is encapsulated as RPM bag, exports RPM bag test machine to; The test receiving the output of RPM bag test machine, by notice, exports the RPM bag by test to Yum server; The test receiving the output of RPM bag test machine, by notice, revises the instructions of described editor, and utilizes the supporting paper Reseal application software bag of amendment to wrap for RPM, is wrapped by the RPM of Reseal and exports RPM bag test machine to;
In the embodiment of the present invention, RPM baling press comprises: community's Enterprise Operation System (CentOS, CommunityEnterpriseOperatingSystem) 5RPM baling press and CentOS6RPM baling press.
As embodiment, RPM baling press is also for according to the application scenarios that pre-sets, confirm that the RPM that application scenarios is corresponding wraps by test, RPM corresponding for this application scenarios bag is combined, and organize bag configuration file for the RPM combined wraps editor, the group bag configuration file of editor and the RPM of combination are wrapped and is encapsulated as RPM group and wraps, export Yum server to.
In the embodiment of the present invention, utilize Rsync automatic synchronization technology, the RPM group obtained after carrying out grouping management bag (multiple RPM bag and the corresponding Yumgroup configuration file generated) is transferred to Yum server by RPM baling press.
RPM bag test machine, for carrying out installation procedure test to the RPM bag received, if do not tested by installation procedure, being exported test not by notice to RPM baling press, if tested by installation procedure, exporting test by notice to RPM baling press;
In the embodiment of the present invention, utilize Rsync automatic synchronization technology, RPM bag packing generated is transferred to RPM bag test machine and carries out installation procedure test, and the RPM bag generated to make packing is tested by installation procedure, thus promotes reliability and the efficiency of initialization intelligent terminal.If existing problems in RPM bag is installed, then can notify that RPM baling press is according to information, RPM baling press is modified to Spec file, then, RPM baling press exports the RPM of amendment bag to RPM bag test machine again and carries out installation procedure test, until test is passed through.
Corresponding CentOS5RPM baling press, RPM bag is transferred to CentOS5RPM bag test machine and tests; Corresponding CentOS6RPM baling press, RPM bag is transferred to CentOS6RPM bag test machine and tests.Namely correspond to RPM baling press, RPM bag test machine comprises: CentOS5RPM bag test machine and CentOS6RPM bag test machine.After test no problem, RPM bag test machine notice RPM baling press, correspondence is carried out grouping management by the RPM bag of test by CentOS5RPM baling press and CentOS6RPM baling press.
Yum server, for the installation kit configuration file of edit package containing server address information, and be configured to intelligent terminal to be initiated, the service being used for providing described installation kit to described intelligent terminal to be initiated is installed, and the catalogue of described service is pointed to the store path depositing installation kit, start described service, communicate with intelligent terminal to be initiated, install installation kit to be exported to described intelligent terminal to be initiated;
In the embodiment of the present invention, corresponding CentOS5RPM baling press, Yum server is CentOS5Yum server (server); Corresponding CentOS6RPM baling press, Yum server is CentOS6Yumserver.Namely Yum server comprises: CentOS5Yumserver and CentOS6Yumserver.
Intelligent terminal to be initiated, for reading built-in installation kit configuration file, according to the installation kit configuration file read, obtaining installation kit and installing from the service of startup of server.
In the embodiment of the present invention, intelligent terminal to be initiated comprises: CentOS5 client and CentOS6 client.As embodiment, in CentOS5 client and CentOS6 client, by HTML (Hypertext Markup Language) (HTTP, HypertextTransferProtocol) agreement, communicate with CentOS5Yumserver and CentOS6Yumserver respectively, to carry out auto-initiation flow process.
As embodiment, the quantity of CentOS5 client is one or more, and the quantity of CentOS6 client is one or more.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the Apparatus and system of the initialization intelligent terminal of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from Internet site server and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses the method for an A1. initialization intelligent terminal, comprising:
Editor is used for the supporting paper of set up applications software and utilizes the supporting paper of editor application software bag to be encapsulated as installation kit and store in the server;
Edit package containing the installation kit configuration file of server address information, and is configured to intelligent terminal to be initiated;
Described server is installed the service being used for providing described installation kit to described intelligent terminal to be initiated, and the catalogue of described service is pointed to the store path depositing installation kit, start described service;
Trigger intelligent terminal to be initiated and read built-in installation kit configuration file, according to the installation kit configuration file read, from the service of startup of server, obtain installation kit and install.
A2. the method according to A1, described supporting paper comprises: preamble part and installation procedure part, wherein,
Preamble part, for arranging application software bag name and source code compressed package name corresponding to application software;
Installation procedure part: for arranging the installation procedure of application software.
A3. the method according to A2, described supporting paper also comprise the content mapped for defmacro name and grand name macro definition part and/or, for describing the description part briefly introduced of application software bag.
A4. the method according to A2, described installation procedure part comprises: preparatory stage script fragments describes, compilation phase script fragments describes, installation phase script fragments describes, clean-up phase script fragments describes and listed files script fragments describes.
A5. the method according to A4, described installation procedure part also comprises: install after-stage script fragments describe and/or, before unloading script fragments describe and/or, unloading after-stage script fragments describe and/or, daily record script fragments describes.
A6. the method according to A4 or A5, described preparatory stage script fragments describes and comprises:
A11, the preamble part in query specification file, obtains application software to be installed the need of other application software of dependence, if so, installs other application software described relied on, perform steps A 12, otherwise, directly perform steps A 12;
A12, under being depressed into the source code compressed package solution of the source code compressed package name correspondence in preamble part the compiling catalogue pre-set.
A7. the method according to A1, the supporting paper package application programme software bundle of described utilization editor comprises for installation kit:
Call rpmbuild order, specified application software package and supporting paper corresponding to this application software bag, carry out packing encapsulation, generate installation kit.
A8. the method according to A1, after described generation installation kit, described method also comprises:
Carry out installation procedure test to the installation kit generated, if do not tested by installation procedure, revised comment file, until the installation kit generated after amendment is tested by installation procedure.
A9. the method according to A8, described method also comprises:
According to application scenarios, the installation kit tested by installation procedure is combined, and be that the installation kit editor combined organizes bag configuration file, the group bag configuration file of editor and the installation kit of combination are encapsulated as installation group bag.
A10. the method according to A9, described editor organizes bag configuration file and comprises:
Yum-groups-manager order is installed;
In each installation kit, create the index that this each installation kit file is corresponding;
Call group bag configuration order, by the indexes applications of establishment in the group bag configuration order called, obtain group bag configuration file.
A11. the method according to A9, described group of bag configuration file adopts extend markup language form.
A12. the method according to A1, the described installation kit configuration file according to reading, obtains installation kit and comprises from the service of startup of server:
The service of HTML (Hypertext Markup Language) demons is installed on the server, and the catalogue of HTML (Hypertext Markup Language) demons service is pointed to the installation kit store path depositing installation kit, start the service of HTML (Hypertext Markup Language) demons;
On intelligent terminal to be initiated, edit the catalogue file that described installation kit store path maps;
The intelligent terminal to be initiated started reads built-in installation kit configuration file, according to the installation kit configuration file read, from the service of startup of server, obtains installation kit;
The catalogue file mapped at described installation kit store path installs described installation kit.
A13. a device for initialization intelligent terminal, this device comprises: packetization module, test module and initialize communications module, wherein,
Packetization module, for editing the supporting paper of set up applications software and utilizing the supporting paper of editor that application software bag is encapsulated as installation kit, exports test module to; The test receiving test module output, by notice, exports the installation kit by test to initialize communications module; The test receiving test module output, by notice, revises the instructions of described editor, and utilizes the supporting paper Reseal application software bag of amendment to wrap for RPM, exports test module to;
Test module, for carrying out installation procedure test to the installation kit received, if do not tested by installation procedure, exports test not by notice to packetization module, if tested by installation procedure, exports test by notice to packetization module;
Initialize communications module, for the installation kit configuration file of edit package containing server address information, and be configured to intelligent terminal to be initiated, the service being used for providing described installation kit to described intelligent terminal to be initiated is installed, and the catalogue of described service is pointed to the store path depositing installation kit, start described service, communicate with intelligent terminal to be initiated, install installation kit to be exported to described intelligent terminal to be initiated.
A14. the device according to A13, described packetization module is also for according to the application scenarios that pre-sets, confirm that the installation kit that application scenarios is corresponding passes through test, installation kit corresponding for this application scenarios is combined, and be that the installation kit editor combined organizes bag configuration file, the group bag configuration file of editor and the installation kit of combination are encapsulated as installation group bag, export initialize communications module to.
A15. the device according to A13 or A14, described supporting paper comprises: for the macro definition part of the content that defmacro name and grand name map; The application software package informatin relied on during for arranging application software bag name and source code compressed package name corresponding to application software, compiling, the preamble part of application software package informatin relied on when installing; The description part briefly introduced for application software bag and the installation procedure part for the installation procedure that arranges application software.
A16. a system for initialization intelligent terminal, this system comprises: installation kit baling press, installation kit test machine, server and intelligent terminal to be initiated, wherein,
Installation kit baling press, for editing the supporting paper of set up applications software and utilizing the supporting paper of editor that application software bag is encapsulated as installation kit, exports installation kit test machine to; The test receiving the output of installation kit test machine, by notice, exports the installation kit by test to server; The test receiving the output of installation kit test machine, by notice, revises the instructions of described editor, and utilizes the supporting paper Reseal application software bag of amendment to wrap for RPM, exports the installation kit of Reseal to installation kit test machine;
Installation kit test machine, for carrying out installation procedure test to the installation kit received, if do not tested by installation procedure, exports test not by notice to installation baling press, if tested by installation procedure, exports test by notice to installation baling press;
Server, for the installation kit configuration file of edit package containing server address information, and be configured to intelligent terminal to be initiated, the service providing described installation kit to described intelligent terminal to be initiated is installed, and the catalogue of described service is pointed to the store path depositing installation kit, start described service, communicate with intelligent terminal to be initiated, install installation kit to be exported to described intelligent terminal to be initiated;
Intelligent terminal to be initiated, for reading built-in installation kit configuration file, according to the installation kit configuration file read, obtaining installation kit and installing from the service of startup of server.
A17. the system according to A16, described installation baling press is also for according to the application scenarios that pre-sets, confirm that the installation kit that application scenarios is corresponding passes through test, installation kit corresponding for this application scenarios is combined, and be that the installation kit editor combined organizes bag configuration file, the group bag configuration file of editor and the installation kit of combination are encapsulated as installation group bag, export server to.
A18. the system according to A16, utilizes Remote Switched Port Analyzer automatic synchronization technology that the installation kit that packing generates is transferred to installation kit test machine.
A19. the system according to A16, described installation baling press comprises: community's Enterprise Operation System 5 installs baling press and community's Enterprise Operation System 6 installs baling press.
Claims (10)
1. a method for initialization intelligent terminal, comprising:
Editor is used for the supporting paper of set up applications software and utilizes the supporting paper of editor application software bag to be encapsulated as installation kit and store in the server;
Edit package containing the installation kit configuration file of server address information, and is configured to intelligent terminal to be initiated;
Described server is installed the service being used for providing described installation kit to described intelligent terminal to be initiated, and the catalogue of described service is pointed to the store path depositing installation kit, start described service;
Trigger intelligent terminal to be initiated and read built-in installation kit configuration file, according to the installation kit configuration file read, from the service of startup of server, obtain installation kit and install.
2. the method for claim 1, described supporting paper comprises: preamble part and installation procedure part, wherein,
Preamble part, for arranging application software bag name and source code compressed package name corresponding to application software;
Installation procedure part: for arranging the installation procedure of application software.
3. method as claimed in claim 2, described supporting paper also comprise the content mapped for defmacro name and grand name macro definition part and/or, for describing the description part briefly introduced of application software bag.
4. method as claimed in claim 2, described installation procedure part comprises: preparatory stage script fragments describes, compilation phase script fragments describes, installation phase script fragments describes, clean-up phase script fragments describes and listed files script fragments describes.
5. method as claimed in claim 4, described installation procedure part also comprises: install after-stage script fragments describe and/or, before unloading script fragments describe and/or, unloading after-stage script fragments describe and/or, daily record script fragments describes.
6. the method as described in claim 4 or 5, described preparatory stage script fragments describes and comprises:
A11, the preamble part in query specification file, obtains application software to be installed the need of other application software of dependence, if so, installs other application software described relied on, perform steps A 12, otherwise, directly perform steps A 12;
A12, under being depressed into the source code compressed package solution of the source code compressed package name correspondence in preamble part the compiling catalogue pre-set.
7. a device for initialization intelligent terminal, this device comprises: packetization module, test module and initialize communications module, wherein,
Packetization module, for editing the supporting paper of set up applications software and utilizing the supporting paper of editor that application software bag is encapsulated as installation kit, exports test module to; The test receiving test module output, by notice, exports the installation kit by test to initialize communications module; The test receiving test module output, by notice, revises the instructions of described editor, and utilizes the supporting paper Reseal application software bag of amendment to wrap for RPM, exports test module to;
Test module, for carrying out installation procedure test to the installation kit received, if do not tested by installation procedure, exports test not by notice to packetization module, if tested by installation procedure, exports test by notice to packetization module;
Initialize communications module, for the installation kit configuration file of edit package containing server address information, and be configured to intelligent terminal to be initiated, the service being used for providing described installation kit to described intelligent terminal to be initiated is installed, and the catalogue of described service is pointed to the store path depositing installation kit, start described service, communicate with intelligent terminal to be initiated, install installation kit to be exported to described intelligent terminal to be initiated.
8. device as claimed in claim 7, described packetization module is also for according to the application scenarios that pre-sets, confirm that the installation kit that application scenarios is corresponding passes through test, installation kit corresponding for this application scenarios is combined, and be that the installation kit editor combined organizes bag configuration file, the group bag configuration file of editor and the installation kit of combination are encapsulated as installation group bag, export initialize communications module to.
9. a system for initialization intelligent terminal, this system comprises: installation kit baling press, installation kit test machine, server and intelligent terminal to be initiated, wherein,
Installation kit baling press, for editing the supporting paper of set up applications software and utilizing the supporting paper of editor that application software bag is encapsulated as installation kit, exports installation kit test machine to; The test receiving the output of installation kit test machine, by notice, exports the installation kit by test to server; The test receiving the output of installation kit test machine, by notice, revises the instructions of described editor, and utilizes the supporting paper Reseal application software bag of amendment to wrap for RPM, exports the installation kit of Reseal to installation kit test machine;
Installation kit test machine, for carrying out installation procedure test to the installation kit received, if do not tested by installation procedure, exports test not by notice to installation baling press, if tested by installation procedure, exports test by notice to installation baling press;
Server, for the installation kit configuration file of edit package containing server address information, and be configured to intelligent terminal to be initiated, the service providing described installation kit to described intelligent terminal to be initiated is installed, and the catalogue of described service is pointed to the store path depositing installation kit, start described service, communicate with intelligent terminal to be initiated, install installation kit to be exported to described intelligent terminal to be initiated;
Intelligent terminal to be initiated, for reading built-in installation kit configuration file, according to the installation kit configuration file read, obtaining installation kit and installing from the service of startup of server.
10. system as claimed in claim 9, described installation baling press is also for according to the application scenarios that pre-sets, confirm that the installation kit that application scenarios is corresponding passes through test, installation kit corresponding for this application scenarios is combined, and be that the installation kit editor combined organizes bag configuration file, the group bag configuration file of editor and the installation kit of combination are encapsulated as installation group bag, export server to.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410310129.2A CN105335173A (en) | 2014-07-01 | 2014-07-01 | Method, apparatus and system for initializing intelligent terminal device |
PCT/CN2015/083102 WO2016000623A1 (en) | 2014-07-01 | 2015-07-01 | Method, apparatus and system for initializing intelligent terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410310129.2A CN105335173A (en) | 2014-07-01 | 2014-07-01 | Method, apparatus and system for initializing intelligent terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105335173A true CN105335173A (en) | 2016-02-17 |
Family
ID=55018463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410310129.2A Pending CN105335173A (en) | 2014-07-01 | 2014-07-01 | Method, apparatus and system for initializing intelligent terminal device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105335173A (en) |
WO (1) | WO2016000623A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371865A (en) * | 2016-08-26 | 2017-02-01 | 浪潮(北京)电子信息产业有限公司 | Software environment deployment method and system |
CN108228201A (en) * | 2017-12-28 | 2018-06-29 | 广州亦云信息技术股份有限公司 | Method of managing software, electronic equipment and storage medium based on software storage |
CN108594330A (en) * | 2017-12-28 | 2018-09-28 | 南京信息工程大学 | Automatic meteorological data monitoring system based on Cloud Server |
CN108920157A (en) * | 2018-06-13 | 2018-11-30 | 平安科技(深圳)有限公司 | Installation method, device, computer equipment and the storage medium of Nginx software |
CN112445576A (en) * | 2020-11-30 | 2021-03-05 | 中国人寿保险股份有限公司 | Equipment calling method for shielding service difference and related equipment |
CN112486510A (en) * | 2020-11-04 | 2021-03-12 | 深圳市金百锐通信科技有限公司 | Method and device for software installation, terminal equipment and storage medium |
CN113821229A (en) * | 2021-10-29 | 2021-12-21 | 北京光启元数字科技有限公司 | Program installation method, device, equipment and medium |
CN113885896A (en) * | 2021-09-29 | 2022-01-04 | 平安银行股份有限公司 | Application software package installation method and device, computer equipment and storage medium |
CN114296776A (en) * | 2021-12-08 | 2022-04-08 | 山东齐鲁数通科技有限公司 | Service package configuration calling method and device, terminal equipment and storage medium |
CN117270896A (en) * | 2023-11-15 | 2023-12-22 | 中孚安全技术有限公司 | Automatic application program identification and installation method, system, device and storage medium |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108647527B (en) | 2018-04-17 | 2020-11-17 | 创新先进技术有限公司 | File packing method, file packing device, file unpacking device and network equipment |
CN110895471A (en) * | 2018-09-12 | 2020-03-20 | 北京京东尚科信息技术有限公司 | Installation package generation method, device, medium and electronic equipment |
CN111198744B (en) * | 2018-11-16 | 2023-05-30 | 中标软件有限公司 | Method for automatic application program containerization and mirror image backup release |
CN110727440B (en) * | 2019-10-08 | 2022-10-04 | 中国电子科技集团公司第二十八研究所 | Software packaging method |
CN112764796A (en) * | 2019-11-05 | 2021-05-07 | 阿里巴巴集团控股有限公司 | Installation package generation system |
CN113760304A (en) * | 2020-06-03 | 2021-12-07 | 汉朔科技股份有限公司 | System configuration method, device, equipment and medium |
CN111949310B (en) * | 2020-08-07 | 2022-07-19 | 苏州浪潮智能科技有限公司 | Built-in service external connection method and device based on heterogeneous cloud platform |
CN113031964B (en) * | 2021-03-25 | 2023-12-26 | 恒安嘉新(北京)科技股份公司 | Big data application management method, device, equipment and storage medium |
CN115412516A (en) * | 2022-08-30 | 2022-11-29 | 上海哔哩哔哩科技有限公司 | Customer service function realization method and device, computing equipment and storage medium |
CN116755724B (en) * | 2022-11-29 | 2024-02-02 | 华东师范大学 | PCA software installation method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050235281A1 (en) * | 2004-04-19 | 2005-10-20 | Telefonaktiebolaget L M Ericsson (Publ) | Combined software installation package |
CN103713924A (en) * | 2013-12-24 | 2014-04-09 | 汉柏科技有限公司 | Upgrading method and system of cloud computing platform services |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020131405A1 (en) * | 2001-02-14 | 2002-09-19 | Ching-Fang Lin | Java based information exchange process and system thereof |
US20100058319A1 (en) * | 2008-08-28 | 2010-03-04 | Hitachi, Ltd. | Agile deployment of server |
CN103580908B (en) * | 2012-08-10 | 2016-12-21 | 百度在线网络技术(北京)有限公司 | The collocation method of server and system |
CN103281373B (en) * | 2013-05-30 | 2015-12-23 | 烽火通信科技股份有限公司 | Home gateway intelligent update device and upgrade method |
-
2014
- 2014-07-01 CN CN201410310129.2A patent/CN105335173A/en active Pending
-
2015
- 2015-07-01 WO PCT/CN2015/083102 patent/WO2016000623A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050235281A1 (en) * | 2004-04-19 | 2005-10-20 | Telefonaktiebolaget L M Ericsson (Publ) | Combined software installation package |
CN103713924A (en) * | 2013-12-24 | 2014-04-09 | 汉柏科技有限公司 | Upgrading method and system of cloud computing platform services |
Non-Patent Citations (5)
Title |
---|
ASTRAYLINUX: "yum命令基本用法", 《HTTP://BLOG.CSDN.NET/ASTRAYLINUX/ARTICLE/DETAILS/7025761》 * |
JX_战壕LINUX: "自己生成yum仓库", 《HTTP://WWW.BUBUKO.COM/INFODETAIL-138670.HTML》 * |
MICHAEL JANG: "《RHCSA/RHCE Red Hat Linux认证模拟考试解析》", 30 April 2014, 清华大学出版社 * |
于明俭等: "《Linux程序设计权威指南》", 30 April 2001, 机械工业出版社 * |
段继刚: "《Linux软件管理平台设计与实现》", 30 September 2013, 机械工业出版社 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371865A (en) * | 2016-08-26 | 2017-02-01 | 浪潮(北京)电子信息产业有限公司 | Software environment deployment method and system |
CN108228201A (en) * | 2017-12-28 | 2018-06-29 | 广州亦云信息技术股份有限公司 | Method of managing software, electronic equipment and storage medium based on software storage |
CN108594330A (en) * | 2017-12-28 | 2018-09-28 | 南京信息工程大学 | Automatic meteorological data monitoring system based on Cloud Server |
CN108920157A (en) * | 2018-06-13 | 2018-11-30 | 平安科技(深圳)有限公司 | Installation method, device, computer equipment and the storage medium of Nginx software |
WO2019237583A1 (en) * | 2018-06-13 | 2019-12-19 | 平安科技(深圳)有限公司 | Nginx software installation method and apparatus, computer device, and storage medium |
CN112486510A (en) * | 2020-11-04 | 2021-03-12 | 深圳市金百锐通信科技有限公司 | Method and device for software installation, terminal equipment and storage medium |
CN112445576A (en) * | 2020-11-30 | 2021-03-05 | 中国人寿保险股份有限公司 | Equipment calling method for shielding service difference and related equipment |
CN112445576B (en) * | 2020-11-30 | 2024-04-16 | 中国人寿保险股份有限公司 | Equipment calling method for shielding service difference and related equipment |
CN113885896A (en) * | 2021-09-29 | 2022-01-04 | 平安银行股份有限公司 | Application software package installation method and device, computer equipment and storage medium |
CN113885896B (en) * | 2021-09-29 | 2024-06-25 | 平安银行股份有限公司 | Application software package installation method and device, computer equipment and storage medium |
CN113821229A (en) * | 2021-10-29 | 2021-12-21 | 北京光启元数字科技有限公司 | Program installation method, device, equipment and medium |
CN114296776A (en) * | 2021-12-08 | 2022-04-08 | 山东齐鲁数通科技有限公司 | Service package configuration calling method and device, terminal equipment and storage medium |
CN117270896A (en) * | 2023-11-15 | 2023-12-22 | 中孚安全技术有限公司 | Automatic application program identification and installation method, system, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2016000623A1 (en) | 2016-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105335173A (en) | Method, apparatus and system for initializing intelligent terminal device | |
CN109491695B (en) | Incremental updating method for integrated android application | |
CN112882700B (en) | IOS application program construction method and device, electronic equipment and storage medium | |
CN108279902B (en) | Lua script technology based multi-terminal sharing bottom layer framework generation and application method | |
Geimer et al. | Modern scientific software management using easybuild and lmod | |
CN109032631B (en) | Application program patch package obtaining method and device, computer equipment and storage medium | |
CN112256321A (en) | Static library packaging method and device, computer equipment and storage medium | |
CN105677302A (en) | Application program modularization developing method and device | |
CN111399840B (en) | Module development method and device | |
CN111857801B (en) | Construction method of mobile application | |
CN104750528A (en) | Management method and device for components in Android program | |
CN112286504B (en) | Method for realizing development and loading of applet based on REACTNATIVE in mobile APP | |
CN105468427A (en) | Implementation method and system of automatic compilation and release | |
CN110968340A (en) | Method and device for realizing multi-version dependence isolation | |
CN110795139A (en) | Client batch packaging method and device, computer equipment and storage medium | |
CN115629971A (en) | Application development system and method | |
CN114371850A (en) | Management method for project construction compiling and code development | |
CN111683005B (en) | Internet of things intelligent gateway equipment and construction method thereof | |
Cortesi | Pyinstaller manual | |
CN110659022B (en) | Method for automatically calling Python script based on Java | |
CN112181366A (en) | Mobile application development framework based on cross-platform interaction | |
CN116954752A (en) | Differentiated system configuration and loading method and device and computer equipment | |
CN113535254A (en) | Micro-service processing method, micro-service deployment method and related device | |
CN116243923A (en) | Applet processing method and device and electronic equipment | |
CN113110872B (en) | Android automatic configuration construction platform and operation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160217 |