CN110908683A - Software system upgrading method and device of hardware module, storage medium and terminal - Google Patents

Software system upgrading method and device of hardware module, storage medium and terminal Download PDF

Info

Publication number
CN110908683A
CN110908683A CN201911004904.0A CN201911004904A CN110908683A CN 110908683 A CN110908683 A CN 110908683A CN 201911004904 A CN201911004904 A CN 201911004904A CN 110908683 A CN110908683 A CN 110908683A
Authority
CN
China
Prior art keywords
software system
hardware module
identification code
upgrading
server
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
CN201911004904.0A
Other languages
Chinese (zh)
Other versions
CN110908683B (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.)
Shenzhen Guanghetong Wireless Communication Software Co Ltd
Original Assignee
Shenzhen Guanghetong Wireless Communication 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 Shenzhen Guanghetong Wireless Communication Software Co Ltd filed Critical Shenzhen Guanghetong Wireless Communication Software Co Ltd
Priority to CN201911004904.0A priority Critical patent/CN110908683B/en
Publication of CN110908683A publication Critical patent/CN110908683A/en
Application granted granted Critical
Publication of CN110908683B publication Critical patent/CN110908683B/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

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)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a software system upgrading method, a device, a computer readable storage medium and a computer terminal of a hardware module, wherein the method comprises the following steps: receiving upgrading prompt information sent by a server; the upgrade prompt information carries the module identification code and the software system version number of the hardware module corresponding to the module identification code; judging whether the identification code is matched with the identification code of the target hardware module in the terminal; if so, detecting whether the version number of the software system is higher than the version number of the software system corresponding to the target hardware module; and if so, downloading a new version software system corresponding to the version number of the software system from the server, and upgrading the software system corresponding to the target hardware module by using the new version software system. The identification code carried in the prompt message sent by the server is matched with the identification code of the target hardware module in the terminal, and the new version software system is obtained from the server by using the wireless network, so that the target hardware module is accurately upgraded on line.

Description

Software system upgrading method and device of hardware module, storage medium and terminal
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to a module upgrading method and apparatus, a computer-readable storage medium, and a computer terminal.
Background
With the development of wireless communication technology, hardware modules in terminals become more and more precise, and wireless communication in the form of 5G (the 5th generation mobile communication technology) or LTE (Long Term Evolution) can be realized through the hardware modules. Different hardware modules usually require corresponding software systems to implement various functions, and the software systems of the hardware modules need to be upgraded because new functions or services need to be supported. However, in the conventional upgrade scheme, a professional is usually required to manually upgrade the hardware modules in the terminal one by one, so that the upgrade efficiency is low.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for upgrading a software system of a hardware module, a computer-readable storage medium, and a computer terminal, aiming at the technical problem that in the conventional upgrading scheme, a professional is usually required to manually upgrade hardware modules in the terminal one by one, so that the upgrading efficiency is low.
A software system upgrade method for hardware modules, comprising:
receiving upgrading prompt information sent by a server; the upgrade prompt information carries a module identification code and a software system version number of a hardware module corresponding to the module identification code;
judging whether the identification code is matched with the identification code of a target hardware module in the terminal;
if so, detecting whether the version number of the software system is higher than the version number of the software system corresponding to the target hardware module;
and if so, downloading a new version software system corresponding to the version number of the software system from the server, and upgrading the software system corresponding to the target hardware module by using the new version software system.
An apparatus for software system upgrade of a hardware module, the apparatus comprising:
the information receiving module is used for receiving the upgrading prompt information sent by the server; the upgrade prompt information carries a module identification code and a software system version number of a hardware module corresponding to the module identification code;
the judging module is used for judging whether the identification code is matched with the identification code of the target hardware module in the terminal;
the detection module is used for detecting whether the version number of the software system is higher than the version number of the software system corresponding to the target hardware module or not if the software system is matched with the target hardware module;
and the upgrading module is used for downloading a new version software system corresponding to the version number of the software system from the server and upgrading the software system corresponding to the target hardware module by using the new version software system if the software system is the target hardware module.
A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to perform the steps of a method for software system upgrade of a hardware module.
A computer terminal comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of a software system upgrade method for a hardware module.
The software system upgrading method and device of the hardware module, the computer readable storage medium and the computer terminal acquire the identification code of the hardware module of the terminal; judging whether the identification code is matched with the identity identification information of the hardware module in the database; if the hardware module is matched with the hardware module, establishing communication connection with the hardware module; the communication connection with the module is established through the identification code, so that the accurate control module is realized; acquiring a new version software system corresponding to the hardware module, and pushing the new version software system to the terminal to instruct the terminal to upgrade the software system installed in the hardware module according to the new version software system when the version number of the new version software system is higher than the current version number of the software system installed in the hardware module; and the software system of the hardware module is upgraded on line by using the cloud end, so that the module upgrading efficiency is improved.
A software system upgrade method for hardware modules, comprising:
sending an upgrading request carrying an identification code to a server through a message queue telemetry transmission protocol; the identification code is identity identification information of a hardware module and is used for indicating the server to detect whether a preset configuration table is configured with the identification code, and if so, searching a corresponding new version software system according to the identification code;
when receiving a new version software system of the server responding to the upgrading request;
and upgrading the software system installed in the hardware module according to the new version software system.
An apparatus for software system upgrade of a hardware module, the apparatus comprising:
the request module is used for sending an upgrading request carrying an identification code to the server through a message queue telemetry transmission protocol; the identification code is identity identification information of a hardware module and is used for indicating the server to detect whether a preset configuration table is configured with the identification code, and if so, searching a corresponding new version software system according to the identification code;
the receiving module is used for receiving a new version software system of the server responding to the upgrading request;
and the installation module is used for upgrading the software system installed in the hardware module according to the new version software system.
A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to perform the steps of a method for software system upgrade of a hardware module.
A computer terminal comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of a software system upgrade method for a hardware module.
The software system upgrading method, the device, the computer readable storage medium and the computer terminal of the hardware module send the upgrading request carrying the identification code to the server through the message queue telemetry transmission protocol; the identification code is the identification information of the hardware module, and when the server finds the configured identification code in the preset configuration table, the server searches the corresponding new version software system; when the terminal receives a new version software system of the server responding to the upgrading request; and upgrading the software system installed in the hardware module according to the new version software system. The software system of the cloud online accurate upgrading hardware module is realized through the identification codes, a user does not need to install an upgrading server, and the module upgrading efficiency is improved.
Drawings
FIG. 1 is a diagram of an application environment of a software system upgrade method for hardware modules in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a method for upgrading a software system of a hardware module, according to an embodiment;
FIG. 3 is a flowchart illustrating a method for upgrading a software system of a hardware module according to an embodiment;
FIG. 4 is a flowchart illustrating a method for upgrading a software system of a hardware module according to an embodiment;
FIG. 5 is a flowchart illustrating a method for upgrading a software system of a hardware module according to an embodiment;
FIG. 6 is a flowchart illustrating a software system upgrade method for hardware modules according to another embodiment;
FIG. 7 is a flowchart illustrating a software system upgrade method for hardware modules according to another embodiment;
FIG. 8 is a flowchart illustrating a software system upgrade method for hardware modules in another embodiment;
FIG. 9 is a flowchart illustrating a software system upgrade method for hardware modules in another embodiment;
FIG. 10 is a block diagram showing the configuration of a software system upgrading apparatus for a hardware module in one embodiment;
FIG. 11 is a block diagram showing a software system upgrading apparatus for a hardware module in another embodiment;
fig. 12 is a block diagram of a computer terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
FIG. 1 is a diagram of an application environment for a method for upgrading a software system of hardware modules, according to an embodiment. Referring to fig. 1, the software system upgrading method of the hardware module is applied to a software system upgrading system of the hardware module. The software system upgrade system of the hardware module includes a terminal 110 and a server 120. The terminal 110 and the server 120 are connected through a network. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The terminal 110 receives the upgrade prompt information sent by the server 120; the upgrade prompt information carries the module identification code and the software system version number of the hardware module corresponding to the module identification code; judging whether the identification code is matched with the identification code of the target hardware module in the terminal; if so, detecting whether the version number of the software system is higher than the version number of the software system corresponding to the target hardware module; if yes, the new version software system corresponding to the software system version number is downloaded from the server 120, and the software system corresponding to the target hardware module is upgraded by using the new version software system.
In one embodiment, as shown in FIG. 2, a method for software system upgrade of a hardware module is provided. The embodiment is mainly illustrated by applying the method to the server 120 in fig. 1. Referring to fig. 2, the method for upgrading a software system of a hardware module specifically includes the following steps:
s202, receiving upgrade prompt information sent by a server; the upgrade prompt information carries the module identification code and the software system version number of the hardware module corresponding to the module identification code.
In one embodiment, the hardware module receives upgrade prompt information sent by the server through a wireless network, the upgrade prompt information carries a module identification code of the hardware module, the module identification code is a string of serial numbers for verifying the legal identity of the hardware module, and the module identification code is composed of ten numbers of 0-9 or 26 English letters singly or in a mixed mode. Each hardware module corresponds to a group of different identification codes, wherein the identification codes are formed by one group or a plurality of groups of codes with sequence (such as increasing by one) or a plurality of groups of codes without sequence.
In one embodiment, the identification code carries manufacturer information, customer information, and product information, wherein the manufacturer information includes a manufacturer code; the customer information comprises a customer code (such as a customer name), a special customer or common customer identifier and the like; the product information comprises product type information, production date and delivery date, production batch, production line number and the like.
Each identification code is recorded by a manufacturer for manufacturing and producing the corresponding hardware module from production to delivery, and the identification code of each hardware module and manufacturer information, customer information and product information carried by the identification code are prestored in a server database.
For example: the identification code comprises a SN code and an IMEI code, wherein the SN code is 2KJ1ASP, and the IMEI code is 355073030525545. The SN code 2KJ1ASP carries the manufacturer code 2KJ, the common client code 1, the product type information code ASP, and the IMEI code 355073030525545, which represent the production lot and the assembly line number of the hardware module.
In one embodiment, the upgrade prompt information carries a software system version number of the hardware module corresponding to the target module identification code, and the software system version number may be english or composed, or may be composed of english and numbers, and is generally located behind the name of the software system. When the software system is subjected to local correction optimization or is added with new functions of a department, the main version number is unchanged, and the sub-version number is added with 1; when the software system is subjected to major modification or local modification optimization accumulation, so that the whole software system is subjected to global change, the major version number is increased by 1, and the minor version number is reduced to 0. The initial version number of the software system can be 1.0 or 1.00.
For example: XXX.1.0 represents that the software system version with the software system name XXX is 1.0, wherein the main version number is 1, and the sub-version number is 0; XXX.1.1 represents that the version of the software system with the name XXX of the software system is 1.1, wherein the main version number is 1, the sub-version number is 1, and the local modification optimization or the addition of new functions of departments is carried out on the XXX software system with the version number of 1.0; XXX.2.0 represents that the version of the software system with the name XXX is 2.0, wherein the major version number is 2, the minor version number is 0, and the XXX software system with the version number of 1.0 is subjected to more serious modification or local modification optimization accumulation, so that the overall software system is changed globally.
And S204, judging whether the identification code is matched with the identification code of the target hardware module in the terminal.
In one embodiment, the terminal reads a module identification code carried by the upgrade prompt information, where the identification code includes a module identifier for distinguishing a target hardware module, and selects an identifier in a preset identifier interval from the module identifiers, and when the identifier in the preset identifier interval is the same as the identifier of the target hardware module in terms of number of characters and number of characters, that is, the identifier in the preset identifier interval is the same as the identifier of the target hardware module, that is, the identifier in the preset identifier interval is a complete module identifier, the module identification code carried by the upgrade prompt information matches the identifier of the target hardware module.
For example: the identification code of the hardware module comprises a module identification code SN code and an IMEI code, wherein the SN code of the hardware module is 2KJ1ASP, and the IMEI code is 355073030525545. When the hardware module reads that the module identification code carried by the upgrade prompt message is SN code 2KJ1ASP, and the IMEI code is 355073030525545, the module identification code carried by the upgrade prompt message is the same as the character symbol bit number and the bit characters of the identification code of the target hardware module, namely the identification in the preset identification interval is a complete module identification, and at the moment, the module identification code carried by the upgrade prompt message is matched with the identification code of the target hardware module.
In one embodiment, the terminal reads a module identification code carried by the upgrade prompt message, wherein the identification code includes a module identifier for distinguishing the target hardware module, and an identifier in a preset identifier interval is selected from the module identifier. When the number of character bits of the identifier in the preset identifier interval is smaller than that of the identifier of the target hardware module, and the identifier in the preset identifier interval is the same as a certain section of continuous characters in the identifier of the target hardware module, that is, the identifier in the preset identifier interval is a part of the identifier of the module identifier, the module identifier carried by the upgrade prompt message is matched with the identifier of the target hardware module.
For example, the identification code of the hardware module includes a module identification code SN code and an IMEI code, when the module identification code carried by the upgrade prompt information is SN code 2KJ1ASP, the number of character bits of the module identification code carried by the upgrade prompt information is smaller than the number of character bits of the identification code of the target hardware module, but the module identification code carried by the upgrade prompt information is the same as the SN code in the identification code of the target hardware module, that is, the identification code of the target hardware module is an identification code within a preset identification interval in the module identification, and at this time, the module identification code carried by the upgrade prompt information is matched with the identification code of the target hardware module.
And S206, if the software system version number is matched with the target hardware module, detecting whether the software system version number is higher than the version number of the software system corresponding to the target hardware module.
In one embodiment, the major version number of the software system is compared with the major version number of the software system corresponding to the target hardware module, and when the major version number of the software system is greater than the major version number of the software system corresponding to the target hardware module, the version number of the software system is greater than the version number of the software system corresponding to the target hardware module. And when the major version number of the software system is the same as the major version number of the software system corresponding to the target hardware module, comparing the minor version number of the software system with the minor version number of the software system corresponding to the target hardware module, and when the minor version number of the software system is greater than the minor version number of the software system corresponding to the target hardware module, the version number of the software system is greater than the version number of the software system corresponding to the target hardware module.
For example, xxx.2.0 represents a software system version of 2.0 with a software system name XXX, where the major version number is 2; XXX.1.0 represents a software system version of 1.0 with the software system name XXX, where the major version number is 1 and the version number of the software system represented by XXX.2.0 is higher than the version number of the software system represented by XXX.1.0. XXX.2.2 represents that the software system version with the software system name XXX is 2.0, wherein the major version number is 2, and the minor version number is 2; xxx.2.1 represents a version of the software system having a software system name XXX of 2.0, where the major version number is 2 and the minor version number is 1, and xxx.2.2 represents a version number of the software system that is higher than the version number of the software system represented by xxx.2.1.
And S208, if so, downloading a new version software system corresponding to the version number of the software system from the server, and upgrading the software system corresponding to the target hardware module by using the new version software system.
In one embodiment, when the version number of the new version software system is higher than the version number of the software system corresponding to the target hardware module, the terminal sends a request for downloading the new version software system corresponding to the version number of the software system to the server. And after the response agreed by the server is obtained, accessing the server database, and obtaining a software installation package of the new version software system in the database, wherein the software installation package is a set of files capable of being automatically decompressed and comprises all the files installed by the new version software system.
In one embodiment, after acquiring a software installation package of a new version software system in a database, a terminal prepares a software system upgrading environment, including detecting whether a software installation package installation space, an information backup environment, an environment parameter configuration, a communication configuration, a terminal electric quantity and the like meet requirements of the software system upgrading environment. And if the requirement of the upgrading environment meets the requirement, downloading a new version software system installation package from the server, and downloading the software installation package to the corresponding installation position of the hardware module through the wireless communication network. Decompressing and releasing all files in the software installation package into a hardware module, modifying a registry, modifying system settings, initializing data of a database, creating shortcuts and the like, and finishing upgrading the software system corresponding to the target hardware module.
According to the software system upgrading method of the hardware module, the upgrading prompt information which is sent by the server and carries the module identification code and the software system version number of the hardware module corresponding to the module identification code is received through the hardware module, when the identification code is matched with the identification code of the target hardware module in the terminal, whether the software system version number is higher than the version number of the software system corresponding to the target hardware module is detected, if yes, the corresponding new version software system is downloaded from the server, and the software system corresponding to the target hardware module is upgraded. The identification code carried in the prompt message sent by the server is matched with the identification code of the target hardware module in the terminal, and the new version software system is obtained from the server by using the wireless network, so that the target hardware module is accurately upgraded on line.
As shown in fig. 3, in an embodiment, S204 specifically includes the following contents:
s302, receiving an input configuration instruction.
In one embodiment, a target hardware module in a terminal receives a configuration instruction, where the configuration instruction carries an upgrade requirement on a software system corresponding to the target hardware module, and the upgrade requirement includes a requirement on frequency of a new version to be pushed, whether to allow upgrading, and the like.
For example, whether a software system corresponding to the target hardware module has a new version software system is pushed once every half month according to a configuration instruction generated by user requirements; the software system corresponding to the target hardware module is not allowed to be upgraded; and prompting is only carried out when the main version number of the software system corresponding to the target hardware module is updated.
S304, according to the configuration instruction, generating a subscription message for upgrading the software system of the target hardware module.
In one embodiment, the subscription message carries the identification code of the target hardware module and the software system upgrade configuration information of the corresponding hardware module. If the configuration instruction pushes a new version frequency requirement, generating software system upgrading configuration information corresponding to the new version frequency requirement pushing instruction; and if the configuration instruction is that whether the upgrade is allowed or not, generating software system upgrade configuration information corresponding to whether the software system version update is detected or not and the push subscription message. For example, the configuration instruction is to push once every half month whether the software system corresponding to the target hardware module has a new version software system, and if so, generate a subscription message carrying the identification code of the target hardware module and the "new version software system found" or "new version software system not found", where the sending frequency of the subscription message is once every half month. And when the configuration instruction is that the software upgrading is not allowed, generating a subscription message which does not detect whether the software system corresponding to the target hardware module has a new version software system and does not generate prompt information. The configuration instruction is that only when the main version number of the software system corresponding to the target hardware module is updated and prompted, a subscription message for prompting information push when the main version number of the software system is updated is generated.
S306, sending the subscription message to a server; the sent subscription message is used for indicating the server to update the upgrade configuration information so as to send upgrade prompt information to the terminal according to the upgrade configuration information.
In one embodiment, a target hardware module in a terminal sends a subscription message carrying a target hardware module identification code and software system upgrade configuration information of a corresponding hardware module to a server, instructs the server to extract the target hardware module identification code carried in the subscription message, searches target hardware module information corresponding to a pre-stored identification code in a server database, instructs the server to update software system upgrade configuration information of the corresponding hardware module to the corresponding target hardware module information, and instructs the server to send upgrade prompt information to the target hardware module in the terminal according to the upgrade configuration information.
For example, the subscription message is whether the software system corresponding to the target hardware module has a new version software system or not, which is pushed once every half month by the software system a corresponding to the hardware module with the identification code of 2KJ1ASP, if so, the subscription message carrying the identification code of the target hardware module and the "new version software system found" or the "new version software system not found" is generated, and the frequency of sending the subscription message to the target hardware module in the terminal is indicated to be once every half month by the server.
In the above embodiment, the subscription message for upgrading the software system of the target hardware module is generated through the configuration instruction, the server is instructed to update the upgrade configuration information, and the upgrade prompt information is sent to the terminal according to the upgrade configuration information. By presetting the upgrade configuration information to indicate the server to send the upgrade prompt information to the terminal, the upgrade prompt information of the customized push software system is realized, and the prompt information is prevented from being too frequent or missing the upgrade of the software system.
As shown in fig. 4, in an embodiment, S204 specifically further includes the following contents:
s402, when the target hardware module in the terminal is started for the first time, the identification code of the target hardware module is obtained.
In one embodiment, when a target hardware module in the terminal is started for the first time, the terminal obtains the authority to access the target hardware module through the module manager, searches the identity information of the target hardware module and obtains the identification code of the hardware module. Wherein, the module manager prestores the identification code of the target hardware module.
S404, the acquired identification code is sent to a server so as to store the identification code in the server, wherein the identification code comprises a module identifier for distinguishing a target hardware module, or an identifier in a preset identifier interval is selected from the module identifier.
In one embodiment, a remote communication module in a terminal sends a communication connection request to a remote communication module in a server, after receiving a signal which is sent by the remote communication module in the server and carries a response communication connection request, the remote communication module in the terminal is connected with the remote communication module in the server through a wireless network, the terminal sends an acquired identification code to the server through the wireless network, and the server is instructed to store the identification code in a database.
In one embodiment, the identifier in the preset identifier interval is selected from the module identifiers, and when the number of the character symbols in the preset identifier interval is the same as the number of the character symbols of the identifier of the target hardware module and each character is the same, that is, the identifier in the preset identifier interval is the same as the identifier of the target hardware module, that is, the identifier in the preset identifier interval is the complete module identifier. When the character digit number of the mark in the preset mark interval is smaller than the character digit number of the identification code of the target hardware module and the mark in the preset mark interval is the same as a certain section of continuous characters in the identification code of the target hardware module, namely the mark in the preset mark interval is a part of the mark of the module mark
In the above embodiment, the obtained identification code of the hardware module is sent to the server to instruct the server to store the identification code, so that the upgrade prompt information sent by the server can carry the identification code when the software system corresponding to the target hardware module is upgraded each time, the upgrade prompt information is conveniently matched with the identification code of the target hardware module in the terminal, and the upgrade of the hardware module is accurately controlled.
As shown in fig. 5, in an embodiment, S208 specifically further includes the following:
s502, obtaining upgrading result information for upgrading the software system installed in the target hardware module; the upgrade result information includes the version number of the new version software system and information of success or failure of the upgrade.
In one embodiment, the terminal uses the new version software system to upgrade the software system corresponding to the target hardware module, and then obtains the upgrade result information, and when the upgrade is successful, the upgrade result information includes the version number of the new version software system and the information of the upgrade success, such as "xxx.1.0 has been upgraded to xxx.2.0". When the upgrade fails, the upgrade result information comprises the version number of the new version software system, the upgrade failure information, the failure reason and recommended measures, such as 'the upgrade XXX.2.0 fails in XXX.1.0 due to insufficient storage space, and the upgrade is carried out again after the storage space of the terminal is cleaned'.
S504, displaying the upgrading result information in a prompt box form.
S506, sending the upgrading result information to the server.
In one embodiment, the terminal sends upgrade result information to the server, and if the upgrade result information is successful, the server is instructed to update the software system version number corresponding to the identification code of the target hardware module stored in the database to a new version software system version number.
In one embodiment, the terminal sends the upgrade result information to the server, and if the upgrade result information is upgrade failure, the server is instructed to perform the step of upgrading the software system corresponding to the target hardware module again later according to the instruction.
According to the software system upgrading method of the hardware module, the terminal sends the upgrading result information to the server, and the server is indicated to update the software system version number corresponding to the identification code of the target hardware module stored in the database into the new version software system version number, so that information backup is realized, and the information query of the hardware module in the later period is accurate.
As shown in fig. 6, in an embodiment, a software system upgrading method for a hardware module is provided, which is exemplified by being applied to the terminal 110 shown in fig. 1, and specifically includes:
s602, sending an upgrading request carrying an identification code to a server through a message queue telemetry transmission protocol; the identification code is identity identification information of the hardware module and is used for indicating the server to detect whether the preset configuration table is configured with the identification code, and if so, searching the corresponding new version software system according to the identification code;
in one embodiment, when the hardware module function of the terminal is in problem, the terminal sends an identification code upgrading request carrying a target hardware module to the server through a message queue telemetry transmission protocol. Wherein, the identification code of the target hardware module is pre-stored in the module manager of the terminal. The upgrade request carries the target module identification code and the software system version number of the hardware module,
in one embodiment, the terminal instructs the server to detect whether the preset configuration table is configured with the identification code according to the upgrade request, wherein the identification code of the target hardware module is sent to the server by the terminal through a wireless network in advance, and the server is instructed to store the identification code in the database. The terminal generates subscription information for upgrading the software system of the target hardware module in advance according to the configuration instruction, sends the subscription information to the server to instruct the server to update the software system upgrading configuration information of the hardware module corresponding to the identification code to generate a preset configuration table, and detects whether the software system of the target hardware module corresponding to the identification code of the target module carried in the upgrading request meets the upgrading condition or not according to the preset configuration table.
For example, by detecting a preset configuration table, if it is detected that the software system of the target hardware module corresponding to the target module identification code carried by the upgrade request is configured to allow upgrade, the server is instructed to search for the corresponding new version software system according to the identification code. And detecting that the software system of the target hardware module corresponding to the target module identification code carried by the upgrading request is configured not to allow upgrading by detecting the preset configuration table, and generating prompt information which cannot be upgraded.
S604, when receiving a new version software system of the server responding to the upgrading request; and upgrading the software system installed in the hardware module according to the new version software system.
In one embodiment, the terminal instructs the server to search for a software system with a version number higher than the version number of the software system corresponding to the target hardware module, and the searched software system is a new version system. And when response information of the server finding the corresponding new version software system according to the identification code is received, sending a request for downloading the new version software system corresponding to the version number of the software system to the server. And after the response agreed by the server is obtained, accessing the server database, and obtaining a software installation package of the new version software system in the database, wherein the software installation package is a set of files capable of being automatically decompressed and comprises all the files installed by the new version software system.
In one embodiment, after acquiring a software installation package of a new version software system in a database, a terminal prepares a software system upgrading environment, including detecting whether a software installation package installation space, an information backup environment, an environment parameter configuration, a communication configuration, a terminal electric quantity and the like meet requirements of the software system upgrading environment. And if the requirement of the upgrading environment meets the requirement, downloading a new version software system installation package from the server, and downloading the software installation package to the corresponding installation position of the hardware module through the wireless communication network. Decompressing and releasing all files in the software installation package into a hardware module, modifying a registry, modifying system settings, initializing data of a database, creating shortcuts and the like, and finishing upgrading the software system corresponding to the target hardware module.
In one embodiment, a terminal acquires upgrade result information for upgrading a software system installed in a target hardware module; the upgrade result information includes the version number of the new version software system and information of success or failure of the upgrade. And the terminal sends upgrading result information to the server, and if the upgrading result information is successful, the terminal instructs the server to update the software system version number corresponding to the identification code of the target hardware module stored in the database into a new version software system version number. And if the upgrading result information is upgrading failure, indicating the server to perform the step of upgrading the software system corresponding to the target hardware module again later according to the instruction.
In the software system upgrading method of the hardware module, the terminal sends an upgrading request carrying the identification code to the server; the indication server detects whether the preset configuration table is configured with the identification code, and if so, the corresponding new version software system is searched according to the identification code; and when a new version software system of the server responding to the upgrading request is received, upgrading the software system installed in the hardware module according to the new version software system. The terminal actively sends an upgrading request to the server, and instructs the server to upgrade the software system of the hardware module corresponding to the identification code according to the identification code of the hardware module, so that the hardware module is upgraded timely and accurately.
As an example, because a professional is required to manually upgrade hardware modules in a terminal one by one, so as to solve the technical problem of low upgrade efficiency, in view of the above problem, an embodiment of the present invention provides a method for upgrading a software system of a hardware module, as shown in fig. 7, where the method mainly includes the following steps:
hardware module receives upgrade prompt information
And a hardware module in the terminal equipment receives the upgrade prompt information sent by the server through the message queue telemetry transmission protocol. The server is built by a manufacturer who manufactures the hardware module or a user who uses the hardware module according to the requirement, for example, the corresponding server can be built in each country according to the geographic region, as shown in fig. 8, if the server is built and provided by the manufacturer who produces the corresponding hardware module, the manufacturer is responsible for building the information of the user and the hardware module used by the user in the server database according to the requirement of the user, and is responsible for counting, recording and maintaining the identification code of the hardware module. If the server is set up by the user, the user stores the information of the hardware module used by the user into a server database by himself, and the server and the hardware module interact through a wireless network sent by a communication base station.
The upgrade prompt information carries an identification code of the target module and a software system version number of the hardware module, the identification code is a string of unique serial numbers capable of identifying the legal identity of the hardware module, and the identification code carries information such as manufacturer information, customer information, product information and the like. Each identification code is statistically recorded and maintained from production to delivery by the manufacturer that manufactures the corresponding hardware module. The identification code of each hardware module and the manufacturer information, the client information and the product information carried by the identification code are prestored in a server database, the software system version number corresponding to the hardware module can be counted by the server, and the information of the hardware module is updated regularly.
And (II) detecting whether the module identification number carried by the upgrade prompt message is matched with the identification code of the target hardware module.
And the terminal reads the module identification code carried by the upgrade prompt information, wherein the module identification code can be an identification code of a complete character digit or an identification code of which the character digit is accurate to a certain interval. The unique hardware module can be determined through the identification code of the complete character digit, and the module identification code in the corresponding interval range is determined through the identification code of the character digit accurate to a certain interval.
For example, the identification code of the hardware module is 7-bit character such as 2KJ1ASP, the first three-bit character is manufacturer code number 2KJ, the fourth bit character is customer code 1, and the last three bits are product category information code ASP. The module identification code read by the terminal and carried by the upgrade prompt message is 2KJ1ASP, the identification code is a 7-bit character string, 2KJ1ASP is an identification code of a complete character digit, a hardware module determined by the identification code of the complete character digit is unique, and the hardware module identification code is found to be 2KJ1 ASP. And the module identification number 2KJ1ASP carried by the upgrade prompt message is matched with the identification number 2KJ1ASP of the target hardware module.
The terminal reads that the module identification code carried by the upgrade prompt message is 2KJ, the identification code is 3 bits, the corresponding code is the manufacturer code, 2KJ is the identification code of which the character bit number is accurate to a certain interval, all hardware modules produced by manufacturers with the manufacturer code of 2KJ are determined, and the module identification number 2KJ carried by the upgrade prompt message is matched with the identification code 2KJ1ASP of the target hardware module.
If the software system version number is matched with the version number of the software system corresponding to the target hardware module, whether the software system version number carried by the upgrade prompt information is higher than the version number of the software system corresponding to the target hardware module or not is detected
And the terminal compares the main version number of the software system carried by the upgrade prompt information with the main version number of the software system corresponding to the target hardware module, and when the main version number of the software system is greater than the main version number of the software system corresponding to the target hardware module, the version number of the software system is greater than the version number of the software system corresponding to the target hardware module. And when the major version number of the software system is the same as the major version number of the software system corresponding to the target hardware module, comparing the minor version number of the software system with the minor version number of the software system corresponding to the target hardware module, and when the minor version number of the software system is greater than the minor version number of the software system corresponding to the target hardware module, the version number of the software system is greater than the version number of the software system corresponding to the target hardware module.
For example, xxx.2.0 represents a software system version of 2.0 with a software system name XXX, where the major version number is 2; XXX.1.0 represents a software system version of 1.0 with the software system name XXX, where the major version number is 1 and the version number of the software system represented by XXX.2.0 is higher than the version number of the software system represented by XXX.1.0. XXX.2.2 represents that the software system version with the software system name XXX is 2.0, wherein the major version number is 2, and the minor version number is 2; xxx.2.1 represents a version of the software system having a software system name XXX of 2.0, where the major version number is 2 and the minor version number is 1, and xxx.2.2 represents a version number of the software system that is higher than the version number of the software system represented by xxx.2.1.
And (IV) if so, requesting to establish communication connection with the server, downloading a new version software system corresponding to the version number of the new version software system, and finishing upgrading
When the version number of the new version software system is higher than the version number of the software system corresponding to the target hardware module, the terminal sends a request for downloading the new version software system corresponding to the version number of the software system to the server by using an Over-the-Air Technology (OTA), and after a response agreed by the server is obtained, the server database is accessed to obtain a software installation package of the new version software system in the database, wherein the software installation package is a set of files capable of being automatically decompressed, and comprises all files installed by the new version software system. After acquiring a software installation package of a new version software system in a database, a terminal prepares a software system upgrading environment, including detecting whether a software installation package installation space, an information backup environment, environment parameter configuration, communication configuration, terminal electric quantity and the like meet the requirements of the software system upgrading environment. And if the requirement of the upgrading environment meets the requirement, downloading a new version software system installation package from the server, and downloading the software installation package to the corresponding installation position of the hardware module through the wireless communication network. Decompressing and releasing all files in the software installation package into a hardware module, modifying a registry, modifying system settings, initializing data of a database, creating shortcuts and the like, and finishing upgrading the software system corresponding to the target hardware module.
And (V) sending the upgrading result information to the server.
And the terminal sends upgrading result information to the server, and if the upgrading result information is successful, the terminal instructs the server to update the software system version number corresponding to the identification code of the target hardware module stored in the database into a new version software system version number. And the terminal sends upgrading result information to the server, and if the upgrading result information is upgrading failure, the server is instructed to perform the step of upgrading the software system corresponding to the target hardware module again later according to the instruction.
In the above example, the identification code carried in the prompt message sent by the server is matched with the identification code of the target hardware module in the terminal, and the new version software system is obtained from the server by using the space download technology, so that the software system of the target hardware module is accurately updated on line, and the problem that a user cannot update the software system of the hardware module without a specific update server is solved.
As an example, because a professional is required to manually upgrade hardware modules in a terminal one by one, so as to solve the technical problem of low upgrade efficiency, in view of the above problem, an embodiment of the present invention provides a method for upgrading a software system of a hardware module, as shown in fig. 9, where the method mainly includes the following steps:
the hardware module sends an upgrade request to the server,
when the hardware module function of the terminal has a problem, the terminal sends an identification code upgrading request carrying a target hardware module to the server through an MQTT (Message queue telemetry Transport) protocol. Wherein, the identification code of the target hardware module is pre-stored in the module manager of the terminal. The upgrade request carries the target module identification code and the corresponding software system version number.
(II) the terminal instructs the server to detect whether the preset configuration table is configured with the identification code, if so, instructs the server to search the corresponding new version software system according to the identification code
And the terminal instructs the server to detect whether the preset configuration table is configured with the identification code according to the upgrading request, wherein the identification code of the target hardware module is sent to the server by the terminal through a wireless network in advance, and the server is instructed to store the identification code in a database in advance. The terminal generates subscription information for upgrading the software system of the target hardware module in advance according to the configuration instruction, sends the subscription information to the server to instruct the server to update the software system upgrading configuration information of the hardware module corresponding to the identification code to generate a preset configuration table, and detects whether the software system of the target hardware module corresponding to the identification code of the target module carried in the upgrading request meets the upgrading condition or not according to the preset configuration table.
For example, by detecting a preset configuration table, if it is detected that the software system of the target hardware module corresponding to the target module identification code carried by the upgrade request is configured to allow upgrade, the server is instructed to search for the corresponding new version software system according to the identification code. And detecting that the software system of the target hardware module corresponding to the target module identification code carried by the upgrading request is configured not to allow upgrading by detecting the preset configuration table, and generating prompt information which cannot be upgraded.
(III) when receiving a new version software system of the server responding to the upgrading request; upgrading the software system installed in the hardware module according to the new version software system, and feeding back the upgrading information to the server
And the terminal indicates the server to search the software system with the version number higher than that of the software system corresponding to the target hardware module, and the searched software system is a new version system. And when response information of the server finding the corresponding new version software system according to the identification code is received, sending a request for downloading the new version software system corresponding to the version number of the software system to the server. And after the response agreed by the server is obtained, accessing the server database, and obtaining a software installation package of the new version software system in the database, wherein the software installation package is a set of files capable of being automatically decompressed and comprises all the files installed by the new version software system.
After acquiring a software installation package of a new version software system in a database, a terminal prepares a software system upgrading environment, including detecting whether a software installation package installation space, an information backup environment, environment parameter configuration, communication configuration, terminal electric quantity and the like meet the requirements of the software system upgrading environment. And if the requirement of the upgrading environment meets the requirement, downloading a new version software system installation package from the server, and downloading the software installation package to the corresponding installation position of the hardware module through the wireless communication network. Decompressing and releasing all files in the software installation package into a hardware module, modifying a registry, modifying system settings, initializing data of a database, creating shortcuts and the like, and finishing upgrading the software system corresponding to the target hardware module.
The terminal acquires upgrading result information for upgrading a software system installed in a target hardware module; the upgrade result information includes the version number of the new version software system and information of success or failure of the upgrade. And the terminal sends upgrading result information to the server, and if the upgrading result information is successful, the terminal instructs the server to update the software system version number corresponding to the identification code of the target hardware module stored in the database into a new version software system version number. And if the upgrading result information is upgrading failure, indicating the server to perform the step of upgrading the software system corresponding to the target hardware module again later according to the instruction.
In the above example, the terminal actively requests the server to send the new version software system of the hardware module corresponding to the identification code, and the space downloading technology is used to perform online upgrade on the software system, so that the software system of the target hardware module is accurately upgraded online, and the upgrade efficiency of the hardware module is improved.
Fig. 2-9 are flow diagrams illustrating a method for upgrading a software system of a hardware module, according to an embodiment. It should be understood that although the various steps in the flow charts of fig. 2-9 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-9 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
A software system upgrading device of a hardware module specifically comprises: the system comprises an information receiving module 1002, a judging module 1004, a detecting module 1006 and an upgrading module 1008, wherein:
the information receiving module 1002 is configured to receive upgrade prompt information sent by a server; the upgrade prompt information carries the module identification code and the software system version number of the hardware module corresponding to the module identification code;
a judging module 1004, configured to judge whether the identification code matches with an identification code of a target hardware module in the terminal;
a detecting module 1006, configured to detect whether a version number of the software system is higher than a version number of a software system corresponding to the target hardware module if the software system is matched with the target hardware module;
and the upgrading module 1008 is used for downloading a new version software system corresponding to the software system version number from the server if the software system version number is the same as the software system version number, and upgrading the software system corresponding to the target hardware module by using the new version software system.
According to the software system upgrading method of the hardware module, the upgrading prompt information which is sent by the server and carries the module identification code and the software system version number of the hardware module corresponding to the module identification code is received through the hardware module, when the identification code is matched with the identification code of the target hardware module in the terminal, whether the software system version number is higher than the version number of the software system corresponding to the target hardware module is detected, if yes, the corresponding new version software system is downloaded from the server, and the software system corresponding to the target hardware module is upgraded. The identification code carried in the prompt message sent by the server is matched with the identification code of the target hardware module in the terminal, and the new version software system is obtained from the server by using the wireless network, so that the target hardware module is accurately upgraded on line.
A software system upgrading device of a hardware module specifically comprises: a request module 1102, a receiving module 1104, and an installation module 1106, wherein:
a request module 1102, configured to send an upgrade request carrying an identification code to a server through a message queue telemetry transmission protocol; the identification code is identity identification information of the hardware module and is used for indicating the server to detect whether the preset configuration table is configured with the identification code, and if so, searching the corresponding new version software system according to the identification code;
a receiving module 1104, configured to receive a new version of the software system, where the server responds to the upgrade request;
an installation module 1106 is used for upgrading the software system installed in the hardware module according to the new version software system.
FIG. 12 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal 110 in fig. 1. As shown in fig. 7, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the vehicle evaluation method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a vehicle evaluation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the software system upgrading device of the hardware module provided by the application can be realized in the form of a computer program, and the computer program can run on a computer terminal as shown in fig. 12. The memory of the computer terminal may store various program modules of the software system upgrading apparatus constituting the hardware module, such as a received information module 1002, a judgment module 1004, a detection module 1006, and an upgrading module 1008 shown in fig. 10. The computer program constituted by the program modules makes the processor execute the steps of the software system upgrading method of the hardware module of the present application described in the present specification.
For example, the computer terminal shown in fig. 12 may execute step S202, the judging module 1004 execute step S204, the detecting module 1006 execute step S204, and the upgrading module 1008 executes step S208 by the received information module 1002 in the software system upgrading apparatus of the hardware module shown in fig. 10.
In one embodiment, there is provided a computer terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform: receiving upgrading prompt information sent by a server; the upgrade prompt information carries the module identification code and the software system version number of the hardware module corresponding to the module identification code; judging whether the identification code is matched with the identification code of the target hardware module in the terminal; if so, detecting whether the version number of the software system is higher than the version number of the software system corresponding to the target hardware module; and if so, downloading a new version software system corresponding to the version number of the software system from the server, and upgrading the software system corresponding to the target hardware module by using the new version software system.
In one embodiment, there is provided a computer terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform: receiving an input configuration instruction; generating a subscription message for upgrading the software system of the target hardware module according to the configuration instruction; sending the subscription message to a server; the sent subscription message is used for indicating the server to update the upgrade configuration information so as to send upgrade prompt information to the terminal according to the upgrade configuration information.
In one embodiment, there is provided a computer terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform: when a target hardware module in a terminal is started for the first time, acquiring an identification code of the target hardware module; sending the acquired identification code to a server so as to store the identification code in the server; the identification code comprises a module identifier for distinguishing the target hardware module, or an identifier in a preset identifier interval is selected from the module identifier.
In one embodiment, there is provided a computer terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform: acquiring upgrading result information for upgrading a software system installed in a target hardware module; the upgrade result information comprises the version number of the new version software system and information of upgrade success or failure; displaying the upgrading result information in a prompt box form; and sending the upgrading result information to the server.
In one embodiment, the software system upgrading device of the hardware module provided by the application can be realized in the form of a computer program, and the computer program can run on a computer terminal as shown in fig. 12. The memory of the computer terminal may store various program modules of the software system upgrade apparatus constituting the hardware module, such as a request module 1102, a reception module 1104, and an installation module 1106 shown in fig. 11. The computer program constituted by the program modules makes the processor execute the steps of the software system upgrading method of the hardware module of the present application described in the present specification.
In one embodiment, there is provided a computer terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform: sending an upgrading request carrying an identification code to a server through a message queue telemetry transmission protocol; the identification code is identity identification information of the hardware module and is used for indicating the server to detect whether the preset configuration table is configured with the identification code, and if so, searching the corresponding new version software system according to the identification code; when receiving a new version software system of the server responding to the upgrading request; and upgrading the software system installed in the hardware module according to the new version software system.
In one embodiment, there is provided a computer terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform: acquiring upgrading result information for upgrading a software system installed in a target hardware module; the upgrade result information comprises the version number of the new version software system and information of upgrade success or failure; displaying the upgrading result information in a prompt box form; and sending the upgrading result information to the server.
In one embodiment, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform: receiving upgrading prompt information sent by a server; the upgrade prompt information carries the module identification code and the software system version number of the hardware module corresponding to the module identification code; judging whether the identification code is matched with the identification code of the target hardware module in the terminal; if so, detecting whether the version number of the software system is higher than the version number of the software system corresponding to the target hardware module; and if so, downloading a new version software system corresponding to the version number of the software system from the server, and upgrading the software system corresponding to the target hardware module by using the new version software system.
In one embodiment, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform: receiving an input configuration instruction; generating a subscription message for upgrading the software system of the target hardware module according to the configuration instruction; sending the subscription message to a server; the sent subscription message is used for indicating the server to update the upgrade configuration information so as to send upgrade prompt information to the terminal according to the upgrade configuration information.
In one embodiment, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform: when a target hardware module in a terminal is started for the first time, acquiring an identification code of the target hardware module; sending the acquired identification code to a server so as to store the identification code in the server; the identification code comprises a module identifier for distinguishing the target hardware module, or an identifier in a preset identifier interval is selected from the module identifier.
In one embodiment, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform: acquiring upgrading result information for upgrading a software system installed in a target hardware module; the upgrade result information comprises the version number of the new version software system and information of upgrade success or failure; displaying the upgrading result information in a prompt box form; and sending the upgrading result information to the server.
In one embodiment, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to further perform: sending an upgrading request carrying an identification code to a server through a message queue telemetry transmission protocol; the identification code is identity identification information of the hardware module and is used for indicating the server to detect whether the preset configuration table is configured with the identification code, and if so, searching the corresponding new version software system according to the identification code; when receiving a new version software system of the server responding to the upgrading request; and upgrading the software system installed in the hardware module according to the new version software system.
In one embodiment, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to further perform: acquiring upgrading result information for upgrading a software system installed in a target hardware module; the upgrade result information comprises the version number of the new version software system and information of upgrade success or failure; displaying the upgrading result information in a prompt box form; and sending the upgrading result information to the server.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, and the program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A software system upgrade method for hardware modules, comprising:
receiving upgrading prompt information sent by a server; the upgrade prompt information carries a module identification code and a software system version number of a hardware module corresponding to the module identification code;
judging whether the identification code is matched with the identification code of a target hardware module in the terminal;
if so, detecting whether the version number of the software system is higher than the version number of the software system corresponding to the target hardware module;
and if so, downloading a new version software system corresponding to the version number of the software system from the server, and upgrading the software system corresponding to the target hardware module by using the new version software system.
2. The method of claim 1, wherein before receiving the upgrade hint information sent by the server, the method further comprises:
receiving an input configuration instruction;
generating a subscription message for upgrading the software system of the target hardware module according to the configuration instruction;
sending the subscription message to the server; the sent subscription message is used for indicating the server to update the upgrade configuration information so as to send the upgrade prompt information to the terminal according to the upgrade configuration information.
3. The method of claim 1, wherein before receiving the upgrade hint information sent by the server, the method further comprises:
when a target hardware module in the terminal is started for the first time, acquiring an identification code of the target hardware module;
sending the acquired identification code to the server to save the identification code in the server;
the identification code comprises a module identifier for distinguishing the target hardware module, or an identifier in a preset identifier interval is selected from the module identifier.
4. A method according to any one of claims 1 to 3, characterized in that the method comprises:
acquiring upgrading result information for upgrading the software system installed in the target hardware module; the upgrade result information comprises the version number of the new version software system and information of upgrade success or failure;
displaying the upgrading result information in a prompt box form;
and sending the upgrading result information to the server.
5. A software system upgrade method for hardware modules, comprising:
sending an upgrading request carrying an identification code to a server through a message queue telemetry transmission protocol; the identification code is identity identification information of a hardware module and is used for indicating the server to detect whether a preset configuration table is configured with the identification code, and if so, searching a corresponding new version software system according to the identification code;
when receiving a new version software system of the server responding to the upgrading request;
and upgrading the software system installed in the hardware module according to the new version software system.
6. The method of claim 5, wherein after the upgrading of the software system installed on the hardware module according to the new version software system, the method further comprises:
acquiring upgrading result information for upgrading the software system installed in the target hardware module; the upgrade result information comprises the version number of the version software system and information of upgrade success or failure;
displaying the upgrading result information in a prompt box form;
and sending the upgrading result information to the server.
7. An apparatus for software system upgrade of a hardware module, the apparatus comprising:
the information receiving module is used for receiving the upgrading prompt information sent by the server; the upgrade prompt information carries a module identification code and a software system version number of a hardware module corresponding to the module identification code;
the judging module is used for judging whether the identification code is matched with the identification code of the target hardware module in the terminal;
the detection module is used for detecting whether the version number of the software system is higher than the version number of the software system corresponding to the target hardware module or not if the software system is matched with the target hardware module;
and the upgrading module is used for downloading a new version software system corresponding to the version number of the software system from the server and upgrading the software system corresponding to the target hardware module by using the new version software system if the software system is the target hardware module.
8. An apparatus for software system upgrade of a hardware module, the apparatus comprising:
the request module is used for sending an upgrading request carrying an identification code to the server through a message queue telemetry transmission protocol; the identification code is identity identification information of a hardware module and is used for indicating the server to detect whether a preset configuration table is configured with the identification code, and if so, searching a corresponding new version software system according to the identification code;
the receiving module is used for receiving a new version software system of the server responding to the upgrading request;
and the installation module is used for upgrading the software system installed in the hardware module according to the new version software system.
9. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 6.
10. A computer terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 6.
CN201911004904.0A 2019-10-22 2019-10-22 Software system upgrading method and device of hardware module, storage medium and terminal Active CN110908683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911004904.0A CN110908683B (en) 2019-10-22 2019-10-22 Software system upgrading method and device of hardware module, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911004904.0A CN110908683B (en) 2019-10-22 2019-10-22 Software system upgrading method and device of hardware module, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN110908683A true CN110908683A (en) 2020-03-24
CN110908683B CN110908683B (en) 2023-11-03

Family

ID=69814790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911004904.0A Active CN110908683B (en) 2019-10-22 2019-10-22 Software system upgrading method and device of hardware module, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN110908683B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880823A (en) * 2020-07-17 2020-11-03 合肥移瑞通信技术有限公司 Method, system and medium for system upgrading communication module, computer equipment
CN112052031A (en) * 2020-08-26 2020-12-08 烽火通信科技股份有限公司 Method and device for automatically matching and upgrading CPLD (complex programmable logic device) by service board card
CN112162764A (en) * 2020-10-30 2021-01-01 海信视像科技股份有限公司 Display device, server and camera software upgrading method
CN112291323A (en) * 2020-10-22 2021-01-29 上海电科智能系统股份有限公司 MQTT communication protocol-based single-chip microcomputer firmware upgrading communication method
CN112492337A (en) * 2020-11-26 2021-03-12 北京达佳互联信息技术有限公司 Communication method, communication device, server and storage medium
CN112540783A (en) * 2020-12-18 2021-03-23 航天信息软件技术有限公司 Client upgrading method and device, storage medium and electronic equipment
CN112783530A (en) * 2021-01-26 2021-05-11 广东盈科电子有限公司 Software upgrading method and control device for intelligent shoe cabinet control device
CN112835616A (en) * 2021-02-26 2021-05-25 百度在线网络技术(北京)有限公司 Version upgrading method and device, electronic equipment and storage medium
CN112925545A (en) * 2021-03-01 2021-06-08 青岛海信移动通信技术股份有限公司 Mobile terminal and application updating method thereof
CN113094064A (en) * 2021-03-03 2021-07-09 深圳市晨北科技有限公司 Gateway software module upgrading method, device, equipment and storage medium
CN113259161A (en) * 2021-05-11 2021-08-13 商汤国际私人有限公司 Application management method and device, electronic equipment and storage medium
CN113687847A (en) * 2021-07-30 2021-11-23 联合汽车电子有限公司 Information processing method and device, storage medium, detection instrument and vehicle
CN113973108A (en) * 2020-07-24 2022-01-25 成都鼎桥通信技术有限公司 Online upgrading method, device and equipment for dual-system terminal
CN116560698A (en) * 2023-07-06 2023-08-08 浙江春风动力股份有限公司 Online automatic brushing method for flexible intelligent production line of motorcycle
CN112540783B (en) * 2020-12-18 2024-05-24 航天信息软件技术有限公司 Client upgrading method and device, storage medium and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN102609277A (en) * 2011-08-26 2012-07-25 威海捷讯通信技术有限公司 Application software upgrading method of mobile terminal
WO2013185570A1 (en) * 2012-06-13 2013-12-19 腾讯科技(深圳)有限公司 Software update method, software update system and computer storage medium
CN104834537A (en) * 2014-12-30 2015-08-12 沈阳东软医疗系统有限公司 Data processing method, server and client
CN106657233A (en) * 2016-09-29 2017-05-10 Tcl商用信息科技(惠州)股份有限公司 Method and system for upgrading display firmware
CN107291457A (en) * 2017-06-08 2017-10-24 重庆长安汽车股份有限公司 The long-range renewal computing system and method for entire car controller software
US20170351507A1 (en) * 2016-06-04 2017-12-07 Airwatch Llc Silent upgrade of software with dependencies
WO2018006677A1 (en) * 2016-07-06 2018-01-11 中兴通讯股份有限公司 Smart upgrade method, server, terminal and system
CN107608687A (en) * 2016-07-11 2018-01-19 中兴通讯股份有限公司 A kind of difference upgrade method, mobile terminal, server and system
CN207067971U (en) * 2017-04-17 2018-03-02 宝沃汽车(中国)有限公司 A kind of vehicle electrically controlling unit software upgrade equipment and vehicle
CN108446128A (en) * 2017-02-16 2018-08-24 杭州海康威视数字技术股份有限公司 A kind of method for upgrading software and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN102609277A (en) * 2011-08-26 2012-07-25 威海捷讯通信技术有限公司 Application software upgrading method of mobile terminal
WO2013185570A1 (en) * 2012-06-13 2013-12-19 腾讯科技(深圳)有限公司 Software update method, software update system and computer storage medium
CN104834537A (en) * 2014-12-30 2015-08-12 沈阳东软医疗系统有限公司 Data processing method, server and client
US20170351507A1 (en) * 2016-06-04 2017-12-07 Airwatch Llc Silent upgrade of software with dependencies
WO2018006677A1 (en) * 2016-07-06 2018-01-11 中兴通讯股份有限公司 Smart upgrade method, server, terminal and system
CN107608687A (en) * 2016-07-11 2018-01-19 中兴通讯股份有限公司 A kind of difference upgrade method, mobile terminal, server and system
CN106657233A (en) * 2016-09-29 2017-05-10 Tcl商用信息科技(惠州)股份有限公司 Method and system for upgrading display firmware
CN108446128A (en) * 2017-02-16 2018-08-24 杭州海康威视数字技术股份有限公司 A kind of method for upgrading software and device
CN207067971U (en) * 2017-04-17 2018-03-02 宝沃汽车(中国)有限公司 A kind of vehicle electrically controlling unit software upgrade equipment and vehicle
CN107291457A (en) * 2017-06-08 2017-10-24 重庆长安汽车股份有限公司 The long-range renewal computing system and method for entire car controller software

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880823A (en) * 2020-07-17 2020-11-03 合肥移瑞通信技术有限公司 Method, system and medium for system upgrading communication module, computer equipment
CN111880823B (en) * 2020-07-17 2024-01-30 合肥移瑞通信技术有限公司 Method, system and medium for upgrading communication module by system and computer equipment
CN113973108A (en) * 2020-07-24 2022-01-25 成都鼎桥通信技术有限公司 Online upgrading method, device and equipment for dual-system terminal
CN113973108B (en) * 2020-07-24 2023-08-01 成都鼎桥通信技术有限公司 Dual-system terminal online upgrading method, device and equipment
CN112052031A (en) * 2020-08-26 2020-12-08 烽火通信科技股份有限公司 Method and device for automatically matching and upgrading CPLD (complex programmable logic device) by service board card
CN112052031B (en) * 2020-08-26 2023-03-14 烽火通信科技股份有限公司 Method and device for automatically matching and upgrading CPLD (complex programmable logic device) by service board card
CN112291323A (en) * 2020-10-22 2021-01-29 上海电科智能系统股份有限公司 MQTT communication protocol-based single-chip microcomputer firmware upgrading communication method
CN112162764A (en) * 2020-10-30 2021-01-01 海信视像科技股份有限公司 Display device, server and camera software upgrading method
CN112492337A (en) * 2020-11-26 2021-03-12 北京达佳互联信息技术有限公司 Communication method, communication device, server and storage medium
CN112492337B (en) * 2020-11-26 2023-05-23 北京达佳互联信息技术有限公司 Communication method, communication device, server and storage medium
CN112540783A (en) * 2020-12-18 2021-03-23 航天信息软件技术有限公司 Client upgrading method and device, storage medium and electronic equipment
CN112540783B (en) * 2020-12-18 2024-05-24 航天信息软件技术有限公司 Client upgrading method and device, storage medium and electronic equipment
CN112783530A (en) * 2021-01-26 2021-05-11 广东盈科电子有限公司 Software upgrading method and control device for intelligent shoe cabinet control device
CN112835616A (en) * 2021-02-26 2021-05-25 百度在线网络技术(北京)有限公司 Version upgrading method and device, electronic equipment and storage medium
CN112925545A (en) * 2021-03-01 2021-06-08 青岛海信移动通信技术股份有限公司 Mobile terminal and application updating method thereof
CN113094064A (en) * 2021-03-03 2021-07-09 深圳市晨北科技有限公司 Gateway software module upgrading method, device, equipment and storage medium
CN113259161A (en) * 2021-05-11 2021-08-13 商汤国际私人有限公司 Application management method and device, electronic equipment and storage medium
CN113259161B (en) * 2021-05-11 2024-03-19 商汤国际私人有限公司 Application management method and device, electronic equipment and storage medium
CN113687847A (en) * 2021-07-30 2021-11-23 联合汽车电子有限公司 Information processing method and device, storage medium, detection instrument and vehicle
CN113687847B (en) * 2021-07-30 2024-05-31 联合汽车电子有限公司 Information processing method and device, storage medium, detection instrument and vehicle
CN116560698A (en) * 2023-07-06 2023-08-08 浙江春风动力股份有限公司 Online automatic brushing method for flexible intelligent production line of motorcycle
CN116560698B (en) * 2023-07-06 2024-03-08 浙江春风动力股份有限公司 Online automatic brushing method for flexible intelligent production line of motorcycle

Also Published As

Publication number Publication date
CN110908683B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN110908683B (en) Software system upgrading method and device of hardware module, storage medium and terminal
US9231763B2 (en) System and method for providing a multi-credential authentication protocol
CN105978873B (en) Customized equipment registration method and device
US20160350097A1 (en) Method for updating firmware and configuration file and a firmware-configuration file management system therefor
CN110231948B (en) Application program method, device, system, storage medium and computer equipment
CN102255887B (en) Method and system for providing online services corresponding to multiple mobile devices
CN111917758B (en) Method, device, computer equipment and storage medium for accessing Internet of things platform
CN112637365B (en) Terminal resource issuing and acquiring method and device and electronic equipment
CN108959384B (en) Webpage data acquisition method and device, computer equipment and storage medium
CN108924258B (en) Background information pushing method and device, computer equipment and storage medium
WO2003045089A1 (en) Identifying changed records in a file stored on an electronic token
CN112650520A (en) Ammeter upgrading method and system, intelligent ammeter and storage medium
CN109491772B (en) Service sequence number generation method and device, computer equipment and storage medium
CN109544731B (en) Electronic lock control method, computer device, and storage medium
CN114585002A (en) Communication processing method, communication processing device, terminal equipment and computer readable storage medium
CN112000346B (en) File upgrading method, device, computer equipment and storage medium
CN111328068B (en) Card writing method and device, computer equipment and storage medium
KR101328118B1 (en) Method for providing log in service based on passdata
CN113254897A (en) Information verification method, device, server and storage medium
CN111222153B (en) Application program authority management method and device and storage medium
CN112667272A (en) Ammeter upgrading method and system, intelligent ammeter and storage medium
US20150140957A1 (en) Prepaid phone card charging
CN106302920A (en) A kind of method and apparatus updating contact person in address list phone number
EP3487121A1 (en) Method for updating a firmware of an iot-device over the air
CN106937281B (en) Terminal application management method and device, terminal and server

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