CN109871216A - A kind of software deployment method, server and terminal - Google Patents
A kind of software deployment method, server and terminal Download PDFInfo
- Publication number
- CN109871216A CN109871216A CN201811588337.3A CN201811588337A CN109871216A CN 109871216 A CN109871216 A CN 109871216A CN 201811588337 A CN201811588337 A CN 201811588337A CN 109871216 A CN109871216 A CN 109871216A
- Authority
- CN
- China
- Prior art keywords
- component
- terminal
- server
- terminal models
- models
- 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
Abstract
The embodiment of the present invention provides a kind of software deployment method, server and terminal, and method includes: to receive the acquisition request for the second component that terminal is sent, and second component is to component related with terminal models in deployment software;It obtains the terminal models of the terminal, and the second component of target corresponding with the terminal models is obtained according to preset relation, it is so that the terminal is according to the first assembly being previously deployed in local, second component of target is locally downloading, and disposed;Wherein, it is described to component unrelated with the terminal models in deployment software that the preset relation, which includes corresponding relationship between default terminal models and default second component, the first assembly,.Server executes the above method;Terminal executes another method.Software deployment method, server and terminal provided in an embodiment of the present invention, can facilitate deployment software.
Description
Technical field
The present embodiments relate to software technology fields, and in particular to a kind of software deployment method, server and terminal.
Background technique
Business management software be it is enterprise-oriented, can help company manager's optimized work flow, improve working efficiency
Information system, with the development of mobile terminal (such as mobile phone) technology, more and more enterprises pass through Enterprise Mobile terminal
Management software carrys out auxiliary enterprises management.
In android system, realize that terminal management is related with the method for control function and the terminal models of terminal.It is looking forward to
Industry mobile terminal administration field, is often packaged different APK according to different terminal models.And client is in deployment Enterprise Mobile
When terminal management software, toward the uncertain terminal models that will be purchased of contact, lead to that client can not be consigned in deployment software
Available APK, can only be after client purchases terminal and determines terminal models, then is packaged corresponding APK and is delivered, and makes as a result,
At inconvenience during deployment software.
Therefore, how drawbacks described above is avoided, facilitates deployment software, becoming need solve the problems, such as.
Summary of the invention
In view of the problems of the existing technology, the embodiment of the present invention provides a kind of software deployment method, server and terminal.
In a first aspect, the embodiment of the present invention provides a kind of software deployment method, which comprises
Receive terminal send the second component acquisition request, second component be in deployment software with terminal models
Related component;
It obtains the terminal models of the terminal, and target corresponding with the terminal models the is obtained according to preset relation
Second component of target is downloaded to this so that the terminal is according to the first assembly being previously deployed in local by two components
Ground, and disposed;Wherein, the preset relation include corresponding relationship between default terminal models and default second component,
The first assembly is described to component unrelated with the terminal models in deployment software.
Second aspect, the embodiment of the present invention also provide a kind of software deployment method, which comprises
The acquisition request of the second component is sent to server, second component is to have in deployment software with terminal models
The component of pass, so that the server obtains terminal models, and it is corresponding with the terminal models according to preset relation acquisition
The second component of target;Wherein, second component is to component related with terminal models in deployment software, the preset relation
Including presetting the corresponding relationship between terminal models and default second component;
If detecting, local disposition has first assembly, and second component of target is locally downloading from the server,
And it is disposed;Wherein, the first assembly is described to component unrelated with the terminal models in deployment software.
The third aspect, the embodiment of the present invention also provide a kind of server, the server, comprising:
Receiving module, the acquisition request of the second component for receiving terminal transmission, second component is soft wait dispose
Component related with terminal models in part;
Module is obtained, is obtained and the terminal models for obtaining the terminal models of the terminal, and according to preset relation
Corresponding the second component of target, so that the terminal is according to the first assembly being previously deployed in local, by the target
Two components are locally downloading, and are disposed;Wherein, the preset relation include default terminal models and default second component it
Between corresponding relationship, the first assembly be described to component unrelated with the terminal models in deployment software.
Fourth aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising: first processor, first memory and the
One bus, wherein
The first processor and the first memory complete mutual communication by first bus;
The first memory is stored with the program instruction that can be executed by the first processor, the first processor tune
Following method is able to carry out with described program instruction:
Receive terminal send the second component acquisition request, second component be in deployment software with terminal models
Related component;
It obtains the terminal models of the terminal, and target corresponding with the terminal models the is obtained according to preset relation
Second component of target is downloaded to this so that the terminal is according to the first assembly being previously deployed in local by two components
Ground, and disposed;Wherein, the preset relation include corresponding relationship between default terminal models and default second component,
The first assembly is described to component unrelated with the terminal models in deployment software.
5th aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, comprising:
The non-transient computer readable storage medium stores computer instruction, and the computer instruction makes the computer
Execute following method:
Receive terminal send the second component acquisition request, second component be in deployment software with terminal models
Related component;
It obtains the terminal models of the terminal, and target corresponding with the terminal models the is obtained according to preset relation
Second component of target is downloaded to this so that the terminal is according to the first assembly being previously deployed in local by two components
Ground, and disposed;Wherein, the preset relation include corresponding relationship between default terminal models and default second component,
The first assembly is described to component unrelated with the terminal models in deployment software.
6th aspect, the embodiment of the present invention also provide a kind of terminal, and the terminal includes:
Transmission unit, for sending the acquisition request of the second component to server, second component is to deployment software
In component related with terminal models, for the server obtain terminal models, and according to preset relation obtain with the end
Hold corresponding the second component of target of model;Wherein, second component is to related with terminal models group in deployment software
Part, the preset relation include the corresponding relationship between default terminal models and default second component;
Deployment unit, if for detecting that local disposition has first assembly, by second component of target from the service
Device is locally downloading, and is disposed;Wherein, the first assembly is described to unrelated with the terminal models in deployment software
Component.
7th aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising: second processor, second memory and the
Two lines bus, wherein
The second processor and the second memory complete mutual communication by second bus;
The second memory is stored with the program instruction that can be executed by the second processor, the second processor tune
Following method is able to carry out with described program instruction:
The acquisition request of the second component is sent to server, second component is to have in deployment software with terminal models
The component of pass, so that the server obtains terminal models, and it is corresponding with the terminal models according to preset relation acquisition
The second component of target;Wherein, second component is to component related with terminal models in deployment software, the preset relation
Including presetting the corresponding relationship between terminal models and default second component;
If detecting, local disposition has first assembly, and second component of target is locally downloading from the server,
And it is disposed;Wherein, the first assembly is described to component unrelated with the terminal models in deployment software.
Eighth aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, comprising:
The non-transient computer readable storage medium stores computer instruction, and the computer instruction makes the computer
Execute following method:
The acquisition request of the second component is sent to server, second component is to have in deployment software with terminal models
The component of pass, so that the server obtains terminal models, and it is corresponding with the terminal models according to preset relation acquisition
The second component of target;Wherein, second component is to component related with terminal models in deployment software, the preset relation
Including presetting the corresponding relationship between terminal models and default second component;
If detecting, local disposition has first assembly, and second component of target is locally downloading from the server,
And it is disposed;Wherein, the first assembly is described to component unrelated with the terminal models in deployment software.
Software deployment method, server and terminal provided in an embodiment of the present invention, first in the server obtain with wait dispose
Corresponding the second component of target of terminal models of terminal where software, then make the terminal according to being previously deployed in local
First assembly, second component of target is locally downloading, and disposed, deployment software can be facilitated.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is software deployment of embodiment of the present invention method flow schematic diagram;
Fig. 2 is another embodiment of the present invention software deployment method flow schematic diagram;
Fig. 3 is another embodiment of the present invention software deployment method flow schematic diagram;
Fig. 4 is server architecture of embodiment of the present invention schematic diagram;
Fig. 5 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention;
Fig. 6 is the terminal of that embodiment of the invention structural schematic diagram;
Fig. 7 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is software deployment of embodiment of the present invention method flow schematic diagram, as shown in Figure 1, provided in an embodiment of the present invention
A kind of software deployment method, comprising the following steps:
S101: receive terminal send the second component acquisition request, second component be in deployment software with end
Hold the related component of model.
Specifically, the acquisition request for the second component that server receiving terminal is sent, second component is soft wait dispose
Component related with terminal models in part.Software can be understood as Enterprise Mobile terminal management software, it should be understood that the enterprise
Industry mobile terminal administration software includes two components, respectively first assembly and the second component, wherein first assembly and terminal type
Number unrelated, the second component and terminal models are related.Fig. 2 is another embodiment of the present invention software deployment method flow schematic diagram, such as
Shown in Fig. 2, by taking android system as an example, " TrustDevice.apk " in the second component corresponding diagram 2, in terminal corresponding diagram 2
" user ".
S102: the terminal models of the terminal are obtained, and corresponding with the terminal models according to preset relation acquisition
The second component of target will be under second component of target so that the terminal is according to the first assembly being previously deployed in local
It is downloaded to local, and is disposed;Wherein, the preset relation includes corresponding between default terminal models and default second component
Relationship, the first assembly are described to component unrelated with the terminal models in deployment software.
Specifically, server obtains the terminal models of the terminal, and obtained and the terminal models according to preset relation
Corresponding the second component of target, so that the terminal is according to the first assembly being previously deployed in local, by the target
Two components are locally downloading, and are disposed;Wherein, the preset relation include default terminal models and default second component it
Between corresponding relationship, the first assembly be described to component unrelated with the terminal models in deployment software.Reference Fig. 2,
" Installer.apk " in first assembly corresponding diagram 2.Be illustrated below: the corresponding relationship that preset relation includes has default
Terminal models A~default second component TrustDevice1.apk, default terminal models B~default second component
TrustDevice2.apk etc., if the terminal models got are A, according to above-mentioned default terminal models A~default the
Two component TrustDevice1.apk, using TrustDevice1.apk as the second component of target corresponding with A;If got
Terminal models be B, then, will according to above-mentioned default terminal models B~default second component TrustDevice2.apk
TrustDevice2.apk is as the second component of target corresponding with B.
Software deployment method provided in an embodiment of the present invention first obtains in the server and to terminal where deployment software
Corresponding the second component of target of terminal models, then make the terminal according to the first assembly being previously deployed in local, by this
The second component of target is locally downloading, and is disposed, and deployment software can be facilitated.
On the basis of the above embodiments, the terminal models for obtaining the terminal, comprising:
The request for obtaining terminal models is sent to the terminal.
Specifically, server sends the request for obtaining terminal models to the terminal.The request can be server and connect
After the acquisition request for receiving the second component that terminal is sent, trigger immediately.
The response message that the terminal is returned for the request is received, the response message carries the terminal type
Number.
Specifically, server receives the response message that the terminal is returned for the request, the response message is carried
There are the terminal models.I.e. this step is to obtain terminal models by the way of request-response.
Or,
The acquisition request carries the terminal models;Correspondingly, the acquisition request is parsed, to obtain the terminal
Model.
Specifically, the acquisition request carries the terminal models;It is asked correspondingly, the server parses the acquisition
It asks, to obtain the terminal models.I.e. this step is in such a way that acquisition request carries terminal models, so that terminal is connecing
When receiving acquisition request, so that it may parse terminal models.
Software deployment method provided in an embodiment of the present invention obtains the terminal models of terminal by specific mode, guarantees
The technical solution can be normally carried out.
Fig. 3 is another embodiment of the present invention software deployment method flow schematic diagram, as shown in figure 3, the embodiment of the present invention mentions
A kind of software deployment method supplied, comprising the following steps:
S301: send the second component acquisition request to server, second component be in deployment software with terminal
The related component of model so that the server obtains terminal models, and obtains and the terminal models phase according to preset relation
Corresponding the second component of target;Wherein, second component is to component related with terminal models in deployment software, described pre-
If relationship includes the corresponding relationship between default terminal models and default second component.
Specifically, terminal sends the acquisition request of the second component to server, second component is in deployment software
Component related with terminal models so that the server obtains terminal models, and obtains and the terminal according to preset relation
Corresponding the second component of target of model;Wherein, second component be to component related with terminal models in deployment software,
The preset relation includes the corresponding relationship between default terminal models and default second component.Illustrating, which can refer to, states
It is bright, it repeats no more.
S302: if detecting, local disposition has first assembly, and second component of target is downloaded to from the server
It is local, and disposed;Wherein, the first assembly is described to component unrelated with the terminal models in deployment software.
Specifically, if terminal detects that local disposition has first assembly, by second component of target from the server
It is locally downloading, and disposed;Wherein, the first assembly is described to unrelated with the terminal models in deployment software
Component.It can specifically include:
If detecting, local disposition has first assembly, obtains the mark of the first assembly.Mark can be first assembly
Title, number etc., be not especially limited.
Transmission downloads request to the server, so that the server after being verified the mark, generates institute
State the download address of the second component of target;Wherein, the downloading request carries the mark.It should be understood that servicing
It can be previously provided with default home banking in device, be stored with all default marks in the default home banking, taken when in downloading request
When the mark of band is stored in the default mark in the default home banking, then it is verified;Otherwise, verifying does not pass through.
The download address that the server is returned for the downloading request is received, and will according to the download address
Second component of target is locally downloading from the server.This step is this field mature technology, is repeated no more.
Further, before the step of sending acquisition request to the server of the second component, the method also includes:
The first assembly is downloaded to local from the server, and is disposed.Specifically by the first assembly from
The server is downloaded to local implementation, can download to the second component of target from the server using with above-mentioned
Local identical mode, is not especially limited.
Software deployment method provided in an embodiment of the present invention first obtains in the server and to terminal where deployment software
Corresponding the second component of target of terminal models, then make the terminal according to the first assembly being previously deployed in local, by this
The second component of target is locally downloading, and is disposed, and deployment software can be facilitated.
On the basis of the above embodiments, if described detect that local disposition has first assembly, by second group of the target
Part is locally downloading from the server, comprising:
If detecting, local disposition has first assembly, obtains the mark of the first assembly.
If obtaining the mark of the first assembly specifically, terminal detects that local disposition has first assembly.It can refer to
Embodiment is stated, is repeated no more.
Transmission downloads request to the server, so that the server after being verified the mark, generates institute
State the download address of the second component of target;Wherein, the downloading request carries the mark.
Specifically, terminal transmission downloads request to the server, so that the server is being verified the mark
Later, the download address of second component of target is generated;Wherein, the downloading request carries the mark.It can refer to
Embodiment is stated, is repeated no more.
The download address that the server is returned for the downloading request is received, and will according to the download address
Second component of target is locally downloading from the server.
Specifically, terminal receives the download address that the server is returned for the downloading request, and according to institute
State download address second component of target is locally downloading from the server.It can refer to above-described embodiment, repeat no more.
Software deployment method provided in an embodiment of the present invention is downloaded the second component of target from server by download address
To local, it is further ensured that the technical solution is normally carried out.
On the basis of the above embodiments, before the step of acquisition request to server for sending the second component, institute
State method further include:
The first assembly is downloaded to local from the server, and is disposed.
Specifically, the first assembly is downloaded to local from the server by terminal, and disposed.It can refer to above-mentioned
Embodiment repeats no more.
Software deployment method provided in an embodiment of the present invention, by the way that first assembly is downloaded to local from server in advance,
And disposed, it is further ensured that the technical solution is normally carried out.
Fig. 4 is server architecture of embodiment of the present invention schematic diagram, as shown in figure 4, the embodiment of the invention provides a kind of clothes
Business device, including receiving module 401 and acquisition module 402, in which:
Receiving module 401 is used to receive the acquisition request of the second component of terminal transmission, and second component is wait dispose
Component related with terminal models in software;The terminal models that module 402 is used to obtain the terminal are obtained, and according to default pass
System obtains corresponding with the terminal models the second component of target, so that the terminal is according to the be previously deployed in local
One component, second component of target is locally downloading, and disposed;Wherein, the preset relation includes default terminal
Corresponding relationship, the first assembly between model and default second component be it is described in deployment software with the terminal models
Unrelated component.
Specifically, receiving module 401 is used to receive the acquisition request of the second component of terminal transmission, second component is
To component related with terminal models in deployment software;It obtains module 402 and is used to obtain the terminal models of the terminal, and according to
Preset relation obtains corresponding with the terminal models the second component of target, so that the terminal is according to being previously deployed at local
In first assembly, it is second component of target is locally downloading, and disposed;Wherein, the preset relation includes pre-
If the corresponding relationship, the first assembly between terminal models and default second component be it is described in deployment software with the end
The component for holding model unrelated.
Software deployment service device provided in an embodiment of the present invention first obtains in the server and to terminal where deployment software
Corresponding the second component of target of terminal models, then make the terminal according to the first assembly being previously deployed in local, will
Second component of target is locally downloading, and is disposed, and deployment software can be facilitated.
On the basis of the above embodiments, the module 402 that obtains is specifically used for: sending the request of acquisition terminal models extremely
The terminal;The response message that the terminal is returned for the request is received, the response message carries the terminal type
Number;Or, the acquisition request carries the terminal models;Correspondingly, the acquisition request is parsed, to obtain the terminal type
Number.
Specifically, the module 402 that obtains is specifically used for: the request of transmission acquisition terminal models to the terminal;It receives
The response message that the terminal is returned for the request, the response message carry the terminal models;Or, the acquisition
Request carries the terminal models;Correspondingly, the acquisition request is parsed, to obtain the terminal models.
Software deployment service device provided in an embodiment of the present invention obtains the terminal models of terminal by specific mode, protects
Demonstrate,proving the technical solution can be normally carried out.
Service implement body provided in an embodiment of the present invention can be used for executing the process flow of above-mentioned each method embodiment,
Details are not described herein for function, is referred to the detailed description of above method embodiment.
Fig. 5 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention, as shown in figure 5, the electronic equipment
It include: first processor (processor) 501, first memory (memory) 502 and the first bus 503;
Wherein, the first processor 501, first memory 502 complete mutual communication by the first bus 503;
The first processor 501 is used to call the program instruction in the first memory 502, to execute above-mentioned each side
Method provided by method embodiment, for example, receive the acquisition request for the second component that terminal is sent, second component is
To component related with terminal models in deployment software;Obtain the terminal models of the terminal, and according to preset relation obtain with
Corresponding the second component of target of the terminal models, so that the terminal is according to the first assembly being previously deployed in local,
Second component of target is locally downloading, and disposed;Wherein, the preset relation includes default terminal models and pre-
If the corresponding relationship, the first assembly between the second component are described to group unrelated with the terminal models in deployment software
Part.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating
Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated
When machine executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example, receives terminal is sent the
The acquisition request of two components, second component are to component related with terminal models in deployment software;Obtain the terminal
Terminal models, and corresponding with the terminal models the second component of target is obtained according to preset relation, for the terminal
It is according to the first assembly being previously deployed in local, second component of target is locally downloading, and disposed;Wherein,
The preset relation include corresponding relationship between default terminal models and default second component, the first assembly be it is described to
The component unrelated with the terminal models in deployment software.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium
Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment, example
Such as include: receive terminal send the second component acquisition request, second component be in deployment software with terminal models
Related component;The terminal models of the terminal are obtained, and mesh corresponding with the terminal models is obtained according to preset relation
The second component is marked, so that the terminal is according to the first assembly being previously deployed in local, second component of target is downloaded
To local, and disposed;Wherein, the preset relation includes the corresponding pass between default terminal models and default second component
System, the first assembly are described to component unrelated with the terminal models in deployment software.
Fig. 6 is the terminal of that embodiment of the invention structural schematic diagram, as shown in fig. 6, the embodiment of the invention provides a kind of terminal,
Including transmission unit 601 and deployment unit 602, in which:
Transmission unit 601 is used to send the acquisition request of the second component to server, and second component is soft wait dispose
Component related with terminal models in part, for the server obtain terminal models, and according to preset relation obtain with it is described
Corresponding the second component of target of terminal models;Wherein, second component is to related with terminal models in deployment software
Component, the preset relation include the corresponding relationship between default terminal models and default second component;Deployment unit 602 is used for
If detecting, local disposition has first assembly, and second component of target is locally downloading from the server, and carry out portion
Administration;Wherein, the first assembly is described to component unrelated with the terminal models in deployment software.
Specifically, transmission unit 601 is used to send the acquisition request of the second component to server, second component be to
Component related with terminal models in deployment software so that the server obtains terminal models, and is obtained according to preset relation
The second component of target corresponding with the terminal models;Wherein, second component be in deployment software with terminal models
Related component, the preset relation include the corresponding relationship between default terminal models and default second component;Deployment unit
If 602 for detecting that local disposition has first assembly, and second component of target is locally downloading from the server, and
It is disposed;Wherein, the first assembly is described to component unrelated with the terminal models in deployment software.
Terminal provided in an embodiment of the present invention first obtains and the terminal models to terminal where deployment software in the server
Corresponding the second component of target, then make the terminal according to the first assembly being previously deployed in local, by the target second
Component is locally downloading, and is disposed, and deployment software can be facilitated.
On the basis of the above embodiments, the deployment unit 602 is specifically used for: if detecting, local disposition has first group
Part obtains the mark of the first assembly;Transmission downloads request to the server, so that the server is being verified
After stating mark, the download address of second component of target is generated;Wherein, the downloading request carries the mark;It connects
Receive the download address that the server is returned for the downloading request, and according to the download address by the target the
Two components are locally downloading from the server.
Specifically, the deployment unit 602 is specifically used for: if detecting, local disposition has a first assembly, obtains described the
The mark of one component;Transmission downloads request to the server, so that the server is after being verified the mark, it is raw
At the download address of second component of target;Wherein, the downloading request carries the mark;Receive the server needle
To the download address that the downloading request returns, and according to the download address by second component of target from the clothes
Business device is locally downloading.
Software deployment terminal provided in an embodiment of the present invention is downloaded the second component of target from server by download address
To local, it is further ensured that the technical solution is normally carried out.
On the basis of the above embodiments, the terminal is also used to: the first assembly is downloaded to from the server
It is local, and disposed.
Specifically, the terminal is also used to: the first assembly is downloaded to local, and carry out portion from the server
Administration.
Software deployment terminal provided in an embodiment of the present invention, by the way that first assembly is downloaded to local from server in advance,
And disposed, it is further ensured that the technical solution is normally carried out.
Terminal provided in an embodiment of the present invention specifically can be used for executing the process flow of above-mentioned each method embodiment, function
Details are not described herein for energy, is referred to the detailed description of above method embodiment.
Fig. 7 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention, as shown in fig. 7, the electronic equipment
It include: second processor (processor) 701, second memory (memory) 702 and the second bus 703;
Wherein, the second processor 701, second memory 702 complete mutual communication by the second bus 703;
The second processor 701 is used to call the program instruction in the second memory 702, to execute above-mentioned each side
Method provided by method embodiment, for example, send the second component acquisition request to server, second component be to
Component related with terminal models in deployment software so that the server obtains terminal models, and is obtained according to preset relation
The second component of target corresponding with the terminal models;Wherein, second component be in deployment software with terminal models
Related component, the preset relation include the corresponding relationship between default terminal models and default second component;If detecting
Local disposition has first assembly, and second component of target is locally downloading from the server, and is disposed;Wherein,
The first assembly is described to component unrelated with the terminal models in deployment software.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating
Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated
When machine executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example, sends obtaining for the second component
Take request to server, second component is to component related with terminal models in deployment software, for the server
Terminal models are obtained, and the second component of target corresponding with the terminal models is obtained according to preset relation;Wherein, described
It includes default terminal models and default that two components, which are to component related with terminal models in deployment software, the preset relation,
Corresponding relationship between two components;If detecting, local disposition has first assembly, by second component of target from the service
Device is locally downloading, and is disposed;Wherein, the first assembly is described to unrelated with the terminal models in deployment software
Component.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium
Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment, example
It such as include: to send the acquisition request of the second component to server, second component is to have in deployment software with terminal models
The component of pass, so that the server obtains terminal models, and it is corresponding with the terminal models according to preset relation acquisition
The second component of target;Wherein, second component is to component related with terminal models in deployment software, the preset relation
Including presetting the corresponding relationship between terminal models and default second component;If detecting, local disposition has first assembly, by institute
It is locally downloading from the server to state the second component of target, and is disposed;Wherein, the first assembly is described wait dispose
The component unrelated with the terminal models in software.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
The embodiments such as electronic equipment described above are only schematical, wherein it is described as illustrated by the separation member
Unit may or may not be physically separated, and component shown as a unit may or may not be object
Manage unit, it can it is in one place, or may be distributed over multiple network units.It can select according to the actual needs
Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying wound
In the case where the labour for the property made, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than it is right
It is limited;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, the ordinary skill of this field
Personnel are it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part
Or all technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution
The range of various embodiments of the present invention technical solution.
Claims (14)
1. a kind of software deployment method characterized by comprising
The acquisition request for the second component that terminal is sent is received, second component is to related with terminal models in deployment software
Component;
The terminal models of the terminal are obtained, and obtain second group of target corresponding with the terminal models according to preset relation
Part, it is so that the terminal is according to the first assembly being previously deployed in local, second component of target is locally downloading, and
It is disposed;Wherein, the preset relation includes corresponding relationship between default terminal models and default second component, described the
One component is described to component unrelated with the terminal models in deployment software.
2. the method according to claim 1, wherein the terminal models for obtaining the terminal, comprising:
The request for obtaining terminal models is sent to the terminal;
The response message that the terminal is returned for the request is received, the response message carries the terminal models;
Or,
The acquisition request carries the terminal models;Correspondingly, the acquisition request is parsed, to obtain the terminal type
Number.
3. a kind of software deployment method characterized by comprising
The acquisition request of the second component is sent to server, second component is to related with terminal models in deployment software
Component so that the server obtains terminal models, and obtains target corresponding with the terminal models according to preset relation
Second component;Wherein, second component is to include to component related with terminal models in deployment software, the preset relation
Corresponding relationship between default terminal models and default second component;
If detecting, local disposition has first assembly, and second component of target is locally downloading from the server, goes forward side by side
Row deployment;Wherein, the first assembly is described to component unrelated with the terminal models in deployment software.
4. according to the method described in claim 3, it is characterized in that, if described detect that local disposition has first assembly, by institute
It is locally downloading from the server to state the second component of target, comprising:
If detecting, local disposition has first assembly, obtains the mark of the first assembly;
Transmission downloads request to the server, so that the server after being verified the mark, generates the mesh
Mark the download address of the second component;Wherein, the downloading request carries the mark;
The download address that the server is returned for the downloading request is received, and will be described according to the download address
The second component of target is locally downloading from the server.
5. the method according to claim 3 or 4, which is characterized in that the acquisition request for sending the second component to service
Before the step of device, the method also includes:
The first assembly is downloaded to local from the server, and is disposed.
6. a kind of server characterized by comprising
Receiving module, the acquisition request of the second component for receiving terminal transmission, second component is in deployment software
Component related with terminal models;
Module is obtained, for obtaining the terminal models of the terminal, and it is opposite with the terminal models according to preset relation acquisition
The second component of target answered, so that the terminal is according to the first assembly being previously deployed in local, by second group of the target
Part is locally downloading, and is disposed;Wherein, the preset relation includes between default terminal models and default second component
Corresponding relationship, the first assembly are described to component unrelated with the terminal models in deployment software.
7. server according to claim 6, which is characterized in that the acquisition module is specifically used for:
The request for obtaining terminal models is sent to the terminal;
The response message that the terminal is returned for the request is received, the response message carries the terminal models;
Or,
The acquisition request carries the terminal models;Correspondingly, the acquisition request is parsed, to obtain the terminal type
Number.
8. a kind of electronic equipment characterized by comprising first processor, first memory and the first bus, in which:
The first processor and the first memory complete mutual communication by first bus;
The first memory is stored with the program instruction that can be executed by the first processor, and the first processor calls institute
State program instruction be able to carry out it is method according to claim 1 or 2.
9. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited
Computer instruction is stored up, it is method according to claim 1 or 2 that the computer instruction executes the computer.
10. a kind of terminal characterized by comprising
Transmission unit, for sending the acquisition request of the second component to server, second component be in deployment software with
The related component of terminal models so that the server obtains terminal models, and obtains and the terminal type according to preset relation
Number corresponding the second component of target;Wherein, second component is to component related with terminal models in deployment software, institute
Stating preset relation includes the corresponding relationship between default terminal models and default second component;
Deployment unit, if for detecting that local disposition has first assembly, by second component of target under the server
It is downloaded to local, and is disposed;Wherein, the first assembly is described to group unrelated with the terminal models in deployment software
Part.
11. terminal according to claim 10, which is characterized in that the deployment unit is specifically used for:
If detecting, local disposition has first assembly, obtains the mark of the first assembly;
Transmission downloads request to the server, so that the server after being verified the mark, generates the mesh
Mark the download address of the second component;Wherein, the downloading request carries the mark;
The download address that the server is returned for the downloading request is received, and will be described according to the download address
The second component of target is locally downloading from the server.
12. terminal described in 0 or 11 according to claim 1, which is characterized in that the terminal is also used to:
The first assembly is downloaded to local from the server, and is disposed.
13. a kind of electronic equipment characterized by comprising second processor, second memory and the second bus, in which:
The second processor and the second memory complete mutual communication by second bus;
The second memory is stored with the program instruction that can be executed by the second processor, and the second processor calls institute
It states program instruction and is able to carry out method as described in claim 3 to 5 is any.
14. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited
Computer instruction is stored up, the computer instruction makes the computer execute the method as described in claim 3 to 5 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811588337.3A CN109871216A (en) | 2018-12-25 | 2018-12-25 | A kind of software deployment method, server and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811588337.3A CN109871216A (en) | 2018-12-25 | 2018-12-25 | A kind of software deployment method, server and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109871216A true CN109871216A (en) | 2019-06-11 |
Family
ID=66917167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811588337.3A Pending CN109871216A (en) | 2018-12-25 | 2018-12-25 | A kind of software deployment method, server and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109871216A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110795722A (en) * | 2019-10-25 | 2020-02-14 | 支付宝(杭州)信息技术有限公司 | Deployment method and device of security authentication model and electronic equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101090204A (en) * | 2007-07-16 | 2007-12-19 | 王飚舵 | USB interface charger with network download function and download applied network system |
CN101184304A (en) * | 2007-12-24 | 2008-05-21 | 中国移动通信集团北京有限公司 | Client terminal software download method, system and device for user facility |
CN101861567A (en) * | 2007-11-16 | 2010-10-13 | 诺基亚公司 | Methods, apparatuses and computer program product for automatic download of software dependencies on installation |
CN102307228A (en) * | 2011-07-08 | 2012-01-04 | 宇龙计算机通信科技(深圳)有限公司 | Adapting method and system for mobile terminal resource as well as mobile terminal and server |
CN103152392A (en) * | 2013-02-04 | 2013-06-12 | 北京小米科技有限责任公司 | Providing method, acquisition method, equipment and system of installation package |
CN103577235A (en) * | 2013-11-14 | 2014-02-12 | 中安消技术有限公司 | Software deploying method, deploying server, computer to be deployed and system |
WO2014184611A1 (en) * | 2013-05-13 | 2014-11-20 | Jolla Mobile | Software updating in a mobile terminal |
CN104219312A (en) * | 2014-09-05 | 2014-12-17 | 无锡天脉聚源传媒科技有限公司 | Program installation method and program installation device |
CN104834537A (en) * | 2014-12-30 | 2015-08-12 | 沈阳东软医疗系统有限公司 | Data processing method, server and client |
CN105511907A (en) * | 2015-11-26 | 2016-04-20 | 小米科技有限责任公司 | Application program upgrade method, device and system |
-
2018
- 2018-12-25 CN CN201811588337.3A patent/CN109871216A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101090204A (en) * | 2007-07-16 | 2007-12-19 | 王飚舵 | USB interface charger with network download function and download applied network system |
CN101861567A (en) * | 2007-11-16 | 2010-10-13 | 诺基亚公司 | Methods, apparatuses and computer program product for automatic download of software dependencies on installation |
CN101184304A (en) * | 2007-12-24 | 2008-05-21 | 中国移动通信集团北京有限公司 | Client terminal software download method, system and device for user facility |
CN102307228A (en) * | 2011-07-08 | 2012-01-04 | 宇龙计算机通信科技(深圳)有限公司 | Adapting method and system for mobile terminal resource as well as mobile terminal and server |
CN103152392A (en) * | 2013-02-04 | 2013-06-12 | 北京小米科技有限责任公司 | Providing method, acquisition method, equipment and system of installation package |
WO2014184611A1 (en) * | 2013-05-13 | 2014-11-20 | Jolla Mobile | Software updating in a mobile terminal |
CN103577235A (en) * | 2013-11-14 | 2014-02-12 | 中安消技术有限公司 | Software deploying method, deploying server, computer to be deployed and system |
CN104219312A (en) * | 2014-09-05 | 2014-12-17 | 无锡天脉聚源传媒科技有限公司 | Program installation method and program installation device |
CN104834537A (en) * | 2014-12-30 | 2015-08-12 | 沈阳东软医疗系统有限公司 | Data processing method, server and client |
CN105511907A (en) * | 2015-11-26 | 2016-04-20 | 小米科技有限责任公司 | Application program upgrade method, device and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110795722A (en) * | 2019-10-25 | 2020-02-14 | 支付宝(杭州)信息技术有限公司 | Deployment method and device of security authentication model and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109034814B (en) | Intelligent contract processing method and device based on Etheng virtual machine | |
CN109284217A (en) | Application exception processing method, device, electronic equipment and storage medium | |
CN106897086A (en) | Method, apparatus and system for upgraded machine people's operating system | |
CN105022832B (en) | Method, mobile terminal and the download server that APP application securities are downloaded | |
CN107770269A (en) | A kind of service response method and its terminal | |
CN103547339B (en) | File uploading method, client side and server side | |
CN108319463A (en) | A kind of application upgrade method, apparatus | |
CN103312549A (en) | Transaction management method, device and system | |
EP3384380B1 (en) | Method and apparatus for declarative action orchestration | |
CN110377314B (en) | System upgrading method, device, equipment and medium for distributed storage system | |
CN109815025A (en) | Business model call method, device and storage medium | |
CN112000355A (en) | Method and device for firmware upgrading and household appliance | |
CN109840096A (en) | The installation method and device of operating system | |
CN108762792A (en) | Upgrading network equipment method, upgrade server, terminal device and storage medium | |
CN109274777B (en) | A kind of method, apparatus, equipment and readable storage medium storing program for executing exporting configuration file | |
CN109189400A (en) | Program dissemination method and device, storage medium, processor | |
CN109885612A (en) | The synchronization take-effective method and device of block chain intelligence contract | |
CN107846449B (en) | Method, apparatus, readable storage medium storing program for executing and the equipment of calling system tool | |
CN109862076A (en) | A kind of service data interaction methods, devices and systems | |
CN109348434A (en) | A kind of sending method of scene information, sending device and terminal device | |
CN107526584B (en) | Data access method and device | |
CN107733974A (en) | A kind of upgrade method of mobile terminal | |
CN107547591A (en) | Upgrade server, set top box, set top box upgrading file delivery method and system | |
CN105099774B (en) | A kind of router software upgrade method and system | |
CN109871216A (en) | A kind of software deployment method, server and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190611 |