CN109189420A - Method for upgrading system, device, circuit board, equipment and storage medium - Google Patents

Method for upgrading system, device, circuit board, equipment and storage medium Download PDF

Info

Publication number
CN109189420A
CN109189420A CN201810869978.XA CN201810869978A CN109189420A CN 109189420 A CN109189420 A CN 109189420A CN 201810869978 A CN201810869978 A CN 201810869978A CN 109189420 A CN109189420 A CN 109189420A
Authority
CN
China
Prior art keywords
circuit board
voltage
upgrading
power supply
supply unit
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
CN201810869978.XA
Other languages
Chinese (zh)
Other versions
CN109189420B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810869978.XA priority Critical patent/CN109189420B/en
Publication of CN109189420A publication Critical patent/CN109189420A/en
Application granted granted Critical
Publication of CN109189420B publication Critical patent/CN109189420B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's

Abstract

The present invention relates to a kind of method for upgrading system, device, circuit board, equipment and storage mediums.The described method includes: the system upgrade state of detection circuit board;Upgrade operating status when detecting that circuit board is in, generates upgrading information of voltage, and send the power supply unit of upgrading information of voltage to the circuit board;Power supply unit is used to be lighted according to the optical fiber lamp of upgrading information of voltage control circuit board according to first frequency;Upgrade the state that finishes when detecting that circuit board is in, generation finishes information of voltage, and is sent the power supply unit of information of voltage to circuit board;Power supply unit is used to be lighted according to the optical fiber lamp for finishing information of voltage control circuit board according to second frequency.According to embodiments of the present invention, without the upgrading indicator light of the self defined interface production adaptation for circuit board, time and the cost of production upgrading indicator light are saved.

Description

Method for upgrading system, device, circuit board, equipment and storage medium
Technical field
The present invention relates to circuit board technology fields, more particularly to the method for upgrading system, device, circuit of a kind of circuit board Plate, electronic equipment and storage medium.
Background technique
Currently, usually making one when carrying out the system upgrade of circuit board (PCB, Printed Circuit Board) The indicator light, is then connected on the interface of circuit board by a upgrading indicator light.Circuit board during carrying out system upgrade, The upgrading indicator light can then be lighted, so that user can learn that circuit board is in system upgrade state.
However, the customized interface of various boards is different, to need the upgrading instruction for its interface production adaptation Lamp.When upgrading to different circuit boards, it is required to expend a large amount of Production Time and cost of manufacture, affects circuit board System upgrade efficiency.
Therefore, the circuit board systems upgrade method of the prior art has that upgrading efficiency is lower.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of system upgrade for being able to ascend system upgrade efficiency Method, apparatus, circuit board, electronic equipment and storage medium.
In a first aspect, providing a kind of method for upgrading system of circuit board, which comprises
Detect the system upgrade state of the circuit board;
Upgrade operating status when detecting that the circuit board is in, generate upgrading information of voltage, and sends the upgrading electricity Press information to the power supply unit of the circuit board;The power supply unit is used to control the circuit according to the upgrading information of voltage The optical fiber lamp of plate is lighted according to first frequency;
Upgrade the state that finishes when detecting that the circuit board is in, generation finishes information of voltage, and finishes electricity described in transmission Press information to the power supply unit of the circuit board;The power supply unit controls the circuit for finishing information of voltage according to The optical fiber lamp of plate is lighted according to second frequency.
The power supply unit for sending the upgrading information of voltage to the circuit board in one of the embodiments, packet It includes:
The corresponding frequency of the upgrading information of voltage is determined, as the first frequency;
According to the first frequency, the upgrading information of voltage is sent to the power supply unit;The power supply unit is used for When receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
The power supply unit of information of voltage to the circuit board is finished described in the transmission in one of the embodiments, is wrapped It includes:
The corresponding frequency of information of voltage is finished described in determination, as the second frequency;
According to the second frequency, information of voltage is finished described in transmission to the power supply unit;The power supply unit is used for When receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
The system upgrade state of the detection circuit board in one of the embodiments, comprising:
Whether in operation to judge the system upgrade program of the circuit board;
If so, determining that the circuit board is in upgrading operating status.
It ought detect that the circuit board is in upgrading and finishes state described in one of the embodiments, generation finishes Before information of voltage, further includes:
Information is finished when receiving upgrading, determines that the circuit board is in upgrading and finishes state.
Second aspect provides a kind of method for upgrading system, be applied to circuit board, the circuit board include power supply unit and Optical fiber lamp, the power supply unit are connected with the optical fiber lamp, which comprises
When detecting that the circuit board is in upgrading operating status, the power supply unit is controlled according to first frequency to described Optical fiber lamp output voltage is lighted for the optical fiber lamp according to the first frequency;
When detecting that the circuit board is in upgrading and finishes state, the power supply unit is controlled according to second frequency to described Optical fiber lamp output voltage is lighted for the optical fiber lamp according to the second frequency.
The third aspect provides a kind of system upgrade device characterized by comprising
Detection module, the system upgrade state for detection circuit board;
Upgrade voltage module, detect that the circuit board is in system upgrade state for working as, generate upgrading information of voltage, And send the power supply unit of the upgrading information of voltage to the circuit board;The power supply unit is used for according to the upgrading voltage The optical fiber lamp that information controls the circuit board is lighted according to first frequency;
Voltage module is finished, detects that the circuit board is in upgrading and finishes state for working as, generation finishes information of voltage, And the power supply unit of information of voltage to the circuit board is finished described in sending;The power supply unit according to for finishing voltage The optical fiber lamp that information controls the circuit board is lighted according to second frequency.
The upgrading voltage module in one of the embodiments, comprising:
First determines submodule, for determining the corresponding frequency of the upgrading information of voltage, as the first frequency;
First sending submodule, for sending the upgrading information of voltage to described for Denso according to the first frequency It sets;The power supply unit is used for when receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
It is described in one of the embodiments, to finish voltage module, comprising:
Second determines submodule, for finishing the corresponding frequency of information of voltage described in determination, as the second frequency;
Second sending submodule, for finishing information of voltage to described for Denso described in transmission according to the second frequency It sets;The power supply unit is used for when receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
Fourth aspect provides a kind of circuit board, comprising:
Processor, power supply unit and optical fiber lamp;The processor is connect with the power supply unit, the power supply unit and institute Optical fiber lamp connection is stated, the power supply unit is used for the optical fiber lamp output voltage;
The processor, for controlling the power supply unit and pressing when detecting that the circuit board is in system upgrade state According to first frequency to the optical fiber lamp output voltage, and, upgrade the state that finishes when detecting that the circuit board is in, controls institute Power supply unit is stated according to second frequency to the optical fiber lamp output voltage;
The optical fiber lamp, for being lighted according to the first frequency, and, it is lighted according to the second frequency.
5th aspect, provides a kind of electronic equipment, including memory and one or more processors, the storage Device, for storing one or more programs;When one or more of programs are executed by one or more of processors, so that One or more of processors realize following operation:
The system upgrade state of detection circuit board;
Upgrade operating status when detecting that the circuit board is in, generate upgrading information of voltage, and sends the upgrading electricity Press information to the power supply unit of the circuit board;The power supply unit is used to control the circuit according to the upgrading information of voltage The optical fiber lamp of plate is lighted according to first frequency;
Upgrade the state that finishes when detecting that the circuit board is in, generation finishes information of voltage, and finishes electricity described in transmission Press information to the power supply unit of the circuit board;The power supply unit controls the circuit for finishing information of voltage according to The optical fiber lamp of plate is lighted according to second frequency.
6th aspect, provides a kind of computer readable storage medium, is stored thereon with computer program, the computer It is performed the steps of when program is executed by processor
The system upgrade state of detection circuit board;
Upgrade operating status when detecting that the circuit board is in, generate upgrading information of voltage, and sends the upgrading electricity Press information to the power supply unit of the circuit board;The power supply unit is used to control the circuit according to the upgrading information of voltage The optical fiber lamp of plate is lighted according to first frequency;
Upgrade the state that finishes when detecting that the circuit board is in, generation finishes information of voltage, and finishes electricity described in transmission Press information to the power supply unit of the circuit board;The power supply unit controls the circuit for finishing information of voltage according to The optical fiber lamp of plate is lighted according to second frequency.
Above system upgrade method, device, circuit board, electronic equipment and storage medium pass through the system of detection circuit board Upgrade status generates upgrading information of voltage, when circuit board is in upgrading operating status to control optical fiber lamp according to first frequency It lights, when circuit board is in upgrading and finishes state, generation finishes information of voltage, to control optical fiber lamp according to second frequency point Optical fiber lamp that is bright, being carried as a result, by circuit board is realized to the instruction function of finishing in circuit board escalation process with upgrading, Need not for circuit board self defined interface production adaptation upgrading indicator light, save production upgrading indicator light time and at This, improves the efficiency upgraded to circuit board systems.
Moreover, being lighted by control optical fiber lamp according to different frequencies, to indicate respectively system upgrade operation and upgrading Two states are finished, upgrading progress is understood according to ignition frequency convenient for user.
Detailed description of the invention
Fig. 1 is a kind of flow chart of method for upgrading system of the embodiment of the present invention one;
Fig. 2 is a kind of schematic diagram of circuit board of the embodiment of the present invention one;
Fig. 3 is the schematic diagram that a kind of optical fiber lamp of the embodiment of the present invention one is lighted;
Fig. 4 is a kind of flow chart of method for upgrading system of the embodiment of the present invention two;
Fig. 5 is a kind of flow chart of method for upgrading system of the embodiment of the present invention three;
Fig. 6 is a kind of structural schematic diagram of system upgrade device of the embodiment of the present invention four;
Fig. 7 is a kind of structural schematic diagram of circuit board of the embodiment of the present invention five;
Fig. 8 is the structural schematic diagram of a kind of electronic equipment of the embodiment of the present invention six.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the present invention, not For limiting the present invention.
Embodiment one
Fig. 1 is a kind of flow chart of method for upgrading system of the embodiment of the present invention.
The method for upgrading system of circuit board provided in this embodiment can be executed by system upgrade device.System upgrade dress Setting can integrate on circuit boards.The system upgrade device can be specially the processor of circuit board, can by software and/ Or the mode of hardware is realized.The circuit board can be applied in a kind of electronic equipment.Electronic equipment can be computer, and mobile phone is put down Plate, projector etc..Electronic equipment, which can be, to be manipulated and is realized to the content being shown on display plate by touch technology The integration apparatus of man-machine interactive operation is integrated with one or more functions such as electronic whiteboard, sound equipment, television set.
Specifically, the method for upgrading system of the embodiment of the present invention one specifically includes with reference to Fig. 1:
Step S110 detects the system upgrade state of the circuit board.
Wherein, system upgrade state can for circuit board system whether upgrading state.For example, system upgrade state It may include that upgrading operating status and upgrading finish state.
In the specific implementation, system upgrade device can the system upgrade state to circuit board detect.For example, detection is The no system upgrade program having in operation.If there is there is the system upgrade program being currently running, then current circuit board is determined In upgrading operating status.If detecting that the upgrading of system upgrade program finishes information, current circuit board can be determined that State is finished in upgrading.
Step S120 upgrades operating status when detecting that the circuit board is in, generates upgrading information of voltage, and send institute State the power supply unit of upgrading information of voltage to the circuit board;The power supply unit is used to be controlled according to the upgrading information of voltage The optical fiber lamp of the circuit board is lighted according to first frequency.
Wherein, optical fiber lamp can serve to indicate that the output situation of the fiber-optic signal of circuit board.For example, working as circuit board output light When optical fiber signaling, optical fiber lamp is then lighted.
Wherein, power supply unit can be used for optical fiber lamp output voltage, so that optical fiber lamp is according to the electrical voltage point exported It is bright.
Wherein, upgrading information of voltage can be used to indicate the information of power supply unit output voltage for one.
Fig. 2 is a kind of schematic diagram of circuit board of the embodiment of the present invention.It can be seen that light can be set on circuit board Fine terminal (as shown in frame), optic fibre connector are built-in with optical fiber lamp, and optical fiber lamp is connect with power supply unit, and power supply unit can be to light Fine lamp input voltage.
Fig. 3 is the schematic diagram that a kind of optical fiber lamp of the embodiment of the present invention is lighted.Optical fiber lamp is placed in inside optic fibre connector, optical fiber Lamp can be lighted in input voltage.
In the specific implementation, system upgrade device can be generated one when detecting that circuit board is in upgrading operating status Upgrade information of voltage, then (General Purpose Input Output, universal input output connect by the GPIO of system Mouthful), send the power supply unit of the upgrading information of voltage to circuit board.Power supply unit is after receiving upgrading information of voltage, then It can be to optical fiber lamp output voltage.It can then be lighted after optical fiber lamp input voltage.
Upgrading information of voltage can have corresponding frequency, and in order to distinguish explanation, it is corresponding can will to upgrade information of voltage Frequency is named as first frequency.
System upgrade device can send upgrading information of voltage to power supply according to the corresponding first frequency of upgrading information of voltage Device.Power supply unit can then be lighted according to the first frequency output voltage, optical fiber lamp according to the first frequency as a result,.
For example, the corresponding first frequency of upgrading information of voltage is 1 time/2 seconds, system upgrade device can then be sent with every 2 seconds Primary upgrading information of voltage is to power supply unit, and then every 2 seconds output primary voltages are to optical fiber lamp for power supply unit, and optical fiber lamp then every 2 seconds It lights primary.
It controls optical fiber lamp when by detecting that circuit board is in upgrading operating status to light according to first frequency, without in addition Time production upgrading instruction lamp fitting is spent, the instruction function during the system upgrade to circuit board can be realized, saved Production Time and cost of manufacture.
Step S130 upgrades the state that finishes when detecting that the circuit board is in, and generation finishes information of voltage, and sends institute State the power supply unit for finishing information of voltage to the circuit board;The power supply unit according to for finishing information of voltage control The optical fiber lamp of the circuit board is lighted according to second frequency.
Wherein, upgrading finishes the information that information can be used to indicate power supply unit output voltage for one.
In the specific implementation, system upgrade device can be generated one when detecting that circuit board finishes state in upgrading Upgrading finishes information, then by the GPIO of system, sends the power supply unit that the upgrading finishes information to circuit board.Power supply unit It, then can be to optical fiber lamp output voltage after receiving upgrading and finishing information.It can then be lighted after optical fiber lamp input voltage.
Upgrading information of voltage can have corresponding frequency, and in order to distinguish explanation, it is corresponding can will to upgrade information of voltage Frequency is named as first frequency.
System upgrade device can finish the corresponding second frequency of information according to upgrading, send upgrading and finish information to power supply Device.Power supply unit can then be lighted according to the second frequency output voltage, optical fiber lamp according to the second frequency as a result,.
For example, the corresponding first frequency of upgrading information of voltage is 1 time/0.5 second, system upgrade device then can be with every 0.5 second It sends primary upgrading and finishes information to power supply unit, then every 0.5 second output primary voltage is to optical fiber lamp for power supply unit, and optical fiber lamp is then It lights within every 0.5 second primary.
It controls optical fiber lamp when by detecting that circuit board is in and upgrades and finish state to light according to second frequency, without in addition Time production upgrading instruction lamp fitting is spent, the instruction function after the system upgrade to circuit board can be realized, saved Production Time and cost of manufacture.
The technical solution provided according to embodiments of the present invention, by the system upgrade state of detection circuit board, in circuit board When in upgrading operating status, upgrading information of voltage is generated, is lighted with controlling optical fiber lamp according to first frequency, is in circuit board When upgrading finishes state, generation finishes information of voltage, is lighted with controlling optical fiber lamp according to second frequency, passes through circuit board as a result, Included optical fiber lamp, realize in circuit board escalation process and the instruction function that finishes of upgrading, without for circuit board from The upgrading indicator light of defining interface production adaptation saves time and the cost of production upgrading indicator light, improves to circuit board The efficiency that system is upgraded.
Moreover, being lighted by control optical fiber lamp according to different frequencies, to indicate respectively system upgrade operation and upgrading Two states are finished, upgrading progress is understood according to ignition frequency convenient for user.
Embodiment two
Fig. 4 is a kind of flow chart of method for upgrading system of the embodiment of the present invention.Specifically, the present invention is implemented with reference to Fig. 4 The method for upgrading system of example, specifically includes:
Step S210 detects the system upgrade state of the circuit board.
Optionally, the step S210, can specifically include:
Whether in operation to judge the system upgrade program of the circuit board;It is risen if so, determining that the circuit board is in Grade operating status.
In the specific implementation, the external storage that user can be firstly inserted into USB etc. is set when carrying out the system upgrade of circuit board It is standby, upgrade file is stored in the external storage.Then, the system of circuit board can read from external storage and upgrade File, and activation system upgrade procedure is to carry out system upgrade.System upgrade device may determine that current system upgrade program Whether in operation, if system upgrade program not running, that is, be not in system upgrade state.If in the operation of system upgrade program, I.e. system is currently at system upgrade state.
Step S220 upgrades operating status when detecting that the circuit board is in, generates upgrading information of voltage, and send institute State the power supply unit of upgrading information of voltage to the circuit board;The power supply unit is used to be controlled according to the upgrading information of voltage The optical fiber lamp of the circuit board is lighted according to first frequency.
Optionally, the power supply unit for sending the upgrading information of voltage to the circuit board, comprising:
The corresponding frequency of the upgrading information of voltage is determined, as the first frequency;According to the first frequency, send The upgrading information of voltage is to the power supply unit;The power supply unit be used for when receiving the upgrading information of voltage, to The optical fiber lamp output voltage.
In the specific implementation, user can preset the corresponding frequency of upgrading information of voltage, as first frequency.System liter Upgrading information of voltage can be generated after determining to upgrade operating status in stage arrangement, and determines upgrading information of voltage corresponding the One frequency, then sends the power supply unit of upgrading information of voltage to circuit board according to the first frequency, and power supply unit can be according to The first frequency output voltage, optical fiber lamp can then be lighted according to the first frequency.
Step S230 finishes information when receiving upgrading, determines that the circuit board is in upgrading and finishes state.
In the specific implementation, system upgrade program can send upgrading after upgrading finishes finishes information to system upgrade dress It sets, system upgrade device then can be determined that current circuit board is in upgrading and finishes state after receiving upgrading and finishing information.
Step S240 upgrades the state that finishes when detecting that the circuit board is in, and generation finishes information of voltage, and sends institute State the power supply unit for finishing information of voltage to the circuit board;The power supply unit according to for finishing information of voltage control The optical fiber lamp of the circuit board is lighted according to second frequency.
Optionally, the power supply unit of information of voltage to the circuit board is finished described in the transmission, comprising:
The corresponding frequency of information of voltage is finished described in determination, as the second frequency;According to the second frequency, send The information of voltage that finishes is to the power supply unit;The power supply unit be used for when receiving the upgrading information of voltage, to The optical fiber lamp output voltage.
In the specific implementation, user, which can preset upgrading, finishes the corresponding frequency of information, as second frequency.System liter Stage arrangement can be generated after finishing information according to upgrading, determining that upgrading finishes state and finish information of voltage, and determination finishes The corresponding second frequency of information of voltage, is then sent the power supply unit of information of voltage to circuit board according to the second frequency, Power supply unit can then be lighted according to the second frequency output voltage, optical fiber lamp according to the second frequency.
The technical solution provided according to embodiments of the present invention determines the upgrading shape of system by the system upgrade program of system State, and according to upgrade status, upgrading information of voltage is sent according to different frequencies or upgrading finishes information, is pressed with controlling optical fiber lamp It is lighted according to different frequency, the optical fiber lamp carried by circuit board is realized to the finger finished in circuit board escalation process with upgrading Show function.
Embodiment three
Fig. 5 is a kind of flow chart of method for upgrading system of the embodiment of the present invention.Specifically, this method can be applied to electricity Road plate, the circuit board include power supply unit and optical fiber lamp, and the power supply unit is connected with the optical fiber lamp.With reference to Fig. 5, this hair The method for upgrading system of bright embodiment, specifically includes:
Step S310 upgrades operating status when detecting that the circuit board is in, controls the power supply unit according to first Frequency is lighted to the optical fiber lamp output voltage, for the optical fiber lamp according to the first frequency.
In the specific implementation, circuit board detecting can be controlled by its processor and be supplied to when being currently at upgrading operating status Electric installation, according to first frequency output voltage, is lighted for optical fiber lamp according to first frequency to optical fiber lamp.More specifically, processor can According to the corresponding first frequency of upgrading information of voltage, to send upgrading information of voltage to power supply unit, power supply unit can be according to The first frequency output voltage, optical fiber lamp can then be lighted according to the first frequency.
Step S320 finishes state when detecting that the circuit board is in upgrade, controls the power supply unit according to second Frequency is lighted to the optical fiber lamp output voltage, for the optical fiber lamp according to the second frequency.
In the specific implementation, circuit board detecting is supplied to when being currently at upgrading and finishing state, can passing through the control of its processor Electric installation, according to second frequency output voltage, is lighted for optical fiber lamp according to second frequency to optical fiber lamp.More specifically, processor can It to finish the corresponding second frequency of information according to upgrading, sends upgrading and finishes information to power supply unit, power supply unit can be according to The second frequency output voltage, optical fiber lamp can then be lighted according to the second frequency.
The technical solution provided according to embodiments of the present invention, by controlling light when circuit board is in upgrading operating status Fine lamp is lighted according to first frequency, and when circuit board is in upgrading and finishes state, control optical fiber lamp is lighted according to second frequency, by This, the optical fiber lamp carried by circuit board is realized to the instruction function of finishing in circuit board escalation process with upgrading, Wu Xuzhen To the upgrading indicator light of the self defined interface production adaptation of circuit board, time and the cost of production upgrading indicator light are saved, is mentioned The efficiency upgraded to circuit board systems is risen.
Moreover, being lighted by control optical fiber lamp according to different frequencies, to indicate respectively system upgrade operation and upgrading Two states are finished, upgrading progress is understood according to ignition frequency convenient for user.
It should be understood that although each step in the flow chart of Fig. 1, Fig. 4 and Fig. 5 is successively shown according to the instruction of arrow Show, but these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, this There is no stringent sequences to limit for the execution of a little steps, these steps can execute in other order.Moreover, Fig. 1, Fig. 4 and At least part step in Fig. 5 may include that perhaps these sub-steps of multiple stages or stage be not necessarily for multiple sub-steps It is so to execute completion in synchronization, but can execute at different times, these sub-steps or stage execute sequence Also it is not necessarily and successively carries out, but can be at least part of the sub-step or stage of other steps or other steps It executes in turn or alternately.
Example IV
Fig. 6 is a kind of structural schematic diagram for system upgrade device that the embodiment of the present invention four provides.It is provided in this embodiment System upgrade device can integrate on circuit boards.Specifically, with reference to Fig. 6, system upgrade device provided in this embodiment includes: Detection module 410 upgrades voltage module 420 and finishes voltage module 430;Wherein:
Detection module 410, for detecting the system upgrade state of the circuit board;
Upgrade voltage module 420, detect that the circuit board is in system upgrade state for working as, generates upgrading voltage letter Breath, and send the power supply unit of the upgrading information of voltage to the circuit board;The power supply unit is used for according to the upgrading The optical fiber lamp that information of voltage controls the circuit board is lighted according to first frequency;
Voltage module 430 is finished, detects that the circuit board is in upgrading and finishes state for working as, generation finishes voltage letter Breath, and the power supply unit of information of voltage to the circuit board is finished described in transmission;The power supply unit according to for finishing The optical fiber lamp that information of voltage controls the circuit board is lighted according to second frequency.
The technical solution provided according to embodiments of the present invention, by the system upgrade state of detection circuit board, in circuit board When in upgrading operating status, upgrading information of voltage is generated, is lighted with controlling optical fiber lamp according to first frequency, is in circuit board When upgrading finishes state, generation finishes information of voltage, is lighted with controlling optical fiber lamp according to second frequency, passes through circuit board as a result, Included optical fiber lamp, realize in circuit board escalation process and the instruction function that finishes of upgrading, without for circuit board from The upgrading indicator light of defining interface production adaptation saves time and the cost of production upgrading indicator light, improves to circuit board The efficiency that system is upgraded.
Moreover, being lighted by control optical fiber lamp according to different frequencies, to indicate respectively system upgrade operation and upgrading Two states are finished, upgrading progress is understood according to ignition frequency convenient for user.
On the basis of the above embodiments, the upgrading voltage module 420, comprising:
First determines submodule, for determining the corresponding frequency of the upgrading information of voltage, as the first frequency;The One sending submodule, for sending the upgrading information of voltage to the power supply unit according to the first frequency;The power supply Device is used for when receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
It is on the basis of the above embodiments, described to finish voltage module 430, comprising:
Second determines submodule, for finishing the corresponding frequency of information of voltage described in determination, as the second frequency;The Two sending submodules, for finishing information of voltage to the power supply unit described in transmission according to the second frequency;The power supply Device is used for when receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
On the basis of the above embodiments, the detection module 410, comprising:
Judging submodule is run, for whether in operation to judge the system upgrade program of the circuit board;
Decision sub-module, for if so, determining that the circuit board is in upgrading operating status.
On the basis of the above embodiments, described device further include:
Upgrading finishes determination module, finishes information for that ought receive upgrading, determines that the circuit board is in upgrading and finishes State.
The technical solution provided according to embodiments of the present invention determines the upgrading shape of system by the system upgrade program of system State, and according to upgrade status, upgrading information of voltage is sent according to different frequencies or upgrading finishes information, is pressed with controlling optical fiber lamp It is lighted according to different frequency, the optical fiber lamp carried by circuit board is realized to the finger finished in circuit board escalation process with upgrading Show function.
The system upgrade device of above-mentioned offer can be used for executing the method for upgrading system that above-mentioned any embodiment provides, and have Corresponding function and beneficial effect.
Specific about system upgrade device limits the restriction that may refer to above for method for upgrading system, herein not It repeats again.Modules in above system update device can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
Embodiment five
Fig. 7 is a kind of structural schematic diagram for circuit board that the embodiment of the present invention five provides.It can be seen that the circuit board It include: processor 510, power supply unit 520 and optical fiber lamp 530;The processor 510 is connect with the power supply unit 520, described Power supply unit 520 is connect with the optical fiber lamp 530, and the power supply unit 520 is used for 530 output voltage of optical fiber lamp, institute Optical fiber lamp 530 is stated for lighting in input voltage;
The processor 510, for controlling the power supply unit when detecting that the circuit board is in system upgrade state 520 according to first frequency to 530 output voltage of optical fiber lamp, and, when detect the circuit board be in upgrading finish shape State controls the power supply unit 520 according to second frequency to 530 output voltage of optical fiber lamp.
The technical solution provided according to embodiments of the present invention, by controlling light when circuit board is in upgrading operating status Fine lamp is lighted according to first frequency, and when circuit board is in upgrading and finishes state, control optical fiber lamp is lighted according to second frequency, by This, the optical fiber lamp carried by circuit board is realized to the instruction function of finishing in circuit board escalation process with upgrading, Wu Xuzhen To the upgrading indicator light of the self defined interface production adaptation of circuit board, time and the cost of production upgrading indicator light are saved, is mentioned The efficiency upgraded to circuit board systems is risen.
Moreover, being lighted by control optical fiber lamp according to different frequencies, to indicate respectively system upgrade operation and upgrading Two states are finished, upgrading progress is understood according to ignition frequency convenient for user.
Embodiment six
Fig. 8 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention six provides.As shown in the figure, which sets Standby includes: processor 60, memory 61, the display screen 62 with touch function, input unit 63, output device 64 and communication Device 65.The quantity of processor 60 can be one or more in the electronic equipment, in figure by taking a processor 60 as an example.It should The quantity of memory 61 can be one or more in electronic equipment, in figure by taking a memory 61 as an example.The electronic equipment Processor 60, memory 61, display screen 62, input unit 63, output device 64 and communication device 65 can pass through bus Or other modes connect, in figure for being connected by bus.In embodiment, electronic equipment can be computer, and mobile phone is put down Plate, projector or interactive intelligent tablet computer etc..
Memory 61 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, the corresponding program instruction/module of method for upgrading system as described in any embodiment of that present invention.Memory 61 can It mainly include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function Application program;Storage data area, which can be stored, uses created data etc. according to equipment.In addition, memory 61 may include High-speed random access memory can also include nonvolatile memory, for example, at least disk memory, a flash memories Part or other non-volatile solid state memory parts.In some instances, memory 61 can further comprise relative to processor 60 Remotely located memory, these remote memories can pass through network connection to equipment.The example of above-mentioned network includes but not It is limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Display screen 62 is the display screen 62 with touch function, can be capacitance plate, electromagnetic screen or infrared screen.Generally For, display screen 62 is used to show data according to the instruction of processor 60, is also used to receive the touch behaviour for acting on display screen 62 Make, and corresponding signal is sent to processor 60 or other devices.Optionally, it when display screen 62 is infrared screen, also wraps Infrared touch frame is included, which is arranged in the surrounding of display screen 62, can be also used for receiving infrared signal, and should Infrared signal is sent to processor 60 or other equipment.
Communication device 65 communicates to connect for establishing with other equipment, can be wire communication device and/or channel radio T unit.
Input unit 63 can be used for receiving the number or character information of input, and generates and set with the user of electronic equipment It sets and the related key signals of function control inputs, can also be the camera for obtaining image and obtain audio data Pick up facility.Output device 64 may include the audio frequency apparatuses such as loudspeaker.It should be noted that input unit 63 and output device 64 concrete composition may be set according to actual conditions.
Software program, instruction and the module that processor 60 is stored in memory 61 by operation, thereby executing equipment Various function application and data processing, that is, realize above-mentioned method for upgrading system.
Specifically, in embodiment, when processor 60 executes the one or more programs stored in memory 61, specific implementation Following operation:
The system upgrade state of detection circuit board;
Upgrade operating status when detecting that the circuit board is in, generate upgrading information of voltage, and sends the upgrading electricity Press information to the power supply unit of the circuit board;The power supply unit is used to control the circuit according to the upgrading information of voltage The optical fiber lamp of plate is lighted according to first frequency;
Upgrade the state that finishes when detecting that the circuit board is in, generation finishes information of voltage, and finishes electricity described in transmission Press information to the power supply unit of the circuit board;The power supply unit controls the circuit for finishing information of voltage according to The optical fiber lamp of plate is lighted according to second frequency.
On the basis of the above embodiments, when processor 60 executes the one or more programs stored in memory 61, also It is implemented as follows operation:
The corresponding frequency of the upgrading information of voltage is determined, as the first frequency;
According to the first frequency, the upgrading information of voltage is sent to the power supply unit;The power supply unit is used for When receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
On the basis of the above embodiments, when processor 60 executes the one or more programs stored in memory 61, also It is implemented as follows operation:
The corresponding frequency of information of voltage is finished described in determination, as the second frequency;
According to the second frequency, information of voltage is finished described in transmission to the power supply unit;The power supply unit is used for When receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
On the basis of the above embodiments, when processor 60 executes the one or more programs stored in memory 61, also It is implemented as follows operation:
Whether in operation to judge the system upgrade program of the circuit board;
If so, determining that the circuit board is in upgrading operating status.
On the basis of the above embodiments, when processor 60 executes the one or more programs stored in memory 61, also It is implemented as follows operation:
Information is finished when receiving upgrading, determines that the circuit board is in upgrading and finishes state.
Embodiment seven
The embodiment of the present invention seven also provides a kind of storage medium comprising computer executable instructions, and the computer can be held Row instruction is used to execute a kind of method for upgrading system when being executed by computer processor, realizes following operation:
Detect the system upgrade state of the circuit board;
Upgrade operating status when detecting that the circuit board is in, generate upgrading information of voltage, and sends the upgrading electricity Press information to the power supply unit of the circuit board;The power supply unit is used to control the circuit according to the upgrading information of voltage The optical fiber lamp of plate is lighted according to first frequency;
Upgrade the state that finishes when detecting that the circuit board is in, generation finishes information of voltage, and finishes electricity described in transmission Press information to the power supply unit of the circuit board;The power supply unit controls the circuit for finishing information of voltage according to The optical fiber lamp of plate is lighted according to second frequency.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention The system upgrade operation that executable instruction is not limited to the described above, can also be performed system provided by any embodiment of the invention Relevant operation in upgrade method, and have corresponding function and beneficial effect.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided by the present invention, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (12)

1. a kind of method for upgrading system of circuit board, which is characterized in that the described method includes:
Detect the system upgrade state of the circuit board;
Upgrade operating status when detecting that the circuit board is in, generate upgrading information of voltage, and sends the upgrading voltage letter It ceases to the power supply unit of the circuit board;The power supply unit is used to control the circuit board according to the upgrading information of voltage Optical fiber lamp is lighted according to first frequency;
Upgrade the state that finishes when detecting that the circuit board is in, generation finishes information of voltage, and voltage letter is finished described in transmission It ceases to the power supply unit of the circuit board;The power supply unit controls the circuit board for finishing information of voltage according to Optical fiber lamp is lighted according to second frequency.
2. the method according to claim 1, wherein described send the upgrading information of voltage to the circuit board Power supply unit, comprising:
The corresponding frequency of the upgrading information of voltage is determined, as the first frequency;
According to the first frequency, the upgrading information of voltage is sent to the power supply unit;The power supply unit is for connecing When receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
3. the method according to claim 1, wherein finishing information of voltage described in the transmission to the circuit board Power supply unit, comprising:
The corresponding frequency of information of voltage is finished described in determination, as the second frequency;
According to the second frequency, information of voltage is finished described in transmission to the power supply unit;The power supply unit is for connecing When receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
4. the method according to claim 1, wherein the system upgrade state of the detection circuit board, comprising:
Whether in operation to judge the system upgrade program of the circuit board;
If so, determining that the circuit board is in upgrading operating status.
5. the method according to claim 1, wherein ought detect that the circuit board is in upgrading and finishes described State, generation finish before information of voltage, further includes:
Information is finished when receiving upgrading, determines that the circuit board is in upgrading and finishes state.
6. a kind of method for upgrading system, which is characterized in that be applied to circuit board, the circuit board includes power supply unit and optical fiber Lamp, the power supply unit are connected with the optical fiber lamp, which comprises
When detecting that the circuit board is in upgrading operating status, the power supply unit is controlled according to first frequency to the optical fiber Lamp output voltage is lighted for the optical fiber lamp according to the first frequency;
When detecting that the circuit board is in upgrading and finishes state, the power supply unit is controlled according to second frequency to the optical fiber Lamp output voltage is lighted for the optical fiber lamp according to the second frequency.
7. a kind of system upgrade device characterized by comprising
Detection module, the system upgrade state for detection circuit board;
Upgrade voltage module, detects that the circuit board is in system upgrade state for working as, generate upgrading information of voltage, concurrently Send the upgrading information of voltage to the power supply unit of the circuit board;The power supply unit is used for according to the upgrading information of voltage The optical fiber lamp for controlling the circuit board is lighted according to first frequency;
Voltage module is finished, detects that the circuit board is in upgrading and finishes state for working as, generation finishes information of voltage, concurrently Send the power supply unit for finishing information of voltage to the circuit board;The power supply unit according to for finishing information of voltage The optical fiber lamp for controlling the circuit board is lighted according to second frequency.
8. device according to claim 7, which is characterized in that the upgrading voltage module, comprising:
First determines submodule, for determining the corresponding frequency of the upgrading information of voltage, as the first frequency;
First sending submodule, for sending the upgrading information of voltage to the power supply unit according to the first frequency;Institute State power supply unit for when receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
9. device according to claim 7, which is characterized in that described to finish voltage module, comprising:
Second determines submodule, for finishing the corresponding frequency of information of voltage described in determination, as the second frequency;
Second sending submodule, for finishing information of voltage to the power supply unit described in transmission according to the second frequency;Institute State power supply unit for when receiving the upgrading information of voltage, to the optical fiber lamp output voltage.
10. a kind of circuit board characterized by comprising
Processor, power supply unit and optical fiber lamp;The processor is connect with the power supply unit, the power supply unit and the light Fine lamp connection, the power supply unit are used for the optical fiber lamp output voltage, and the optical fiber lamp in input voltage for lighting;
The processor, for when detecting that the circuit board is in system upgrade state, controlling the power supply unit according to the One frequency to the optical fiber lamp output voltage, and, when detect the circuit board be in upgrading finish state, control the confession Electric installation is according to second frequency to the optical fiber lamp output voltage.
11. a kind of electronic equipment characterized by comprising memory and one or more processors;
The memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now following operation:
The system upgrade state of detection circuit board;
Upgrade operating status when detecting that the circuit board is in, generate upgrading information of voltage, and sends the upgrading voltage letter It ceases to the power supply unit of the circuit board;The power supply unit is used to control the circuit board according to the upgrading information of voltage Optical fiber lamp is lighted according to first frequency;
Upgrade the state that finishes when detecting that the circuit board is in, generation finishes information of voltage, and voltage letter is finished described in transmission It ceases to the power supply unit of the circuit board;The power supply unit controls the circuit board for finishing information of voltage according to Optical fiber lamp is lighted according to second frequency.
12. a kind of storage medium comprising computer executable instructions, which is characterized in that the computer executable instructions by For executing such as method for upgrading system as claimed in any one of claims 1 to 5 when computer processor executes.
CN201810869978.XA 2018-08-02 2018-08-02 System upgrading method, device, circuit board, equipment and storage medium Active CN109189420B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810869978.XA CN109189420B (en) 2018-08-02 2018-08-02 System upgrading method, device, circuit board, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810869978.XA CN109189420B (en) 2018-08-02 2018-08-02 System upgrading method, device, circuit board, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109189420A true CN109189420A (en) 2019-01-11
CN109189420B CN109189420B (en) 2022-08-09

Family

ID=64920482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810869978.XA Active CN109189420B (en) 2018-08-02 2018-08-02 System upgrading method, device, circuit board, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109189420B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094140A (en) * 2021-04-22 2021-07-09 青岛海信传媒网络技术有限公司 System update display method and display equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937383A (en) * 2009-06-29 2011-01-05 深圳Tcl新技术有限公司 Starting-up progress indicating device and method for indicating starting-up progress
CN102236596A (en) * 2010-05-05 2011-11-09 英业达股份有限公司 Display card state indication system
CN103186449A (en) * 2011-12-28 2013-07-03 英业达股份有限公司 Method for managing hardware efficiency
CN103257915A (en) * 2013-05-21 2013-08-21 北京小米科技有限责任公司 Method and device for providing operation state of software of display equipment
US20140026092A1 (en) * 2012-07-20 2014-01-23 Kyocera Document Solutions Inc. Information Processing Apparatus that Displays Status of External Apparatus in Status Monitor, and Displaying Method
CN105653431A (en) * 2016-02-17 2016-06-08 四川长虹电器股份有限公司 Device and method for displaying cable modem product software upgrading process
CN106371876A (en) * 2016-08-31 2017-02-01 航宇救生装备有限公司 Method and system for upgrading external programs of product
CN106648748A (en) * 2016-11-15 2017-05-10 广州视源电子科技股份有限公司 Program updating method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937383A (en) * 2009-06-29 2011-01-05 深圳Tcl新技术有限公司 Starting-up progress indicating device and method for indicating starting-up progress
CN102236596A (en) * 2010-05-05 2011-11-09 英业达股份有限公司 Display card state indication system
CN103186449A (en) * 2011-12-28 2013-07-03 英业达股份有限公司 Method for managing hardware efficiency
US20140026092A1 (en) * 2012-07-20 2014-01-23 Kyocera Document Solutions Inc. Information Processing Apparatus that Displays Status of External Apparatus in Status Monitor, and Displaying Method
CN103257915A (en) * 2013-05-21 2013-08-21 北京小米科技有限责任公司 Method and device for providing operation state of software of display equipment
CN105653431A (en) * 2016-02-17 2016-06-08 四川长虹电器股份有限公司 Device and method for displaying cable modem product software upgrading process
CN106371876A (en) * 2016-08-31 2017-02-01 航宇救生装备有限公司 Method and system for upgrading external programs of product
CN106648748A (en) * 2016-11-15 2017-05-10 广州视源电子科技股份有限公司 Program updating method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094140A (en) * 2021-04-22 2021-07-09 青岛海信传媒网络技术有限公司 System update display method and display equipment

Also Published As

Publication number Publication date
CN109189420B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN111033610B (en) Electronic device and voice recognition method
CN105554547B (en) The method and system of display screen adaptive configuration
CN108021219A (en) Control method of electronic device, device and electronic equipment
CN105632414A (en) Backlight control method, backlight control device and backlight control equipment for starting up process of terminal device
EP3122023A1 (en) Smart wristband testing method and testing system thereof
CN106710535B (en) A kind of screen backlight adjusting method, device and mobile terminal
CN104951335A (en) Processing method and device for application program installation packages
CN104023145A (en) Method and device for automatically starting automatic backlight adjustment of mobile terminal
CN104754134A (en) Screen brightness adjusting method and screen brightness adjusting system
CN106559688A (en) The upgrading test method and apparatus of remote control
CN110086613B (en) Method and device for burning secret key, digital television board card and storage medium
CN109618315A (en) A kind of control method of lighting apparatus, device, storage medium and intelligent terminal
CN111131720A (en) Television control method, television and storage medium
CN106469070A (en) The method of panel parameter self-regeneration
CN109002314A (en) Oftware updating method, device, electronic equipment and storage medium
CN109189420A (en) Method for upgrading system, device, circuit board, equipment and storage medium
CN103761130A (en) Dual-system start control method and dual-system start control device
CN102662364A (en) Miniature calculating device and intelligent execution system and intelligent control device with same
CN103561350A (en) Image adjusting control method and image adjusting control device for smart television
CN112328311A (en) Function setting method of embedded LCD (liquid Crystal display) spliced screen, electronic equipment and storage medium
CN106023951B (en) Electronic equipment and its display control program and method
CN114047885B (en) Method, device, equipment and medium for writing multi-type data
CN112947970A (en) Upgrading method, device and storage medium
KR20130078502A (en) Display apparatus, upgrading apparatus, display system and control method of the same
CN108170607B (en) Control device and control method of OTP switch

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