CN111880823B - Method, system and medium for upgrading communication module by system and computer equipment - Google Patents
Method, system and medium for upgrading communication module by system and computer equipment Download PDFInfo
- Publication number
- CN111880823B CN111880823B CN202010690647.7A CN202010690647A CN111880823B CN 111880823 B CN111880823 B CN 111880823B CN 202010690647 A CN202010690647 A CN 202010690647A CN 111880823 B CN111880823 B CN 111880823B
- Authority
- CN
- China
- Prior art keywords
- module end
- upgrade
- module
- package
- program
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 52
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000012795 verification Methods 0.000 claims abstract description 36
- 230000002457 bidirectional effect Effects 0.000 claims abstract description 13
- 230000003993 interaction Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 238000003491 array Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000000750 progressive effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention discloses a method, a system, a medium and computer equipment for upgrading a communication module by a system. The method comprises the following steps: acquiring MBFW ID and PID of the module end, further carrying out bidirectional matching verification on the module end and the system server, and allowing the module end to download an upgrade program package from the system server after the matching verification is passed; after the upgrade package is downloaded successfully, acquiring a Hardware ID of the module end, judging whether the module end enters a soft node, and if the module end enters the soft node and the current version of the module end is in a white list of the upgrade package, further judging whether the current version of the module end is lower than the target version of the upgrade package; if the current version of the module end is lower than the target version of the upgrade package, the control module end enters a serial port mode to carry out sahara upgrade. The method can reduce the pressure of the system server for sending the upgrade message, and improve the smoothness and safety of the module end and the convenience of using the module end by a user.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and system for upgrading a communication module by using a system, a medium, and a computer device.
Background
In the prior art, a terminal generates a preset identity ID by an MD5 (Message Digest Algorithm MD, fifth version of message digest algorithm), and a system server tries to match the preset identity ID in order to obtain upgrade information, and automatically upgrades after the match is successful. The upgrading method may cause the phenomenon that the terminal is in disorder, and the upgraded version may not be the version required by the user.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, a first objective of the present invention is to provide a method for upgrading a communication module of a system, so as to reduce the pressure of a system server for sending an upgrade message, and improve the smoothness and safety of the module end and the convenience of a user for using the module end.
A second object of the present invention is to propose a computer readable storage medium.
A third object of the invention is to propose a computer device.
A fourth object of the present invention is to propose a system for upgrading a communication module.
To achieve the above object, an embodiment of a first aspect of the present invention provides a method for upgrading a communication module of a system, the method including the steps of: acquiring MBFW ID (Firmware ID Device, driver identification equipment) and PID (Packet Identifier, flag code transmission packet) of a module end, performing bidirectional matching verification on the module end and a system server according to the MBFW ID and PID of the module end, and allowing the module end to download an upgrade program packet from the system server after the matching verification is passed; after the upgrade package is downloaded successfully, acquiring a Hardware ID (Hardware ID) of the module end, judging whether the module end enters a soft node according to the Hardware ID of the module end, and judging whether the current version of the module end is in a white list of the upgrade package when the module end enters the soft node; if the current version of the module end is in the white list of the upgrade package, further judging whether the current version of the module end is lower than the target version of the upgrade package; and if the current version of the module end is lower than the target version of the upgrade program package, controlling the module end to enter a serial port mode so as to upgrade sahara (sahara secure communication protocol).
According to the method for upgrading the communication module by the system, the MBFW ID and the PID of the module end are obtained, bidirectional matching verification is carried out on the module end and the system server according to the MBFW ID and the PID of the module end, and after the matching verification is passed, the module end is allowed to download an upgrading program package from the system server; and further, acquiring the Hardware ID of the module end, judging whether the module end enters a soft node according to the Hardware ID of the module end, and judging whether the current version of the module end is in the white list of the upgrade package when the module end enters the soft node, so that the module end is controlled to carry out sahara upgrade when the current version of the module end is in the white list of the upgrade package and the current version of the module section is lower than the target version of the upgrade package. Therefore, the pressure of the system server for sending the upgrade message can be reduced, and the smoothness and safety of the module end and the convenience of using the module end by a user are improved.
In addition, the method for upgrading the communication module of the system of the invention can also have the following additional technical characteristics:
according to one embodiment of the present invention, the performing bidirectional matching verification on the module end and the system server according to the MBFW ID and PID of the module end includes: and sending the MBFW ID of the module end to the system server for verification, receiving the PID of the upgrade program packet sent by the system server after the verification is passed, and verifying the module end according to the PID of the upgrade program packet.
According to an embodiment of the present invention, the determining whether the module end enters a soft node according to the Hardware ID of the module end includes: judging whether the PID defined in the Hardware ID is consistent with the PID in the general drive update program INF file of the upgrade program package; if yes, judging that the module end enters a soft node; if not, keeping the module end at the USB node.
According to one embodiment of the present invention, the method for upgrading a communication module of the system further includes: after the module end enters the soft node, a workitem program is started to confirm whether the current version is in the white list.
According to one embodiment of the present invention, the method for upgrading a communication module of the system further includes: when the module end enters a serial port mode, a continuous reading operation is started newly through a configuration pipeline to obtain upgrading data in the upgrading program packet, sahara upgrading is carried out according to the upgrading data, upgrading interaction is completed according to the sahara protocol, and the upgrading process percentage is notified to a progress ctrl program through a socket to display upgrading progress.
According to one embodiment of the present invention, the method for upgrading a communication module of the system further includes: and after the upgrade is successful, controlling the module end to recover to the USB node state.
To achieve the above object, a second aspect of the present invention provides a computer-readable storage medium having stored thereon a program for system upgrade communication module, which when executed by a processor, implements the method for system upgrade communication module described above.
The computer readable storage medium of the embodiment of the invention can reduce the pressure of the system server for sending the upgrade message and improve the fluency and safety of the module end and the convenience of the user for using the module end when the program of the system upgrade communication module stored on the computer readable storage medium is executed by the processor.
To achieve the above object, an embodiment of the present invention provides a computer device, including a memory, a processor, and a program of a system upgrade communication module stored in the memory and capable of running on the processor, where the processor implements the method of system upgrade communication module when executing the program.
The computer equipment of the embodiment of the invention can reduce the pressure of the system server for sending the upgrade message and improve the fluency and the safety of the module end and the convenience of a user for using the module end by realizing the method for upgrading the communication module by the system.
In order to achieve the above objective, a fourth aspect of the present invention provides a system for upgrading a communication module, where the system includes a module end and a system server, and when the module end performs program upgrading, bidirectional matching verification is performed with the system server according to an MBFW ID and PID of the module end; after the matching verification is passed, the system server allows the module end to download an upgrade program package; and after the upgrade program package is downloaded successfully, the module end judges whether to enter a soft node according to the Hardware ID of the module end, judges whether the current version of the module end is in the white list of the upgrade program package when entering the soft node, further judges whether the current version of the module end is lower than the target version of the upgrade program package when the current version of the module end is in the white list of the upgrade program package, and enters a serial port mode when the current version of the module end is lower than the target version of the upgrade program package so as to carry out sahara upgrade.
The system for upgrading the communication module of the embodiment of the invention carries out bidirectional matching verification on the module end and the system server when the module end carries out program upgrading, downloads an upgrading program packet after the verification is passed, judges whether the module end enters a soft node, further judges whether the current version of the module end is in a white list of the upgrading program packet if the module end enters the soft node, and carries out sahara upgrading when the current version of the module end is lower than the target version of the upgrading program packet if the current version of the module end is in the white list of the upgrading program packet. Therefore, the pressure of the system server for sending the upgrade message can be reduced, and the smoothness and safety of the module end and the convenience of using the module end by a user are improved.
In addition, the system for upgrading the communication module of the system of the invention can also have the following additional technical characteristics:
according to one embodiment of the present invention, the system for upgrading a communication module further includes: and the module end sends the MBFW ID to the system server for verification, receives the PID of the upgrade program packet sent by the system server after the verification is passed, and performs self verification according to the PID of the upgrade program packet.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a flow chart of a method of system upgrading a communication module according to one embodiment of the invention;
fig. 2 is a block diagram of a system for upgrading a communication module of the system according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
The following describes a method, a system, a medium, and a computer device for upgrading a communication module by a system according to an embodiment of the present invention with reference to the accompanying drawings.
In the embodiment of the invention, a module end (namely equipment to be upgraded) needs to be capable of supporting UMDF (User-Mode Driver Framework, user mode driver architecture) driving and has a driver for supporting firmware upgrading equipment service; the upgrade package needs to be subjected to WHQL (Microsoft Windows Hardware Quality Lab, windows hardware device quality laboratory) test, and the upgrade package passing the test is uploaded to the system server. Wherein, the upgrade package may include: a successfully compiled Firmware file, a generic driver Update INF (Device Information File ), a driver directory, a whitelist, object version information, an upgrade program progress bar program, a service program to start WU (Windows Update) upgrade, and the like.
FIG. 1 is a flow chart of a method of upgrading a communication module of a system according to one embodiment of the invention.
As shown in fig. 1, the method for upgrading a communication module by a system comprises the following steps:
s11, acquiring the MBFW ID and the PID of the module end, carrying out bidirectional matching verification on the module end and the system server according to the MBFW ID and the PID of the module end, and allowing the module end to download the upgrade program package from the system server after the matching verification is passed.
And performing bidirectional matching verification on the module end and the system server according to the MBFW ID and the PID of the module end, wherein the method comprises the following steps: and sending the MBFW ID of the module end to a system server for verification, receiving the PID of the upgrade program packet sent by the system server after the verification is passed, and verifying the module end according to the PID of the upgrade program packet.
Specifically, the WWAN (Wireless Wide Area Network ) detects whether the module end has a driver supporting the firmware update device service, and if the module end has the driver, the MBFW ID number of the module end is queried. Further, after the module end creates the MBIM virtual device, the system server judges whether the MBFW ID of the module end is matched with the MBFW ID of the system server, and if the MBFW ID of the module end is matched with the MBFW ID of the system server, the system server sends an upgrade program package and the PID of the upgrade program package to the module end. The module end creates a USB virtual device and receives the upgrade program package and the PID of the upgrade program package sent by the system server.
S12, after the upgrade package is downloaded successfully, acquiring the Hardware ID of the module end, judging whether the module end enters a soft node according to the Hardware ID of the module end, and judging whether the current version of the module end is in a white list of the upgrade package when the module end enters the soft node.
Judging whether the module end enters a soft node according to the Hardware ID of the module end, comprising: and judging whether the PID defined in the Hardware ID is consistent with the PID in the general drive update INF file of the upgrade package.
Specifically, after the module end creates the USB virtual device, the module end defines the PID of the module end through the Hardware ID, if the PID defined by the module end is consistent with the PID in the general drive update program INF file of the upgrade program package of the system server, the module end is judged to enter a soft node, the current version of the module end is further obtained, and whether the current version is in the white list is confirmed by starting a work program. If the PID of the USB virtual device created by the module end is inconsistent with the PID in the general drive update program INF file of the upgrade program package of the system server, the module end is kept at the USB node, the USB virtual device is initialized, data is read through the sahara protocol, and the module end is directly upgraded.
And S13, if the current version of the module end is in the white list of the upgrade package, further judging whether the current version of the module end is lower than the target version of the upgrade package.
Optionally, if the current version of the module end is not in the white list of the upgrade package, the module end does not perform any action.
S14, if the current version of the module end is lower than the target version of the upgrade program package, the control module end enters a serial port mode to conduct sahara upgrade.
Specifically, after the module end enters the serial port mode, starting continuous reading operation to obtain upgrade data in an upgrade program packet, carrying out sahara upgrade according to the upgrade data, completing upgrade interaction according to the sahara protocol, and informing the percentage of the upgrade process to the progressive ctrl program through a socket so as to display the upgrade progress.
If the current version of the module end is lower than the target version of the upgrade program package, the module end can start the program for displaying the upgrade progress through an Event. It should be noted that before the module end enters the serial port mode, the module end needs to exit the soft node.
Further, after the upgrade is successful, the control module end exits the serial port mode and returns to the USB node state.
It should be noted that, in the embodiment of the present invention, the device to be updated defines two commands on the sahara protocol: quench_save_fw_update_process_report_id (0 x 20) -UPDATE progress command and quench_save_fw_update_end_id (0 x 21) -UPDATE END command. If the stability upgrading pressure test is needed after upgrading, other tools can be used for upgrading to the previous version and then the cycle upgrading test of the WU is carried out.
Further, after the update is finished, the module end uninstalls the upgrade program, automatically restarts the upgrade program, and displays the latest version information after restarting the upgrade program.
It should be noted that, the method for upgrading the communication module by the system can be implemented by a device driver, and the method for obtaining the driver includes: the option is to add firmware update logic and load to an existing function driver or to provide a separate firmware update driver package, since the system update cannot execute the software, to install the firmware into a plug and play (PnP) device. .
In summary, the method for upgrading the communication module by the system of the embodiment of the invention can reduce the pressure of the system server for sending the upgrade message, and improve the smoothness and safety of the module end and the convenience of the user for using the module end.
Further, the present invention proposes a computer-readable storage medium.
In an embodiment of the present invention, a computer-readable storage medium stores a program for upgrading a communication module of a system, which when executed by a processor, implements the method for upgrading a communication module of a system described above.
The computer readable storage medium of the embodiment of the invention can reduce the pressure of the system server for sending the upgrade message and improve the fluency and safety of the module end and the convenience of the user for using the module end when the program of the system upgrade communication module stored on the computer readable storage medium is executed by the processor.
Further, the invention provides a computer device.
In the embodiment of the invention, the computer equipment comprises a memory, a processor and a program of a system upgrading communication module which is stored in the memory and can run on the processor, and the method for upgrading the system communication module is realized when the processor executes the program.
The computer equipment of the embodiment of the invention can reduce the pressure of the system server for sending the upgrade message and improve the fluency and the safety of the module end and the convenience of using the module end by a user by realizing the method for upgrading the communication module by the system.
Fig. 2 is a block diagram of a system for upgrading a communication module of the system according to an embodiment of the present invention.
As shown in fig. 2, the system 100 for upgrading a communication module includes a module end 101 and a system server 102.
Specifically, when the module end 101 performs program upgrading, bidirectional matching verification is performed with the system server 102 according to the MBFW ID and PID of the module end 101; after the matching verification is passed, the system server 102 allows the module end 101 to download the upgrade package; the module end 101 judges whether to enter a soft node according to the Hardware ID of the module end 101 after the upgrade package is downloaded successfully, judges whether the current version of the module end 101 is in the white list of the upgrade package when entering the soft node, further judges whether the current version of the module end 101 is lower than the target version of the upgrade package when the current version of the module end 101 is in the white list of the upgrade package, and enters a serial port mode when the current version of the module end 101 is lower than the target version of the upgrade package so as to perform sahara upgrade.
The system for upgrading the communication module can reduce the pressure of the system server for sending the upgrading message, and improve the fluency and safety of the module end and the convenience of using the module end by a user.
In one embodiment of the present invention, the module end 101 is further configured to: the MBFW ID is sent to the system server 102 for verification, and after verification passes, the PID of the upgrade package sent by the system server 102 is received, and self-verification is performed again according to the PID pair of the upgrade package.
In one embodiment of the present invention, the module end 101 is further configured to: judging whether the PID defined in the Hardware ID is consistent with the PID in the general drive update program INF file of the upgrade program package; if yes, judging that the module end enters a soft node; if not, the module end is kept at the USB node.
In one embodiment of the present invention, the module end 101 is further configured to: by launching the workitem program it is confirmed whether the current version is in the whitelist.
In one embodiment of the present invention, the module end 101 is further configured to: the method comprises the steps of starting continuous reading operation through a configuration pipeline to obtain upgrading data in an upgrading program package, carrying out sahara upgrading according to the upgrading data, completing upgrading interaction according to a sahara protocol, and informing the upgrading process percentage to a progressive ctrl program through a socket so as to display upgrading progress.
In one embodiment of the present invention, the module end 101 is further configured to: and after the upgrade is successful, the control module end is restored to the USB node state.
It should be noted that, for other specific implementations of the system for upgrading a communication module according to the embodiment of the present invention, reference may be made to the method for upgrading a communication module according to the foregoing embodiment.
In summary, the system for upgrading the communication module by the system provided by the embodiment of the invention can reduce the pressure of the system server for sending the upgrading message, and improve the smoothness and safety of the module end and the convenience of a user for using the module end.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered as a ordered listing of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present invention, unless expressly stated or limited otherwise, a first feature "up" or "down" a second feature may be the first and second features in direct contact, or the first and second features in indirect contact via an intervening medium. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.
Claims (7)
1. A method for upgrading a communication module of a system, comprising the steps of:
acquiring MBFW ID and PID of a module end, carrying out bidirectional matching verification on the module end and a system server according to the MBFW ID and PID of the module end, and allowing the module end to download an upgrade program package from the system server after the matching verification is passed;
after the upgrade package is downloaded successfully, acquiring a Hardware ID of the module end, judging whether the module end enters a soft node according to the Hardware ID of the module end, and judging whether the current version of the module end is in a white list of the upgrade package when the module end enters the soft node;
if the current version of the module end is in the white list of the upgrade package, further judging whether the current version of the module end is lower than the target version of the upgrade package;
if the current version of the module end is lower than the target version of the upgrade program package, controlling the module end to enter a serial port mode so as to carry out sahara upgrade;
and carrying out bidirectional matching verification on the module end and the system server according to the MBFW ID and the PID of the module end, wherein the bidirectional matching verification comprises the following steps:
the MBFW ID of the module end is sent to the system server for verification, the PID of the upgrade program package sent by the system server is received after verification is passed, and the module end is verified according to the PID of the upgrade program package;
judging whether the module end enters a soft node according to the Hardware ID of the module end, comprising:
judging whether the PID defined in the Hardware ID is consistent with the PID in the general drive update program INF file of the upgrade program package;
if yes, judging that the module end enters a soft node;
if not, keeping the module end at the USB node.
2. The method of upgrading a communication module according to claim 1, wherein after the module end enters a soft node, a work procedure is started to confirm whether the current version is in the whitelist.
3. The method for upgrading a communication module according to claim 2, wherein after the module end enters a serial port mode, a continuous reading operation is newly started through a configuration pipeline to obtain upgrade data in the upgrade program package, sahara upgrade is performed according to the upgrade data, upgrade interaction is completed according to a sahara protocol, and a percentage of an upgrade process is notified to a progress ctrl program through a socket to display an upgrade progress.
4. The method for upgrading a communication module according to claim 1, wherein the module terminal is controlled to resume the USB node state after the upgrade is successful.
5. A computer-readable storage medium, on which a program of a system upgrade communication module is stored, which program, when executed by a processor, implements a method of upgrading a communication module according to any of claims 1-4.
6. A computer device comprising a memory, a processor and a program of system upgrade communication modules stored on the memory and executable on the processor, the processor implementing a method of system upgrade communication modules according to any of claims 1-4 when the program is executed by the processor.
7. A system for upgrading a communication module of a system is characterized by comprising a module end and a system server, wherein,
when the module end performs program upgrading, performing bidirectional matching verification with the system server according to the MBFW ID and PID of the module end;
after the matching verification is passed, the system server allows the module end to download an upgrade program package;
judging whether to enter a soft node according to the Hardware ID of the module end after the upgrade package is successfully downloaded, judging whether the current version of the module end is in a white list of the upgrade package when the soft node is entered, further judging whether the current version of the module end is lower than the target version of the upgrade package when the current version of the module end is in the white list of the upgrade package, and entering a serial port mode when the current version of the module end is lower than the target version of the upgrade package so as to perform sahara upgrade;
the module end sends the MBFW ID to the system server for verification, receives the PID of the upgrade program package sent by the system server after the verification is passed, and verifies the module end according to the PID of the upgrade program package;
the module end judges whether the PID defined in the Hardware ID is consistent with the PID in the general drive update program INF file of the upgrade program package; if yes, judging that the node enters a soft node; if not, the USB node keeps itself at the USB node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010690647.7A CN111880823B (en) | 2020-07-17 | 2020-07-17 | Method, system and medium for upgrading communication module by system and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010690647.7A CN111880823B (en) | 2020-07-17 | 2020-07-17 | Method, system and medium for upgrading communication module by system and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111880823A CN111880823A (en) | 2020-11-03 |
CN111880823B true CN111880823B (en) | 2024-01-30 |
Family
ID=73155729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010690647.7A Active CN111880823B (en) | 2020-07-17 | 2020-07-17 | Method, system and medium for upgrading communication module by system and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111880823B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103875003A (en) * | 2011-10-17 | 2014-06-18 | 迈克菲股份有限公司 | System and method for whitelisting applications in a mobile network environment |
CN109074251A (en) * | 2016-02-26 | 2018-12-21 | 艾拉物联公司 | The local over-the-air updating of embedded system |
CN109669708A (en) * | 2018-11-02 | 2019-04-23 | 金卡智能集团股份有限公司 | Remote upgrade method for modularization internet-of-things terminal equipment |
CN110192321A (en) * | 2017-11-30 | 2019-08-30 | 南京德朔实业有限公司 | The method for updating program of electronic device and electronic device |
CN110704077A (en) * | 2018-07-10 | 2020-01-17 | 中兴通讯股份有限公司 | Firmware remote upgrading method and device, terminal, mobile device and storage medium |
CN110908683A (en) * | 2019-10-22 | 2020-03-24 | 深圳市广和通无线通信软件有限公司 | Software system upgrading method and device of hardware module, storage medium and terminal |
CN111158717A (en) * | 2019-12-24 | 2020-05-15 | 深圳怡化电脑股份有限公司 | Firmware upgrading method, device and medium for device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6135151B2 (en) * | 2012-05-23 | 2017-05-31 | 株式会社デンソー | Application update system |
US9417866B2 (en) * | 2014-12-03 | 2016-08-16 | Verizon Patent And Licensing Inc. | Identification and isolation of incompatible applications during a platform update |
-
2020
- 2020-07-17 CN CN202010690647.7A patent/CN111880823B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103875003A (en) * | 2011-10-17 | 2014-06-18 | 迈克菲股份有限公司 | System and method for whitelisting applications in a mobile network environment |
CN109074251A (en) * | 2016-02-26 | 2018-12-21 | 艾拉物联公司 | The local over-the-air updating of embedded system |
CN110192321A (en) * | 2017-11-30 | 2019-08-30 | 南京德朔实业有限公司 | The method for updating program of electronic device and electronic device |
CN110704077A (en) * | 2018-07-10 | 2020-01-17 | 中兴通讯股份有限公司 | Firmware remote upgrading method and device, terminal, mobile device and storage medium |
CN109669708A (en) * | 2018-11-02 | 2019-04-23 | 金卡智能集团股份有限公司 | Remote upgrade method for modularization internet-of-things terminal equipment |
CN110908683A (en) * | 2019-10-22 | 2020-03-24 | 深圳市广和通无线通信软件有限公司 | Software system upgrading method and device of hardware module, storage medium and terminal |
CN111158717A (en) * | 2019-12-24 | 2020-05-15 | 深圳怡化电脑股份有限公司 | Firmware upgrading method, device and medium for device |
Non-Patent Citations (3)
Title |
---|
An Enhanced TR-069 Firmware Upgrade Method of Wi-Fi Mesh System;Kuo Shu Huang 等;《2019 IEEE 4th International Conference on Computer and Communication Systems (ICCCS)》;655-659 * |
MTK平台数据卡在Windows 8系统下的FOTA升级;康鹏涛;《中国优秀硕士学位论文全文数据库信息科技辑》;I136-544 * |
基于蓝牙的嵌入式设备无线升级的研究与实现;柴智 等;《电气自动化》;第41卷(第6期);104-106 * |
Also Published As
Publication number | Publication date |
---|---|
CN111880823A (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107809324B (en) | Vehicle-mounted automatic diagnosis system equipment and upgrading method thereof | |
JP4809418B2 (en) | Software updating apparatus and software updating method | |
CN110231952A (en) | A kind of ECU program backup and circulation upgrade control method and device | |
EP2192516A1 (en) | Method for upgrading antivirus software and terminal and system thereof | |
CN104580351A (en) | Programming vehicle modules from remote devices and related methods and systems | |
CN111064803A (en) | Vehicle software upgrading method and upgrading system | |
CN110659038B (en) | Vehicle-mounted millimeter wave radar upgrading method and device, computer equipment and storage medium | |
US20130117740A1 (en) | Apparatus, system and method for upgrading firmware of energy metering device | |
CN106055340A (en) | Driver control method and device | |
CN111625390B (en) | Embedded equipment fault recovery method and device, embedded equipment and storage medium | |
CN111324362A (en) | Vehicle, and method and device for updating vehicle electronic control system program | |
CN111638916B (en) | General android mobile terminal driving system and method for data forensics | |
CN111880823B (en) | Method, system and medium for upgrading communication module by system and computer equipment | |
CN115543395A (en) | Vehicle-mounted ECU upgrading method and device, electronic equipment and storage medium | |
KR20070076201A (en) | Rom program update system and method do electron control unit in vehicles | |
CN111158729A (en) | System upgrading method, device, equipment and storage medium | |
US20240069906A1 (en) | Server, software update system, distribution method, and non-transitory storage medium | |
CN110288952B (en) | Method and device for setting backlight brightness of vehicle-mounted system during startup | |
JP6795389B2 (en) | In-vehicle data updater | |
CN116431186A (en) | Upgrading method, device and medium of vehicle-mounted ECU | |
CN109343874B (en) | Unmanned vehicle upgrading method, device, equipment and computer readable storage medium | |
CN111625261B (en) | Automobile instrument software upgrading method, automobile central control host and storage medium | |
CN114546455A (en) | MCU software upgrading method and device for double partitions | |
CN114675864A (en) | Control method, control device and system for reprogramming and upgrading of dual-partition ECU | |
CN113625690A (en) | Intelligent diagnosis method and system for automobile and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |