CN103760797A - Method for confirming software version identification of electronic controller without displayer - Google Patents

Method for confirming software version identification of electronic controller without displayer Download PDF

Info

Publication number
CN103760797A
CN103760797A CN201410001096.3A CN201410001096A CN103760797A CN 103760797 A CN103760797 A CN 103760797A CN 201410001096 A CN201410001096 A CN 201410001096A CN 103760797 A CN103760797 A CN 103760797A
Authority
CN
China
Prior art keywords
software version
electronic controller
software
version sign
sign
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
CN201410001096.3A
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.)
Changshu Tianyin Electromechanical Co Ltd
Original Assignee
Changshu Tianyin Electromechanical 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 Changshu Tianyin Electromechanical Co Ltd filed Critical Changshu Tianyin Electromechanical Co Ltd
Priority to CN201410001096.3A priority Critical patent/CN103760797A/en
Publication of CN103760797A publication Critical patent/CN103760797A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention belongs to the field of electronic controllers, and particularly relates to a method for confirming the software version identification of an electronic controller without a displayer. The method is used for confirming the software version identification of the electronic controller when the electronic controller is used for controlling different targets by using different software under the condition that physical hardware of the electronic controller is not changed. The method for confirming the software version identification of the electronic controller without the displayer specifically comprises the steps that the software version identification is stored in a memorizer of the electronic controller, the software version identification is converted into a binary string and a luminescent device is controlled to be turned on or turned off during starting and/or running, a software version identification reading device is adopted to detect whether the luminescent device is turned on or turned off, the software version identification is read in a reversing mode, and then the steps such as confirmation are conducted. The method for confirming the software version identification of the electronic controller without the displayer has the advantages that requirements for electronic controller resources are low, a small amount of cost is increased or no cost is increased, completely accurate confirmation can be achieved, the confirmation speed is high, and the problems that according to a confirmation method which is achieved through testing control behaviors, the process is long and complicated, the operating cost is high, and completely accurate confirmation can not be achieved can be solved.

Description

The confirmation method of the software version sign of displayless electronic controller
Technical field
The invention belongs to electronic controller field, be specifically related to a kind of confirmation method of software version sign of displayless electronic controller, at the identical displayless electronic controller of physical hardware, when controlling different objects with different software, the software version sign of electronic controller is confirmed.
Background technology
Along with the development of electronic technology, electronic controller is used to control the work of various electronic products more and more.Particularly along with the development of microprocessor and software engineering, electronic controller also become more and more intellectuality and multifunction, the identical electronic controller of physical hardware can be by controlling different objects by the method for different software, this comprises identical category but controls the different object of parameter, also comprises the diverse control object that can be controlled by electronic controller.When the electronic controller of same physical hardware is controlled different control objects with different software, it is extremely important that the software version sign of electronic controller just becomes, particularly under the condition of batch production, the software of mistake will cause serious consequence, the lighter can cause control efficiency low, severe one can cause control object dysfunction, does not work even completely or directly damages.In fact, even be the situation of one-one relationship for electronic controller and control object, if the process that the software using exists repeatedly evolution to change, each variation comprises the various modifications such as problem solution and function increase, and the version identifier of software that electronic controller uses is also extremely important.
Electronic controller generally can stick a label or other forms of mark in position, indicate some essential informations of this electronic controller, as the software version sign of electronic controller, applicable control object, applicable rated voltage and electric current etc., but it must be on all four with this mark that these outside marks itself can not show its software, therefore one accurately and reliably software identification method be very important.
When electronic controller is during with display, no matter be simple charactron or various display screen, can to software version sign, confirm by the method showing on display.Although also there are some controllers itself there is no display, can be connected to external unit by communication line, also can carry out by the display on external unit software for display version identifier.When being free of attachment to display, a lot of electronic controllers are pointed out the particular state occurring in software control process by light emitting diode, hummer etc., for example light emitting diode glimmers three times continuously, represent No. three mistake, hummer sends two short long sound and represents certain particular error etc., because these method for expressing are fairly simple, ability to express is limited, the kind of its expression many at ten kinds with interior or slightly many, more words observers have just been difficult to sense organ identification, are more difficult to express software version sign.A typical software version sign of controlling comprises the information such as control object sign and software version order, and as 1113Y.V1.01, wherein 1113Y is control object sign, and V1.01 is software version order.When such a software version is identified at electronic controller and is free of attachment to display, be often difficult to the software version sign that allows user confirm this electronic controller, and then confirm that it mates with certain control object really.At this moment, only way is to select several typical conditions of control object to control performance testing at present, check whether its control situation conforms to expection, although this method can be confirmed the main working performance of electronic controller, but more consuming time, process is long and complicated, and has no idea to accomplish the confirmation to the entirely accurate of software version sign.
Summary of the invention
Task of the present invention is to provide a kind of confirmation method of software version sign of displayless electronic controller, and the method can accurately confirm that the software version of the software that uses in electronic controller identifies quickly and easily.
Task of the present invention completes like this, and a kind of confirmation method of software version sign of displayless electronic controller, comprises the following steps:
(1) on electronic controller, design the luminescent device of at least one visible ray or invisible light;
(2) software version sign is stored in the storer of electronic controller;
(3), when electronic controller starts and/or move, the software version sign in storer is converted to first binary string with prescribed coding rule;
(4) when electronic controller starts and/or move, by assigned rate, first described binary string is converted to and lights and extinguish control sequence and control lighting of described luminescent device and extinguish;
(5) use a software version sign arrangement for reading survey lighting of luminescent device and extinguish sequence;
(6) lighting and extinguishing sequence and be converted to second binary string the luminescent device detecting;
(7) described software version sign arrangement for reading is read one by described prescribed coding rule from described second reverse solution of binary string of changing out and is read software version sign;
(8) described software version sign arrangement for reading will be read the demonstration of software version sign and read confirmation for operating personnel, or carry out contrast confirmation automatically with the software version sign preset value of appointment.
In a specific embodiment of the present invention, described visible ray or the luminescent device of invisible light are visible ray or ultrared light emitting diode, and the storage mode in the described storer that software version sign is stored in to described electronic controller is that the form with byte serial compiles simultaneously and is burnt in the storer of electronic controller with software by software version sign.
In another specific embodiment of the present invention, described electronic controller, when the coding rule with appointment is converted to first described binary string by the software version sign in storer, adds check code, starts coding and finishes coding.
In another specific embodiment of the present invention, described software version sign arrangement for reading be one with the microcomputer system of senser element and central processing unit operating software, described senser element is visible ray or ultrared light sensor or camera.
Technical scheme provided by the invention is by software version sign being converted to lighting and extinguishing sequence of luminescent device, and by software version, identifies the reverse solution of arrangement for reading and read software version and identify.When the software version sign of reading when solution compiles simultaneously and is burnt to the storer of electronic controller with software, software version sign arrangement for reading reads must be in electronic controller just in the software version sign of operating software, there is absolute accuracy.Simultaneously, compare the test of the control behavior by electronic controller under a series of typical conditions and electronic controller is carried out to the method for software version identity validation, the present invention only needs to use a luminescent device on electronic controller, both the various operating costs of this control test process had been saved, also greatly improved the speed of confirming process, the moment that method of the present invention can be sent completely software version sign by light emitting diode at electronic controller completes the confirmation that electronic controller software version identifies.
Accompanying drawing explanation
Fig. 1 is the confirmation method process flow diagram of the software version sign of displayless electronic controller of the present invention.
Fig. 2 is the formation schematic diagram of a specific embodiment of confirmation method of the software version sign of displayless electronic controller of the present invention.
Embodiment
Refer to Fig. 1 and Fig. 2, Fig. 1 is the confirmation method process flow diagram of the software version sign of displayless electronic controller of the present invention, Fig. 2 is the formation schematic diagram of a specific embodiment of confirmation method of the software version sign of displayless electronic controller of the present invention, introduces the embodiment of the method for the invention below in conjunction with these two figure.
The present invention realizes the confirmation of the software version sign of displayless electronic controller by step below:
(1) on electronic controller, design the luminescent device of at least one visible ray or invisible light;
(2) software version sign is stored in the storer of electronic controller;
(3), when electronic controller starts and/or move, the software version sign in storer is converted to first binary string with prescribed coding rule;
(4) when electronic controller starts and/or move, by assigned rate, first described binary string is converted to and lights and extinguish control sequence and control lighting of described luminescent device and extinguish;
(5) use a software version sign arrangement for reading survey lighting of luminescent device and extinguish sequence;
(6) lighting and extinguishing sequence and be converted to second binary string the luminescent device detecting;
(7) described software version sign arrangement for reading is read one by described prescribed coding rule from second reverse solution of binary string changing out and is read software version sign;
(8) described software version sign arrangement for reading will be read software version sign and show for operating personnel and read confirmation, or carry out contrast automatically with the software version sign preset value of appointment and confirm.
In Fig. 2, use on the displayless electronic controller 1 of software and be designed with luminescent device 12, the in house software version identifier 13 of displayless electronic controller 1 is stored in the storer of electronic controller, here take " 1113Y.V1.01 " as example, when electronic controller starts and/or move, without showing that electronic controller 1 is converted to first binary string 14 by the in house software version identifier 13 in storer with the coding rule of appointment, then by this first binary string 14, by the rate transition of appointment, be light and extinguish control sequence and go to control lighting and extinguishing of luminescent device 12.A software version sign arrangement for reading 2, the sensor 21 of lighting and extinguishing with detection luminescent device, be used to survey lighting and extinguishing situation of luminescent device 12 on displayless electronic controller 1, then by what detect, light and extinguish sequence and be converted to second binary string 22, software version sign arrangement for reading 2 is read one according to the coding rule of described appointment by this second reverse solution of binary string 22 again and is read software version sign 23, finally this is read on the display 24 that software version sign 23 is shown to software version sign arrangement for reading 2 and confirm for operating personnel, also can identify the preset value that on arrangement for reading 2, directly a default software version identifies at software version, with read software version sign 23 and automatically relatively confirm, and inform by voice prompt or additive method whether the software version sign of operating personnel's electronic controller mates with preset value.In figure, example has shown the situation when software version sign " 1113Y.V1.01 " of example in this process sends and deciphering proceeds to " 1113Y ".
In concrete embodiment, the visible ray of aforesaid electronic controller or the luminescent device of invisible light adopt visible ray or ultrared light emitting diode conventionally, aforesaid software version sign is present in the source code of controlling software in the mode of byte serial constant conventionally, and is compiled and is burnt in the storer of electronic controller with controlling software itself.
When software version sign is converted to binary string, for the ease of detection and fault-tolerant, software version sign arrangement for reading can in binary string, add certain check code, start coding and finish the auxiliaring codings such as coding, so that can effectively and reliably be understood.
In concrete embodiment, aforesaid software version sign arrangement for reading 2 is generally one with the microcomputer system of senser element and central processing unit operating software, as handheld device, general personal computer, custom-designed electronic controller etc., described senser element can be visible ray or ultrared light sensor, can be also various forms of cameras.
The present invention is by converting software version sign lighting of luminescent device to and extinguish sequence, and by software version, identify arrangement for reading and survey lighting of luminescent device and extinguish sequence and reverse solution is read software version and identified, when electronic controller itself has possessed the luminescent device that can use, without increasing in addition cost, and for original not with the electronic controller of luminescent device, it is all very limited increasing a needed resource of luminescent device and cost.When software version sign is when compiling and being burnt to the storer of electronic controller with software simultaneously, software version sign arrangement for reading reads must be in electronic controller just in the software version sign of operating software, there is absolute accuracy.Simultaneously, compare by the control behavior of electronic controller under a series of typical conditions and electronic controller is carried out to the method for software version identity validation, the present invention only needs to use a luminescent device on electronic controller, both the various operating costs in this control test process had been saved, also greatly improved the speed of confirming process, the moment that method of the present invention can be sent completely software version sign by light emitting diode at electronic controller completes the confirmation that electronic controller software version identifies.

Claims (4)

1. a confirmation method for the software version of displayless electronic controller sign, is characterized in that comprising the following steps:
(1) on electronic controller, design the luminescent device of at least one visible ray or invisible light;
(2) software version sign is stored in the storer of electronic controller;
(3), when electronic controller starts and/or move, the software version sign in storer is converted to first binary string with prescribed coding rule;
(4) when electronic controller starts and/or move, by assigned rate, first described binary string is converted to and lights and extinguish control sequence and control lighting of described luminescent device and extinguish;
(5) use a software version sign arrangement for reading survey lighting of luminescent device and extinguish sequence;
(6) lighting and extinguishing sequence and be converted to second binary string the luminescent device detecting;
(7) described software version sign arrangement for reading is read one by described prescribed coding rule from described second reverse solution of binary string of changing out and is read software version sign;
(8) described software version sign arrangement for reading will be read the demonstration of software version sign and read confirmation for operating personnel, or carry out contrast confirmation automatically with the software version sign preset value of appointment.
2. the confirmation method that the software version of displayless electronic controller according to claim 1 identifies, it is characterized in that described visible ray or the luminescent device of invisible light are visible ray or ultrared light emitting diode, the storage mode in the described storer that software version sign is stored in to described electronic controller is that the form with byte serial compiles simultaneously and is burnt in the storer of electronic controller with software by software version sign.
3. the confirmation method that the software version of displayless electronic controller according to claim 1 identifies, it is characterized in that described electronic controller, when the coding rule with appointment is converted to first described binary string by the software version sign in storer, adds check code, starts coding and finishes coding.
4. the confirmation method that the software version of displayless electronic controller according to claim 1 identifies, it is characterized in that described software version sign arrangement for reading be one with the microcomputer system of senser element and central processing unit operating software, described senser element is visible ray or ultrared light sensor or camera.
CN201410001096.3A 2014-01-02 2014-01-02 Method for confirming software version identification of electronic controller without displayer Pending CN103760797A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410001096.3A CN103760797A (en) 2014-01-02 2014-01-02 Method for confirming software version identification of electronic controller without displayer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410001096.3A CN103760797A (en) 2014-01-02 2014-01-02 Method for confirming software version identification of electronic controller without displayer

Publications (1)

Publication Number Publication Date
CN103760797A true CN103760797A (en) 2014-04-30

Family

ID=50528052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410001096.3A Pending CN103760797A (en) 2014-01-02 2014-01-02 Method for confirming software version identification of electronic controller without displayer

Country Status (1)

Country Link
CN (1) CN103760797A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003218209A (en) * 2002-01-22 2003-07-31 Nec Commun Syst Ltd Program version recognition system and method therefor
CN101563937A (en) * 2006-12-18 2009-10-21 汤姆森特许公司 Self-testing device component
CN103019932A (en) * 2012-11-26 2013-04-03 山东省科学院自动化研究所 Method for acquiring embedded software edition information
CN103136929A (en) * 2013-02-02 2013-06-05 深圳市格劳瑞电子有限公司 Method enabling network terminal with photosensitive components to initialize

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003218209A (en) * 2002-01-22 2003-07-31 Nec Commun Syst Ltd Program version recognition system and method therefor
CN101563937A (en) * 2006-12-18 2009-10-21 汤姆森特许公司 Self-testing device component
CN103019932A (en) * 2012-11-26 2013-04-03 山东省科学院自动化研究所 Method for acquiring embedded software edition information
CN103136929A (en) * 2013-02-02 2013-06-05 深圳市格劳瑞电子有限公司 Method enabling network terminal with photosensitive components to initialize

Similar Documents

Publication Publication Date Title
EP2863283B1 (en) Interpretation of indicator lights on an electronic device
EP3076291A1 (en) Method for assignment of verification numbers
US9897986B2 (en) System and method for enabling a motor controller to communicate using multiple different communication protocols
US10928224B2 (en) Multi-turn absolute encoder, encoding method and robot
US20150228220A1 (en) Method and System for Writing Address Codes Into LED Display Devices
ES2531257T3 (en) Toy building system
US20120290853A1 (en) Indicator light control circuuit
EP3725569A1 (en) Tire pressure sensor activation method and device, storage medium and front-end processor
US20180326592A1 (en) Manipulator system and method for identifying operating devices
CN105957467A (en) Method, apparatus, and terminal to generate the aging information of light-emitting element
CN111475164B (en) Component dependency relationship detection method and device and electronic equipment
US10360121B2 (en) Universal debug design
CN108227623B (en) Numerical controller
CN103176090A (en) Hardware diagnosis system and method for image measuring machine
US20150277413A1 (en) System construction support apparatus
KR20170097388A (en) Smart home system using arduino and cross platform
CN105848393A (en) Fault detection apparatus and method
CA2952699C (en) Use of a display means of a converter, method for operating a converter, and converter
CN103760797A (en) Method for confirming software version identification of electronic controller without displayer
JP2011198237A (en) Programming support device, method, and program
JP2009003430A5 (en)
US20200044933A1 (en) Management device and management method
JP6430757B2 (en) Lighting control system and lighting control method
CN109118910B (en) Direct current direction detection device
JP6015068B2 (en) Control device and control device update time display method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140430