CN111190624A - Method for upgrading mining lamp charging cabinet by adopting charging plate in broadcasting mode - Google Patents

Method for upgrading mining lamp charging cabinet by adopting charging plate in broadcasting mode Download PDF

Info

Publication number
CN111190624A
CN111190624A CN201911386066.8A CN201911386066A CN111190624A CN 111190624 A CN111190624 A CN 111190624A CN 201911386066 A CN201911386066 A CN 201911386066A CN 111190624 A CN111190624 A CN 111190624A
Authority
CN
China
Prior art keywords
charging
software package
upgrading
transceiver
broadcasting mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911386066.8A
Other languages
Chinese (zh)
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.)
Zhuhai Jingao Electronic Co ltd
Original Assignee
Zhuhai Jingao Electronic 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 Zhuhai Jingao Electronic Co ltd filed Critical Zhuhai Jingao Electronic Co ltd
Priority to CN201911386066.8A priority Critical patent/CN111190624A/en
Publication of CN111190624A publication Critical patent/CN111190624A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Abstract

The invention relates to an intelligent miner lamp, in particular to a method for upgrading a mining lamp charging cabinet by adopting a charging plate in a broadcasting mode, which comprises the following steps: making the software of the written different functional programs into a software package which accords with the same software packaging standard; transmitting the software package to a transceiver; after receiving the software package, the transceiver sends the software package to all the acquisition and charging boards in a broadcasting mode; the charging board does not respond after receiving the software package data sent by the transceiver, and the received software package is used for upgrading. The method can upgrade a plurality of mining and charging plates simultaneously, greatly improves the upgrading efficiency and has good practical value.

Description

Method for upgrading mining lamp charging cabinet by adopting charging plate in broadcasting mode
Technical Field
The invention relates to an intelligent miner lamp, in particular to a method for upgrading a mining lamp charging cabinet by adopting a charging plate in a broadcasting mode.
Background
Present intelligent miner's lamp charging cabinet, its constitution includes: 1. one circuit board is arranged in each cabinet and used for controlling charging, unlocking and sampling charging data, the circuit boards are called as charging and collecting boards, and each charging cabinet is provided with a plurality of charging and collecting boards. 2. The charging rack is connected with the control computer and the circuit board of the charging board, namely a transceiver. For example, a 100-channel intelligent charging cabinet, which has 100-channel charging boards and 1 transceiver, is shown in fig. 1. Here, the communication between the charging board and the transceiver is 485 communication or 232 communication, the communication between the transceiver and the computer is TCPIP communication, and in the process of designing and using the charging stand, some functions are sometimes found to be incomplete, or new functions are added, and at this time, the program of the charging board may be modified, and the charging board is updated.
The traditional method for upgrading the mining and charging plate comprises the following 3 methods, namely a method 1: the collecting and charging board is detached, the collecting and charging board is taken beside a computer, the computer is connected with a 485 converter, and the computer upgrades the collecting and charging board through the 485 converter, the collecting and charging boards are detached, and are upgraded one by one, so that the workload is large; the method 2 comprises the following steps: compiling an upgrading program, wherein a computer sends an upgrading command to a transceiver, and the transceiver forwards the upgrading command to a charging and collecting plate, but the charging and collecting plate needs to be upgraded one by one; the method 3 comprises the following steps: and compiling an upgrading program, sending the software package of the acquisition and charging board to the transceiver by the computer, and automatically upgrading the acquisition and charging board by the transceiver one by one.
The above methods are all upgrading the acquisition and charging boards one by one, the speed is relatively slow, the workload of the method 1 is large, the speed is the slowest, the speed of the method 3 is relatively fast, automatic upgrading can be realized, the method 3 is labor-saving as long as a software package is sent once, the upgrading speed is relatively slow, upgrading fails sometimes, manual inspection is needed, the acquisition and charging boards which fail to be upgraded are encountered, and the method 2 is required to be returned for upgrading, so that the method is still laborious.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method for upgrading a mining lamp charging cabinet by adopting a charging plate in a broadcasting mode, so as to solve the problems in the background art.
The technical scheme adopted by the invention for solving the problems in the prior art is as follows: a method for upgrading a mining lamp charging cabinet by adopting a charging board in a broadcasting mode comprises
Making the software of the written different functional programs into a software package which accords with the same software packaging standard;
transmitting the software package to a transceiver;
after receiving the software package, the transceiver sends the software package to all the acquisition and charging boards in a broadcasting mode;
the charging board does not respond after receiving the software package data sent by the transceiver, and the received software package is used for upgrading.
As a preferred embodiment of the present invention, the upgrading method further includes, in order to ensure the accuracy of each frame of data sent, carrying CRC check on each frame of data transmission in the software package sent by the transceiver to the charging board.
As a preferred aspect of the present invention, the upgrading method further includes, in order to ensure continuity of packet data transmission, the transceiver transmits a frame number to the packet transmission frame sent by the charging board.
As a preferred embodiment of the present invention, the upgrading method further includes that the transceiver broadcasts and transmits each frame of data in the software package transmitted by the charging board for multiple times.
As a preferred scheme of the present invention, the upgrading method further includes, after the charging board receives the software package sent by the transceiver, checking the integrity of the software package by the charging board, and if the software package is complete, executing the software package; if the software package is not complete, the software package is not executed and quit.
As a preferred embodiment of the present invention, the upgrading method further includes that, in the upgrading process of the charging and collecting board, if the charging and collecting board does not receive the instruction sent by the transceiver within a certain time, the charging and collecting board quits overtime.
Compared with the prior art, the invention has the following technical effects:
according to the method for upgrading the mining lamp charging cabinet in the broadcasting mode, the plurality of mining and charging boards can be upgraded simultaneously in the broadcasting mode, the upgrading efficiency is greatly improved, and the method has good practical value.
Drawings
FIG. 1 is a diagram of the connection structure of the mining and charging board, the transceiver and the PC terminal in the method for upgrading the mining and charging board of the mining lamp charging cabinet by broadcasting;
fig. 2 is a flow chart of a method for upgrading a mining lamp charging cabinet by adopting a charging board in a broadcasting mode.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in figure 1: the PC terminal is connected with the switch through a network cable, communicates with the transceiver through TCPIP protocol communication, and the transceiver is connected with each acquisition and charging board through 485 communication protocols. In order to realize the rapid upgrade of each mining and charging board, the invention provides a method for upgrading mining lamp charging cabinet mining and charging boards in a broadcasting mode, which comprises the following steps
S101, making the software of the written different functional programs into a software package meeting the same software packaging standard;
step S102, sending a software package to a transceiver;
step S103, after receiving the software package, the transceiver sends the software package to all the acquisition and charging boards in a broadcasting mode;
and step S104, the charging board does not respond after receiving the software package data sent by the transceiver, and the received software package is used for upgrading.
Further, in order to ensure the accuracy of upgrading the charging board and quit the processing after encountering an abnormal state, the method further comprises the following four methods:
preferably, the upgrading method further comprises, in order to ensure the accuracy of each frame of data sent, carrying CRC check on each frame of data transmission in the software package sent by the transceiver to the charging board.
Preferably, the upgrading method further comprises that in order to ensure the continuity of the software package data transmission, the transceiver carries a frame number to the software package transmission frame sent by the charging board.
Preferably, the upgrading method further comprises the step that the transceiver broadcasts and transmits each frame of data in the software package transmitted by the charging board for multiple times.
Preferably, the upgrading method further includes, after the charging board receives the software package sent by the transceiver, checking the integrity of the software package by using the charging board, and if the software package is complete, executing the software package; if the software package is not complete, the software package is not executed and quit.
Preferably, in the upgrading process of the adopting and charging board, if the adopting and charging board does not receive the instruction sent by the transceiver within a certain time, the adopting and charging board quits overtime.
Compared with the prior art, the invention has the following technical effects:
according to the method for upgrading the mining lamp charging cabinet in the broadcasting mode, the plurality of mining and charging boards can be upgraded simultaneously in the broadcasting mode, the upgrading efficiency is greatly improved, and the method has good practical value.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A method for upgrading a mining lamp charging cabinet by adopting a charging plate in a broadcasting mode is characterized by comprising the following steps:
making the software of the written different functional programs into a software package which accords with the same software packaging standard;
transmitting the software package to a transceiver;
after receiving the software package, the transceiver sends the software package to all the acquisition and charging boards in a broadcasting mode;
the charging board does not respond after receiving the software package data sent by the transceiver, and the received software package is used for upgrading.
2. The method for upgrading the mining lamp charging cabinet adopting the charging plate in a broadcasting mode according to claim 1, is characterized in that: the upgrading method also comprises the step of carrying out CRC check on each frame of data transmission in the software package sent by the transceiver to the charging board in order to ensure the accuracy of each frame of data sent.
3. The method for upgrading the mining lamp charging cabinet adopting the charging plate in a broadcasting mode according to claim 1, is characterized in that: the upgrading method also comprises that in order to ensure the continuity of the software package data transmission, the transceiver transmits a frame number to the software package transmission frame sent by the charging board.
4. The method for upgrading the mining lamp charging cabinet adopting the charging plate in a broadcasting mode according to claim 1, is characterized in that: the upgrading method further comprises the step that the transceiver broadcasts and transmits each frame of data in the software package transmitted by the charging board for multiple times.
5. The method for upgrading the mining lamp charging cabinet adopting the charging plate in a broadcasting mode according to claim 1, is characterized in that: the upgrading method also comprises the steps that after the adoption and charging board receives the software package sent by the transceiver, the adoption and charging board verifies the integrity of the software package, and if the software package is complete, the software package is executed; if the software package is not complete, the software package is not executed and quit.
6. The method for upgrading the mining lamp charging cabinet adopting the charging plate in a broadcasting mode according to claim 1, is characterized in that: the upgrading method also comprises the step that in the process of upgrading the collecting and charging board, if the collecting and charging board does not receive the instruction sent by the transceiver within a certain time, the collecting and charging board quits overtime.
CN201911386066.8A 2019-12-29 2019-12-29 Method for upgrading mining lamp charging cabinet by adopting charging plate in broadcasting mode Pending CN111190624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911386066.8A CN111190624A (en) 2019-12-29 2019-12-29 Method for upgrading mining lamp charging cabinet by adopting charging plate in broadcasting mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911386066.8A CN111190624A (en) 2019-12-29 2019-12-29 Method for upgrading mining lamp charging cabinet by adopting charging plate in broadcasting mode

Publications (1)

Publication Number Publication Date
CN111190624A true CN111190624A (en) 2020-05-22

Family

ID=70705913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911386066.8A Pending CN111190624A (en) 2019-12-29 2019-12-29 Method for upgrading mining lamp charging cabinet by adopting charging plate in broadcasting mode

Country Status (1)

Country Link
CN (1) CN111190624A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090119657A1 (en) * 2007-10-24 2009-05-07 Link Ii Charles M Methods and systems for software upgrades
JP2010092324A (en) * 2008-10-09 2010-04-22 Panasonic Corp Broadcast receiver and software update method
CN103685487A (en) * 2013-12-02 2014-03-26 宁波三星电气股份有限公司 Child node updating method in wireless communication network
CN104717252A (en) * 2013-12-16 2015-06-17 国家电网公司 Power line carrier remote upgrading method and terminal
CN104951341A (en) * 2015-06-18 2015-09-30 烟台东方威思顿电气股份有限公司 Method for remotely upgrading collector
CN105786541A (en) * 2014-12-23 2016-07-20 Tcl通力电子(惠州)有限公司 Upgrade method and system based on broadcast signal
CN109922145A (en) * 2019-02-28 2019-06-21 深圳市盛弘电气股份有限公司 Charging pile method for upgrading software, charging pile and control equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090119657A1 (en) * 2007-10-24 2009-05-07 Link Ii Charles M Methods and systems for software upgrades
JP2010092324A (en) * 2008-10-09 2010-04-22 Panasonic Corp Broadcast receiver and software update method
CN103685487A (en) * 2013-12-02 2014-03-26 宁波三星电气股份有限公司 Child node updating method in wireless communication network
CN104717252A (en) * 2013-12-16 2015-06-17 国家电网公司 Power line carrier remote upgrading method and terminal
CN105786541A (en) * 2014-12-23 2016-07-20 Tcl通力电子(惠州)有限公司 Upgrade method and system based on broadcast signal
CN104951341A (en) * 2015-06-18 2015-09-30 烟台东方威思顿电气股份有限公司 Method for remotely upgrading collector
CN109922145A (en) * 2019-02-28 2019-06-21 深圳市盛弘电气股份有限公司 Charging pile method for upgrading software, charging pile and control equipment

Similar Documents

Publication Publication Date Title
CN102880535B (en) A kind of wireless automatic proving installation for mobile device and method
CN105183515B (en) The method and device of holder firmware upgrade
CN103024074B (en) DSP (digital signal processor) remote wireless upgrading method based on GPRS (general packet radio service)
CN103580942B (en) A kind of simulative serial port method of testing and device
CN111865736B (en) Equipment control method and device
CN105741810A (en) LED display screen control system and control method
CN102710436B (en) A kind of network device management method, device, relevant device and system
CN105354140A (en) Automation testing method and system
CN102147733A (en) Method for loading procedure to satellite borne remote terminal computer by using 1553B serial data bus
CN110405759A (en) A kind of chip control system
CN105912340A (en) Primary device, remote control and overhead upgrading method of remote control
CN102779056B (en) Remote hardware method for updating program and system
CN103927256A (en) Method for controlling multiple Android devices
CN109189434A (en) A kind of online upgrading method of electric energy meter
CN110187909A (en) A kind of single-chip microcontroller firmware upgrade method based on android system
CN112416804A (en) Real-time simulation test system and method
CN104639663A (en) Method and system for simultaneously and automatically upgrading software of multiple optical modems
CN107621943A (en) A kind of FPGA dynamic batch programming system and method
CN111459522A (en) Air conditioner and communication module upgrading method thereof
CN109582341A (en) A kind of host system and its programing change method of On-board System of Cab Signal equipment
CN104679571A (en) Equipment and method for carrying out program automatic upgrading on multiple pattern generators simultaneously
CN111190624A (en) Method for upgrading mining lamp charging cabinet by adopting charging plate in broadcasting mode
CN111309353A (en) Method and device for updating FPGA (field programmable Gate array) firmware of operation board based on server control board
CN105915975B (en) The asynchronous control system and method for LED screen content are updated with mobile device
CN111736866A (en) One-to-one and one-to-many compatible online upgrading method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200522