CN109542488A - A kind of software version configuration method and relevant apparatus, system - Google Patents
A kind of software version configuration method and relevant apparatus, system Download PDFInfo
- Publication number
- CN109542488A CN109542488A CN201811458702.9A CN201811458702A CN109542488A CN 109542488 A CN109542488 A CN 109542488A CN 201811458702 A CN201811458702 A CN 201811458702A CN 109542488 A CN109542488 A CN 109542488A
- Authority
- CN
- China
- Prior art keywords
- software version
- client
- stable release
- server
- prompt information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/62—Uninstallation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present application discloses the method and relevant apparatus, system of a kind of configuration software version, for promoting user to the usage experience of software version.The embodiment of the present application method includes: newest first software version for receiving and uploading, and sets stable for the security attribute of first software version;Judge whether the stable release number being locally stored reaches preset quantity;If it is not, then obtaining specified stable release, or nearest history stable release is obtained from historical data, until the stable release number being locally stored reaches the preset quantity;Prompt information is sent to client, the prompt information is used to indicate the update of the first software version described in the client executing.
Description
Technical field
This application involves computer equipment technical field more particularly to a kind of software version configuration method and relevant apparatus,
System.
Background technique
With the fast development of automobile industry, the vehicle that vehicle factor is released is more and more, vehicle diagnostic software renewal frequency
It is getting faster, when vehicle diagnostic software issues, user is upgraded by network, when the publication of vehicle diagnostic software is more, is used
Upgrading software on the computer of family can be more and more, cause user software redundancy, and software is excessive, influence the experience of user.
For this problem, common solution is: after a customer upgrade complete upgrade package, software can be automatically deleted
The software package of a upper version, only retains newest software package, and this operation will will lead to following problem:
When the diagnostic software of newest publication, which goes wrong, causes the vehicle that cannot diagnose, technical staff will be unable to normal work
Make, this seriously affects the working efficiency of technical staff, causes software usage experience very bad.
Summary of the invention
The embodiment of the present application provides a kind of software version configuration method and relevant apparatus, system, for promoting user couple
The usage experience of software.
The embodiment of the present application first aspect provides a kind of software version configuration method, is applied to server, comprising:
Newest first software version uploaded is received, and sets stable for the security attribute of first software version;
Judge whether the stable release number being locally stored reaches preset quantity;
If it is not, then obtaining specified stable release, or nearest history stable release is obtained from historical data, until this
The stable release number of ground storage reaches the preset quantity;
Prompt information is sent to client, the prompt information is used to indicate the first software version described in the client executing
This update.
Preferably, the method also includes:
When receive the problem of first software version, is fed back when, then by the security attribute of first software version
It is set as defect.
Preferably, the method also includes:
The maximum number of stable storage version in the client is set, so that the client is under in the server
After carrying first software version, the number for the stable release that the client is locally stored is less than the maximum number.
The embodiment of the present application second aspect provides a kind of software version configuration method, is applied to client, comprising:
Judge whether current network is in connection status;
If so, judging whether to receive prompt information, the prompt information is used to indicate the client executing newest
The update of one software version;
If so, downloading first software version from the server;
Judge locally whether be stored with history stable release;
If it is not, then downloading history stable release from the server.
Preferably, the method also includes:
When first software version when something goes wrong, by problem feedback be sent to the server so that the service
The security attribute of first software version is set defect by device.
Preferably, the method also includes:
Judge the number for the stable release being locally stored, if greater than the maximum number being arranged in the server;
If so, the part stable release is deleted, so that the number for the stable release that the client is locally stored
Mesh is not more than the maximum number.
The embodiment of the present application third aspect provides a kind of server of configuration software version characterized by comprising
Receiving unit belongs to for receiving newest first software version uploaded, and by the safety of first software version
Property is set as stable;
Whether the first judging unit, the stable release number for judging to be locally stored reach preset quantity;
Acquiring unit obtains specified stabilization when for being not up to preset quantity in the stable release number being locally stored
Version, or nearest history stable release is obtained from historical data, until the stable release number being locally stored reaches described
Preset quantity;
Transmission unit, for sending prompt information to client, the prompt information is used to indicate the client executing
The update of first software version.
Preferably, the server further include:
First setting unit, for when receive the problem of first software version, is fed back when, then by described first
The security attribute of software version is set as defect.
Preferably, the server further include:
Second setting unit, for the maximum number of stable storage version in the client to be arranged, so that the client
After downloading first software version in the server, the number for the stable release that the client is locally stored is less than at end
The maximum number.
The embodiment of the present application fourth aspect provides a kind of client characterized by comprising
Second judgment unit, for judging whether current network is in connection status;
Third judging unit, it is described for judging whether to receive prompt information when current network is in connection status
Prompt information is used to indicate the update of newest first software version of the client executing;
First download unit, for when receiving the prompt information, downloading the first software version from server
This;
4th judging unit, for judging locally whether be stored with history stable release;
Second download unit, for downloading history from the server when local is not stored history stable release
Stable release.
Preferably, the client further include:
Problem feedback is sent to the server for working as first software version when something goes wrong by feedback unit,
So that the security attribute of first software version is set defect by the server.
Preferably, the client further include:
5th judging unit, the number of the stable release for judging to be locally stored, if greater than being set in the server
The maximum number set;
Unit is deleted, when the number of the stable release for being locally stored in client is greater than the maximum number, is deleted
The part stable release, so that the number for the stable release that the client is locally stored is not more than the maximum number
Mesh.
The embodiment of the present application also provides a kind of computer installation, including processor, which is stored in execution
When computer program on reservoir, the software version configuration method that is provided for realizing such as the embodiment of the present application first aspect.
The embodiment of the present application also provides a kind of computer installation, including processor, which is stored in execution
When computer program on reservoir, the software version configuration method that is provided for realizing such as the embodiment of the present application second aspect.
The embodiment of the present application also provides a kind of readable storage medium storing program for executing, are stored thereon with computer program, the computer journey
When sequence is executed by processor, for realizing the software version configuration method of such as the embodiment of the present application first aspect offer.
The embodiment of the present application also provides a kind of readable storages to meet child, is stored thereon with computer program, the computer
When program is executed by processor, for realizing the software version configuration method of such as the embodiment of the present application first aspect offer.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
In the embodiment of the present application, server judges itself storage after receiving newest first software version of upload
Whether stable release number reaches preset quantity, and in not up to preset quantity, from the local stable release for obtaining and specifying, or
Nearest history stable release is determined from historical data, until the number for the stable release being locally stored reaches preset quantity,
Then prompt information is sent to client, to indicate the update of the first software of client executing.Since in the present embodiment, server
In the first software version newest to client push, while guaranteeing the stable release that preset quantity is locally stored, so that
When the error of newest first software version, client can obtain history stable release from server, to improve user
To the usage experience of software version in client.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram of the method for configuration software version in the embodiment of the present application;
Fig. 2 is another embodiment schematic diagram of the method for configuration software version in the embodiment of the present application;
Fig. 3 is another embodiment schematic diagram of the method for configuration software version in the embodiment of the present application;
Fig. 4 is another embodiment schematic diagram of the method for configuration software version in the embodiment of the present application;
Fig. 5 is one embodiment schematic diagram of the server of configuration software version in the embodiment of the present application;
Fig. 6 is one embodiment schematic diagram of client in the embodiment of the present application.
Specific embodiment
The embodiment of the present application provides a kind of software version configuration method and relevant apparatus, system, for promoting user couple
The usage experience of software.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
Four " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein or describing
Sequence other than appearance is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that covering is non-exclusive
Include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to clearly arrange
Those of out step or unit, but may include be not clearly listed or it is solid for these process, methods, product or equipment
The other step or units having.
For convenience of understanding, the software version configuration method in the embodiment of the present application is described below, referring to Fig. 1,
One embodiment of software version configuration method in the application, comprising:
101, newest first software version uploaded is received, and sets steady for the security attribute of first software version
It is fixed;
In the present embodiment, with the update of automobile diagnostic software version, developer can be constantly by the of recent development
One software version is uploaded to server, so that server receives the first software version uploaded by developer, is easy reason
Solution, after newest first software version is uploaded to server, because newest first software version is gone back in rigid upload
It is not widely used by user, therefore server can be when just receiving the first software version of upload, by the first software version
Security attribute is set as stable.
It should be noted that stabilization herein refers to the first software during use, any problem is not found.
102, whether the stable release number that judgement is locally stored reaches preset quantity, if so, 104 are thened follow the steps, if
It is no, then follow the steps 103;
It is different from the prior art, the server in the present embodiment is in newest first software version for receiving upload
Afterwards, it not will be deleted and adjust all history stable releases, but the stable release of server local storage preset quantity is set,
So that being also stored with the history stable release of preset data in server when the error of newest first software version, supplying
It is used to client downloads.
103, specified stable release is obtained, or obtains nearest history stable release from historical data, until local
The stable release number of storage reaches the preset quantity;
If the number of the stable release of server local storage is not up to preset quantity, server is preset from local obtain
The stable release of quantity, wherein the stable release can be the stable release that operation personnel specifies, and be also possible to server from going through
The history stable release in nearest a period of time obtained in history data.
It is easily understood that the purpose for storing the stable release of preset quantity in the present embodiment in server is in order to prevent
Newest software version when something goes wrong, client can get pervious history stable release, but needle from server
Otherness to the stable release stored in different clients can store the stable release of preset quantity in server, with full
The otherness of stable release in sufficient different clients.In addition, server is when obtaining stable release, in addition to specified stable release
Outside, the history stable release that server is obtained from historical data can be sequence with the time, successively obtain apart from current time
Nearest history stable release, until the stable release number of server local storage reaches preset quantity.
104, prompt information is sent to client, it is soft that the prompt information is used to indicate described in the client executing first
The update of part version.
When server receives the recent software version of upload, and the number for the stable release being locally stored meets present count
After amount, then prompt information is sent to client, for prompting the update of the first software version of client executing.
Specifically, server sends the mode of prompt information to client, can be in a manner of short message, or pushed away with network
The mode sent is sent, and is not particularly limited herein to the sending method of prompt information.
In the present embodiment, server judges the stabilization of itself storage after receiving newest first software version of upload
Whether version number reaches preset quantity, and in not up to preset quantity, obtains specified stable release from local, or from going through
Nearest history stable release is determined in history data, until the number for the stable release being locally stored reaches preset quantity, then
Prompt information is sent to client, to indicate the update of the first software of client executing.Because in the present embodiment, server to
When newest first software version of client push, while guaranteeing the stable release that preset quantity is locally stored, so that ought be most
When new first software version malfunctions, client can obtain history stable release from server, to improve user to visitor
The usage experience of software version in the end of family.
Based on Fig. 1 the embodiment described, following steps are can also be performed in server, to further increase user customer
The usage experience of middle software version reduces the redundancy of software version quantity in client, and referring specifically to Fig. 2, the application is real
Apply another embodiment of software version configuration method in example, comprising:
201, when receive the problem of first software version, is fed back when, then by the safety of first software version
Attribute is set as defect;
Server is after sending the first software version to client, if client is in the process using the first software version
In, when there is the problem of the first software version is not normally functioning and leads to error, which can be fed back and be sent to service
Device, and when being fed back aiming at the problem that server is received the first software version, then by the security attribute of first software version
It is set as defect, to prompt operation maintenance personnel to safeguard first software version, while no longer being pushed the first software version
To other clients, to further promote the usage experience of software version in user customer.
202, the maximum number of stable storage version in client is set, so that the client is under in the server
After carrying first software version, the number for the stable release that the client is locally stored is less than the maximum number.
Further, in order to reduce the redundancy of the software version stored in client, software version fortune in client is improved
The maximum number of the stable release stored in client can be set in capable fluency, server, so that client is from server
After the first software version of middle downloading, the number for the stable release that client is locally stored is less than the maximum number.
Specifically, server, which can be, accesses server in client, and newest first software version is obtained from server
This when, the number of the stable release stored in inquiring client terminal, so that client is after downloading the first software version, client sheet
The number of the stable release of ground storage is less than the maximum number and mentions to reduce the redundancy of Software Version data in client
The fluency that the first software version is run in high client.
It should be noted that there is no stringent sequence limitation between step 202 and step 201 in the present embodiment, as long as
The function in step 201 and step 202 may be implemented.
In the present embodiment, server not only receive client transmission the first software version aiming at the problem that feedback
When, defect is set by the security attribute of the first software version in time, to prompt operation maintenance personnel to tie up the first software version
Shield, while also avoiding that the first software version is sent to other clients again, so that the usage experience of user is further increased,
Secondly, server is also configured the maximum number of the stable release stored in client, to reduce soft in client
The redundancy of part edition data, while improving the fluency of the first software version operation.
Configuration method of the server-side to software version is described above, is continued pair from client-side below
The configuration method of software version is described, referring to Fig. 3, in the embodiment of the present application software layout method another implementation
Example, comprising:
301, judge whether current network is in connection status, if so, 302 are thened follow the steps, if it is not, thening follow the steps
307;
After client booting, judge whether current network is in connection status, if so, 302 are thened follow the steps, if it is not,
Then follow the steps 307.
302, judge whether to receive prompt information, the prompt information is used to indicate the client executing newest first
The update of software version, if so, 303 are thened follow the steps, if it is not, thening follow the steps 306;
When client current network is in connection status, client judges whether to receive prompt information, and wherein this is mentioned
Show that information is to be used to indicate the update of the first software version of client executing.
Specifically, the prompt information can be short message prompt information, it is also possible to the prompt information of network push, it is right herein
The transmission form of prompt information is with no restrictions.
303, first software version is downloaded from the server;
When client receives the prompt information of server transmission, then according to the prompt information, automatically under in server
Carry the first software version.It should be noted that can be client when client downloads the first software version from server
Server is accessed automatically according to the download address in prompt information, and completes the downloading of the first software version, is also possible to client
End subscriber accesses server according to the download address in prompt information manually, and completes the downloading of the first software version, right herein
The mode that client downloads the first software version from server is not particularly limited.
304, judge locally whether be stored with history stable release, if it is not, 305 are thened follow the steps, if so, thening follow the steps
306;
When client downloads the first software version from server, it is also necessary to judge that the local history that whether is stored with is stablized
Version, if it is not, 305 are thened follow the steps, if so, thening follow the steps 306.
305, history stable release is downloaded from the server;
After client downloads the first software version from server, if client is locally not stored history stable release
When, it is also necessary at least one history stable release is downloaded from server, is different from most so that client is locally at least stored with
One history stable release of new first software version, so that when newest first software version in client malfunctions, also
The history stable release can be used, automobile is diagnosed.
306, other processes are executed;
In step 302, if client does not receive prompt information, or when client downloads the first software from server
After version, history stable release has been locally stored in client in step 304, then other processes of client executing, do not do herein and have
Body limitation.
307, offline diagnostic mode is executed.
If the network of client is in Disconnected mode, then the current software version in client is in after client booting
Offline diagnostic mode, i.e., the diagnostic function that the diagnostic function for only not needing network connection can be used, and need to be connected to the network
It then cannot normal use.
In the present embodiment, when client is in network connection state, and receives prompt information, then client is from server
Middle newest first software of downloading, while client judges locally whether be stored with history stable release, has history steady when not stored
When determining version, client also downloads at least one history stable release, to guarantee after downloading the first software from server
Client is also at least stored with a history stable release, so that client is most when newest software version is arrived in update
When new first software version malfunctions, it can also be ensured that the normal operation of software version in client, to improve user to visitor
The usage experience of software version in the end of family.
Based on Fig. 3 the embodiment described, following steps are can also be performed in client, to further increase user customer
The usage experience of middle software, referring to Fig. 4, in the embodiment of the present application software layout method another embodiment, comprising:
401, when first software version when something goes wrong, by problem feedback be sent to the server so that described
The security attribute of first software version is set defect by server;
When the first software version in client when something goes wrong, client by problem feedback is sent to server so that
The security attribute of the first software version is set defect by server, timely to prompt operation maintenance personnel to carry out the first software version
Maintenance, but also server will not retransmit first software version to other clients, to promote user to software version
This usage experience.
402, the number for the stable release that judgement is locally stored, if greater than the maximum number being arranged in the server;
When client obtains the first software version from server, if history stable release has been locally stored in client,
It then needs to judge whether the number for the stable release being locally stored is greater than the maximum number being arranged in server, if so, executing
Step 403, if it is not, thening follow the steps 404.
403, partial history stable release is deleted, so that the number for the history stable release that the client is locally stored is not
Greater than the maximum number.
When the number of the history stable release stored in client is greater than the maximum number being arranged in server, then client
Partial history stable release is deleted from local in end, so that the number for the history stable release that client is locally stored is less than server
The maximum number of middle setting promotes the first software version fortune in client to reduce the redundancy of software data in client
Capable fluency.
404, other processes are executed.
When the number of the history stable release stored in client is no more than the maximum number being arranged in server, then hold
Other processes of row, are not particularly limited herein.
In the present embodiment, when the newest old version in client goes wrong, problem feedback can be sent to server,
So that the security attribute of the first software is set defect by server so that operation maintenance personnel can in time to the first software into
Row maintenance, secondly, client can also judge that the history stable release number being locally stored is after downloading newest first software
The no maximum number greater than server setting, and when being greater than maximum number, partially stabilized version is deleted, so that client is local
The history stable release number of storage is not more than the maximum number, so that the redundancy of Software Version data in client is reduced,
Improve the fluency of the first software version operation in client.
Described above is the methods of configuration software version in the embodiment of the present application, will be described below in the embodiment of the present application and match
Set the server of software version, referring to Fig. 5, in the embodiment of the present application the server of configuration software version one embodiment,
Include:
Receiving unit 501, for receiving newest first software version uploaded, and by the safety of first software version
Attribute is set as stable;
Whether the first judging unit 502, the stable release number for judging to be locally stored reach preset quantity;
Acquiring unit 503 when for being not up to preset quantity in the stable release number being locally stored, obtains specified steady
Determine version, or obtain nearest history stable release from historical data, until the stable release number being locally stored reaches institute
State preset quantity;
Transmission unit 504, for sending prompt information to client, the prompt information is used to indicate the client and holds
The update of row first software version.
Preferably, the server further include:
First setting unit 505, for when receive the problem of first software version, is fed back when, then by described
The security attribute of one software version is set as defect.
Preferably, the server further include:
Second setting unit 506, for the maximum number of stable storage version in the client to be arranged, so that the visitor
After downloading first software version in the server, the number for the stable release that the client is locally stored is small at family end
In the maximum number.
It should be noted that the effect of each unit is similar with described in Fig. 1 and Fig. 2 in the present embodiment, it is no longer superfluous herein
It states.
In the present embodiment, after server receives newest first software version of upload by receiving unit 501, by the
One judging unit 502 judges whether the stable release number of itself storage reaches preset quantity, and in not up to preset quantity,
Specified stable release is obtained from local, or determines nearest history stable release from historical data, until be locally stored
The number of stable release reaches preset quantity, then prompt information is sent to client by transmission unit 504, to indicate client
End executes the update of the first software.Because in the present embodiment, server is in the first software version newest to client push, together
When guarantee that the stable release of preset quantity is locally stored so that when the error of newest first software version, client can be with
History stable release is obtained from server, to improve the usage experience of software version in user customer.
Client in the embodiment of the present application is then described below, referring to Fig. 6, client in the embodiment of the present application
One embodiment, comprising:
Second judgment unit 601, for judging whether current network is in connection status;
Third judging unit 602, for judging whether to receive prompt information when current network is in connection status,
The prompt information is used to indicate the update of newest first software version of the client executing;
First download unit 603, for when receiving the prompt information, downloading first software from server
Version;
4th judging unit 604, for judging locally whether be stored with history stable release;
Second download unit 605, for downloading and going through from the server when local is not stored history stable release
History stable release.
Preferably, the client further include:
Problem feedback is sent to the service for working as first software version when something goes wrong by feedback unit 606
Device, so that the security attribute of first software version is set defect by the server.
Preferably, the client further include:
5th judging unit 607, the number of the stable release for judging to be locally stored, if be greater than in the server
The maximum number of setting;
Unit 608 is deleted to delete when the number of the stable release for being locally stored in client is greater than the maximum number
Except the part stable release, so that the number for the stable release that the client is locally stored is not more than the maximum number
Mesh.
It should be noted that the effect of each unit and class described in embodiment described in Fig. 3 and Fig. 4 in the embodiment of the present application
Seemingly, details are not described herein again.
In the present embodiment, when client is in network connection state, and receives prompt information, then client passes through first
Download unit 603 downloads newest first software from server, while local whether store judged by the 4th judging unit 604
Have history stable release, when it is not stored have history stable release when, client is after downloading the first software, also under in server
At least one history stable release is carried, to guarantee that client when newest software version is arrived in update, is also at least stored with
One history stable release, so that when the newest first software version error of client, it can also be ensured that software version in client
This normal operation, to improve the usage experience of software version in user customer.
Present invention also provides a kind of system of configuration software version, which may include matching of illustrating of above-described embodiment
The server and client side for setting software version, by the server of configuration software version and the mutual cooperation of client, to realize
While updating the first software in client, so that at least one history stable release is stored in client, it is identical beneficial to effect
Fruit is referred to the content illustrated in above-described embodiment, and details are not described herein again.
Server from the angle of modular functionality entity to the configuration software version in the embodiment of the present application and visitor above
Family end is described, and the computer installation in the embodiment of the present application is described from the angle of hardware handles below:
The computer installation calculates in the embodiment of the present application for realizing the function of the server-side of configuration software version
Machine device one embodiment includes:
Processor and memory;
Memory can when processor is used to execute the computer program stored in memory for storing computer program
To realize following steps:
Newest first software version uploaded is received, and sets stable for the security attribute of first software version;
Judge whether the stable release number being locally stored reaches preset quantity;
If it is not, then obtaining specified stable release, or nearest history stable release is obtained from historical data, until this
The stable release number of ground storage reaches the preset quantity;
Prompt information is sent to client, the prompt information is used to indicate the first software version described in the client executing
This update.
In some embodiments of the present application, processor can be also used for realizing following steps:
When receive the problem of first software version, is fed back when, then by the security attribute of first software version
It is set as defect.
In some embodiments of the present application, processor can be also used for realizing following steps:
The maximum number of stable storage version in the client is set, so that the client is under in the server
After carrying first software version, the number for the stable release that the client is locally stored is less than the maximum number.
Function of the computer installation for realizing client-side, another implementation of computer installation in the embodiment of the present application
Example include:
Processor and memory;
Memory can when processor is used to execute the computer program stored in memory for storing computer program
To realize following steps:
Judge whether current network is in connection status;
If so, judging whether to receive prompt information, the prompt information is used to indicate the client executing newest
The update of one software version;
If so, downloading first software version from the server;
Judge locally whether be stored with history stable release;
If it is not, then downloading history stable release from the server.
In some embodiments of the present application, processor can be also used for realizing following steps:
When first software version when something goes wrong, by problem feedback be sent to the server so that the service
The security attribute of first software version is set defect by device.
In some embodiments of the present application, processor can be also used for realizing following steps:
Judge the number for the stable release being locally stored, if greater than the maximum number being arranged in the server;
If so, the part stable release is deleted, so that the number for the stable release that the client is locally stored
Mesh is not more than the maximum number.
It is understood that the server-side or client-side of either configuration software version, above explained
When processor in computer installation executes the computer program, also it may be implemented each in above-mentioned corresponding each Installation practice
The function of unit, details are not described herein again.Illustratively, the computer program can be divided into one or more modules/mono-
Member, one or more of module/units are stored in the memory, and are executed by the processor, to complete this
Application.One or more of module/units can be the series of computation machine program instruction section that can complete specific function, should
Instruction segment is for describing implementation procedure of the computer program in the server/customer end of the configuration software version.Example
Such as, the computer program can be divided into each unit in the server of above-mentioned configuration software version, and each unit can be real
The now concrete function as described in the server of above-mentioned corresponding configuration software version.
The computer installation can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The computer installation may include, but are not limited to processor, memory.It will be understood by those skilled in the art that processor,
Memory is only the example of computer installation, does not constitute the restriction to computer installation, may include more or fewer
Component perhaps combines certain components or different components, such as the computer installation can also be set including input and output
Standby, network access equipment, bus etc..
The processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable GateArray, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor is the control centre of the computer installation, utilizes various interfaces and the entire computer installation of connection
Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
The various functions of computer installation.The memory can mainly include storing program area and storage data area, wherein storage program
It area can application program needed for storage program area, at least one function etc.;Storage data area can store the use according to terminal
The data etc. created.In addition, memory may include high-speed random access memory, it can also include non-volatile memories
Device, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are solid
State memory device.
Present invention also provides a kind of computer readable storage mediums, and the computer readable storage medium is for realizing configuration
The function of the server-side of software version is stored thereon with computer program, when computer program is executed by processor, processing
Device can be used for executing following steps:
Newest first software version uploaded is received, and sets stable for the security attribute of first software version;
Judge whether the stable release number being locally stored reaches preset quantity;
If it is not, then obtaining specified stable release, or nearest history stable release is obtained from historical data, until this
The stable release number of ground storage reaches the preset quantity;
Prompt information is sent to client, the prompt information is used to indicate the first software version described in the client executing
This update.
In some embodiments of the present application, the computer program of computer-readable recording medium storage is executed by processor
When, processor can be specifically used for executing following steps:
When receive the problem of first software version, is fed back when, then by the security attribute of first software version
It is set as defect.
In some embodiments of the present application, the computer program of computer-readable recording medium storage is executed by processor
When, processor can be specifically used for executing following steps:
The maximum number of stable storage version in the client is set, so that the client is under in the server
After carrying first software version, the number for the stable release that the client is locally stored is less than the maximum number.
Present invention also provides another computer readable storage mediums, and the computer readable storage medium is for realizing visitor
The function of family end side, is stored thereon with computer program, and when computer program is executed by processor, processor can be used for
Execute following steps:
Judge whether current network is in connection status;
If so, judging whether to receive prompt information, the prompt information is used to indicate the client executing newest
The update of one software version;
If so, downloading first software version from the server;
Judge locally whether be stored with history stable release;
If it is not, then downloading history stable release from the server.
In some embodiments of the present application, the computer program of computer-readable recording medium storage is executed by processor
When, processor can be specifically used for executing following steps:
When first software version when something goes wrong, by problem feedback be sent to the server so that the service
The security attribute of first software version is set defect by device.
In some embodiments of the present application, the computer program of computer-readable recording medium storage is executed by processor
When, processor can be specifically used for executing following steps:
Judge the number for the stable release being locally stored, if greater than the maximum number being arranged in the server;
If so, the part stable release is deleted, so that the number for the stable release that the client is locally stored
Mesh is not more than the maximum number.
It is understood that if the integrated unit is realized in the form of SFU software functional unit and as independent production
Product when selling or using, can store in a corresponding computer-readable storage medium.Based on this understanding, this Shen
It please realize all or part of the process in above-mentioned corresponding embodiment method, can also be instructed by computer program relevant
Hardware is completed, and the computer program can be stored in a computer readable storage medium, which is being located
It manages when device executes, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program generation
Code, the computer program code can be source code form, object identification code form, executable file or certain intermediate forms
Deng.The computer-readable medium may include: any entity or device, record that can carry the computer program code
It is medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-OnlyMemory), random
Access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs
It is noted that the content that the computer-readable medium includes can be according to making laws in jurisdiction and patent practice is wanted
It asks and carries out increase and decrease appropriate, such as in certain jurisdictions, do not include according to legislation and patent practice, computer-readable medium
Electric carrier signal and telecommunication signal.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of method of configuration software version, which is characterized in that be applied to server, comprising:
Newest first software version uploaded is received, and sets stable for the security attribute of first software version;
Judge whether the stable release number being locally stored reaches preset quantity;
If it is not, then obtaining specified stable release, or nearest history stable release is obtained from historical data, until local deposit
The stable release number of storage reaches the preset quantity;
Prompt information is sent to client, the prompt information is used to indicate the first software version described in the client executing
It updates.
2. the method according to claim 1, wherein the method also includes:
When receive the problem of first software version, is fed back when, then the security attribute of first software version is arranged
For defect.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
The maximum number of stable storage version in the client is set, so that the client downloads institute from the server
After stating the first software version, the number for the stable release that the client is locally stored is less than the maximum number.
4. a kind of method of configuration software version, which is characterized in that be applied to client, comprising:
Judge whether current network is in connection status;
If so, judging whether to receive prompt information, it is soft that the prompt information is used to indicate the client executing newest first
The update of part version;
If so, downloading first software version from the server;
Judge locally whether be stored with history stable release;
If it is not, then downloading history stable release from the server.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
When first software version when something goes wrong, by problem feedback be sent to the server so that the server will
The security attribute of first software version is set as defect.
6. method according to claim 4 or 5, which is characterized in that the method also includes:
Judge the number for the stable release being locally stored, if greater than the maximum number being arranged in the server;
If so, the part stable release is deleted, so that the number for the stable release that the client is locally stored is not
Greater than the maximum number.
7. a kind of server of configuration software version characterized by comprising
Receiving unit for receiving newest first software version uploaded, and the security attribute of first software version is set
It is set to stabilization;
Whether the first judging unit, the stable release number for judging to be locally stored reach preset quantity;
Acquiring unit obtains specified stable release when for being not up to preset quantity in the stable release number being locally stored,
Or nearest history stable release is obtained from historical data, until the stable release number being locally stored reaches the present count
Amount;
Transmission unit, for sending prompt information to client, the prompt information is used to indicate described in the client executing
The update of first software version.
8. a kind of client characterized by comprising
Second judgment unit, for judging whether current network is in connection status;
Third judging unit, for judging whether to receive prompt information, the prompt when current network is in connection status
Information is used to indicate the update of newest first software version of the client executing;
First download unit, for when receiving the prompt information, downloading first software version from server;
4th judging unit, for judging locally whether be stored with history stable release;
Second download unit, for downloading history from the server and stablizing when local is not stored history stable release
Version.
9. a kind of system of configuration software version, which is characterized in that the clothes including configuration software version as claimed in claim 7
Business device and client as claimed in claim 8.
10. a kind of computer installation, including processor, which is characterized in that the processor is stored on memory in execution
When computer program, for realizing the configuration software version as described in any one of claims 1 to 3 or claim 4 to 6
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811458702.9A CN109542488A (en) | 2018-11-30 | 2018-11-30 | A kind of software version configuration method and relevant apparatus, system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811458702.9A CN109542488A (en) | 2018-11-30 | 2018-11-30 | A kind of software version configuration method and relevant apparatus, system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109542488A true CN109542488A (en) | 2019-03-29 |
Family
ID=65851949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811458702.9A Pending CN109542488A (en) | 2018-11-30 | 2018-11-30 | A kind of software version configuration method and relevant apparatus, system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109542488A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110389781A (en) * | 2019-05-31 | 2019-10-29 | 平安国际智慧城市科技股份有限公司 | Localstorage cache implementing method, device and storage medium based on Version Control |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009589A (en) * | 2006-01-26 | 2007-08-01 | 腾讯科技(深圳)有限公司 | A method and system for software upgrade |
CN101212336A (en) * | 2006-12-28 | 2008-07-02 | 上海广电Nec液晶显示器有限公司 | Automatic software update method for client, auxiliary method and related device |
US20140173588A1 (en) * | 2012-12-14 | 2014-06-19 | Samsung Electronics Co., Ltd. | Software update service method and apparatus for mobile terminal |
CN105094926A (en) * | 2015-08-28 | 2015-11-25 | 张为坚 | Software updating method and system |
CN105653328A (en) * | 2015-12-29 | 2016-06-08 | 百度在线网络技术(北京)有限公司 | Multi-version program coexistence method and apparatus for big memory service |
CN107273139A (en) * | 2017-07-05 | 2017-10-20 | 努比亚技术有限公司 | A kind of method for updating system, equipment and computer-readable recording medium |
-
2018
- 2018-11-30 CN CN201811458702.9A patent/CN109542488A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009589A (en) * | 2006-01-26 | 2007-08-01 | 腾讯科技(深圳)有限公司 | A method and system for software upgrade |
CN101212336A (en) * | 2006-12-28 | 2008-07-02 | 上海广电Nec液晶显示器有限公司 | Automatic software update method for client, auxiliary method and related device |
US20140173588A1 (en) * | 2012-12-14 | 2014-06-19 | Samsung Electronics Co., Ltd. | Software update service method and apparatus for mobile terminal |
CN105094926A (en) * | 2015-08-28 | 2015-11-25 | 张为坚 | Software updating method and system |
CN105653328A (en) * | 2015-12-29 | 2016-06-08 | 百度在线网络技术(北京)有限公司 | Multi-version program coexistence method and apparatus for big memory service |
CN107273139A (en) * | 2017-07-05 | 2017-10-20 | 努比亚技术有限公司 | A kind of method for updating system, equipment and computer-readable recording medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110389781A (en) * | 2019-05-31 | 2019-10-29 | 平安国际智慧城市科技股份有限公司 | Localstorage cache implementing method, device and storage medium based on Version Control |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107783857A (en) | A kind of abnormal restorative procedure and device, computer installation, readable storage medium storing program for executing | |
CN110351378A (en) | A kind of control method and system of internet of things equipment | |
CN110032382A (en) | A kind of vehicle electronic control unit upgrade method, system and terminal device | |
CN107979493A (en) | Platform is construction method, server and the storage medium for servicing PAAS container platforms | |
CN108427570A (en) | A kind of intelligent appliance primary control program upgrade-system and upgrade method | |
CN106897086A (en) | Method, apparatus and system for upgraded machine people's operating system | |
CN112104501A (en) | Remote software upgrading method for agricultural machinery subsoiling Internet of things terminal equipment | |
CN110427385A (en) | Block chain data-updating method, interdependent node and block chain | |
CN108512747A (en) | The plug-in management method and home gateway of home gateway, communication system | |
CN112737847B (en) | Node upgrading method and device, storage medium and electronic device | |
CN110062041B (en) | Method and device for changing IOT (input/output) equipment based on block chain | |
CN109725921A (en) | A kind of method, apparatus and automobile fault diagnostic apparatus of the update of VCI equipment firmware | |
CN110474812A (en) | Sample rate self-adapting regulation method and device | |
CN103024782A (en) | Base station software version management method and system | |
CN108282365A (en) | A kind of vehicle configuration method, device, terminal, car-mounted terminal and vehicle | |
CN105354043A (en) | Terminal upgrading method and apparatus | |
CN108616391A (en) | Method and system for upgrading equipment firmware at server side | |
CN109032635A (en) | Method for upgrading software, device and the network equipment | |
CN103647848B (en) | A kind of Android phone parameter processing method and system | |
CN109542488A (en) | A kind of software version configuration method and relevant apparatus, system | |
CN107707405A (en) | The method and its remote control that intelligent closestool firmware remotely updates are realized by remote control | |
CN109766245A (en) | A kind of method and relevant apparatus of shared terminal resource | |
CN107147522B (en) | A kind of method and device of determining networking topological structure | |
CN110083504A (en) | The running state monitoring method and device of distributed task scheduling | |
CN109636664A (en) | A kind of distribution system, distribution main website and its point table model update method |
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 |
Application publication date: 20190329 |
|
RJ01 | Rejection of invention patent application after publication |