CN110780913A - Cross-machine type differential upgrading method and system, storage medium and electronic equipment - Google Patents

Cross-machine type differential upgrading method and system, storage medium and electronic equipment Download PDF

Info

Publication number
CN110780913A
CN110780913A CN201911019648.2A CN201911019648A CN110780913A CN 110780913 A CN110780913 A CN 110780913A CN 201911019648 A CN201911019648 A CN 201911019648A CN 110780913 A CN110780913 A CN 110780913A
Authority
CN
China
Prior art keywords
transition
version
upgrading
upgraded
data
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.)
Granted
Application number
CN201911019648.2A
Other languages
Chinese (zh)
Other versions
CN110780913B (en
Inventor
庄瑞军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan ELF Education Software Co Ltd
Original Assignee
Dongguan ELF Education Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan ELF Education Software Co Ltd filed Critical Dongguan ELF Education Software Co Ltd
Priority to CN201911019648.2A priority Critical patent/CN110780913B/en
Publication of CN110780913A publication Critical patent/CN110780913A/en
Application granted granted Critical
Publication of CN110780913B publication Critical patent/CN110780913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a cross-machine type differential upgrading method, a cross-machine type differential upgrading system, a storage medium and electronic equipment, wherein the method comprises the following steps: acquiring a transition difference packet of a transition version of the intelligent equipment to be upgraded; upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition difference packet, wherein the transition version does not contain identity verification; acquiring an upgrading differential packet of a next version of another model of intelligent equipment to be upgraded, wherein the next version and the current version are versions of different models; and upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type according to the upgrading differential packet, wherein the next version comprises identity verification. The invention can differentially upgrade to a uniform version when the intelligent equipment has the same equipment hardware and different equipment models and is upgraded in a cross-version manner, thereby solving the problem of development cost among different models.

Description

Cross-machine type differential upgrading method and system, storage medium and electronic equipment
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a cross-machine type differential upgrade method, system, storage medium, and electronic device.
Background
With the rapid development of network and information technology, intelligent devices in daily life are becoming more and more popular, and the types, models and the like of the intelligent devices are more and more diverse. In addition, since developers of software in the smart device are constantly perfecting functions, the smart device needs to be upgraded.
For a certain intelligent terminal, if the intelligent terminal needs to be upgraded, because fingerprint verification needs to be carried out, the current version of the current model can only be upgraded to the next version of the current model at present, and the current version of the current model cannot be upgraded to the next version of another model, so that the problem of increasing development cost caused by the fact that a system needs to be burned again among different models is solved.
Disclosure of Invention
The invention aims to provide a cross-machine type differential upgrading method, a cross-machine type differential upgrading system, a storage medium and electronic equipment, which can realize differential upgrading to a uniform version when the same equipment hardware, different equipment machines and cross-version upgrading of intelligent equipment are carried out, and solve the problem of development cost among different machine types.
The technical scheme provided by the invention is as follows:
the invention provides a cross-machine type differential upgrading method, which comprises the following steps:
acquiring a transition difference packet of a transition version of the intelligent equipment to be upgraded;
upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition difference packet, wherein the transition version does not contain identity verification;
acquiring an upgrading differential packet of a next version of another model of intelligent equipment to be upgraded, wherein the next version and the current version are versions of different models;
and upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type according to the upgrading differential packet, wherein the next version comprises identity verification.
Further, before obtaining the transition differential packet of the transition version of the intelligent device to be upgraded, the method further includes:
generating a transition initial differential packet according to script information of a current version and a transition version of a current model of intelligent equipment to be upgraded, wherein the transition initial differential packet comprises transition identity verification data and transition initial upgrade data;
removing the identity verification in the transitional initial upgrading data to obtain transitional upgrading data;
and obtaining the transition difference packet according to the transition identity authentication data and the transition upgrading data.
Further, upgrading the intelligent device to be upgraded from the current version of the current model to a transition version according to the transition difference packet, where the transition version does not include an identity check specifically includes:
performing identity authentication according to the transitional identity authentication data;
and if the verification is passed, upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition upgrading data, wherein the transition version does not contain identity verification.
Further, before obtaining the upgrade difference packet of the next version of the other model of the intelligent device to be upgraded, the method further includes:
generating an initial differential packet according to script information of a transition version of the intelligent equipment to be upgraded and a next version of another machine type, wherein the initial differential packet comprises initial identity verification data and upgrading data;
removing the identity verification in the initial identity verification data to obtain identity verification data;
obtaining the upgrading difference packet according to the identity verification data and the upgrading data;
upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type according to the upgrading differential packet, wherein the step of upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type, which contains identity verification, specifically comprises the following steps:
and upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type according to the upgrading data, wherein the next version comprises identity verification.
The invention also provides a cross-machine type differential upgrading system, which comprises:
the acquisition module acquires a transition difference packet of a transition version of the intelligent equipment to be upgraded;
the transition upgrading module is used for upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition difference packet acquired by the acquisition module, wherein the transition version does not contain identity verification;
the acquisition module acquires an upgrade differential packet of a next version of another model of the intelligent equipment to be upgraded, wherein the next version and the current version are versions of different models;
and the upgrading module is used for upgrading the transition version of the intelligent equipment to be upgraded, which is obtained from the transition upgrading module, to the next version of another machine type according to the upgrading difference packet obtained by the obtaining module, wherein the next version comprises identity verification.
Further, the method also comprises the following steps:
the difference packet generation module is used for generating a transition initial difference packet according to script information of a current version and a transition version of a current model of the intelligent equipment to be upgraded, wherein the transition initial difference packet comprises transition identity verification data and transition initial upgrade data;
the processing module is used for removing the identity verification in the transitional initial upgrading data obtained by the differential packet generating module to obtain transitional upgrading data;
and the differential packet generation module is used for obtaining the transition differential packet according to the transition identity verification data and the transition upgrading data obtained by the processing module.
Further, the transition upgrading module specifically includes:
the identity authentication unit is used for performing identity authentication according to the transitional identity authentication data obtained by the differential packet generation module;
and the transition upgrading unit is used for upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition upgrading data if the authentication of the identity authentication unit is passed, wherein the transition version does not contain identity verification.
Further, the method also comprises the following steps:
the difference packet generating module is used for generating an initial difference packet according to script information of a transition version of the intelligent equipment to be upgraded and a next version of another machine type, and the initial difference packet comprises initial identity verification data and upgrading data;
the processing module removes the identity verification in the initial identity verification data obtained by the differential packet generation module to obtain identity verification data;
the differential packet generating module is used for obtaining the upgrading differential packet according to the identity verification data and the upgrading data obtained by the processing module;
the upgrading module specifically comprises:
and the upgrading module is used for upgrading the intelligent equipment to be upgraded from the transition version to the next version of another machine type according to the upgrading data obtained by the differential packet generating module, wherein the next version comprises identity verification.
The invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, implements any of the methods described above.
The invention also provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program running on the processor, and the processor implements any one of the methods described above when executing the computer program.
The cross-machine type differential upgrading method, the cross-machine type differential upgrading system, the cross-machine type differential upgrading storage medium and the electronic equipment provided by the invention can bring at least one of the following beneficial effects:
1. in the invention, by monitoring the use condition of the uplink flow, the method has the following advantages: the device to be upgraded can be upgraded to the next version of another machine type from the current version of the current machine type, on one hand, cross-version upgrading is achieved, the device can be upgraded to a uniform version in a differential mode, on the other hand, the situation that a system needs to be burnt again among different machine types is avoided, and development cost is increased.
2. In the invention, a transition differential packet comprising transition authentication data and transition upgrading data is generated and is used for upgrading the intelligent equipment to be upgraded from the current version of the current machine type to the transition version, on one hand, the transition authentication data comprises identity verification to ensure that the upgrading can be carried out smoothly, on the other hand, the transition upgrading data does not comprise identity verification to ensure that the upgraded transition version does not comprise identity verification, so that the identity verification is not needed in the second upgrading, and finally, the cross-machine type upgrading is realized.
3. In the invention, the transition difference packet is generated based on the current model, but the transition upgrading data used for upgrading in the transition difference packet does not contain identity authentication, so that the intelligent equipment to be upgraded is upgraded from the current version of the current model to the transition version without identity authentication, the differential packet upgrading of other models is convenient to use subsequently, and the cross-model upgrading is realized.
4. In the invention, because the transitional version does not contain identity authentication, the transitional version can be directly upgraded without authentication, and because the transitional version is an upgrade differential packet generated based on another machine type, the upgrade data contains the identity authentication of the other machine type, so that the next version of the other machine type is obtained, and the cross-machine type upgrade is completed.
Drawings
The foregoing features, technical features, and advantages of a cross-machine differential upgrade method, system, storage medium, and electronic device, and implementations thereof will be further described in the following detailed description of preferred embodiments in conjunction with the accompanying drawings.
FIG. 1 is a flowchart of an embodiment of a cross-model differential upgrade method of the present invention;
FIG. 2 is a flowchart of another embodiment of a cross-model differential upgrade method of the present invention;
FIG. 3 is a flowchart of another embodiment of a cross-model differential upgrade method of the present invention;
FIG. 4 is a flowchart of another embodiment of a cross-model differential upgrade method of the present invention;
FIG. 5 is a schematic structural diagram of an embodiment of a cross-model differential upgrade system according to the present invention;
fig. 6 is a schematic structural diagram of another embodiment of a cross-machine type differential upgrade system according to the present invention.
The reference numbers illustrate:
100-cross-machine type differential upgrading system
110 acquisition module
120 transition upgrade module 121 identity authentication unit 122 transition upgrade unit
130 upgrade module
140 differential packet generation module
150 processing module
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically depicted, or only one of them is labeled. In this document, "one" means not only "only one" but also a case of "more than one".
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In particular implementations, the terminal devices described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, family computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments the terminal device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a terminal device that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal device may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal device supports various applications, such as one or more of the following: a drawing application, a presentation application, a network creation application, a word processing application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a digital video camera application, a Web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal device may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
An embodiment of the present invention, as shown in fig. 1, is a cross-model differential upgrade method, including:
s100, acquiring a transition difference packet of a transition version of the intelligent equipment to be upgraded;
specifically, the intelligent device acquires the latest version of the system or software of the intelligent device in real time or periodically, and if the latest version is found to be released and is higher than the current version of the intelligent device, prompt information is generated to remind a user that the system or software is to be updated.
When the user sees the generated prompt information, the corresponding operation information is input for the prompt information through the human-computer interaction interface to select updating or not updating, and updating is carried out immediately or later. In addition, the user can also select to automatically update and upgrade without inquiring the user and inputting operation information when finding the new version through the system setting.
If the intelligent device needs to be upgraded in a cross-model mode, for example, the version of the slave model IDL3 is upgraded to the version of the model IOS3, a transition difference packet of the transition version of the intelligent device to be upgraded is acquired, and the transition difference packet is generated based on a script of the current version of the current model.
S200, upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition difference packet, wherein the transition version does not contain identity verification;
specifically, the intelligent device to be upgraded is upgraded from the current version of the current model to the transition version according to the transition difference packet, and because the current version of the current model of the intelligent device to be upgraded has identity verification, the transition difference packet contains identity verification information for verification upgrade, but the transition version obtained after upgrade does not contain identity verification, and identity verification is not needed for subsequent upgrade based on the transition version.
The identity verification comprises fingerprint verification, equipment verification, mirror device and fingerprint detection information.
S300, acquiring an upgrading differential packet of a next version of another model of the intelligent equipment to be upgraded, wherein the next version and the current version are versions of different models;
specifically, an upgrade differential packet of a next version of another model of the intelligent device to be upgraded, that is, an upgrade differential packet of a transition version upgraded to a next version of another model is obtained, the next version and a current version are versions of different models, and after the upgrade is completed, the current version is upgraded to the next version on the one hand, and the current model is upgraded to the next model on the other hand.
S400, upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type according to the upgrading differential packet, wherein the next version comprises identity verification.
Specifically, the transition version of the intelligent device to be upgraded is upgraded to the next version of another machine type according to the upgrade differential packet, and the transition version of the intelligent device to be upgraded does not need identity verification, that is, the upgrade based on the transition version does not need identity verification. Therefore, the upgrading differential package can be generated based on another model, and the identity verification of the other model is contained in the upgrading differential package, so that the intelligent device to be upgraded is upgraded from the transition version to the next version of the other model through the upgrading differential package.
In the embodiment, the device to be upgraded can be upgraded from the current version of the current model to the next version of another model, so that on one hand, cross-version upgrading is realized, and the device can be upgraded to a uniform version differentially, and on the other hand, the problem that a system needs to be burnt again among different models is avoided, and development cost is increased.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 2, including:
s010 generates a transition initial differential packet according to script information of a current version and a transition version of a current model of the intelligent equipment to be upgraded, wherein the transition initial differential packet comprises transition identity verification data and transition initial upgrade data;
specifically, a transition initial differential packet is generated according to the difference between the script information of the current version and the transition version of the current model of the intelligent device to be upgraded, wherein the transition initial differential packet comprises transition authentication data and transition initial upgrade data, the transition authentication data is used for authentication as the current version of the current model comprises authentication, and the transition initial upgrade data is used for upgrading.
S020 removing identity verification in the transitional initial upgrading data to obtain transitional upgrading data;
specifically, the purpose of performing the first upgrade according to the transition differential packet is to obtain a transition version that does not include an identity check, and therefore, the identity check in the transition initial upgrade data used for the upgrade is removed to obtain the transition upgrade data.
And S030 obtaining the transition difference sub-package according to the transition identity verification data and the transition upgrading data.
Specifically, a transition difference packet is obtained according to transition authentication data and transition upgrade data, wherein the transition authentication data includes authentication, and the transition upgrade data does not include authentication.
S100, acquiring a transition difference packet of a transition version of the intelligent equipment to be upgraded;
s200, upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition difference packet, wherein the transition version does not contain identity verification;
s300, acquiring an upgrading differential packet of a next version of another model of the intelligent equipment to be upgraded, wherein the next version and the current version are versions of different models;
s400, upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type according to the upgrading differential packet, wherein the next version comprises identity verification.
In this embodiment, a transition differential packet including transition authentication data and transition upgrade data is generated, and the transition differential packet is used to upgrade the intelligent device to be upgraded from the current version of the current model to the transition version, on one hand, the transition authentication data includes an identity check to ensure that the upgrade can be smoothly performed, and on the other hand, the transition upgrade data does not include an identity check to ensure that the upgraded transition version does not include an identity check, so that the second upgrade does not need to perform the identity check, and finally, the cross-model upgrade is realized.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 3, including:
s010 generates a transition initial differential packet according to script information of a current version and a transition version of a current model of the intelligent equipment to be upgraded, wherein the transition initial differential packet comprises transition identity verification data and transition initial upgrade data;
s020 removing identity verification in the transitional initial upgrading data to obtain transitional upgrading data;
and S030 obtaining the transition difference sub-package according to the transition identity verification data and the transition upgrading data.
S100, acquiring a transition difference packet of a transition version of the intelligent equipment to be upgraded;
s200, upgrading the intelligent device to be upgraded from the current version of the current model to a transition version according to the transition difference packet, wherein the transition version does not contain identity verification and specifically comprises the following steps:
s210, performing identity authentication according to the transitional identity authentication data;
specifically, the current version of the intelligent device to be upgraded is the current model, which includes the identity verification of the current model, and if the upgrade is to be completed successfully, the identity verification is required. Therefore, the identity authentication is performed according to the identity information of the current model included in the transitional identity authentication data.
And S220, if the verification is passed, upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition upgrading data, wherein the transition version does not contain identity verification.
Specifically, if the identity authentication is passed, the intelligent device to be upgraded is upgraded from the current version of the current model to the transition version according to the transition upgrade data in the transition difference package, and since the transition difference package is generated based on the current model, the transition version is actually the current model, but since the transition upgrade data does not include the identity authentication, the identity authentication is not required for the subsequent upgrade based on the transition version, that is, the upgrade can be performed by using the difference package of other models.
S300, acquiring an upgrading differential packet of a next version of another model of the intelligent equipment to be upgraded, wherein the next version and the current version are versions of different models;
s400, upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type according to the upgrading differential packet, wherein the next version comprises identity verification.
In this embodiment, the transition difference packet is generated based on the current model, but the transition upgrade data for upgrading in the transition difference packet does not include authentication, so that the intelligent device to be upgraded is upgraded from the current version of the current model to a transition version that does not need authentication, and the differential packet of other models can be used for upgrading subsequently, thereby realizing cross-model upgrading.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 4, including:
s100, acquiring a transition difference packet of a transition version of the intelligent equipment to be upgraded;
s200, upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition difference packet, wherein the transition version does not contain identity verification;
s250, generating an initial differential packet according to script information of a transition version of the intelligent device to be upgraded and a next version of another machine type, wherein the initial differential packet comprises initial identity verification data and upgrading data;
specifically, an initial differential packet is generated according to the difference between the script information of the transition version of the intelligent device to be upgraded and the script information of the next version of the other model, wherein the initial differential packet comprises initial authentication data and upgrading data. In addition, the initial authentication data is used for authentication, and the upgrade data is used for upgrading.
S260, removing the identity verification in the initial identity verification data to obtain identity verification data;
specifically, since the transitional version of the intelligent device to be upgraded in the current version of the current model does not need authentication, and the initial authentication data in the initial differential packet includes authentication of another model, the authentication in the initial authentication data used for authentication is removed to obtain authentication data.
However, since the next version obtained by the final upgrade needs to contain authentication, authentication belonging to another model in the upgrade data is retained.
S270, obtaining the upgrading differential packet according to the identity verification data and the upgrading data;
specifically, the upgrade differential packet is obtained according to the authentication data and the upgrade data, wherein the authentication data does not include authentication, and the upgrade data includes authentication.
S300, acquiring an upgrading differential packet of a next version of another model of the intelligent equipment to be upgraded, wherein the next version and the current version are versions of different models;
s400, upgrading the intelligent device to be upgraded from the transition version to the next version of the other machine type according to the upgrading differential packet, wherein the step of upgrading the intelligent device to be upgraded from the transition version to the next version of the other machine type, which contains identity verification, specifically comprises the following steps:
s410, upgrading the intelligent device to be upgraded from the transition version to the next version of the other machine type according to the upgrading data, wherein the next version comprises identity verification.
Specifically, the transitional version of the intelligent device to be upgraded does not contain identity verification, and the upgrade does not need to be verified. Therefore, the upgrade is directly performed through the upgrade data in the upgrade differential package, because the upgrade differential package is generated based on another model, the upgrade data contains the identity authentication of the other model, and finally, the upgrade is performed through the upgrade data in the upgrade differential package to obtain the next version of the other model, which contains the identity authentication of the other model.
In this embodiment, since the transitional version does not include the authentication, the upgrade can be directly performed without the authentication, and since the upgrade differential package is generated based on another machine type, the upgrade data includes the authentication of another machine type, so that the next version of another machine type is obtained, and the cross-machine type upgrade is completed.
One embodiment of the present invention, as shown in fig. 5, is a cross-model differential upgrade system 100, including:
the obtaining module 110 obtains a transition difference packet of a transition version of the intelligent device to be upgraded;
specifically, the intelligent device acquires the latest version of the system or software of the intelligent device in real time or periodically, and if the latest version is found to be released and is higher than the current version of the intelligent device, prompt information is generated to remind a user that the system or software is to be updated.
When the user sees the generated prompt information, the corresponding operation information is input for the prompt information through the human-computer interaction interface to select updating or not updating, and updating is carried out immediately or later. In addition, the user can also select to automatically update and upgrade without inquiring the user and inputting operation information when finding the new version through the system setting.
If the intelligent device needs to be upgraded in a cross-model mode, for example, the version of the slave model IDL3 is upgraded to the version of the model IOS3, a transition difference packet of the transition version of the intelligent device to be upgraded is acquired, and the transition difference packet is generated based on a script of the current version of the current model.
The transition upgrading module 120 is configured to upgrade the intelligent device to be upgraded from a current version of a current machine type to a transition version according to the transition difference packet acquired by the acquisition module 110, where the transition version does not include identity verification;
specifically, the intelligent device to be upgraded is upgraded from the current version of the current model to the transition version according to the transition difference packet, and because the current version of the current model of the intelligent device to be upgraded has identity verification, the transition difference packet contains identity verification information for verification upgrade, but the transition version obtained after upgrade does not contain identity verification, and identity verification is not needed for subsequent upgrade based on the transition version.
The identity verification comprises fingerprint verification, equipment verification, mirror device and fingerprint detection information.
The obtaining module 110 obtains an upgrade differential packet of a next version of another model of the intelligent device to be upgraded, where the next version and the current version are versions of different models;
specifically, an upgrade differential packet of a next version of another model of the intelligent device to be upgraded, that is, an upgrade differential packet of a transition version upgraded to a next version of another model is obtained, the next version and a current version are versions of different models, and after the upgrade is completed, the current version is upgraded to the next version on the one hand, and the current model is upgraded to the next model on the other hand.
The upgrading module 130 upgrades the transition version of the intelligent device to be upgraded, which is obtained from the transition upgrading module 120, to a next version of another model according to the upgrading differential packet obtained by the obtaining module 110, where the next version includes an identity check.
Specifically, the transition version of the intelligent device to be upgraded is upgraded to the next version of another machine type according to the upgrade differential packet, and the transition version of the intelligent device to be upgraded does not need identity verification, that is, the upgrade based on the transition version does not need identity verification. Therefore, the upgrading differential package can be generated based on another model, and the identity verification of the other model is contained in the upgrading differential package, so that the intelligent device to be upgraded is upgraded from the transition version to the next version of the other model through the upgrading differential package.
In the embodiment, the device to be upgraded can be upgraded from the current version of the current model to the next version of another model, so that on one hand, cross-version upgrading is realized, and the device can be upgraded to a uniform version differentially, and on the other hand, the problem that a system needs to be burnt again among different models is avoided, and development cost is increased.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 3, including:
the differential packet generating module 140 is used for generating a transition initial differential packet according to the script information of the current version and the transition version of the current model of the intelligent device to be upgraded, wherein the transition initial differential packet comprises transition identity verification data and transition initial upgrade data;
specifically, a transition initial differential packet is generated according to the difference between the script information of the current version and the transition version of the current model of the intelligent device to be upgraded, wherein the transition initial differential packet comprises transition authentication data and transition initial upgrade data, the transition authentication data is used for authentication as the current version of the current model comprises authentication, and the transition initial upgrade data is used for upgrading.
The processing module 150 removes the identity verification in the transition initial upgrade data obtained by the differential packet generation module 140 to obtain transition upgrade data;
specifically, the purpose of performing the first upgrade according to the transition differential packet is to obtain a transition version that does not include an identity check, and therefore, the identity check in the transition initial upgrade data used for the upgrade is removed to obtain the transition upgrade data.
The differential packet generating module 140 obtains the transition differential packet according to the transition authentication data and the transition upgrade data obtained by the processing module 150.
Specifically, a transition difference packet is obtained according to transition authentication data and transition upgrade data, wherein the transition authentication data includes authentication, and the transition upgrade data does not include authentication.
In this embodiment, a transition differential packet including transition authentication data and transition upgrade data is generated, and the transition differential packet is used to upgrade the intelligent device to be upgraded from the current version of the current model to the transition version, on one hand, the transition authentication data includes an identity check to ensure that the upgrade can be smoothly performed, and on the other hand, the transition upgrade data does not include an identity check to ensure that the upgraded transition version does not include an identity check, so that the second upgrade does not need to perform the identity check, and finally, the cross-model upgrade is realized.
The obtaining module 110 obtains a transition difference packet of a transition version of the intelligent device to be upgraded;
the transition upgrading module 120 is configured to upgrade the intelligent device to be upgraded from a current version of a current machine type to a transition version according to the transition difference packet acquired by the acquisition module 110, where the transition version does not include identity verification;
the transition upgrade module 120 specifically includes:
the identity authentication unit 121 performs identity authentication according to the transitional identity authentication data obtained by the differential packet generation module 140;
specifically, the current version of the intelligent device to be upgraded is the current model, which includes the identity verification of the current model, and if the upgrade is to be completed successfully, the identity verification is required. Therefore, the identity authentication is performed according to the identity information of the current model included in the transitional identity authentication data.
And if the authentication of the identity authentication unit 121 is passed, the transition upgrading unit 122 upgrades the intelligent device to be upgraded from the current version of the current model to a transition version according to the transition upgrading data, where the transition version does not include identity verification.
Specifically, if the identity authentication is passed, the intelligent device to be upgraded is upgraded from the current version of the current model to the transition version according to the transition upgrade data in the transition difference package, and since the transition difference package is generated based on the current model, the transition version is actually the current model, but since the transition upgrade data does not include the identity authentication, the identity authentication is not required for the subsequent upgrade based on the transition version, that is, the upgrade can be performed by using the difference package of other models.
In this embodiment, the transition difference packet is generated based on the current model, but the transition upgrade data for upgrading in the transition difference packet does not include authentication, so that the intelligent device to be upgraded is upgraded from the current version of the current model to a transition version that does not need authentication, and the differential packet of other models can be used for upgrading subsequently, thereby realizing cross-model upgrading.
The differential packet generating module 140 generates an initial differential packet according to the script information of the transition version of the intelligent device to be upgraded and the next version of another machine type, where the initial differential packet includes initial authentication data and upgrade data;
specifically, an initial differential packet is generated according to the difference between the script information of the transition version of the intelligent device to be upgraded and the script information of the next version of the other model, wherein the initial differential packet comprises initial authentication data and upgrading data. In addition, the initial authentication data is used for authentication, and the upgrade data is used for upgrading.
The processing module 150 removes the identity verification in the initial identity verification data obtained by the differential packet generating module 140 to obtain identity verification data;
specifically, since the transitional version of the intelligent device to be upgraded in the current version of the current model does not need authentication, and the initial authentication data in the initial differential packet includes authentication of another model, the authentication in the initial authentication data used for authentication is removed to obtain authentication data.
However, since the next version obtained by the final upgrade needs to contain authentication, authentication belonging to another model in the upgrade data is retained.
The differential packet generating module 140 obtains the upgrade differential packet according to the authentication data and the upgrade data obtained by the processing module 150;
specifically, the upgrade differential packet is obtained according to the authentication data and the upgrade data, wherein the authentication data does not include authentication, and the upgrade data includes authentication.
The obtaining module 110 obtains an upgrade differential packet of a next version of another model of the intelligent device to be upgraded, where the next version and the current version are versions of different models;
the upgrading module 130 upgrades the transition version of the intelligent device to be upgraded, which is obtained from the transition upgrading module 120, to a next version of another model according to the upgrading differential packet obtained by the obtaining module 110, where the next version includes an identity check.
The upgrade module 130 specifically includes:
the upgrading module 130 upgrades the intelligent device to be upgraded from the transition version to a next version of another model according to the upgrading data obtained by the differential packet generating module 140, where the next version includes identity verification.
Specifically, the transitional version of the intelligent device to be upgraded does not contain identity verification, and the upgrade does not need to be verified. Therefore, the upgrade is directly performed through the upgrade data in the upgrade differential package, because the upgrade differential package is generated based on another model, the upgrade data contains the identity authentication of the other model, and finally, the upgrade is performed through the upgrade data in the upgrade differential package to obtain the next version of the other model, which contains the identity authentication of the other model.
In this embodiment, since the transitional version does not include the authentication, the upgrade can be directly performed without the authentication, and since the upgrade differential package is generated based on another machine type, the upgrade data includes the authentication of another machine type, so that the next version of another machine type is obtained, and the cross-machine type upgrade is completed.
An embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out all or part of the method steps of the first embodiment.
All or part of the flow of the method according to the embodiments of the present invention may be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
An embodiment of the present invention further provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program running on the processor, and the processor executes the computer program to implement all or part of the method steps in the first embodiment.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like which is the control center for the computer device and which connects the various parts of the overall computer device using various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the computer device by running or executing the computer programs and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A cross-machine type differential upgrading method is characterized by comprising the following steps:
acquiring a transition difference packet of a transition version of the intelligent equipment to be upgraded;
upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition difference packet, wherein the transition version does not contain identity verification;
acquiring an upgrading differential packet of a next version of another model of intelligent equipment to be upgraded, wherein the next version and the current version are versions of different models;
and upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type according to the upgrading differential packet, wherein the next version comprises identity verification.
2. The cross-machine type differential upgrading method according to claim 1, wherein before obtaining the transition differential package of the transition version of the intelligent device to be upgraded, the method further comprises:
generating a transition initial differential packet according to script information of a current version and a transition version of a current model of intelligent equipment to be upgraded, wherein the transition initial differential packet comprises transition identity verification data and transition initial upgrade data;
removing the identity verification in the transitional initial upgrading data to obtain transitional upgrading data;
and obtaining the transition difference packet according to the transition identity authentication data and the transition upgrading data.
3. The inter-model differential upgrade method according to claim 2, wherein the upgrading of the to-be-upgraded intelligent device from a current version of a current model to a transition version according to the transition differential packet, where the transition version does not include an identity check specifically includes:
performing identity authentication according to the transitional identity authentication data;
and if the verification is passed, upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition upgrading data, wherein the transition version does not contain identity verification.
4. The inter-model differential upgrade method according to claim 1, wherein before obtaining the upgrade differential package of the next version of another model of the intelligent device to be upgraded, the method further comprises:
generating an initial differential packet according to script information of a transition version of the intelligent equipment to be upgraded and a next version of another machine type, wherein the initial differential packet comprises initial identity verification data and upgrading data;
removing the identity verification in the initial identity verification data to obtain identity verification data;
obtaining the upgrading difference packet according to the identity verification data and the upgrading data;
upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type according to the upgrading differential packet, wherein the step of upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type, which contains identity verification, specifically comprises the following steps:
and upgrading the intelligent equipment to be upgraded from the transition version to the next version of the other machine type according to the upgrading data, wherein the next version comprises identity verification.
5. A cross-model differential upgrade system, comprising:
the acquisition module acquires a transition difference packet of a transition version of the intelligent equipment to be upgraded;
the transition upgrading module is used for upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition difference packet acquired by the acquisition module, wherein the transition version does not contain identity verification;
the acquisition module acquires an upgrade differential packet of a next version of another model of the intelligent equipment to be upgraded, wherein the next version and the current version are versions of different models;
and the upgrading module is used for upgrading the transition version of the intelligent equipment to be upgraded, which is obtained from the transition upgrading module, to the next version of another machine type according to the upgrading difference packet obtained by the obtaining module, wherein the next version comprises identity verification.
6. The cross-model differential upgrade system according to claim 5, further comprising:
the difference packet generation module is used for generating a transition initial difference packet according to script information of a current version and a transition version of a current model of the intelligent equipment to be upgraded, wherein the transition initial difference packet comprises transition identity verification data and transition initial upgrade data;
the processing module is used for removing the identity verification in the transitional initial upgrading data obtained by the differential packet generating module to obtain transitional upgrading data;
and the differential packet generation module is used for obtaining the transition differential packet according to the transition identity verification data and the transition upgrading data obtained by the processing module.
7. The cross-machine type differential upgrade system according to claim 6, wherein the transition upgrade module specifically comprises:
the identity authentication unit is used for performing identity authentication according to the transitional identity authentication data obtained by the differential packet generation module;
and the transition upgrading unit is used for upgrading the intelligent equipment to be upgraded from the current version of the current machine type to a transition version according to the transition upgrading data if the authentication of the identity authentication unit is passed, wherein the transition version does not contain identity verification.
8. The cross-model differential upgrade system according to claim 5, further comprising:
the difference packet generating module is used for generating an initial difference packet according to script information of a transition version of the intelligent equipment to be upgraded and a next version of another machine type, and the initial difference packet comprises initial identity verification data and upgrading data;
the processing module removes the identity verification in the initial identity verification data obtained by the differential packet generation module to obtain identity verification data;
the differential packet generating module is used for obtaining the upgrading differential packet according to the identity verification data and the upgrading data obtained by the processing module;
the upgrading module specifically comprises:
and the upgrading module is used for upgrading the intelligent equipment to be upgraded from the transition version to the next version of another machine type according to the upgrading data obtained by the differential packet generating module, wherein the next version comprises identity verification.
9. A storage medium having a computer program stored thereon, characterized in that: the computer program, when executed by a processor, implements the method of any of claims 1 to 4.
10. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that runs on the processor, characterized in that: the processor, when executing the computer program, implements the method of any of claims 1 to 4.
CN201911019648.2A 2019-10-24 2019-10-24 Cross-machine type differential upgrading method and system, storage medium and electronic equipment Active CN110780913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911019648.2A CN110780913B (en) 2019-10-24 2019-10-24 Cross-machine type differential upgrading method and system, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911019648.2A CN110780913B (en) 2019-10-24 2019-10-24 Cross-machine type differential upgrading method and system, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110780913A true CN110780913A (en) 2020-02-11
CN110780913B CN110780913B (en) 2023-04-07

Family

ID=69386390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911019648.2A Active CN110780913B (en) 2019-10-24 2019-10-24 Cross-machine type differential upgrading method and system, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110780913B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199106A (en) * 2020-10-20 2021-01-08 新华三信息安全技术有限公司 Cross-version upgrading method and device and electronic equipment
CN113641423A (en) * 2021-08-31 2021-11-12 青岛海信传媒网络技术有限公司 Display device and system starting method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375870A (en) * 2014-12-03 2015-02-25 广州广电运通金融电子股份有限公司 Self-service terminal software remote upgrading method and system and upgrading package creation method
WO2016192197A1 (en) * 2015-06-02 2016-12-08 中兴通讯股份有限公司 Software upgrade method, apparatus and system of terminal, and computer storage medium
CN106648798A (en) * 2016-12-30 2017-05-10 歌尔科技有限公司 Method for dynamically upgrading cross-version OTA
CN108415714A (en) * 2018-02-08 2018-08-17 上海商米科技有限公司 The method for upgrading system and device of mobile terminal
CN108446133A (en) * 2018-03-29 2018-08-24 广东美的暖通设备有限公司 Firmware upgrade control method, firmware upgrade control system and electric appliance
CN109766115A (en) * 2019-01-17 2019-05-17 广东小天才科技有限公司 Fool-proof method and system for intelligent equipment upgrading

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375870A (en) * 2014-12-03 2015-02-25 广州广电运通金融电子股份有限公司 Self-service terminal software remote upgrading method and system and upgrading package creation method
WO2016192197A1 (en) * 2015-06-02 2016-12-08 中兴通讯股份有限公司 Software upgrade method, apparatus and system of terminal, and computer storage medium
CN106648798A (en) * 2016-12-30 2017-05-10 歌尔科技有限公司 Method for dynamically upgrading cross-version OTA
CN108415714A (en) * 2018-02-08 2018-08-17 上海商米科技有限公司 The method for upgrading system and device of mobile terminal
CN108446133A (en) * 2018-03-29 2018-08-24 广东美的暖通设备有限公司 Firmware upgrade control method, firmware upgrade control system and electric appliance
CN109766115A (en) * 2019-01-17 2019-05-17 广东小天才科技有限公司 Fool-proof method and system for intelligent equipment upgrading

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
施超等: ""基于Android 平台OTA 差分升级系统设计与实现"", 《信息技术》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199106A (en) * 2020-10-20 2021-01-08 新华三信息安全技术有限公司 Cross-version upgrading method and device and electronic equipment
CN112199106B (en) * 2020-10-20 2022-08-26 新华三信息安全技术有限公司 Cross-version upgrading method and device and electronic equipment
CN113641423A (en) * 2021-08-31 2021-11-12 青岛海信传媒网络技术有限公司 Display device and system starting method
CN113641423B (en) * 2021-08-31 2023-07-07 青岛海信传媒网络技术有限公司 Display device and system starting method

Also Published As

Publication number Publication date
CN110780913B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN109471626B (en) Page logic structure, page generation method, page data processing method and device
US9665841B2 (en) Cross-platform application framework
CN110049456B (en) Method and device for displaying rich media on mobile terminal and mobile terminal
CN108900770B (en) Method and device for controlling rotation of camera, smart watch and mobile terminal
CN103890723A (en) Distribution of multiple application versions
CN110059273B (en) Method for displaying rich media on mobile terminal and mobile terminal
US10021213B2 (en) Systems and methods for adaptive cloning of mobile devices
CN105302587A (en) Data updating method and apparatus
CN109495871B (en) Bluetooth connection control method, electronic device and computer readable storage medium
CN109271211B (en) Method, device, equipment and medium for separating application program
CN105700925A (en) APP interface implementation method and apparatus
CN110780913B (en) Cross-machine type differential upgrading method and system, storage medium and electronic equipment
CN110244963B (en) Data updating method and device and terminal equipment
CN108733370B (en) Stylized display method, device, terminal and storage medium of native APP
CN113157345A (en) Automatic starting method and device for front-end engineering
CN112015459A (en) Method and device for upgrading image file, terminal and readable storage medium
CN107678618B (en) Interface switching method and device, computer device and computer readable storage medium
CN106775835B (en) Method, server and terminal for acquiring upgrade file
CN109104481B (en) File integrity detection method, file integrity detection device and terminal equipment
US10303462B2 (en) Windows support of a pluggable ecosystem for universal windows application stores
CN108513012B (en) Data processing method, data processing device and mobile terminal
CN111443903B (en) Method and device for acquiring software development file, electronic equipment and storage medium
CN113950043A (en) Communication method, communication apparatus, storage medium, and terminal
CN111008006A (en) RFC file modification method and device, storage medium and terminal
CN109918122B (en) White list maintenance method and device and terminal equipment

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
GR01 Patent grant
GR01 Patent grant