Movatterモバイル変換


[0]ホーム

URL:


CN107741859A - Software package management method, apparatus and system based on domestic CPU and OS - Google Patents

Software package management method, apparatus and system based on domestic CPU and OS
Download PDF

Info

Publication number
CN107741859A
CN107741859ACN201711068440.0ACN201711068440ACN107741859ACN 107741859 ACN107741859 ACN 107741859ACN 201711068440 ACN201711068440 ACN 201711068440ACN 107741859 ACN107741859 ACN 107741859A
Authority
CN
China
Prior art keywords
software
kit
software kit
client
domestic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711068440.0A
Other languages
Chinese (zh)
Inventor
朱宪
李超
孙元田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Cloud Service Information Technology Co Ltd
Original Assignee
Shandong Inspur Cloud Service Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Cloud Service Information Technology Co LtdfiledCriticalShandong Inspur Cloud Service Information Technology Co Ltd
Priority to CN201711068440.0ApriorityCriticalpatent/CN107741859A/en
Publication of CN107741859ApublicationCriticalpatent/CN107741859A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention provides the software package management method based on domestic CPU and OS, apparatus and system, this method includes:At least one software kit is obtained, and determines the domestic CPU and domestic operating system that each software kit is applicable;Receive the query statement of any one client transmission;The CPU information and operation system information of client are determined according to query statement;The domestic CPU being applicable according to CPU information, operation system information and each software kit and domestic operating system generation software the package list, wherein, software kit list records have the attribute information of at least one software kit suitable for client;Software the package list is sent to client, so that client is shown to software the package list, and the software kit selected according to user from the software the package list shown generates download instruction;After the download instruction of client transmission is received, at least one software kit is sent to client according to download instruction.This programme can improve the usage experience of user.

Description

Software package management method, apparatus and system based on domestic CPU and OS
Technical field
The present invention relates to field of computer technology, software package management method, device more particularly to based on domestic CPU and OSAnd system.
Background technology
With the continuous development and progress of computer technology, central processing unit (the Central Processing of computerUnit, CPU) and operating system (Operating System, OS) also develop towards multifarious direction, occur based on differenceThe domestic CPU of framework and domestic operating system.When installing software on computers, the software installed needs the state with computerProduction CPU and domestic operating system match, and such software could successfully install and normal operation.
At present, user obtains and counted when installing software, it is necessary to according to the domestic CPU of computer and domestic operating systemThe software kit that domestic CPU and domestic operating system match on calculation machine is installed.
Has there is a variety of domestic CPU based on different frameworks and domestic operating system, therefore computer in China at presentUpper domestic CPU and domestic operating system have multiple combinations, and each domestic CPU and domestic operating system combination are all only capable ofSoftware that enough installation and operations match multiple is applied to the domestic CPU of difference and domestic operation system, it is necessary to possess with a softwareThe version of system combination.Because software version quantity is more, user is when installing new software or renewal has software, it is necessary to when longerBetween can just find the software kit to match with domestic CPU on computer and domestic operating system, cause the usage experience of userIt is poor.
The content of the invention
The embodiments of the invention provide the software package management method based on domestic CPU and OS, apparatus and system, it is possible to increaseThe usage experience of user.
In a first aspect, the embodiments of the invention provide a kind of software package management method based on domestic CPU and OS, it is applied toService end, at least one software kit is obtained, and determine the domestic CPU and domestic operation system that each described software kit is applicableSystem, in addition to:
Receive the query statement of any one client transmission;
The CPU information and operation system information of the client are determined according to query statement;
The domestic CPU that is applicable according to the CPU information, the operation system information and each described software kit andDomestic operating system generates software the package list, wherein, the software kit list records have at least one suitable for the clientThe attribute information of the individual software kit;
Described software the package list is sent to the client, so that the client is opened up to described software the package listShow, and the software kit selected according to user from the described software the package list shown generates download instruction;
After the download instruction that the client is sent is received, sent out according to the download instruction to the clientSend at least one software kit.
Alternatively,
Before the domestic CPU and domestic operating system that described each described software kit of determination is applicable, further wrapInclude:
According to the Setup Type of software kit, at least one one-level software package library is created in the service end, wherein, Mei GesuoState one-level software package library and correspond to a kind of Setup Type;
For one-level software package library each described, at least one two level software kit is created in the one-level software package libraryStorehouse, wherein, each two level software package library corresponds to a kind of domestic CPU and a kind of combination of domestic operating system;
For two level software package library each described, at least one three-level software kit is created in the two level software package libraryStorehouse, wherein, each three-level software package library corresponds to a kind of software type;
After domestic CPU used in described each described software kit of determination and domestic operating system, further wrapInclude:
For software kit each described, according to the Setup Type of the software kit, domestic CPU and domestic operation are applicableSystem and dbase, by software kit storage into the corresponding three-level software package library.
Alternatively,
It is described to store the software kit into the corresponding three-level software package library, including:
When the software kit is RPM type softwares installation kit or DEB type software installation kits, by the software kitCarry out dependence detection and determine the dependent software package of the software kit, and judge whether be stored with default first memory spaceThe dependent software package, if it is, by software kit storage into the corresponding three-level software package library, otherwise will it is described according toSoftware kit is relied to store the software kit into the corresponding three-level software kit after storing to first memory space;
It is described corresponding to arriving for when can directly perform type software installation kit, the software kit is stored when the software kitIn three-level software package library;
When the software kit is script Setup Type software installation bag, the installation foot for installing the software kit is createdThis, and after installation script storage is arrived into default second memory space, software kit storage is arrived corresponding describedIn 3rd software package library.
Alternatively,
After the domestic CPU and domestic operating system that described each described software kit of determination is applicable, further comprise:
Selection is suitable for the domestic CPU of same target and at least one software kit of the domestic operating system of target as meshMark software kit;
Send and carry at least one client for being provided with the domestic CPU of the target and the domestic operating system of the targetThe recommendation for having the attribute information of the target software bag instructs, so that at least one client recommends instruction to carry to describedThe attribute information of the target software bag be shown, and the target software bag generation acquisition selected according to user refers toOrder;
For each described client at least one client, when the institute for receiving the client transmissionAfter stating acquisition instruction, instructed according to described obtain to the target software bag corresponding to client transmission.
Second aspect, the embodiment of the present invention additionally provide a kind of software kit managing device based on domestic CPU and OS, applicationIn service end, including:Administrative unit, receiving unit, processing unit and transmitting element;
The administrative unit, for obtaining at least one software kit, and determine the state that each described software kit is applicableProduce CPU and domestic operating system;
The receiving unit, for receiving the query statement of any one client transmission;
The processing unit, for the query statement received according to the receiving unit, determine the clientCPU information and operation system information, it is and true according to the CPU information, the operation system information and the administrative unitThe domestic CPU and domestic operating system generation software the package list that each fixed software kit is applicable, wherein, the softwareThe package list record has the attribute information of at least one software kit suitable for the client;
The transmitting element, described software the package list the processing unit to be generated are sent to the client,So that the client is shown to described software the package list, and the client is set to be arranged according to the software kit shownThe software kit generation download instruction selected in table, and after the download instruction that the client is sent is received, according toThe download instruction sends at least one software kit to the client.
Alternatively,
The administrative unit includes:First creates subelement, the second establishment subelement, the 3rd establishment subelement and storageUnit;
Described first creates subelement, for the Setup Type according to software kit, is created in the service end at least oneOne-level software package library, wherein, each one-level software package library corresponds to a kind of Setup Type;
Described second creates subelement, for creating each described one-level software of subelement establishment for described firstParcel, at least one two level software package library is created in the one-level software package library, wherein, each two level software package library pairAnswer a kind of domestic CPU and a kind of combination of domestic operating system;
Described 3rd creates subelement, for creating each described two level software of subelement establishment for described secondParcel, at least one three-level software package library is created in the two level software package library, wherein, each three-level software package library pairAnswer a kind of software type;
The storing sub-units, for for software kit each described, according to the Setup Type of the software kit, fittingWith domestic CPU and domestic operating system and dbase, software kit storage to the described 3rd is created into subelement and createdAnd in the corresponding three-level software package library.
Alternatively,
The storing sub-units, for the Setup Type according to the software kit, perform following operation:
When the software kit is RPM type softwares installation kit or DEB type software installation kits, by the software kitCarry out dependence detection and determine the dependent software package of the software kit, and judge whether be stored with default first memory spaceThe dependent software package, if it is, by software kit storage into the corresponding three-level software package library, otherwise will it is described according toSoftware kit is relied to store the software kit into the corresponding three-level software kit after storing to first memory space;
It is described corresponding to arriving for when can directly perform type software installation kit, the software kit is stored when the software kitIn three-level software package library;
When the software kit is script Setup Type software installation bag, the installation foot for installing the software kit is createdThis, and after installation script storage is arrived into default second memory space, software kit storage is arrived corresponding describedIn 3rd software package library.
Alternatively,
The processing unit, it is further used for what is be applicable according to each described software kit that the administrative unit determinesDomestic CPU and domestic operating system, selection is suitable for the domestic CPU of same target and at least one institute of the domestic operating system of targetSoftware kit is stated as target software bag;
The transmitting element, it is further used for being provided with the domestic CPU of the target and the domestic operating system of the targetAt least one client send carry the target software bag attribute information recommendation instruction so that described at least oneClient recommends to instruct the attribute information of the target software bag carried to be shown to described, and the institute selected according to userState the generation of target software bag and obtain instruction;And for each described client at least one client, when connecingAfter receiving the acquisition instruction that the client is sent, instructed according to the acquisition described in corresponding to being sent to the clientTarget software bag.
The third aspect, the embodiment of the present invention additionally provide a kind of software package management system based on domestic CPU and OS, bagInclude:Any one the software kit managing device based on domestic CPU and OS and at least one client that second aspect provides;
Each described client, for being looked into described in the software kit managing device transmission based on domestic CPU and OSInstruction is ask, and the described software the package list sent to the software kit managing device based on domestic CPU and OS is shown, rootThe software kit selected according to user from described software the package list generates download instruction, and described the download instruction is sent toThe software kit managing device based on domestic CPU and OS is received after software kit managing device based on domestic CPU and OS to sendAt least one software kit.
Alternatively,
Each described client, it is further used for receiving the software kit managing device hair based on domestic CPU and OSThe recommendation instruction sent, recommend to instruct the attribute information of the target software bag carried to be shown to described, and according toThe target software bag generation of user's selection obtains instruction, the acquisition instruction is sent to described based on the soft of domestic CPU and OSThe target software bag that the software kit managing device based on domestic CPU and OS is sent is received after part bag managing device.
Alternatively,
Each described client, is further used for after the software kit is received, according to the installation of the software kitType, perform following operation:
If the software kit is RPM type softwares installation kit or DEB type software installation kits, detect whether that institute has been installedThe dependent software package of software kit is stated, if it is, being installed to the software kit, otherwise from described based on domestic CPU's and OSSoftware kit managing device downloads the dependent software package, and the software kit is pacified after the dependent software package is installedDress;
If the software kit is can directly perform type software bag, directly right after assigning the software kit execution authorityThe software kit is installed;
If the software kit is script Setup Type software kit, after assigning the software kit execution authority, described in executionInstallation script corresponding to software kit, the software kit is installed by the installation script.
Software package management method provided in an embodiment of the present invention based on domestic CPU and OS, apparatus and system are more obtainingIndividual software kit and after determining domestic CPU that each software kit is applicable and domestic operating system, can receive client transmissionQuery statement, software the package list according to corresponding to can generating query statement, and the software kit that software the package list is recorded is allClient is applied to, after software the package list is sent into client, user can be from software the package list on the clientDownload instruction corresponding to software kit generation needed for selection, can be to client after the download instruction of client transmission is receivedSoftware kit corresponding to transmission.As can be seen here, by having had confirmed domestic CPU and domestic behaviour that each software kit is applicableMake system, user only needs to send Query Information by client, and can get multiple software kits suitable for clientAttribute information, installed so as to therefrom select required software kit to be downloaded to client, during without expending longerBetween go search suitable for client software kit, so as to improve the usage experience of user.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existingThere is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are the present inventionSome embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basisThese accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow for software package management method based on domestic CPU and OS that one embodiment of the invention providesFigure;
Fig. 2 is a kind of flow for software kit storage method based on domestic CPU and OS that one embodiment of the invention providesFigure;
Fig. 3 is the stream for another software package management method based on domestic CPU and OS that one embodiment of the invention providesCheng Tu;
Fig. 4 is that a kind of software kit managing device place based on domestic CPU and OS that one embodiment of the invention provides is setStandby schematic diagram;
Fig. 5 is a kind of signal for software kit managing device based on domestic CPU and OS that one embodiment of the invention providesFigure;
Fig. 6 is showing for another software kit managing device based on domestic CPU and OS that one embodiment of the invention providesIt is intended to;
Fig. 7 is a kind of signal for software package management system based on domestic CPU and OS that one embodiment of the invention providesFigure.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present inventionIn accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment isPart of the embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the artThe every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of software package management method based on domestic CPU and OS, applicationIn service end, this method may comprise steps of:
Step 101:At least one software kit is obtained, and determines the domestic CPU and state that each described software kit is applicableProduce operating system;
Step 102:Receive the query statement of any one client transmission;
Step 103:The CPU information and operation system information of the client are determined according to query statement;
Step 104:It is applicable according to the CPU information, the operation system information and each described software kitDomestic CPU and domestic operating system generation software the package list, wherein, the software kit list records have suitable for the clientAt least one software kit attribute information;
Step 105:Described software the package list is sent to the client, so that the client is arranged the software kitTable is shown, and the software kit selected according to user from the described software the package list shown generates download instruction;
Step 106:After the download instruction that the client is sent is received, according to the download instruction to describedClient sends at least one software kit.
The embodiments of the invention provide a kind of software package management method based on domestic CPU and OS, is obtaining multiple softwaresAfter wrapping and determining domestic CPU that each software kit is applicable and domestic operating system, the inquiry of client transmission can be receivedInstruction, software the package list according to corresponding to can generating query statement, and the software kit that software the package list is recorded all is applicableIn client, after software the package list is sent into client, user can select institute from software the package list on the clientDownload instruction corresponding to the software kit generation needed, can be to client transmission pair after the download instruction of client transmission is receivedThe software kit answered.As can be seen here, by having had confirmed domestic CPU and domestic operation system that each software kit is applicableSystem, user only needs to send Query Information by client, and can get the category of multiple software kits suitable for clientProperty information, is installed so as to therefrom select required software kit to be downloaded to client, without expending longer timeThe software kit suitable for client is searched, so as to improve the usage experience of user.
Alternatively, each software kit is managed for convenience, each software kit classification storage that will can be gotTo service end, as shown in Fig. 2 specific storage method may comprise steps of:
Step 201:According to the Setup Type of software kit, at least one one-level software package library is created in service end, wherein oftenOne one-level software package library corresponds to a kind of Setup Type;
Step 202:At least one two level software package library, each of which two level are created in each one-level software package librarySoftware package library corresponds to a kind of domestic CPU and a kind of combination of domestic operating system;
Step 203:At least one three-level software package library, each of which three-level are created in each two level software package librarySoftware package library corresponds to a kind of software type;
Step 204:For each software kit, according to the Setup Type of the software kit, domestic CPU and domestic behaviour are applicableMake system and dbase, by software kit storage into corresponding three-level software package library.
Because software kit has different Setup Types, than if any RPM type softwares installation kit, the installation of DEB type softwaresBag, type software installation kit, script Setup Type software installation bag etc. can be directly performed, for the software to different Setup TypesBag carries out Classification Management, creates multiple one-level software package librarys in service end, each one-level software package library corresponds to a kind of Setup Type.For example 4 one-level software package librarys are created in service end, wherein, one-level software package library 1 is used to store RPM type software installation kits,One-level software package library 2 is used to store DEB type software installation kits, and one-level software package library 3 is used for storage, and can directly to perform type softPart installation kit, one-level software package library 4 are used to store script Setup Type software installation bag.
Because each software kit has applicable domestic CPU and applicable domestic operating system, for same softwareBag, only domestic CPU and domestic operating system equal where applicable software kit ability normal mounting and operation.For this each oneMultiple two level software package librarys are created in level software package library, each two level software package library corresponds to a kind of domestic CPU and one kind is domesticThe combination of operating system.For example 3 two level software package librarys are created in one-level software package library 1, wherein, two level software package library 1 is usedIt is applied to Godson 3A1000CPU and the RPM type software installation kits for kylin V6.0 operating systems combination of getting the bid in storage, two level is softPart parcel 2 is used to store the RPM type software installation kits combined suitable for FT1000CPU and milky way kylin V4.0 operating systems,It is soft suitable for Godson 3A2000CPU and kylin V7.0 operating systems combination of getting the bid RPM types that two level software package library 3 is used for storagePart installation kit.
With identical Setup Type, and the software combined suitable for identical domestic CPU and domestic operating system be surrounded by it is multiple,And same software can have the software kit of multiple different editions, in order to which the different editions software kit of same software is concentratedStorage, creates multiple three-level software package librarys in each two level software package library, and each three-level software package library is corresponding a kind of softPart type.For example 3 three-level software package librarys are created in two level software package library 1, wherein, three-level software package library 1 is used to store textThe software kit of word software for editing A each version, three-level software package library 2 are used for each version for storing photo handling software BSoftware kit, three-level software package library 3 are used for the software kit for storing instant communication software C each version, and two level software package library 1In 3 three-level software package library memory storages software kit be suitable for Godson 3A1000CPU and acceptance of the bid kylin V6.0 operating systemsThe RPM type software installation kits of combination.
According to the Setup Type of software kit, the CPU architecture being applicable, the operating system being applicable, dbase, three are createdThe software package library of individual rank, the software kit with identical Setup Type is stored into same one-level software package library, will be hadIdentical Setup Type and same two level software package library is arrived in software kit storage suitable for identical domestic CPU and domestic operating systemIn, by with identical Setup Type, suitable for identical domestic CPU and domestic operating system and corresponding to same software software kitStore in same three-level software package library.So, by building three-level package data, the tree-like pipe to software kit is realizedManage, can be according to Setup Type, the domestic CPU being applicable and domestic operating system and software type etc. to software kitIt is managed collectively so that it is more convenient that software kit is managed, while can improve the efficiency being managed to software kit.
Alternatively, as shown in Fig. 2 when by software kit storage into three-level software package library, according to the installation class of software kitFor type difference, it is necessary to be stored in different ways, specific storage mode can be as follows:
When a software kit is RPM type softwares installation kit or DEB type software installation kits, by entering to the software kitThe detection of row dependence determines the dependent software package of the software kit, and judges whether be stored with dependence in default first memory spaceSoftware kit, if it is, otherwise software kit storage is stored dependent software package to first into corresponding three-level software package libraryAfter memory space by software kit storage into corresponding three-level software kit;
When a software is that can directly perform type software installation kit, directly by software kit storage to corresponding three-levelIn software package library;
When a software kit is script Setup Type software installation bag, the installation foot for installing the software kit is createdThis, and after the installation script created storage is arrived into default second memory space, by software kit storage to corresponding theIn three software package librarys.
Due to RPM type softwares installation kit and DEB type software installation kits usually require to rely on the installation of other software bag andOperation, in order to ensure RPM type softwares installation kit or DEB type softwares installation kit can in client normal mounting and operation,Also need to store corresponding dependent software package, installed so that dependence bag is sent into client when needed.Therefore, depositingBefore storing up RPM type softwares installation kit or DEB type software installation kits, first choice is needed to detect whether in the first specified storageSpace stores corresponding dependent software package, if it is, directly installing RPM type softwares installation kit and DEB type softwaresOtherwise bag storage needs to the first memory space to exist corresponding dependence bag storage afterwards into corresponding three-level software package libraryBy RPM type softwares installation kit and the storage of DEB type softwares installation kit into corresponding three-level software package library.
Can be the memory space individually created for the first memory space for storing dependent software package, can alsoIt is the three-level software package library for storing RPM type softwares installation kit corresponding to dependent software package or DEB type software installation kits.
For can directly perform type software installation kit with suffix names such as .run or .exe, because this kind of software kit canInstallation is directly performed, without other ancillary methods, therefore is directly stored in corresponding three-level software package library.
Because script Setup Type software installation bag needs to be installed using installation script, in order to ensure that script installs classType software installation bag be sent to after client can normal mounting, by the storage of script Setup Type software installation bag to correspondingBefore in three-level software package library, it is necessary first to create the installation script of script Setup Type software installation bag, the peace that will be createdFill again that the storage of script Setup Type software installation bag is soft to corresponding three-level after script is stored to default second memory spaceIn part parcel.When sending script Setup Type software installation bag to client, it is necessary to by the script Setup Type software installationInstallation script corresponding to bag occurs to client together.
For the second memory space for storing installation script, can be the memory space that individually creates orFor storing the three-level software package library of script Setup Type software installation bag corresponding to the installation script.
Alternatively, the method to client transmission software kit shown in Fig. 1 is a kind of passive mode, is receiving clientQuery statement after complete the transmission of software kit, in addition, determining domestic CPU that each software kit is applicable and domesticAfter operating system, software kit can also be sent to client by active mode, as shown in figure 3, this actively sends software kitMethod may comprise steps of:
Step 301:Selection is made suitable for the domestic CPU of same target and at least one software kit of the domestic operating system of targetFor target software bag;
Step 302:Sent to the multiple client for being provided with the domestic CPU of target and the domestic operating system of target and carry meshThe recommendation instruction of the attribute information of software kit is marked, so that each client is believed the attribute for recommending to instruct the target software bag carriedBreath is shown, and the target software bag generation selected according to user obtains instruction;
Step 303:For each client, after the acquisition instruction of client transmission is received, instructed according to obtainingTo target software bag corresponding to client transmission.
After domestic CPU that each software kit is applicable and domestic operating system is determined, identical domestic CPU will be applied toWith multiple software kits of domestic operating system the attribute information of each target software bag is carried as target software bag, productionRecommend instruction, domestic CPU and multiple clients of domestic operating system are applicable with target software bag by recommending order bloc to issueEnd, after each client is to recommending to instruct the attribute information of each target software bag of carrying to be shown, selected according to userInstruction is obtained corresponding to the target software bag generation selected, by corresponding target after the acquisition instruction of client transmission is receivedSoftware is sent to client.So, user can use client without sending query statement by client according to userDomestic CPU and domestic operating system recommend available software kit to user, user only needs therefrom to select required software kitThe download and installation of software kit can be achieved, can equally lift the usage experience of user.
For example, chi is stored in into 50 software kits in two level software package library 1 as target software bag, from can communicate andIt is provided with the multiple client of Godson 3A1000CPU and kylin V6.0 operating systems of getting the bid and selects 100 clients as meshClient is marked, the recommendation that the attribute information for carrying above-mentioned 50 target software bags is sent to this 100 destination clients instructs.Each destination client is after recommendation instruction is received, the attribute information progress of 50 target softwares to recommending to instruct carryingDisplaying, and obtain instruction corresponding to the one or more target softwares generation selected according to user from 50 target softwares.After receiving the acquisition instruction that a destination client is sent, corresponding one or more software kits are sent according to instruction is obtainedGive the destination client.
It for the software packet transmission method shown in Fig. 2, can periodically carry out, circulate to different domestic CPU and stateThe client for producing operating system combination sends and recommends instruction, ensures that user can obtain new software kit in time and be installed or rightSoftware has been installed to be updated.
In above-mentioned each embodiment, the attribute information of software kit and the attribute information of target software bag, it may each compriseThe title of corresponding software package, version number, it is applicable domestic CPU, is applicable the letter such as domestic operating system, configuration requirement and software introductionBreath.
As shown in Figure 4, Figure 5, the embodiments of the invention provide a kind of software kit managing device based on domestic CPU and OS.Device embodiment can be realized by software, can also be realized by way of hardware or software and hardware combining.From hardware viewFor, as shown in figure 4, being equipment where the software kit managing device provided in an embodiment of the present invention based on domestic CPU and OSA kind of hardware structure diagram, in addition to the processor shown in Fig. 4, internal memory, network interface and nonvolatile memory, implementEquipment in example where device can also generally include other hardware, such as be responsible for the forwarding chip of processing message.With softwareIt is to be deposited by the CPU of equipment where it by non-volatile as shown in figure 5, as the device on a logical meaning exemplified by realizationCorresponding computer program instructions read what operation in internal memory was formed in reservoir.The present embodiment provide based on domestic CPU andOS software kit managing device, including:Administrative unit 501, receiving unit 502, processing unit 503 and transmitting element 504;
Administrative unit 501, for obtaining at least one software kit, and determine the domestic CPU that each software kit is applicableWith domestic operating system;
Receiving unit 502, for receiving the query statement of any one client transmission;
Processing unit 503, for the query statement received according to receiving unit 502, determine client CPU information andOperation system information, and each software kit determined according to CPU information, operation system information and administrative unit 501 is fittedDomestic CPU and domestic operating system generation software the package list, wherein, software kit list records have suitable for client extremelyThe attribute information of a few software kit;
Transmitting element 504, software the package list processing unit 503 to be generated is sent to client, so that clientSoftware the package list is shown, and client is referred to according to the software kit generation download selected in the software the package list shownOrder, and after the download instruction of client transmission is received, at least one software kit is sent to client according to download instruction.
Alternatively, on the basis of shown in Fig. 5 based on domestic CPU and OS software kit managing device, as shown in fig. 6, pipeReason unit 501 can include:First, which creates subelement 5011, second, creates the establishment subelement 5013 of subelement the 5012, the 3rd andStoring sub-units 5014;
First creates subelement 5011, and for the Setup Type according to software kit, at least one one-level is created in service endSoftware package library, wherein, each one-level software package library corresponds to a kind of Setup Type;
Second creates subelement 5012, for creating each one-level software kit of the establishment of subelement 5011 for firstStorehouse, at least one two level software package library is created in one-level software package library, wherein, each two level software package library is corresponding a kind of domesticCPU and a kind of combination of domestic operating system;
3rd creates subelement 5013, for creating each two level software kit of the establishment of subelement 5012 for secondStorehouse, at least one three-level software package library is created in two level software package library, wherein, each three-level software package library corresponds to a kind of softwareType;
Storing sub-units 5014, for for each software kit, according to the Setup Type of software kit, be applicable it is domesticCPU and domestic operating system and dbase, software kit storage is created and corresponding to the 3rd establishment subelement 5013In three-level software package library.
Alternatively, on the basis of shown in Fig. 6 based on domestic CPU and OS software kit managing device,
Storing sub-units 5014 are used for the Setup Type according to software kit, perform following operation:
When software kit is RPM type softwares installation kit or DEB type software installation kits, by relying on software kitProperty detection determine the dependent software package of software kit, and judge dependent software package whether is stored with default first memory space,If it is, otherwise software kit storage is stored dependent software package to the first memory space into corresponding three-level software package libraryAfterwards by software kit storage into corresponding three-level software kit;
When software kit is that can directly perform type software installation kit, by software kit storage to corresponding three-level software package libraryIn;
When software kit is script Setup Type software installation bag, the installation script for installing software kit is created, andAfter installation script storage is arrived into default second memory space, by software kit storage into corresponding 3rd software package library.
Alternatively, on the basis of shown in Fig. 5 or Fig. 6 based on domestic CPU and OS software kit managing device,
Processing unit 503, be further used for according to the domestic CPU that is applicable of each software kit that administrative unit determines withDomestic operating system, at least one software kit conduct of the selection suitable for the domestic CPU of same target and the domestic operating system of targetTarget software bag;
Transmitting element 504, it is further used for being provided with least one of the domestic CPU of target and the domestic operating system of targetClient sends the recommendation instruction for the attribute information for carrying target software bag, so that at least one client is to recommending instruction to takeThe attribute information of the target software bag of band is shown, and the target software bag generation selected according to user obtains instruction;AndFor each client at least one client, after the acquisition instruction of client transmission is received, referred to according to acquisitionMake to target software bag corresponding to client transmission.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive methodExample is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
As shown in fig. 7, one embodiment of the invention provides a kind of software package management system based on domestic CPU and OS,Including:Any one the software kit managing device 701 based on domestic CPU and OS and at least one client that above-described embodiment providesEnd 702;
Each client 702, for sending query statement to the software kit managing device 701 based on domestic CPU and OS,And the software the package list sent to the software kit managing device 701 based on domestic CPU and OS is shown, according to user from softwareThe software kit generation download instruction selected in the package list, and download instruction is being sent to the software kit based on domestic CPU and OSAt least one software kit that the software kit managing device 701 based on domestic CPU and OS is sent is received after managing device 701.
Alternatively, on the basis of the software package management system based on domestic CPU and OS shown in Fig. 7, each client702 are further used for receiving the recommendation instruction that the software kit managing device 701 based on domestic CPU and OS is sent, and recommendation is referred toMake the attribute information of the target software bag carried be shown, obtained and referred to according to corresponding to the target software bag generation that user selectsOrder, it will obtain after instruction is sent to the software kit managing device 701 based on domestic CPU and OS and receive based on domestic CPU's and OSThe target software bag that software kit managing device 701 is sent.
Software kit managing device based on domestic CPU and OS can be according to client domestic CPU and domestic operating system,Sent to client and recommend instruction, recommend to carry the attribute information of multiple software kits suitable for client in instruction.ClientEnd, to recommending to instruct the attribute information of each software kit carried to be shown, is carried out after instruction to be recommended is received for userSelection.In each software kit that user shows from client after software kit needed for selection, client forms corresponding obtain and instructed,And the acquisition instruction of formation is sent to the software kit managing device based on domestic CPU and OS.Software based on domestic CPU and OSBag managing device sends the required software kit of user's selection according to the acquisition instruction received to client.
Based on domestic CPU of the domestic CPU and OS software kit managing device according to client and domestic operating system, activeRecommend available software kit to client, user selects the software kit managing device based on domestic CPU and OS to push away on the clientAfter the software kit recommended, directly selected software kit can be downloaded in client, reduce user oneself search needed for andSuitable for the trouble of the software kit of used client, the usage experience of user is improved.
Alternatively, on the basis of the software package management system based on domestic CPU and OS shown in Fig. 7, each client702 after the software kit of the transmission of the software kit managing device 701 based on domestic CPU and OS is received, receive for eachSoftware kit, be performed both by operating as follows:
If software kit is RPM type softwares installation kit or DEB type software installation kits, detect whether that software kit has been installedDependent software package, if it is, being installed to software kit, otherwise from the software kit managing device 701 based on domestic CPU and OSDependent software package is downloaded, and software kit is installed after dependent software package is installed;
If software kit after assigning software kit execution authority, directly enters can directly to perform type software bag to software kitRow installation;
If software kit is script Setup Type software kit, after assigning software kit execution authority, corresponding to software package executableInstallation script, software kit is installed by installation script.
Because the software kit of different Setup Types has different mounting means, RPM type softwares installation kit and DEB are installedNeed that corresponding dependent software package is installed before type software installation kit, need to obtain before installation script Setup Type software kitCorresponding installation script.According to the Setup Type of software kit, software kit is carried out using corresponding mounting means and installed, is protectedCard can be installed successfully to software kit, improve the success rate of software kit installation.
It should be noted that the mount message of software kit is stored in local, together by each client after software kit is installedWhen the mount message of software kit is sent to the software kit managing device based on domestic CPU and OS.So, based on domestic CPU andOS software kit managing device can targetedly be recommended according to the software installation information of each client to each clientThe software kit of new software kit or redaction so that the software kit recommended to user more conforms to the demand of user, so as to enterOne step improves the user satisfaction of user.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, and execute instruction is stored with the computer-readable recording medium, when storage is controlledDescribed in the computing device of device processed during execute instruction, the storage control perform that above-mentioned each embodiment provides based on domesticCPU and OS software package management method.
The embodiment of the present invention additionally provides a kind of storage control, including:Processor, memory and bus;
The memory is used to store execute instruction, and the processor is connected with the memory by the bus, whenDuring the storage control operation, the execute instruction of memory storage described in the computing device, so that the storageController performs the software package management method based on domestic CPU and OS that above-mentioned each embodiment provides.
In summary, each embodiment of the present invention provides the software package management method based on domestic CPU and OS, device andSystem, at least have the advantages that:
1st, in embodiments of the present invention, multiple software kits are being obtained and are determining the domestic CPU that each software kit is applicableAfter domestic operating system, the query statement of client transmission can be received, corresponding software can be generated according to query statementThe package list, and the software kit that software the package list is recorded all applies to client, and software the package list is sent into clientAfterwards, on the client user can be selected from software the package list required software kit generate corresponding to download instruction, receivingSoftware kit corresponding to being sent after the download instruction sent to client to client.As can be seen here, due to having confirmedThe domestic CPU and domestic operating system that each software kit is applicable, user only need to send Query Information by client,And the attribute information of multiple software kits suitable for client can be got, so as to therefrom select under required software kitIt is loaded onto client to be installed, goes to search the software kit suitable for client without expending longer time, so as to improveThe usage experience of user.
2nd, in embodiments of the present invention, by building three-level package data, the tree-like management to software kit is realized,Software kit can be carried out according to Setup Type, the domestic CPU being applicable and domestic operating system and software type etc.Unified management so that it is more convenient to be managed to software kit, while can improve the efficiency being managed to software kit.
3rd, in embodiments of the present invention, domestic CPU that can be according to client and domestic operating system, actively to clientRecommend available software kit, user selects the software that the software kit managing device based on domestic CPU and OS is recommended on the clientBao Hou, directly selected software kit can be downloaded in client, reduce needed for user oneself lookup and be applied to instituteUsing the trouble of the software kit of client, the usage experience of user is improved.
4th, in embodiments of the present invention, because the software kit of different Setup Types has different mounting means, RPM is installedNeed that corresponding dependent software package, installation script installation class are installed before type software installation kit and DEB type softwares installation kitNeed to obtain corresponding installation script before type software kit.According to the Setup Type of software kit, using corresponding mounting meansCarry out software kit to be installed, guarantee that successfully software kit is installed, improve the success rate of software kit installation.
It should be noted that herein, such as first and second etc relational terms are used merely to an entityOr operation makes a distinction with another entity or operation, and not necessarily require or imply and exist between these entities or operationAny this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements,But also the other element including being not expressly set out, or also include solid by this process, method, article or equipmentSome key elements.In the absence of more restrictions, by sentence " including the key element that a 〃 〃 " is limited, it is not excluded thatOther identical factor in the process including the key element, method, article or equipment also be present.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass throughProgrammed instruction related hardware is completed, and foregoing program can be stored in computer-readable storage medium, the programUpon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or lightDisk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present inventionArt scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention,Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

CN201711068440.0A2017-11-032017-11-03Software package management method, apparatus and system based on domestic CPU and OSPendingCN107741859A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711068440.0ACN107741859A (en)2017-11-032017-11-03Software package management method, apparatus and system based on domestic CPU and OS

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711068440.0ACN107741859A (en)2017-11-032017-11-03Software package management method, apparatus and system based on domestic CPU and OS

Publications (1)

Publication NumberPublication Date
CN107741859Atrue CN107741859A (en)2018-02-27

Family

ID=61233162

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711068440.0APendingCN107741859A (en)2017-11-032017-11-03Software package management method, apparatus and system based on domestic CPU and OS

Country Status (1)

CountryLink
CN (1)CN107741859A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109739532A (en)*2018-12-132019-05-10北京计算机技术及应用研究所A kind of Oftware updating method in home-make Linux operating system
CN111290775A (en)*2020-04-022020-06-16麒麟软件有限公司Automatic classification method and system for software package types of Linux system
CN111831291A (en)*2020-06-222020-10-27中孚信息股份有限公司Installation package conversion construction and conversion system and method
CN112083951A (en)*2020-09-242020-12-15中国人民解放军国防科技大学Software package unified management method and system supporting multiple operating system platforms
CN112106025A (en)*2017-05-152020-12-18三星电子株式会社Server for providing software platform and method for operating server
CN112350980A (en)*2019-08-092021-02-09中兴通讯股份有限公司Software package transmission method, software package transmission verification method, network equipment and storage medium
CN113076115A (en)*2021-04-212021-07-06扬州万方电子技术有限责任公司Basic software packaging method based on domestic platform
CN115080601A (en)*2022-05-272022-09-20浪潮软件集团有限公司Domestic CPU and OS based heterogeneous terminal unified platform management method and system
CN115098113A (en)*2022-05-272022-09-23浪潮软件集团有限公司Domestic CPU terminal software autonomous distribution method and device
CN115359299A (en)*2022-08-252022-11-18上海人工智能创新中心Image target detection method, device and equipment
CN117806672A (en)*2023-11-292024-04-02宁德时代(上海)智能科技有限公司 OTA upgrade method, system, device, server and car terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101119517A (en)*2007-07-122008-02-06深圳市融合视讯科技有限公司Method of automatic downloading software from network server
CN101788917A (en)*2010-02-262010-07-28浪潮(北京)电子信息产业有限公司Deployment method of utility software and the system thereof
CN101872309A (en)*2010-01-152010-10-27腾讯科技(深圳)有限公司Method, system and client for downloading software installation packages
CN102004654A (en)*2010-11-182011-04-06中兴通讯股份有限公司Software installation method and device
CN107168742A (en)*2017-05-192017-09-15中南大学Application quick deployment method based on customization Android platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101119517A (en)*2007-07-122008-02-06深圳市融合视讯科技有限公司Method of automatic downloading software from network server
CN101872309A (en)*2010-01-152010-10-27腾讯科技(深圳)有限公司Method, system and client for downloading software installation packages
CN101788917A (en)*2010-02-262010-07-28浪潮(北京)电子信息产业有限公司Deployment method of utility software and the system thereof
CN102004654A (en)*2010-11-182011-04-06中兴通讯股份有限公司Software installation method and device
CN107168742A (en)*2017-05-192017-09-15中南大学Application quick deployment method based on customization Android platform

Cited By (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112106025A (en)*2017-05-152020-12-18三星电子株式会社Server for providing software platform and method for operating server
CN109739532B (en)*2018-12-132022-05-27北京计算机技术及应用研究所Software updating method on domestic Linux operating system
CN109739532A (en)*2018-12-132019-05-10北京计算机技术及应用研究所A kind of Oftware updating method in home-make Linux operating system
CN112350980B (en)*2019-08-092023-06-06中兴通讯股份有限公司 A software package transmission, transmission verification method, network device and storage medium
CN112350980A (en)*2019-08-092021-02-09中兴通讯股份有限公司Software package transmission method, software package transmission verification method, network equipment and storage medium
CN111290775A (en)*2020-04-022020-06-16麒麟软件有限公司Automatic classification method and system for software package types of Linux system
CN111831291A (en)*2020-06-222020-10-27中孚信息股份有限公司Installation package conversion construction and conversion system and method
CN112083951A (en)*2020-09-242020-12-15中国人民解放军国防科技大学Software package unified management method and system supporting multiple operating system platforms
CN112083951B (en)*2020-09-242024-05-14中国人民解放军国防科技大学Unified software package management method and system supporting multiple operating system platforms
CN113076115B (en)*2021-04-212023-12-26扬州万方科技股份有限公司Basic software packaging method based on domestic platform
CN113076115A (en)*2021-04-212021-07-06扬州万方电子技术有限责任公司Basic software packaging method based on domestic platform
CN115098113A (en)*2022-05-272022-09-23浪潮软件集团有限公司Domestic CPU terminal software autonomous distribution method and device
CN115080601A (en)*2022-05-272022-09-20浪潮软件集团有限公司Domestic CPU and OS based heterogeneous terminal unified platform management method and system
CN115359299A (en)*2022-08-252022-11-18上海人工智能创新中心Image target detection method, device and equipment
CN115359299B (en)*2022-08-252024-06-11上海人工智能创新中心Image target detection method, device and equipment
CN117806672A (en)*2023-11-292024-04-02宁德时代(上海)智能科技有限公司 OTA upgrade method, system, device, server and car terminal

Similar Documents

PublicationPublication DateTitle
CN107741859A (en)Software package management method, apparatus and system based on domestic CPU and OS
EP2989543B1 (en)Method and device for updating client
US7275243B2 (en)Mobile download system
CN103329113B (en)Configuration is accelerated and custom object and relevant method for proxy server and the Dynamic Website of hierarchical cache
CN100541479C (en)Method and apparatus for managing bookmark information for content stored in networked media server
CN1517885B (en)Method and system for updating central cache by atomicity
CN107911249B (en)Method, device and equipment for sending command line of network equipment
CN104216724B (en)A kind of method and system of web application interface upgrade
CN109656889B (en)File system implementation method, device, equipment and storage medium based on block chain
CN109391664A (en)System and method for the deployment of more cluster containers
US20130227085A1 (en)Terminal and method for using cloud services
CN112699219B (en)Log searching method and device
KR102396793B1 (en)Systems and methods for loading websites with multiple items
CN106095483A (en)The Automation arranging method of service and device
CN107203532A (en)Construction method, the implementation method of search and the device of directory system
CN106131113A (en)A kind of resource downloading method, device, system and Resource Server
US8531707B2 (en)Systems and methods for executing forms
CN108234551A (en)A kind of data processing method and device
JP5886901B2 (en) Storage medium for providing system, method and program for managing distribution of contents to apparatus
CN107968812A (en)The method and device of synchronous local resource and Internet resources
CN106302861A (en)A kind of address distribution method and device
CN110231923A (en)Data managing method and device
CN102833295B (en)Data manipulation method and device in distributed cache system
US20140040479A1 (en)Method for a self organizing load balance in a cloud file server network
US20020107921A1 (en)Work-flow cooperation processing apparatus, work-flow cooperation processing system, work-flow-system cooperation method, program therefor, and recording medium therefor

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20180227

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp